Searched defs:kp (Results 1 - 25 of 56) sorted by last modified time

123

/drivers/video/fbdev/
H A Duvesafb.c1967 static int param_set_scroll(const char *val, const struct kernel_param *kp) argument
/drivers/virtio/
H A Dvirtio_mmio.c517 const struct kernel_param *kp)
588 static int vm_cmdline_get(char *buffer, const struct kernel_param *kp) argument
516 vm_cmdline_set(const char *device, 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/serial/
H A Dkgdboc.c248 static int param_set_kgdboc_var(const char *kmessage, 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/usb/phy/
H A Dotg-wakelock.c118 static int set_enabled(const char *val, const struct kernel_param *kp) argument
120 int rv = param_set_bool(val, kp);
/drivers/scsi/fcoe/
H A Dfcoe_transport.c37 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp);
583 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) argument
838 * @kp: The associated kernel param
845 static int fcoe_transport_create(const char *buffer, struct kernel_param *kp) argument
850 enum fip_state fip_mode = (enum fip_state)(long)kp->arg;
903 * @kp: The associated kernel parameter
910 static int fcoe_transport_destroy(const char *buffer, struct kernel_param *kp) argument
948 * @kp: The associated kernel parameter
954 static int fcoe_transport_disable(const char *buffer, struct kernel_param *kp) argument
982 * @kp
988 fcoe_transport_enable(const char *buffer, struct kernel_param *kp) 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/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);
H A Dmpt3sas_scsih.c275 _scsih_set_debug_level(const char *val, struct kernel_param *kp) argument
277 int ret = param_set_int(val, kp);
/drivers/staging/android/
H A Dbinder.c120 struct kernel_param *kp)
124 ret = param_set_int(val, kp);
119 binder_set_stop_on_user_error(const char *val, struct kernel_param *kp) argument
H A Dlowmemorykiller.c246 static int lowmem_adj_array_set(const char *val, const struct kernel_param *kp) argument
250 ret = param_array_ops.set(val, kp);
258 static int lowmem_adj_array_get(char *buffer, const struct kernel_param *kp) argument
260 return param_array_ops.get(buffer, kp);
/drivers/staging/speakup/
H A Dkeyhelp.c64 u_char *kp, counters[MAXFUNCS], ch, ch1; local
71 kp = state_tbl + nstates + 1;
72 while (*kp++) {
74 for (i = 0; i < nstates; i++, kp++) {
75 if (!*kp)
77 if ((state_tbl[i]&16) != 0 && *kp == SPK_KEY)
79 counters[*kp]++;
94 kp = state_tbl + nstates + 1;
95 while ((ch = *kp++)) {
97 ch1 = *kp
149 u_char func, *kp; local
[all...]
/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/mtd/devices/
H A Dblock2mtd.c404 static int block2mtd_setup(const char *val, struct kernel_param *kp) argument
H A Dphram.c269 static int phram_param_call(const char *val, struct kernel_param *kp) argument
/drivers/mtd/ubi/
H A Dblock.c100 const struct kernel_param *kp)
99 ubiblock_set_param(const char *val, const struct kernel_param *kp) argument
H A Dbuild.c1394 * @kp: not used
1399 static int __init ubi_mtd_param_parse(const char *val, struct kernel_param *kp) argument
/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/platform/x86/
H A Dsony-laptop.c367 struct sony_laptop_keypress kp; local
373 (unsigned char *)&kp, sizeof(kp)) == sizeof(kp)) {
374 input_report_key(kp.dev, kp.key, 0);
375 input_sync(kp.dev);
391 struct sony_laptop_keypress kp = { NULL }; local
417 kp.key = BTN_MIDDLE;
418 kp
548 struct sony_laptop_keypress kp = { NULL }; local
[all...]
H A Dthinkpad_acpi.c9026 static int __init set_ibm_param(const char *val, struct kernel_param *kp) argument
9031 if (!kp || !kp->name || !val)
9041 if (strcmp(ibm->name, kp->name) == 0 && ibm->write) {
/drivers/power/
H A Dtest_power.c309 static int param_set_ac_online(const char *key, const struct kernel_param *kp) argument
316 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) argument
322 static int param_set_usb_online(const char *key, const struct kernel_param *kp) argument
329 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) argument
336 const struct kernel_param *kp)
343 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) argument
350 const struct kernel_param *kp)
357 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) argument
364 const struct kernel_param *kp)
372 const struct kernel_param *kp)
335 param_set_battery_status(const char *key, const struct kernel_param *kp) argument
349 param_set_battery_health(const char *key, const struct kernel_param *kp) argument
363 param_set_battery_present(const char *key, const struct kernel_param *kp) argument
371 param_get_battery_present(char *buffer, const struct kernel_param *kp) argument
378 param_set_battery_technology(const char *key, const struct kernel_param *kp) argument
387 param_get_battery_technology(char *buffer, const struct kernel_param *kp) argument
395 param_set_battery_capacity(const char *key, const struct kernel_param *kp) argument
410 param_set_battery_voltage(const char *key, const struct kernel_param *kp) argument
[all...]
/drivers/pwm/
H A Dpwm-bcm-kona.c79 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) argument
81 unsigned int value = readl(kp->base + PWM_CONTROL_OFFSET);
86 writel(value, kp->base + PWM_CONTROL_OFFSET);
91 writel(value, kp->base + PWM_CONTROL_OFFSET);
97 struct kona_pwmc *kp = to_kona_pwmc(chip); local
113 rate = clk_get_rate(kp->clk);
138 value = readl(kp->base + PRESCALE_OFFSET);
141 writel(value, kp->base + PRESCALE_OFFSET);
143 writel(pc, kp->base + PERIOD_COUNT_OFFSET(chan));
145 writel(dc, kp
156 struct kona_pwmc *kp = to_kona_pwmc(chip); local
188 struct kona_pwmc *kp = to_kona_pwmc(chip); local
208 struct kona_pwmc *kp = to_kona_pwmc(chip); local
231 struct kona_pwmc *kp; local
289 struct kona_pwmc *kp = platform_get_drvdata(pdev); local
[all...]

Completed in 441 milliseconds

123