/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-stm32f7.c | 194 u32 cr2; member 796 u32 cr2; in stm32f7_i2c_reload() local 801 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload() 803 cr2 &= ~STM32F7_I2C_CR2_NBYTES_MASK; in stm32f7_i2c_reload() 805 cr2 |= STM32F7_I2C_CR2_NBYTES(STM32F7_I2C_MAX_LEN); in stm32f7_i2c_reload() 807 cr2 &= ~STM32F7_I2C_CR2_RELOAD; in stm32f7_i2c_reload() 808 cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count); in stm32f7_i2c_reload() 811 writel_relaxed(cr2, i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload() 817 u32 cr2; in stm32f7_i2c_smbus_reload() local 831 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_smbus_reload() [all …]
|
D | i2c-stm32f4.c | 154 u32 cr2 = 0; in stm32f4_i2c_set_periph_clk_freq() local 185 cr2 |= STM32F4_I2C_CR2_FREQ(freq); in stm32f4_i2c_set_periph_clk_freq() 186 writel_relaxed(cr2, i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_set_periph_clk_freq() 561 u32 status, ien, event, cr2; in stm32f4_i2c_isr_event() local 563 cr2 = readl_relaxed(i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_isr_event() 564 ien = cr2 & STM32F4_I2C_CR2_IRQ_MASK; in stm32f4_i2c_isr_event() 594 cr2 |= STM32F4_I2C_CR2_ITBUFEN; in stm32f4_i2c_isr_event() 595 writel_relaxed(cr2, i2c_dev->base + STM32F4_I2C_CR2); in stm32f4_i2c_isr_event()
|
/Linux-v6.6/arch/x86/um/shared/sysdep/ |
D | mcontext.h | 15 (fi).cr2 = (mc)->cr2; \ 24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
|
D | faultinfo_32.h | 20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member 25 #define FAULT_ADDRESS(fi) ((fi).cr2)
|
D | faultinfo_64.h | 20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member 25 #define FAULT_ADDRESS(fi) ((fi).cr2)
|
/Linux-v6.6/arch/x86/kernel/ |
D | doublefault_32.c | 26 unsigned long cr2; in doublefault_shim() local 31 cr2 = native_read_cr2(); in doublefault_shim() 73 exc_double_fault(®s, 0, cr2); in doublefault_shim()
|
D | process_32.c | 62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local 81 cr2 = read_cr2(); in __show_regs() 85 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
|
D | asm-offsets_64.c | 50 ENTRY(cr2); in main()
|
D | sev.c | 288 ctxt->fi.cr2 = ctxt->regs->ip; in __vc_decode_user_insn() 294 ctxt->fi.cr2 = 0; in __vc_decode_user_insn() 316 ctxt->fi.cr2 = ctxt->regs->ip; in __vc_decode_kern_insn() 409 ctxt->fi.cr2 = (unsigned long)dst; in vc_write_mem() 487 ctxt->fi.cr2 = (unsigned long)src; in vc_read_mem() 506 ctxt->fi.cr2 = vaddr; in vc_slow_virt_to_phys() 1399 native_write_cr2(ctxt->fi.cr2); in vc_early_forward_exception() 1824 write_cr2(ctxt->fi.cr2); in vc_forward_exception()
|
D | process_64.c | 70 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local 114 cr2 = read_cr2(); in __show_regs() 123 log_lvl, cr2, cr3, cr4); in __show_regs()
|
/Linux-v6.6/arch/x86/include/uapi/asm/ |
D | sigcontext.h | 232 __u32 cr2; member 264 __u64 cr2; member 322 __u32 cr2; member 379 __u64 cr2; member
|
/Linux-v6.6/drivers/iio/trigger/ |
D | stm32-timer-trigger.c | 81 u32 cr2; member 291 u32 cr2; in stm32_tt_show_master_mode() local 293 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode() 296 cr2 = (cr2 & TIM_CR2_MMS2) >> TIM_CR2_MMS2_SHIFT; in stm32_tt_show_master_mode() 298 cr2 = (cr2 & TIM_CR2_MMS) >> TIM_CR2_MMS_SHIFT; in stm32_tt_show_master_mode() 300 return sysfs_emit(buf, "%s\n", master_mode_table[cr2]); in stm32_tt_show_master_mode() 839 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend() 865 regmap_write(priv->regmap, TIM_CR2, priv->bak.cr2); in stm32_timer_trigger_resume()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | cpu_setup_6xx.S | 197 cmpwi cr2,r10,11 199 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq 345 cmplwi cr2,r3,0x800c /* 7410 */ 352 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 416 cmplwi cr2,r3,0x800c /* 7410 */ 423 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 442 bne cr2,1f
|
/Linux-v6.6/arch/s390/kernel/ |
D | nmi.c | 213 union ctlreg2 cr2; in s390_validate_registers() local 293 cr2.val = S390_lowcore.cregs_save_area[2]; in s390_validate_registers() 294 if (cr2.gse) { in s390_validate_registers()
|
D | setup.c | 791 union ctlreg2 cr2; in setup_cr() local 800 __ctl_store(cr2.val, 2, 2); in setup_cr() 803 cr2.ducto = (unsigned long)__ctl_duct >> 6; in setup_cr() 806 __ctl_load(cr2.val, 2, 2); in setup_cr()
|
/Linux-v6.6/arch/powerpc/platforms/cell/ |
D | cbe_thermal.c | 302 u64 cr2; in init_default_values() local 335 cr2 = 0x04; in init_default_values() 357 out_be64(&pmd_regs->tm_cr2, cr2); in init_default_values()
|
/Linux-v6.6/arch/x86/include/asm/ |
D | suspend_32.h | 20 unsigned long cr0, cr2, cr3, cr4; member
|
D | suspend_64.h | 41 unsigned long cr0, cr2, cr3, cr4; member
|
/Linux-v6.6/drivers/tty/serial/ |
D | fsl_lpuart.c | 1135 unsigned char cr2; in lpuart_copy_rx_to_tty() local 1138 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty() 1139 cr2 &= ~UARTCR2_RE; in lpuart_copy_rx_to_tty() 1140 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty() 1166 cr2 |= UARTCR2_RE; in lpuart_copy_rx_to_tty() 1167 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty() 1613 unsigned char val, cr2; in lpuart_setup_watermark() local 1616 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_setup_watermark() 1617 cr2_saved = cr2; in lpuart_setup_watermark() 1618 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_TE | in lpuart_setup_watermark() [all …]
|
D | stm32-usart.c | 47 .cr2 = 0x10, 64 .cr2 = 0x04, 86 .cr2 = 0x04, 1070 val = readl_relaxed(port->membase + ofs->cr2); in stm32_usart_startup() 1072 writel_relaxed(val, port->membase + ofs->cr2); in stm32_usart_startup() 1152 u32 cr1, cr2, cr3, isr; in stm32_usart_set_termios() local 1183 cr2 = stm32_port->swap ? USART_CR2_SWAP : 0; in stm32_usart_set_termios() 1196 cr2 |= USART_CR2_STOP_2B; in stm32_usart_set_termios() 1241 cr2 |= USART_CR2_RTOEN; in stm32_usart_set_termios() 1348 writel_relaxed(cr2, port->membase + ofs->cr2); in stm32_usart_set_termios()
|
/Linux-v6.6/arch/powerpc/boot/ |
D | ppc_asm.h | 15 #define cr2 2 macro
|
/Linux-v6.6/arch/x86/include/asm/xen/ |
D | interface_32.h | 76 unsigned long cr2; member
|
D | interface_64.h | 137 unsigned long cr2; member
|
/Linux-v6.6/arch/x86/power/ |
D | cpu.c | 124 ctxt->cr2 = read_cr2(); in __save_processor_state() 214 write_cr2(ctxt->cr2); in __restore_processor_state()
|
/Linux-v6.6/drivers/clk/ |
D | clk-si521xx.c | 43 #define SI521XX_OE_MAP(cr1, cr2) (((cr2) << 8) | (cr1)) argument
|