Home
last modified time | relevance | path

Searched refs:kpc (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-keembay.c888 static void keembay_gpio_invert(struct keembay_pinctrl *kpc, unsigned int pin) in keembay_gpio_invert() argument
890 unsigned int val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_invert()
899 keembay_write_reg(val, kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_invert()
902 static void keembay_gpio_restore_default(struct keembay_pinctrl *kpc, unsigned int pin) in keembay_gpio_restore_default() argument
904 unsigned int val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_restore_default()
907 keembay_write_reg(val, kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_restore_default()
913 struct keembay_pinctrl *kpc = pinctrl_dev_get_drvdata(pctldev); in keembay_request_gpio() local
916 if (pin >= kpc->npins) in keembay_request_gpio()
919 val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_request_gpio()
932 struct keembay_pinctrl *kpc in keembay_set_mux() local
958 keembay_pinconf_get_pull(struct keembay_pinctrl *kpc, unsigned int pin) keembay_pinconf_get_pull() argument
965 keembay_pinconf_set_pull(struct keembay_pinctrl *kpc, unsigned int pin, unsigned int pull) keembay_pinconf_set_pull() argument
976 keembay_pinconf_get_drive(struct keembay_pinctrl *kpc, unsigned int pin) keembay_pinconf_get_drive() argument
987 keembay_pinconf_set_drive(struct keembay_pinctrl *kpc, unsigned int pin, unsigned int drive) keembay_pinconf_set_drive() argument
1000 keembay_pinconf_get_slew_rate(struct keembay_pinctrl *kpc, unsigned int pin) keembay_pinconf_get_slew_rate() argument
1007 keembay_pinconf_set_slew_rate(struct keembay_pinctrl *kpc, unsigned int pin, unsigned int slew_rate) keembay_pinconf_set_slew_rate() argument
1022 keembay_pinconf_get_schmitt(struct keembay_pinctrl *kpc, unsigned int pin) keembay_pinconf_get_schmitt() argument
1029 keembay_pinconf_set_schmitt(struct keembay_pinctrl *kpc, unsigned int pin, unsigned int schmitt_en) keembay_pinconf_set_schmitt() argument
1047 struct keembay_pinctrl *kpc = pinctrl_dev_get_drvdata(pctldev); keembay_pinconf_get() local
1100 struct keembay_pinctrl *kpc = pinctrl_dev_get_drvdata(pctldev); keembay_pinconf_set() local
1182 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_get() local
1193 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_set() local
1207 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_get_direction() local
1215 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_set_direction_in() local
1228 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_set_direction_out() local
1245 struct keembay_pinctrl *kpc; keembay_gpio_irq_handler() local
1284 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_clear_irq() local
1311 keembay_find_free_slot(struct keembay_pinctrl *kpc, unsigned int src) keembay_find_free_slot() argument
1318 keembay_find_free_src(struct keembay_pinctrl *kpc, unsigned int trig) keembay_find_free_src() argument
1339 keembay_gpio_set_irq(struct keembay_pinctrl *kpc, int src, int slot, irq_hw_number_t pin) keembay_gpio_set_irq() argument
1365 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_irq_enable() local
1399 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_irq_disable() local
1418 struct keembay_pinctrl *kpc = gpiochip_get_data(gc); keembay_gpio_irq_set_type() local
1439 struct keembay_pinctrl *kpc = gpiochip_get_data(chip); keembay_gpio_add_pin_ranges() local
1456 keembay_gpiochip_probe(struct keembay_pinctrl *kpc, struct platform_device *pdev) keembay_gpiochip_probe() argument
1518 keembay_build_groups(struct keembay_pinctrl *kpc) keembay_build_groups() argument
1542 keembay_pinctrl_reg(struct keembay_pinctrl *kpc, struct device *dev) keembay_pinctrl_reg() argument
1557 keembay_add_functions(struct keembay_pinctrl *kpc, struct function_desc *functions) keembay_add_functions() argument
1599 keembay_build_functions(struct keembay_pinctrl *kpc) keembay_build_functions() argument
1662 struct keembay_pinctrl *kpc; keembay_pinctrl_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dpxa27x_keypad.c578 unsigned long kpc = keypad_readl(KPC); in pxa27x_keypad_irq_handler() local
582 if (kpc & KPC_DI) in pxa27x_keypad_irq_handler()
585 if (kpc & KPC_MI) in pxa27x_keypad_irq_handler()
595 unsigned long kpc = 0; in pxa27x_keypad_config() local
602 kpc |= KPC_ASACT | KPC_MIE | KPC_ME | KPC_MS_ALL; in pxa27x_keypad_config()
603 kpc |= KPC_MKRN(pdata->matrix_key_rows) | in pxa27x_keypad_config()
611 kpc |= KPC_REE0; in pxa27x_keypad_config()
617 kpc |= KPC_REE1; in pxa27x_keypad_config()
634 kpc |= KPC_DE | KPC_DIE | KPC_DKN(direct_key_num); in pxa27x_keypad_config()
636 keypad_writel(KPC, kpc | KPC_RE_ZERO_DE in pxa27x_keypad_config()
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dpxa27x_keypad.c578 unsigned long kpc = keypad_readl(KPC); in pxa27x_keypad_irq_handler() local
582 if (kpc & KPC_DI) in pxa27x_keypad_irq_handler()
585 if (kpc & KPC_MI) in pxa27x_keypad_irq_handler()
595 unsigned long kpc = 0; in pxa27x_keypad_config() local
602 kpc |= KPC_ASACT | KPC_MIE | KPC_ME | KPC_MS_ALL; in pxa27x_keypad_config()
603 kpc |= KPC_MKRN(pdata->matrix_key_rows) | in pxa27x_keypad_config()
611 kpc |= KPC_REE0; in pxa27x_keypad_config()
617 kpc |= KPC_REE1; in pxa27x_keypad_config()
634 kpc |= KPC_DE | KPC_DIE | KPC_DKN(direct_key_num); in pxa27x_keypad_config()
636 keypad_writel(KPC, kpc | KPC_RE_ZERO_DE in pxa27x_keypad_config()
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dprocess.c225 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
248 cregs->kpc = (unsigned long) &child_return; in copy_thread()
H A Dkgdb.c136 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs()
H A Dasm-offsets.c129 DEFINE(TASK_PT_KPC, offsetof(struct task_struct, thread.regs.kpc)); in main()
214 DEFINE(PT_KPC, offsetof(struct pt_regs, kpc)); in main()
H A Dunwind.c409 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task()
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dkgdb_32.c76 gdb_regs[GDB_PC] = t->kpc; in sleeping_thread_to_gdb_regs()
77 gdb_regs[GDB_NPC] = t->kpc + 4; in sleeping_thread_to_gdb_regs()
H A Dprocess_32.c318 ti->kpc = (((unsigned long) ret_from_kernel_thread) - 0x8);
330 ti->kpc = (((unsigned long) ret_from_fork) - 0x8);
H A Dtraps_32.c379 TI_KPC != offsetof(struct thread_info, kpc) ||
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dprocess.c217 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
240 cregs->kpc = (unsigned long) &child_return; in copy_thread()
H A Dkgdb.c135 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs()
H A Dasm-offsets.c133 DEFINE(TASK_PT_KPC, offsetof(struct task_struct, thread.regs.kpc)); in main()
222 DEFINE(PT_KPC, offsetof(struct pt_regs, kpc)); in main()
H A Dunwind.c410 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task()
H A Dtraps.c404 regs->kpc = 0; in transfer_pim_to_trap_frame()
H A Dptrace.c719 REG_OFFSET_NAME(kpc),
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dkgdb_32.c76 gdb_regs[GDB_PC] = t->kpc; in sleeping_thread_to_gdb_regs()
77 gdb_regs[GDB_NPC] = t->kpc + 4; in sleeping_thread_to_gdb_regs()
H A Dprocess_32.c304 ti->kpc = (((unsigned long) ret_from_kernel_thread) - 0x8);
314 ti->kpc = (((unsigned long) ret_from_fork) - 0x8);
H A Dtraps_32.c379 TI_KPC != offsetof(struct thread_info, kpc) ||
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
H A Dptrace.h34 unsigned long kpc; member
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/
H A Dptrace.h34 unsigned long kpc; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dthread_info_32.h42 unsigned long kpc; member
92 #define TI_KPC 0x24 /* kpc (ldd'ed with kpc) */
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dthread_info_32.h42 unsigned long kpc; member
92 #define TI_KPC 0x24 /* kpc (ldd'ed with kpc) */
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c475 u32 kpc; /* (per * clk) */ local
488 kpc = per * clk;
490 kpc <<= 1;
507 if (kpc > (div_10M[div] << 2)) {
527 if (kpc >= (div_10M[div] << 2)) break;
536 fak = (kpc - 1) / (div_10M[div] << 1) + 1 - 2;
539 fak = (kpc - 1) / div_10M[div] + 1 - 4;
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c475 u32 kpc; /* (per * clk) */ local
488 kpc = per * clk;
490 kpc <<= 1;
507 if (kpc > (div_10M[div] << 2)) {
527 if (kpc >= (div_10M[div] << 2)) break;
536 fak = (kpc - 1) / (div_10M[div] << 1) + 1 - 2;
539 fak = (kpc - 1) / div_10M[div] + 1 - 4;

Completed in 25 milliseconds

12