Searched refs:kpc (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-keembay.c | 888 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/ |
D | pxa27x_keypad.c | 578 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/ |
D | process.c | 228 cregs->kpc = (unsigned long) &ret_from_kernel_thread; in copy_thread() 251 cregs->kpc = (unsigned long) &child_return; in copy_thread()
|
D | kgdb.c | 136 regs->iaoq[0] = regs->kpc; in sleeping_thread_to_gdb_regs()
|
D | asm-offsets.c | 129 DEFINE(TASK_PT_KPC, offsetof(struct task_struct, thread.regs.kpc)); in main() 214 DEFINE(PT_KPC, offsetof(struct pt_regs, kpc)); in main()
|
D | unwind.c | 409 r2->iaoq[0] = r->kpc; in unwind_frame_init_from_blocked_task()
|
D | traps.c | 401 regs->kpc = 0; in transfer_pim_to_trap_frame()
|
D | ptrace.c | 705 REG_OFFSET_NAME(kpc),
|
/linux-6.1.9/arch/sparc/kernel/ |
D | kgdb_32.c | 76 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()
|
D | process_32.c | 305 ti->kpc = (((unsigned long) ret_from_kernel_thread) - 0x8); 315 ti->kpc = (((unsigned long) ret_from_fork) - 0x8);
|
D | traps_32.c | 379 TI_KPC != offsetof(struct thread_info, kpc) ||
|
/linux-6.1.9/arch/parisc/include/uapi/asm/ |
D | ptrace.h | 34 unsigned long kpc; member
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | thread_info_32.h | 42 unsigned long kpc; member
|
/linux-6.1.9/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 475 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/ |
D | ncr53c8xx.c | 5282 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()
|