/drivers/media/video/ |
D | v4l2-compat-ioctl32.c | 35 static int get_video_tuner32(struct video_tuner *kp, struct video_tuner32 __user *up) in get_video_tuner32() argument 38 get_user(kp->tuner, &up->tuner) || in get_video_tuner32() 39 copy_from_user(kp->name, up->name, 32) || in get_video_tuner32() 40 get_user(kp->rangelow, &up->rangelow) || in get_video_tuner32() 41 get_user(kp->rangehigh, &up->rangehigh) || in get_video_tuner32() 42 get_user(kp->flags, &up->flags) || in get_video_tuner32() 43 get_user(kp->mode, &up->mode) || in get_video_tuner32() 44 get_user(kp->signal, &up->signal)) in get_video_tuner32() 49 static int put_video_tuner32(struct video_tuner *kp, struct video_tuner32 __user *up) in put_video_tuner32() argument 52 put_user(kp->tuner, &up->tuner) || in put_video_tuner32() [all …]
|
/drivers/input/misc/ |
D | gpio_matrix.c | 36 static void clear_phantom_key(struct gpio_kp *kp, int out, int in) in clear_phantom_key() argument 38 struct gpio_event_matrix_info *mi = kp->keypad_info; in clear_phantom_key() 44 if (!test_bit(keycode, kp->input_devs->dev[dev]->key)) { in clear_phantom_key() 49 __clear_bit(key_index, kp->keys_pressed); in clear_phantom_key() 58 static int restore_keys_for_input(struct gpio_kp *kp, int out, int in) in restore_keys_for_input() argument 63 key_index = out * kp->keypad_info->ninputs + in; in restore_keys_for_input() 64 while (out < kp->keypad_info->noutputs) { in restore_keys_for_input() 65 if (test_bit(key_index, kp->keys_pressed)) { in restore_keys_for_input() 67 clear_phantom_key(kp, out, in); in restore_keys_for_input() 69 key_index += kp->keypad_info->ninputs; in restore_keys_for_input() [all …]
|
D | gpio_input.c | 66 key_entry = kp->keys_info->keymap; in gpio_event_input_timer_func() 67 key_state = kp->key_state; in gpio_event_input_timer_func() 134 key_entry = kp->keys_info->keymap; in gpio_event_input_timer_func() 135 key_state = kp->key_state; in gpio_event_input_timer_func()
|
/drivers/misc/ |
D | lkdtm.c | 286 lkdtm.kp.symbol_name = "__do_IRQ"; in lkdtm_module_init() 290 lkdtm.kp.symbol_name = "handle_IRQ_event"; in lkdtm_module_init() 294 lkdtm.kp.symbol_name = "tasklet_action"; in lkdtm_module_init() 298 lkdtm.kp.symbol_name = "ll_rw_block"; in lkdtm_module_init() 302 lkdtm.kp.symbol_name = "shrink_inactive_list"; in lkdtm_module_init() 306 lkdtm.kp.symbol_name = "hrtimer_start"; in lkdtm_module_init() 310 lkdtm.kp.symbol_name = "scsi_dispatch_cmd"; in lkdtm_module_init() 315 lkdtm.kp.symbol_name = "generic_ide_ioctl"; in lkdtm_module_init()
|
D | kgdbts.c | 1057 static int param_set_kgdbts_var(const char *kmessage, struct kernel_param *kp) in param_set_kgdbts_var() argument
|
/drivers/char/ |
D | sonypi.c | 777 struct sonypi_keypress kp; in input_keyrelease() local 779 while (kfifo_get(sonypi_device.input_fifo, (unsigned char *)&kp, in input_keyrelease() 780 sizeof(kp)) == sizeof(kp)) { in input_keyrelease() 782 input_report_key(kp.dev, kp.key, 0); in input_keyrelease() 783 input_sync(kp.dev); in input_keyrelease() 791 struct sonypi_keypress kp = { NULL }; in sonypi_report_input_event() local 808 kp.key = BTN_MIDDLE; in sonypi_report_input_event() 809 kp.dev = jog_dev; in sonypi_report_input_event() 819 kp.dev = key_dev; in sonypi_report_input_event() 820 kp.key = sonypi_inputkeys[i].inputev; in sonypi_report_input_event() [all …]
|
/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 199 static int set_param_int(const char *val, struct kernel_param *kp) in set_param_int() argument 211 *((int *)kp->arg) = l; in set_param_int() 218 static int get_param_int(char *buffer, struct kernel_param *kp) in get_param_int() argument 220 return sprintf(buffer, "%i", *((int *)kp->arg)); in get_param_int() 230 static int set_param_str(const char *val, struct kernel_param *kp) in set_param_str() argument 232 action_fn fn = (action_fn) kp->arg; in set_param_str() 254 static int get_param_str(char *buffer, struct kernel_param *kp) in get_param_str() argument 256 action_fn fn = (action_fn) kp->arg; in get_param_str() 266 static int set_param_wdog_ifnum(const char *val, struct kernel_param *kp) in set_param_wdog_ifnum() argument 268 int rv = param_set_int(val, kp); in set_param_wdog_ifnum()
|
D | ipmi_poweroff.c | 69 static int set_param_ifnum(const char *val, struct kernel_param *kp) in set_param_ifnum() argument 71 int rv = param_set_int(val, kp); in set_param_ifnum()
|
D | ipmi_si_intf.c | 1155 static int hotmod_handler(const char *val, struct kernel_param *kp); 1577 static int hotmod_handler(const char *val, struct kernel_param *kp) in hotmod_handler() argument
|
/drivers/platform/x86/ |
D | sony-laptop.c | 273 struct sony_laptop_keypress kp; in do_sony_laptop_release_key() local 275 while (kfifo_get(sony_laptop_input.fifo, (unsigned char *)&kp, in do_sony_laptop_release_key() 276 sizeof(kp)) == sizeof(kp)) { in do_sony_laptop_release_key() 278 input_report_key(kp.dev, kp.key, 0); in do_sony_laptop_release_key() 279 input_sync(kp.dev); in do_sony_laptop_release_key() 290 struct sony_laptop_keypress kp = { NULL }; in sony_laptop_report_input_event() local 314 kp.key = BTN_MIDDLE; in sony_laptop_report_input_event() 315 kp.dev = jog_dev; in sony_laptop_report_input_event() 324 kp.key = sony_laptop_input_keycode_map[sony_laptop_input_index[event]]; in sony_laptop_report_input_event() 325 if (kp.key != KEY_UNKNOWN) in sony_laptop_report_input_event() [all …]
|
D | thinkpad_acpi.c | 7204 static int __init set_ibm_param(const char *val, struct kernel_param *kp) in set_ibm_param() argument 7209 if (!kp || !kp->name || !val) in set_ibm_param() 7219 if (strcmp(ibm->name, kp->name) == 0 && ibm->write) { in set_ibm_param()
|
/drivers/acpi/ |
D | debug.c | 101 static int param_get_debug_layer(char *buffer, struct kernel_param *kp) { in param_get_debug_layer() argument 123 static int param_get_debug_level(char *buffer, struct kernel_param *kp) { in param_get_debug_level() argument 152 static int param_set_trace_state(const char *val, struct kernel_param *kp) in param_set_trace_state() argument 186 static int param_get_trace_state(char *buffer, struct kernel_param *kp) in param_get_trace_state() argument
|
D | system.c | 49 static int param_get_acpica_version(char *buffer, struct kernel_param *kp) in param_get_acpica_version() argument
|
/drivers/ide/ |
D | ide.c | 335 static int ide_set_dev_param_mask(const char *s, struct kernel_param *kp) in ide_set_dev_param_mask() argument 338 unsigned int *dev_param_mask = (unsigned int *)kp->arg; in ide_set_dev_param_mask() 392 static int ide_set_disk_chs(const char *str, struct kernel_param *kp) in ide_set_disk_chs() argument 471 static int ide_set_ignore_cable(const char *s, struct kernel_param *kp) in ide_set_ignore_cable() argument
|
/drivers/usb/storage/ |
D | libusual.c | 237 static int usu_set_bias(const char *bias_s, struct kernel_param *kp) in usu_set_bias() argument 262 static int usu_get_bias(char *buffer, struct kernel_param *kp) in usu_get_bias() argument
|
/drivers/input/mouse/ |
D | psmouse-base.c | 41 static int psmouse_set_maxproto(const char *val, struct kernel_param *kp); 42 static int psmouse_get_maxproto(char *buffer, struct kernel_param *kp); 1624 static int psmouse_set_maxproto(const char *val, struct kernel_param *kp) in psmouse_set_maxproto() argument 1636 *((unsigned int *)kp->arg) = proto->type; in psmouse_set_maxproto() 1641 static int psmouse_get_maxproto(char *buffer, struct kernel_param *kp) in psmouse_get_maxproto() argument 1643 int type = *((unsigned int *)kp->arg); in psmouse_get_maxproto()
|
/drivers/serial/ |
D | kgdboc.c | 109 static int param_set_kgdboc_var(const char *kmessage, struct kernel_param *kp) in param_set_kgdboc_var() argument
|
/drivers/edac/ |
D | edac_mc_sysfs.c | 47 static int edac_set_poll_msec(const char *val, struct kernel_param *kp) in edac_set_poll_msec() argument 58 *((int *)kp->arg) = l; in edac_set_poll_msec()
|
/drivers/mtd/devices/ |
D | phram.c | 234 static int phram_setup(const char *val, struct kernel_param *kp) in phram_setup() argument
|
D | block2mtd.c | 418 static int block2mtd_setup(const char *val, struct kernel_param *kp) in block2mtd_setup() argument
|
/drivers/pci/pcie/ |
D | aspm.c | 788 static int pcie_aspm_set_policy(const char *val, struct kernel_param *kp) in pcie_aspm_set_policy() argument 819 static int pcie_aspm_get_policy(char *buffer, struct kernel_param *kp) in pcie_aspm_get_policy() argument
|
/drivers/infiniband/hw/ipath/ |
D | ipath_init_chip.c | 63 static int ipath_set_kpiobufs(const char *val, struct kernel_param *kp); 1031 static int ipath_set_kpiobufs(const char *str, struct kernel_param *kp) in ipath_set_kpiobufs() argument
|
/drivers/scsi/fcoe/ |
D | libfcoe.c | 986 static int fcoe_destroy(const char *buffer, struct kernel_param *kp) in fcoe_destroy() argument 1024 static int fcoe_create(const char *buffer, struct kernel_param *kp) in fcoe_create() argument
|
/drivers/video/ |
D | uvesafb.c | 2012 static int param_get_scroll(char *buffer, struct kernel_param *kp) in param_get_scroll() argument 2017 static int param_set_scroll(const char *val, struct kernel_param *kp) in param_set_scroll() argument
|
/drivers/mtd/ubi/ |
D | build.c | 1149 static int __init ubi_mtd_param_parse(const char *val, struct kernel_param *kp) in ubi_mtd_param_parse() argument
|