Home
last modified time | relevance | path

Searched refs:cr2 (Results 1 – 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-stm32f7.c192 u32 cr2; member
769 u32 cr2; in stm32f7_i2c_reload() local
774 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload()
776 cr2 &= ~STM32F7_I2C_CR2_NBYTES_MASK; in stm32f7_i2c_reload()
778 cr2 |= STM32F7_I2C_CR2_NBYTES(STM32F7_I2C_MAX_LEN); in stm32f7_i2c_reload()
780 cr2 &= ~STM32F7_I2C_CR2_RELOAD; in stm32f7_i2c_reload()
781 cr2 |= STM32F7_I2C_CR2_NBYTES(f7_msg->count); in stm32f7_i2c_reload()
784 writel_relaxed(cr2, i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_reload()
790 u32 cr2; in stm32f7_i2c_smbus_reload() local
804 cr2 = readl_relaxed(i2c_dev->base + STM32F7_I2C_CR2); in stm32f7_i2c_smbus_reload()
[all …]
Di2c-stm32f4.c154 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()
/kernel/linux/linux-5.10/arch/x86/um/shared/sysdep/
Dmcontext.h15 (fi).cr2 = (mc)->cr2; \
24 (fi).cr2 = (mc)->gregs[REG_CR2]; \
Dfaultinfo_64.h20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
Dfaultinfo_32.h20 unsigned long cr2; /* in ptrace_faultinfo called addr */ member
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
/kernel/linux/linux-5.10/arch/x86/kernel/
Ddoublefault_32.c25 unsigned long cr2; in doublefault_shim() local
30 cr2 = native_read_cr2(); in doublefault_shim()
72 exc_double_fault(&regs, 0, cr2); in doublefault_shim()
Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
84 cr2 = read_cr2(); in __show_regs()
88 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
Dsev-es.c235 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn()
246 ctxt->fi.cr2 = ctxt->regs->ip; in vc_decode_insn()
333 ctxt->fi.cr2 = (unsigned long)dst; in vc_write_mem()
411 ctxt->fi.cr2 = (unsigned long)src; in vc_read_mem()
430 ctxt->fi.cr2 = vaddr; in vc_slow_virt_to_phys()
759 native_write_cr2(ctxt->fi.cr2); in vc_early_forward_exception()
1265 write_cr2(ctxt->fi.cr2); in vc_forward_exception()
Dasm-offsets_64.c52 ENTRY(cr2); in main()
Dprocess_64.c68 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
112 cr2 = read_cr2(); in __show_regs()
121 log_lvl, cr2, cr3, cr4); in __show_regs()
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
Dsigcontext.h232 __u32 cr2; member
264 __u64 cr2; member
322 __u32 cr2; member
379 __u64 cr2; member
/kernel/linux/linux-5.10/drivers/tty/serial/
Dstm32-usart.h13 u8 cr2; member
48 .cr2 = 0x10,
65 .cr2 = 0x04,
86 .cr2 = 0x04,
Dfsl_lpuart.c1077 unsigned char cr2; in lpuart_copy_rx_to_tty() local
1080 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1081 cr2 &= ~UARTCR2_RE; in lpuart_copy_rx_to_tty()
1082 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1108 cr2 |= UARTCR2_RE; in lpuart_copy_rx_to_tty()
1109 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1492 unsigned char val, cr2; in lpuart_setup_watermark() local
1495 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_setup_watermark()
1496 cr2_saved = cr2; in lpuart_setup_watermark()
1497 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_TE | in lpuart_setup_watermark()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dsigcontext.h128 __u32 cr2; member
156 __u64 cr2; member
185 __u32 cr2; member
217 __u64 cr2; member
/kernel/linux/linux-5.10/drivers/iio/trigger/
Dstm32-timer-trigger.c80 u32 cr2; member
290 u32 cr2; in stm32_tt_show_master_mode() local
292 regmap_read(priv->regmap, TIM_CR2, &cr2); in stm32_tt_show_master_mode()
295 cr2 = (cr2 & TIM_CR2_MMS2) >> TIM_CR2_MMS2_SHIFT; in stm32_tt_show_master_mode()
297 cr2 = (cr2 & TIM_CR2_MMS) >> TIM_CR2_MMS_SHIFT; in stm32_tt_show_master_mode()
299 return snprintf(buf, PAGE_SIZE, "%s\n", master_mode_table[cr2]); in stm32_tt_show_master_mode()
838 regmap_read(priv->regmap, TIM_CR2, &priv->bak.cr2); in stm32_timer_trigger_suspend()
864 regmap_write(priv->regmap, TIM_CR2, priv->bak.cr2); in stm32_timer_trigger_resume()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dcpu_setup_6xx.S190 cmpwi cr2,r10,11
192 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
335 cmplwi cr2,r3,0x800c /* 7410 */
342 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
406 cmplwi cr2,r3,0x800c /* 7410 */
413 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
432 bne cr2,1f
/kernel/linux/linux-5.10/arch/s390/kernel/
Dnmi.c192 union ctlreg2 cr2; in s390_check_registers() local
263 cr2.val = S390_lowcore.cregs_save_area[2]; in s390_check_registers()
264 if (cr2.gse) { in s390_check_registers()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dcbe_thermal.c303 u64 cr2; in init_default_values() local
336 cr2 = 0x04; in init_default_values()
358 out_be64(&pmd_regs->tm_cr2, cr2); in init_default_values()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsuspend_32.h22 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
Dsev-es.h55 unsigned long cr2; member
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dppc_asm.h15 #define cr2 2 macro
/kernel/linux/linux-5.10/arch/x86/include/asm/xen/
Dinterface_32.h76 unsigned long cr2; member
Dinterface_64.h137 unsigned long cr2; member
/kernel/linux/linux-5.10/arch/x86/power/
Dcpu.c125 ctxt->cr2 = read_cr2(); in __save_processor_state()
215 write_cr2(ctxt->cr2); in __restore_processor_state()

123