/Linux-v5.10/tools/testing/selftests/powerpc/math/ |
D | fpu_asm.S | 13 fcmpu cr1,f0,f14 14 bne cr1,1f 16 fcmpu cr1,f0,f15 17 bne cr1,1f 19 fcmpu cr1,f0,f16 20 bne cr1,1f 22 fcmpu cr1,f0,f17 23 bne cr1,1f 25 fcmpu cr1,f0,f18 26 bne cr1,1f [all …]
|
/Linux-v5.10/drivers/counter/ |
D | stm32-timer-cnt.c | 24 u32 cr1; member 112 u32 cr1, sms; in stm32_count_function_set() local 130 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_function_set() 144 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, cr1); in stm32_count_function_set() 155 u32 cr1; in stm32_count_direction_read() local 157 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_direction_read() 158 direction = (cr1 & TIM_CR1_DIR) ? "backward" : "forward"; in stm32_count_direction_read() 201 u32 cr1; in stm32_count_enable_read() local 203 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_read() 205 return scnprintf(buf, PAGE_SIZE, "%d\n", (bool)(cr1 & TIM_CR1_CEN)); in stm32_count_enable_read() [all …]
|
/Linux-v5.10/drivers/spi/ |
D | spi-sh.c | 78 unsigned long cr1; member 188 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send() 191 ss->cr1 & SPI_SH_TBE, in spi_sh_send() 193 if (ret == 0 && !(ss->cr1 & SPI_SH_TBE)) { in spi_sh_send() 204 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send() 207 ss->cr1 & SPI_SH_TBE, in spi_sh_send() 209 if (ret == 0 && (ss->cr1 & SPI_SH_TBE)) { in spi_sh_send() 240 ss->cr1 &= ~SPI_SH_RBF; in spi_sh_receive() 243 ss->cr1 & SPI_SH_RBF, in spi_sh_receive() 394 unsigned long cr1; in spi_sh_irq() local [all …]
|
/Linux-v5.10/drivers/tty/serial/ |
D | stm32-usart.c | 63 static void stm32_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_config_reg_rs485() argument 71 over8 = *cr1 & USART_CR1_OVER8; in stm32_config_reg_rs485() 83 *cr1 |= rs485_deat_dedt; in stm32_config_reg_rs485() 95 *cr1 |= rs485_deat_dedt; in stm32_config_reg_rs485() 104 u32 usartdiv, baud, cr1, cr3; in stm32_config_rs485() local 107 stm32_clr_bits(port, ofs->cr1, BIT(cfg->uart_enable_bit)); in stm32_config_rs485() 114 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_config_rs485() 118 over8 = cr1 & USART_CR1_OVER8; in stm32_config_rs485() 125 stm32_config_reg_rs485(&cr1, &cr3, in stm32_config_rs485() 138 writel_relaxed(cr1, port->membase + ofs->cr1); in stm32_config_rs485() [all …]
|
D | fsl_linflexuart.c | 330 unsigned long cr, ier, cr1; in linflex_setup_watermark() local 344 cr1 = LINFLEXD_LINCR1_BF | LINFLEXD_LINCR1_MME in linflex_setup_watermark() 346 writel(cr1, sport->membase + LINCR1); in linflex_setup_watermark() 370 cr1 &= ~(LINFLEXD_LINCR1_INIT); in linflex_setup_watermark() 372 writel(cr1, sport->membase + LINCR1); in linflex_setup_watermark() 420 unsigned long cr, old_cr, cr1; in linflex_set_termios() local 427 cr1 = readl(port->membase + LINCR1); in linflex_set_termios() 428 cr1 |= LINFLEXD_LINCR1_INIT; in linflex_set_termios() 429 writel(cr1, port->membase + LINCR1); in linflex_set_termios() 520 cr1 &= ~(LINFLEXD_LINCR1_INIT); in linflex_set_termios() [all …]
|
D | stm32-usart.h | 12 u8 cr1; member 47 .cr1 = 0x0c, 64 .cr1 = 0x00, 85 .cr1 = 0x00,
|
/Linux-v5.10/arch/powerpc/kernel/vdso32/ |
D | getcpu.S | 23 cmpwi cr1,r4,0 30 beqlr cr1 39 cmpwi cr1, r4, 0 45 beqlr cr1
|
D | gettimeofday.S | 69 cmpli cr1,r3,CLOCK_MONOTONIC 70 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 87 bne cr1, .Lfinish /* not monotonic -> all done */ 161 cmpwi cr1,r4,0 165 1: bge cr1, .Lfinish 200 cmpwi cr1, r3, CLOCK_REALTIME_COARSE 204 beq cr1, 1f
|
/Linux-v5.10/drivers/staging/media/imx/ |
D | imx7-media-csi.c | 253 u32 cr1 = imx7_csi_reg_read(csi, CSI_CSICR1); in imx7_csi_hw_enable_irq() local 255 cr1 |= BIT_SOF_INTEN; in imx7_csi_hw_enable_irq() 256 cr1 |= BIT_RFF_OR_INT; in imx7_csi_hw_enable_irq() 259 cr1 |= BIT_FB1_DMA_DONE_INTEN; in imx7_csi_hw_enable_irq() 260 cr1 |= BIT_FB2_DMA_DONE_INTEN; in imx7_csi_hw_enable_irq() 262 cr1 |= BIT_EOF_INT_EN; in imx7_csi_hw_enable_irq() 264 imx7_csi_reg_write(csi, cr1, CSI_CSICR1); in imx7_csi_hw_enable_irq() 269 u32 cr1 = imx7_csi_reg_read(csi, CSI_CSICR1); in imx7_csi_hw_disable_irq() local 271 cr1 &= ~BIT_SOF_INTEN; in imx7_csi_hw_disable_irq() 272 cr1 &= ~BIT_RFF_OR_INT; in imx7_csi_hw_disable_irq() [all …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-stm32f4.c | 489 u32 cr1; in stm32f4_i2c_handle_rx_addr() local 506 cr1 = readl_relaxed(i2c_dev->base + STM32F4_I2C_CR1); in stm32f4_i2c_handle_rx_addr() 507 cr1 &= ~(STM32F4_I2C_CR1_ACK | STM32F4_I2C_CR1_POS); in stm32f4_i2c_handle_rx_addr() 508 writel_relaxed(cr1, i2c_dev->base + STM32F4_I2C_CR1); in stm32f4_i2c_handle_rx_addr() 513 cr1 |= STM32F4_I2C_CR1_STOP; in stm32f4_i2c_handle_rx_addr() 515 cr1 |= STM32F4_I2C_CR1_START; in stm32f4_i2c_handle_rx_addr() 516 writel_relaxed(cr1, i2c_dev->base + STM32F4_I2C_CR1); in stm32f4_i2c_handle_rx_addr() 526 cr1 = readl_relaxed(i2c_dev->base + STM32F4_I2C_CR1); in stm32f4_i2c_handle_rx_addr() 527 cr1 &= ~STM32F4_I2C_CR1_ACK; in stm32f4_i2c_handle_rx_addr() 528 cr1 |= STM32F4_I2C_CR1_POS; in stm32f4_i2c_handle_rx_addr() [all …]
|
D | i2c-stm32f7.c | 189 u32 cr1; member 843 u32 cr1, cr2; in stm32f7_i2c_xfer_msg() local 854 cr1 = readl_relaxed(base + STM32F7_I2C_CR1); in stm32f7_i2c_xfer_msg() 883 cr1 |= STM32F7_I2C_CR1_ERRIE | STM32F7_I2C_CR1_TCIE | in stm32f7_i2c_xfer_msg() 887 cr1 &= ~(STM32F7_I2C_CR1_RXIE | STM32F7_I2C_CR1_TXIE | in stm32f7_i2c_xfer_msg() 906 cr1 |= STM32F7_I2C_CR1_RXIE; in stm32f7_i2c_xfer_msg() 908 cr1 |= STM32F7_I2C_CR1_TXIE; in stm32f7_i2c_xfer_msg() 911 cr1 |= STM32F7_I2C_CR1_RXDMAEN; in stm32f7_i2c_xfer_msg() 913 cr1 |= STM32F7_I2C_CR1_TXDMAEN; in stm32f7_i2c_xfer_msg() 922 writel_relaxed(cr1, base + STM32F7_I2C_CR1); in stm32f7_i2c_xfer_msg() [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | head_8xx.S | 345 cmpwi cr1, r11, RPN_PATTERN 346 beq- cr1, FixupDAR /* must be a buggy dcbX, icbi insn. */ 390 cmplwi cr1, r11, (.Ldtlbie - PAGE_OFFSET)@l 392 cror 4*cr1+eq, 4*cr1+eq, 4*cr7+eq 393 bne cr1, do_databreakpoint 429 cmpli cr1, r11, PAGE_OFFSET@h 431 blt+ cr1, 3f 453 cmpwi cr1, r10, 2028 /* Is dcbz? */ 454 beq+ cr1, 142f 455 cmpwi cr1, r10, 940 /* Is dcbi? */ [all …]
|
D | cpu_setup_6xx.S | 189 cmpwi cr1,r10,9 191 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 334 cmplwi cr1,r3,0x000c /* 7400 */ 342 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 346 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 355 beq cr1,1f 405 cmplwi cr1,r3,0x000c /* 7400 */ 413 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 417 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 436 1: beq cr1,2f
|
/Linux-v5.10/sound/soc/stm/ |
D | stm32_sai_sub.c | 340 int ret, cr1, mask; in stm32_sai_set_clk_div() local 348 cr1 = SAI_XCR1_MCKDIV_SET(div); in stm32_sai_set_clk_div() 349 ret = stm32_sai_sub_reg_up(sai, STM_SAI_CR1_REGX, mask, cr1); in stm32_sai_set_clk_div() 648 int cr1, frcr = 0; in stm32_sai_set_dai_fmt() local 655 cr1 = SAI_XCR1_NODIV; in stm32_sai_set_dai_fmt() 660 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_SPDIF_PROTOCOL); in stm32_sai_set_dai_fmt() 664 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_FREE_PROTOCOL); in stm32_sai_set_dai_fmt() 669 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt() 701 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt() 708 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt() [all …]
|
/Linux-v5.10/arch/powerpc/kernel/vdso64/ |
D | gettimeofday.S | 62 cmpwi cr1,r3,CLOCK_MONOTONIC 63 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 80 bne cr1,80f /* if not monotonic, all done */ 148 cmpdi cr1,r5,0 152 79: bge cr1,80f 186 cmpwi cr1,r3,CLOCK_MONOTONIC 187 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
|
D | getcpu.S | 22 cmpdi cr1,r4,0 27 1: beq cr1,2f
|
/Linux-v5.10/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp_64.S | 48 cmpwi cr1,r3,0; \ 102 cmpdi cr1,r5,0 115 beq cr1,.Lzero 287 cmpld cr1,rC,rD 301 bne cr1,.LcmpCD 312 cmpld cr1,rC,rD 328 bne cr1,.LcmpCD 336 cmpld cr1,rC,rD 345 bne cr1,.LcmpCD 361 cmpld cr1,rC,rD [all …]
|
D | memcmp_32.S | 29 cmplwi cr1, r3, 2 30 blt- cr1, 4f 35 beqlr cr1
|
/Linux-v5.10/arch/powerpc/lib/ |
D | memcmp_64.S | 48 cmpwi cr1,r3,0; \ 102 cmpdi cr1,r5,0 115 beq cr1,.Lzero 287 cmpld cr1,rC,rD 301 bne cr1,.LcmpCD 312 cmpld cr1,rC,rD 328 bne cr1,.LcmpCD 336 cmpld cr1,rC,rD 345 bne cr1,.LcmpCD 361 cmpld cr1,rC,rD [all …]
|
D | memcmp_32.S | 29 cmplwi cr1, r3, 2 30 blt- cr1, 4f 35 beqlr cr1
|
D | memcpy_64.S | 42 cmpldi cr1,r5,16 46 blt cr1,.Lshort_copy 75 blt cr1,3f 162 cmpwi cr1,r5,8 165 ble cr1,6f 188 cmpldi cr1,r5,16
|
D | mem_64.S | 25 cmplw cr1,r5,r0 37 cmplw cr1,r5,r0 /* do we get that far? */ 41 blt cr1,8f
|
/Linux-v5.10/tools/testing/selftests/powerpc/copyloops/ |
D | memcpy_64.S | 42 cmpldi cr1,r5,16 46 blt cr1,.Lshort_copy 75 blt cr1,3f 162 cmpwi cr1,r5,8 165 ble cr1,6f 188 cmpldi cr1,r5,16
|
D | copyuser_64.S | 57 cmpldi cr1,r5,16 70 blt cr1,.Lshort_copy 92 blt cr1,.Ldo_tail /* if < 16 bytes to copy */ 94 cmpdi cr1,r0,0 106 beq cr1,72f 227 6: cmpwi cr1,r5,8 231 ble cr1,7f 270 cmpldi cr1,r5,16
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | mc13783_ts.c | 71 int cr0, cr1; in mc13783_ts_report_sample() local 84 cr1 = (priv->sample[3] >> 12) & 0xfff; in mc13783_ts_report_sample() 88 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample() 93 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample()
|