Home
last modified time | relevance | path

Searched defs:kp (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Datomisp_compat_ioctl32.c48 static int get_atomisp_histogram32(struct atomisp_histogram __user *kp, in get_atomisp_histogram32()
62 static int put_atomisp_histogram32(struct atomisp_histogram __user *kp, in put_atomisp_histogram32()
76 static int get_v4l2_framebuffer32(struct v4l2_framebuffer __user *kp, in get_v4l2_framebuffer32()
92 static int get_atomisp_dis_statistics32(struct atomisp_dis_statistics __user *kp, in get_atomisp_dis_statistics32()
144 static int put_atomisp_dis_statistics32(struct atomisp_dis_statistics __user *kp, in put_atomisp_dis_statistics32()
196 static int get_atomisp_dis_coefficients32(struct atomisp_dis_coefficients __user *kp, in get_atomisp_dis_coefficients32()
239 static int get_atomisp_dvs_6axis_config32(struct atomisp_dvs_6axis_config __user *kp, in get_atomisp_dvs_6axis_config32()
266 static int get_atomisp_3a_statistics32(struct atomisp_3a_statistics __user *kp, in get_atomisp_3a_statistics32()
285 static int put_atomisp_3a_statistics32(struct atomisp_3a_statistics __user *kp, in put_atomisp_3a_statistics32()
304 static int get_atomisp_metadata_stat32(struct atomisp_metadata __user *kp, in get_atomisp_metadata_stat32()
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dpmic8xxx-keypad.c108 static u8 pmic8xxx_col_state(struct pmic8xxx_kp *kp, u8 col) in pmic8xxx_col_state()
129 static int pmic8xxx_chk_sync_read(struct pmic8xxx_kp *kp) in pmic8xxx_chk_sync_read()
154 static int pmic8xxx_kp_read_data(struct pmic8xxx_kp *kp, u16 *state, in pmic8xxx_kp_read_data()
171 static int pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in pmic8xxx_kp_read_matrix()
219 static void __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in __pmic8xxx_kp_scan_matrix()
250 static bool pmic8xxx_detect_ghost_keys(struct pmic8xxx_kp *kp, u16 *new_state) in pmic8xxx_detect_ghost_keys()
274 static int pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, unsigned int events) in pmic8xxx_kp_scan_matrix()
332 struct pmic8xxx_kp *kp = data; in pmic8xxx_kp_stuck_irq() local
347 struct pmic8xxx_kp *kp = data; in pmic8xxx_kp_irq() local
366 static int pmic8xxx_kpd_init(struct pmic8xxx_kp *kp, in pmic8xxx_kpd_init()
[all …]
Dbcm-keypad.c95 static int bcm_kp_get_keycode(struct bcm_kp *kp, int row, int col) in bcm_kp_get_keycode()
103 static void bcm_kp_report_keys(struct bcm_kp *kp, int reg_num, int pull_mode) in bcm_kp_report_keys()
131 struct bcm_kp *kp = dev_id; in bcm_kp_isr_thread() local
143 static int bcm_kp_start(struct bcm_kp *kp) in bcm_kp_start()
174 static void bcm_kp_stop(const struct bcm_kp *kp) in bcm_kp_stop()
192 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_open() local
199 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_close() local
204 static int bcm_kp_matrix_key_parse_dt(struct bcm_kp *kp) in bcm_kp_matrix_key_parse_dt()
319 struct bcm_kp *kp; in bcm_kp_probe() local
Dtwl4030_keypad.c125 static int twl4030_kpread(struct twl4030_keypad *kp, in twl4030_kpread()
138 static int twl4030_kpwrite_u8(struct twl4030_keypad *kp, u8 data, u32 reg) in twl4030_kpwrite_u8()
150 static inline u16 twl4030_col_xlate(struct twl4030_keypad *kp, u8 col) in twl4030_col_xlate()
164 static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state) in twl4030_read_kp_matrix_state()
177 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state) in twl4030_is_in_ghost_state()
194 static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all) in twl4030_kp_scan()
246 struct twl4030_keypad *kp = _kp; in do_kp_irq() local
265 static int twl4030_kp_program(struct twl4030_keypad *kp) in twl4030_kp_program()
327 struct twl4030_keypad *kp; in twl4030_kp_probe() local
/kernel/linux/linux-4.19/drivers/input/keyboard/
Dpmic8xxx-keypad.c116 static u8 pmic8xxx_col_state(struct pmic8xxx_kp *kp, u8 col) in pmic8xxx_col_state()
137 static int pmic8xxx_chk_sync_read(struct pmic8xxx_kp *kp) in pmic8xxx_chk_sync_read()
162 static int pmic8xxx_kp_read_data(struct pmic8xxx_kp *kp, u16 *state, in pmic8xxx_kp_read_data()
179 static int pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in pmic8xxx_kp_read_matrix()
227 static void __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state, in __pmic8xxx_kp_scan_matrix()
258 static bool pmic8xxx_detect_ghost_keys(struct pmic8xxx_kp *kp, u16 *new_state) in pmic8xxx_detect_ghost_keys()
282 static int pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, unsigned int events) in pmic8xxx_kp_scan_matrix()
340 struct pmic8xxx_kp *kp = data; in pmic8xxx_kp_stuck_irq() local
355 struct pmic8xxx_kp *kp = data; in pmic8xxx_kp_irq() local
374 static int pmic8xxx_kpd_init(struct pmic8xxx_kp *kp, in pmic8xxx_kpd_init()
[all …]
Dtwl4030_keypad.c138 static int twl4030_kpread(struct twl4030_keypad *kp, in twl4030_kpread()
151 static int twl4030_kpwrite_u8(struct twl4030_keypad *kp, u8 data, u32 reg) in twl4030_kpwrite_u8()
163 static inline u16 twl4030_col_xlate(struct twl4030_keypad *kp, u8 col) in twl4030_col_xlate()
177 static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state) in twl4030_read_kp_matrix_state()
190 static bool twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state) in twl4030_is_in_ghost_state()
207 static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all) in twl4030_kp_scan()
259 struct twl4030_keypad *kp = _kp; in do_kp_irq() local
278 static int twl4030_kp_program(struct twl4030_keypad *kp) in twl4030_kp_program()
340 struct twl4030_keypad *kp; in twl4030_kp_probe() local
Dbcm-keypad.c95 static int bcm_kp_get_keycode(struct bcm_kp *kp, int row, int col) in bcm_kp_get_keycode()
103 static void bcm_kp_report_keys(struct bcm_kp *kp, int reg_num, int pull_mode) in bcm_kp_report_keys()
131 struct bcm_kp *kp = dev_id; in bcm_kp_isr_thread() local
143 static int bcm_kp_start(struct bcm_kp *kp) in bcm_kp_start()
174 static void bcm_kp_stop(const struct bcm_kp *kp) in bcm_kp_stop()
192 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_open() local
199 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_close() local
204 static int bcm_kp_matrix_key_parse_dt(struct bcm_kp *kp) in bcm_kp_matrix_key_parse_dt()
319 struct bcm_kp *kp; in bcm_kp_probe() local
/kernel/linux/linux-5.10/drivers/power/supply/
Dtest_power.c346 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
353 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
359 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
366 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
373 const struct kernel_param *kp) in param_set_battery_status()
380 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
387 const struct kernel_param *kp) in param_set_battery_health()
394 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
401 const struct kernel_param *kp) in param_set_battery_present()
409 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/kernel/linux/linux-4.19/drivers/power/supply/
Dtest_power.c337 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
344 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
351 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
358 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
366 const struct kernel_param *kp) in param_set_battery_status()
373 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
381 const struct kernel_param *kp) in param_set_battery_health()
388 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
396 const struct kernel_param *kp) in param_set_battery_present()
404 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-bcm-kona.c82 static void kona_pwmc_prepare_for_settings(struct kona_pwmc *kp, in kona_pwmc_prepare_for_settings()
98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings()
114 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_config() local
179 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_set_polarity() local
210 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_enable() local
231 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_disable() local
261 struct kona_pwmc *kp; in kona_pwmc_probe() local
315 struct kona_pwmc *kp = platform_get_drvdata(pdev); in kona_pwmc_remove() local
/kernel/linux/linux-4.19/drivers/pwm/
Dpwm-bcm-kona.c82 static void kona_pwmc_prepare_for_settings(struct kona_pwmc *kp, in kona_pwmc_prepare_for_settings()
98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings()
114 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_config() local
179 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_set_polarity() local
210 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_enable() local
231 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_disable() local
261 struct kona_pwmc *kp; in kona_pwmc_probe() local
315 struct kona_pwmc *kp = platform_get_drvdata(pdev); in kona_pwmc_remove() local
/kernel/linux/linux-5.10/kernel/
Dparams.c100 static bool param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
246 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
269 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
289 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
299 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
313 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
345 int param_set_invbool(const char *val, const struct kernel_param *kp) in param_set_invbool()
359 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
371 int param_set_bint(const char *val, const struct kernel_param *kp) in param_set_bint()
400 int (*set)(const char *, const struct kernel_param *kp), in param_array()
[all …]
/kernel/linux/linux-4.19/kernel/
Dparams.c111 static void param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
248 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
271 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
291 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
301 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
315 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
347 int param_set_invbool(const char *val, const struct kernel_param *kp) in param_set_invbool()
361 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
373 int param_set_bint(const char *val, const struct kernel_param *kp) in param_set_bint()
402 int (*set)(const char *, const struct kernel_param *kp), in param_array()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/
Ddrm_kms_helper_common.c40 static int edid_firmware_set(const char *val, const struct kernel_param *kp) in edid_firmware_set()
47 static int edid_firmware_get(char *buffer, const struct kernel_param *kp) in edid_firmware_get()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_kms_helper_common.c41 static int edid_firmware_set(const char *val, const struct kernel_param *kp) in edid_firmware_set()
48 static int edid_firmware_get(char *buffer, const struct kernel_param *kp) in edid_firmware_get()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_sysfs.c29 static int rxe_param_set_add(const char *val, const struct kernel_param *kp) in rxe_param_set_add()
79 static int rxe_param_set_remove(const char *val, const struct kernel_param *kp) in rxe_param_set_remove()
/kernel/linux/linux-4.19/crypto/
Dvmac.c148 #define nh_16(mp, kp, nw, rh, rl) \ argument
159 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
174 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
194 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
253 #define nh_16(mp, kp, nw, rh, rl) \ argument
340 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
347 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
351 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_mitigations.c29 static int mitigations_set(const char *val, const struct kernel_param *kp) in mitigations_set()
97 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get()
/kernel/linux/linux-4.19/drivers/infiniband/sw/rxe/
Drxe_sysfs.c72 static int rxe_param_set_add(const char *val, const struct kernel_param *kp) in rxe_param_set_add()
115 static int rxe_param_set_remove(const char *val, const struct kernel_param *kp) in rxe_param_set_remove()
/kernel/linux/linux-5.10/crypto/
Dvmac.c148 #define nh_16(mp, kp, nw, rh, rl) \ argument
159 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
174 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
194 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
253 #define nh_16(mp, kp, nw, rh, rl) \ argument
340 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
347 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
351 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
/kernel/linux/linux-5.10/security/apparmor/
Dlsm.c1391 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy()
1400 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy()
1409 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool()
1418 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
1427 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint()
1444 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint()
1454 static int param_set_aaintbool(const char *val, const struct kernel_param *kp) in param_set_aaintbool()
1480 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) in param_get_aaintbool()
1494 const struct kernel_param *kp) in param_set_aacompressionlevel()
1515 const struct kernel_param *kp) in param_get_aacompressionlevel()
[all …]
/kernel/linux/linux-5.10/mm/
Dshuffle.c15 static int shuffle_show(char *buffer, const struct kernel_param *kp) in shuffle_show()
21 const struct kernel_param *kp) in shuffle_store()
/kernel/linux/linux-4.19/drivers/acpi/
Dsysfs.c108 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer()
136 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level()
173 const struct kernel_param *kp) in param_set_trace_method_name()
215 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name()
235 const struct kernel_param *kp) in param_set_trace_state()
271 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state()
301 const struct kernel_param *kp) in param_get_acpica_version()
/kernel/linux/linux-5.10/drivers/acpi/
Dsysfs.c108 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer()
136 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level()
173 const struct kernel_param *kp) in param_set_trace_method_name()
215 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name()
235 const struct kernel_param *kp) in param_set_trace_state()
271 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state()
301 const struct kernel_param *kp) in param_get_acpica_version()
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_transport.c597 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show()
860 const struct kernel_param *kp) in fcoe_transport_create()
926 const struct kernel_param *kp) in fcoe_transport_destroy()
971 const struct kernel_param *kp) in fcoe_transport_disable()
1006 const struct kernel_param *kp) in fcoe_transport_enable()

12345678910>>...12