Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/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
/Linux-v5.15/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 …]
/Linux-v5.15/kernel/
Dparams.c100 static bool param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
246 int param_set_uint_minmax(const char *val, const struct kernel_param *kp, in param_set_uint_minmax()
264 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
287 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
307 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
317 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
331 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
363 int param_set_invbool(const char *val, const struct kernel_param *kp) in param_set_invbool()
377 int param_get_invbool(char *buffer, const struct kernel_param *kp) in param_get_invbool()
389 int param_set_bint(const char *val, const struct kernel_param *kp) in param_set_bint()
[all …]
Dfail_function.c17 static void fei_post_handler(struct kprobe *kp, struct pt_regs *regs, in fei_post_handler()
28 struct kprobe kp; member
172 static int fei_kprobe_handler(struct kprobe *kp, struct pt_regs *regs) in fei_kprobe_handler()
Dkprobes.c349 static inline void set_kprobe_instance(struct kprobe *kp) in set_kprobe_instance()
415 struct kprobe *kp; in opt_pre_handler() local
1133 static int arm_kprobe(struct kprobe *kp) in arm_kprobe()
1148 static int disarm_kprobe(struct kprobe *kp, bool reopt) in disarm_kprobe()
1168 struct kprobe *kp; in aggr_pre_handler() local
1185 struct kprobe *kp; in aggr_post_handler() local
1200 struct kprobe *kp; in kprobes_inc_nmissed_count() local
1673 struct kprobe *kp; in aggr_kprobe_disabled() local
2130 struct kprobe *kp; in kill_kprobe() local
2161 int disable_kprobe(struct kprobe *kp) in disable_kprobe()
[all …]
/Linux-v5.15/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
/Linux-v5.15/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()
/Linux-v5.15/drivers/scsi/ufs/
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()
/Linux-v5.15/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
Daes_generic.c1180 const u32 *kp = ctx->key_enc + 4; in crypto_aes_encrypt() local
1251 const u32 *kp = ctx->key_dec + 4; in crypto_aes_decrypt() local
/Linux-v5.15/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()
/Linux-v5.15/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()
/Linux-v5.15/security/apparmor/
Dlsm.c1401 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp) in param_set_aalockpolicy()
1410 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp) in param_get_aalockpolicy()
1419 static int param_set_aabool(const char *val, const struct kernel_param *kp) in param_set_aabool()
1428 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
1437 static int param_set_aauint(const char *val, const struct kernel_param *kp) in param_set_aauint()
1454 static int param_get_aauint(char *buffer, const struct kernel_param *kp) in param_get_aauint()
1464 static int param_set_aaintbool(const char *val, const struct kernel_param *kp) in param_set_aaintbool()
1490 static int param_get_aaintbool(char *buffer, const struct kernel_param *kp) in param_get_aaintbool()
1504 const struct kernel_param *kp) in param_set_aacompressionlevel()
1525 const struct kernel_param *kp) in param_get_aacompressionlevel()
[all …]
/Linux-v5.15/drivers/acpi/
Dsysfs.c91 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer()
119 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level()
156 const struct kernel_param *kp) in param_set_trace_method_name()
198 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name()
218 const struct kernel_param *kp) in param_set_trace_state()
254 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state()
280 const struct kernel_param *kp) in param_get_acpica_version()
/Linux-v5.15/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()
/Linux-v5.15/drivers/scsi/fcoe/
Dfcoe_transport.c598 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show()
861 const struct kernel_param *kp) in fcoe_transport_create()
927 const struct kernel_param *kp) in fcoe_transport_destroy()
972 const struct kernel_param *kp) in fcoe_transport_disable()
1007 const struct kernel_param *kp) in fcoe_transport_enable()
/Linux-v5.15/drivers/accessibility/speakup/
Dkeyhelp.c51 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data() local
136 u_char func, *kp; in spk_handle_help() local
/Linux-v5.15/drivers/input/misc/
Dati_remote2.c37 const struct kernel_param *kp, in ati_remote2_set_mask()
59 const struct kernel_param *kp) in ati_remote2_set_channel_mask()
67 const struct kernel_param *kp) in ati_remote2_get_channel_mask()
75 const struct kernel_param *kp) in ati_remote2_set_mode_mask()
83 const struct kernel_param *kp) in ati_remote2_get_mode_mask()
/Linux-v5.15/drivers/media/pci/tw686x/
Dtw686x-core.c72 static int tw686x_dma_mode_get(char *buffer, const struct kernel_param *kp) in tw686x_dma_mode_get()
77 static int tw686x_dma_mode_set(const char *val, const struct kernel_param *kp) in tw686x_dma_mode_set()
/Linux-v5.15/fs/nfs/
Dnamespace.c322 static int param_set_nfs_timeout(const char *val, const struct kernel_param *kp) in param_set_nfs_timeout()
347 static int param_get_nfs_timeout(char *buffer, const struct kernel_param *kp) in param_get_nfs_timeout()
/Linux-v5.15/include/linux/
Dkprobes.h147 struct kprobe kp; member
321 struct kprobe kp; member
463 static inline int disable_kprobe(struct kprobe *kp) in disable_kprobe()
467 static inline int enable_kprobe(struct kprobe *kp) in enable_kprobe()
/Linux-v5.15/drivers/dma/
Ddmatest.c278 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get()
1163 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get()
1180 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set()
1219 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set()
1291 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get()
1305 static int dmatest_test_list_get(char *val, const struct kernel_param *kp) in dmatest_test_list_get()
/Linux-v5.15/arch/x86/platform/uv/
Duv_nmi.c113 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64()
118 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64()
196 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action()
201 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action()

1234567