Searched defs:kp (Results 26 - 50 of 56) sorted by relevance

123

/drivers/dma/
H A Ddmatest.c121 static int dmatest_run_set(const char *val, const struct kernel_param *kp);
122 static int dmatest_run_get(char *val, const struct kernel_param *kp);
187 static int dmatest_wait_get(char *val, const struct kernel_param *kp) argument
195 return param_get_bool(val, kp);
913 static int dmatest_run_get(char *val, const struct kernel_param *kp) argument
926 return param_get_bool(val, kp);
929 static int dmatest_run_set(const char *val, const struct kernel_param *kp) argument
935 ret = param_set_bool(val, kp);
/drivers/edac/
H A Dedac_mc_sysfs.c53 static int edac_set_poll_msec(const char *val, struct kernel_param *kp) argument
68 *((unsigned long *)kp->arg) = l;
/drivers/input/mouse/
H A Dpsmouse-base.c48 static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp);
1822 static int psmouse_set_maxproto(const char *val, const struct kernel_param *kp) argument
1834 *((unsigned int *)kp->arg) = proto->type;
1839 static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp) argument
1841 int type = *((unsigned int *)kp->arg);
/drivers/isdn/hardware/mISDN/
H A Davmfritz.c159 set_debug(const char *val, struct kernel_param *kp) argument
164 ret = param_set_uint(val, kp);
H A DmISDNinfineon.c247 set_debug(const char *val, struct kernel_param *kp) argument
252 ret = param_set_uint(val, kp);
H A Dnetjet.c114 set_debug(const char *val, struct kernel_param *kp) argument
119 ret = param_set_uint(val, kp);
H A Dw6692.c104 set_debug(const char *val, struct kernel_param *kp) argument
109 ret = param_set_uint(val, kp);
/drivers/misc/
H A Dkgdbts.c1132 static int param_set_kgdbts_var(const char *kmessage, struct kernel_param *kp) argument
/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c105 static int param_set_axis(const char *val, const struct kernel_param *kp) argument
107 int ret = param_set_int(val, kp);
109 int val = *(int *)kp->arg;
/drivers/net/wireless/mwifiex/
H A Dsta_ioctl.c1050 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, argument
1060 if (kp && kp->cipher == WLAN_CIPHER_SUITE_AES_CMAC)
1071 if (kp && kp->seq && kp->seq_len) {
1072 memcpy(encrypt_key.pn, kp->seq, kp->seq_len);
1073 encrypt_key.pn_len = kp->seq_len;
/drivers/pci/pcie/
H A Daspm.c803 static int pcie_aspm_set_policy(const char *val, struct kernel_param *kp) argument
830 static int pcie_aspm_get_policy(char *buffer, struct kernel_param *kp) argument
/drivers/thermal/
H A Dintel_powerclamp.c100 static int duration_set(const char *arg, const struct kernel_param *kp) argument
148 static int window_size_set(const char *arg, const struct kernel_param *kp) argument
/drivers/tty/hvc/
H A Dhvc_iucv.c1270 * @kp: Kernel parameter pointing to hvc_iucv_filter array
1277 static int param_set_vmidfilter(const char *val, const struct kernel_param *kp) argument
1299 * @kp: Kernel parameter pointing to the hvc_iucv_filter array
1304 static int param_get_vmidfilter(char *buffer, const struct kernel_param *kp) argument
/drivers/tty/
H A Dsysrq.c985 const struct kernel_param *kp)
997 *((unsigned short *)kp->arg) = val;
984 sysrq_reset_seq_param_set(const char *buffer, const struct kernel_param *kp) argument
/drivers/video/fbdev/
H A Duvesafb.c1967 static int param_set_scroll(const char *val, const struct kernel_param *kp) argument
/drivers/char/ipmi/
H A Dipmi_watchdog.c192 static int set_param_timeout(const char *val, const struct kernel_param *kp) argument
204 *((int *)kp->arg) = l;
224 static int set_param_str(const char *val, const struct kernel_param *kp) argument
226 action_fn fn = (action_fn) kp->arg;
248 static int get_param_str(char *buffer, const struct kernel_param *kp) argument
250 action_fn fn = (action_fn) kp->arg;
260 static int set_param_wdog_ifnum(const char *val, const struct kernel_param *kp) argument
262 int rv = param_set_int(val, kp);
H A Dipmi_si_intf.c1291 static int hotmod_handler(const char *val, struct kernel_param *kp);
1745 static int hotmod_handler(const char *val, struct kernel_param *kp) argument
/drivers/char/
H A Dsonypi.c777 struct sonypi_keypress kp; local
779 while (kfifo_out_locked(&sonypi_device.input_fifo, (unsigned char *)&kp,
780 sizeof(kp), &sonypi_device.input_fifo_lock)
781 == sizeof(kp)) {
783 input_report_key(kp.dev, kp.key, 0);
784 input_sync(kp.dev);
792 struct sonypi_keypress kp = { NULL }; local
809 kp.key = BTN_MIDDLE;
810 kp
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c48 static int get_v4l2_window32(struct v4l2_window *kp, struct v4l2_window32 __user *up) argument
51 copy_from_user(&kp->w, &up->w, sizeof(up->w)) ||
52 get_user(kp->field, &up->field) ||
53 get_user(kp->chromakey, &up->chromakey) ||
54 get_user(kp->clipcount, &up->clipcount))
56 if (kp->clipcount > 2048)
58 if (kp->clipcount) {
61 int n = kp->clipcount;
68 kp->clips = kclips;
78 kp
82 put_v4l2_window32(struct v4l2_window *kp, struct v4l2_window32 __user *up) argument
92 get_v4l2_pix_format(struct v4l2_pix_format *kp, struct v4l2_pix_format __user *up) argument
99 get_v4l2_pix_format_mplane(struct v4l2_pix_format_mplane *kp, struct v4l2_pix_format_mplane __user *up) argument
107 put_v4l2_pix_format(struct v4l2_pix_format *kp, struct v4l2_pix_format __user *up) argument
114 put_v4l2_pix_format_mplane(struct v4l2_pix_format_mplane *kp, struct v4l2_pix_format_mplane __user *up) argument
122 get_v4l2_vbi_format(struct v4l2_vbi_format *kp, struct v4l2_vbi_format __user *up) argument
129 put_v4l2_vbi_format(struct v4l2_vbi_format *kp, struct v4l2_vbi_format __user *up) argument
136 get_v4l2_sliced_vbi_format(struct v4l2_sliced_vbi_format *kp, struct v4l2_sliced_vbi_format __user *up) argument
143 put_v4l2_sliced_vbi_format(struct v4l2_sliced_vbi_format *kp, struct v4l2_sliced_vbi_format __user *up) argument
179 __get_v4l2_format32(struct v4l2_format *kp, struct v4l2_format32 __user *up) argument
208 get_v4l2_format32(struct v4l2_format *kp, struct v4l2_format32 __user *up) argument
215 get_v4l2_create32(struct v4l2_create_buffers *kp, struct v4l2_create_buffers32 __user *up) argument
223 __put_v4l2_format32(struct v4l2_format *kp, struct v4l2_format32 __user *up) argument
249 put_v4l2_format32(struct v4l2_format *kp, struct v4l2_format32 __user *up) argument
257 put_v4l2_create32(struct v4l2_create_buffers *kp, struct v4l2_create_buffers32 __user *up) argument
274 get_v4l2_standard32(struct v4l2_standard *kp, struct v4l2_standard32 __user *up) argument
283 put_v4l2_standard32(struct v4l2_standard *kp, struct v4l2_standard32 __user *up) argument
383 get_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __user *up) argument
471 put_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __user *up) argument
555 get_v4l2_framebuffer32(struct v4l2_framebuffer *kp, struct v4l2_framebuffer32 __user *up) argument
569 put_v4l2_framebuffer32(struct v4l2_framebuffer *kp, struct v4l2_framebuffer32 __user *up) argument
595 get_v4l2_input32(struct v4l2_input *kp, struct v4l2_input32 __user *up) argument
602 put_v4l2_input32(struct v4l2_input *kp, struct v4l2_input32 __user *up) argument
645 get_v4l2_ext_controls32(struct v4l2_ext_controls *kp, struct v4l2_ext_controls32 __user *up) argument
693 put_v4l2_ext_controls32(struct v4l2_ext_controls *kp, struct v4l2_ext_controls32 __user *up) argument
748 put_v4l2_event32(struct v4l2_event *kp, struct v4l2_event32 __user *up) argument
770 get_v4l2_edid32(struct v4l2_edid *kp, struct v4l2_edid32 __user *up) argument
785 put_v4l2_edid32(struct v4l2_edid *kp, struct v4l2_edid32 __user *up) argument
[all...]
/drivers/scsi/mpt2sas/
H A Dmpt2sas_base.c106 _scsih_set_fwfault_debug(const char *val, struct kernel_param *kp) argument
108 int ret = param_set_int(val, kp);
H A Dmpt2sas_scsih.c286 _scsih_set_debug_level(const char *val, struct kernel_param *kp) argument
288 int ret = param_set_int(val, kp);
/drivers/infiniband/ulp/srp/
H A Dib_srp.c143 static int srp_tmo_get(char *buffer, const struct kernel_param *kp) argument
145 int tmo = *(int *)kp->arg;
153 static int srp_tmo_set(const char *val, const struct kernel_param *kp) argument
164 if (kp->arg == &srp_reconnect_delay)
167 else if (kp->arg == &srp_fast_io_fail_tmo)
174 *(int *)kp->arg = tmo;
/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c85 static int srpt_get_u64_x(char *buffer, struct kernel_param *kp) argument
87 return sprintf(buffer, "0x%016llx", *(u64 *)kp->arg);
/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c102 _scsih_set_fwfault_debug(const char *val, struct kernel_param *kp) argument
104 int ret = param_set_int(val, kp);
/drivers/message/fusion/
H A Dmptbase.c106 static int mpt_set_debug_level(const char *val, struct kernel_param *kp);
249 static int mpt_set_debug_level(const char *val, struct kernel_param *kp) argument
251 int ret = param_set_int(val, kp);

Completed in 485 milliseconds

123