Home
last modified time | relevance | path

Searched refs:kpc (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/pinctrl/
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 = pinctrl_dev_get_drvdata(pctldev); in keembay_set_mux() local
[all …]
/linux-6.1.9/drivers/input/keyboard/
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_DEB); in pxa27x_keypad_config()
/linux-6.1.9/arch/parisc/kernel/
Dprocess.c228 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread()
251 cregs->kpc = (unsigned long) &child_return; in copy_thread()
Dkgdb.c136 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs()
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()
Dunwind.c409 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task()
Dtraps.c401 regs->kpc = 0; in transfer_pim_to_trap_frame()
Dptrace.c705 REG_OFFSET_NAME(kpc),
/linux-6.1.9/arch/sparc/kernel/
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()
Dprocess_32.c305 ti->kpc = (((unsigned long) ret_from_kernel_thread) - 0x8);
315 ti->kpc = (((unsigned long) ret_from_fork) - 0x8);
Dtraps_32.c379 TI_KPC != offsetof(struct thread_info, kpc) ||
/linux-6.1.9/arch/parisc/include/uapi/asm/
Dptrace.h34 unsigned long kpc; member
/linux-6.1.9/arch/sparc/include/asm/
Dthread_info_32.h42 unsigned long kpc; member
/linux-6.1.9/drivers/scsi/sym53c8xx_2/
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;
/linux-6.1.9/drivers/scsi/
Dncr53c8xx.c5282 u_long kpc; /* (per * clk) */ in ncr_getsync() local
5296 kpc = per * clk; in ncr_getsync()
5298 if (kpc >= (div_10M[div] << 2)) break; in ncr_getsync()
5304 fak = (kpc - 1) / div_10M[div] + 1; in ncr_getsync()