Home
last modified time | relevance | path

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

12345678910>>...14

/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-6.6/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 …]
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
Dbcm-keypad.c85 static int bcm_kp_get_keycode(struct bcm_kp *kp, int row, int col) in bcm_kp_get_keycode()
93 static void bcm_kp_report_keys(struct bcm_kp *kp, int reg_num, int pull_mode) in bcm_kp_report_keys()
121 struct bcm_kp *kp = dev_id; in bcm_kp_isr_thread() local
133 static int bcm_kp_start(struct bcm_kp *kp) in bcm_kp_start()
164 static void bcm_kp_stop(const struct bcm_kp *kp) in bcm_kp_stop()
181 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_open() local
188 struct bcm_kp *kp = input_get_drvdata(dev); in bcm_kp_close() local
193 static int bcm_kp_matrix_key_parse_dt(struct bcm_kp *kp) in bcm_kp_matrix_key_parse_dt()
308 struct bcm_kp *kp; in bcm_kp_probe() local
/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 …]
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
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-6.6/drivers/power/supply/
Dtest_power.c345 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
352 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
358 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
365 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
372 const struct kernel_param *kp) in param_set_battery_status()
379 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
386 const struct kernel_param *kp) in param_set_battery_health()
393 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
400 const struct kernel_param *kp) in param_set_battery_present()
408 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/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-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-6.6/drivers/pwm/
Dpwm-bcm-kona.c72 static void kona_pwmc_prepare_for_settings(struct kona_pwmc *kp, in kona_pwmc_prepare_for_settings()
88 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings()
104 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_config() local
160 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_set_polarity() local
191 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_enable() local
205 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_disable() local
229 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_apply() local
277 struct kona_pwmc *kp; in kona_pwmc_probe() local
/kernel/linux/linux-6.6/kernel/
Dparams.c101 static bool param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
247 int param_set_uint_minmax(const char *val, const struct kernel_param *kp, in param_set_uint_minmax()
265 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
288 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
308 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
318 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
332 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
364 int param_set_invbool(const char *val, const struct kernel_param *kp) in param_set_invbool()
378 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
390 int param_set_bint(const char *val, const struct kernel_param *kp) in param_set_bint()
[all …]
/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-6.6/arch/s390/lib/
Dtest_kprobes.c9 static struct kprobe kp; variable
11 static void setup_kprobe(struct kunit *test, struct kprobe *kp, in setup_kprobe()
19 static void test_kprobe_offset(struct kunit *test, struct kprobe *kp, in test_kprobe_offset()
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_kms_helper_common.c42 static int edid_firmware_set(const char *val, const struct kernel_param *kp) in edid_firmware_set()
49 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-6.6/drivers/ufs/core/
Dufs-fault-injection.c35 static int ufs_fault_get(char *buffer, const struct kernel_param *kp) in ufs_fault_get()
42 static int ufs_fault_set(const char *val, const struct kernel_param *kp) in ufs_fault_set()
/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-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-6.6/crypto/
Dvmac.c149 #define nh_16(mp, kp, nw, rh, rl) \ argument
160 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
175 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
195 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument
254 #define nh_16(mp, kp, nw, rh, rl) \ argument
341 #define nh_16_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
348 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument
352 #define nh_vmac_nhbytes_2(mp, kp, nw, rh, rl, rh2, rl2) \ argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
Di915_mitigations.c30 static int mitigations_set(const char *val, const struct kernel_param *kp) in mitigations_set()
98 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get()
/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-6.6/drivers/thermal/intel/
Dintel_powerclamp.c82 static int duration_set(const char *arg, const struct kernel_param *kp) in duration_set()
105 static int duration_get(char *buf, const struct kernel_param *kp) in duration_get()
155 static int cpumask_set(const char *arg, const struct kernel_param *kp) in cpumask_set()
199 static int cpumask_get(char *buf, const struct kernel_param *kp) in cpumask_get()
216 static int max_idle_set(const char *arg, const struct kernel_param *kp) in max_idle_set()
282 static int window_size_set(const char *arg, const struct kernel_param *kp) in window_size_set()
/kernel/linux/linux-6.6/security/apparmor/
Dlsm.c1486 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy()
1495 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy()
1504 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool()
1513 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
1522 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint()
1539 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint()
1549 static int param_set_aaintbool(const char *val, const struct kernel_param *kp) in param_set_aaintbool()
1575 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) in param_get_aaintbool()
1589 const struct kernel_param *kp) in param_set_aacompressionlevel()
1609 const struct kernel_param *kp) in param_get_aacompressionlevel()
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dlsm.c1398 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy()
1407 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy()
1416 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool()
1425 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
1434 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint()
1451 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint()
1461 static int param_set_aaintbool(const char *val, const struct kernel_param *kp) in param_set_aaintbool()
1487 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) in param_get_aaintbool()
1501 const struct kernel_param *kp) in param_set_aacompressionlevel()
1522 const struct kernel_param *kp) in param_get_aacompressionlevel()
[all …]

12345678910>>...14