Home
last modified time | relevance | path

Searched refs:cr1 (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.15/tools/testing/selftests/powerpc/math/
H A Dfpu_asm.S14 bne cr1,1f
17 bne cr1,1f
20 bne cr1,1f
23 bne cr1,1f
26 bne cr1,1f
29 bne cr1,1f
32 bne cr1,1f
35 bne cr1,1f
38 bne cr1,1f
41 bne cr1,1f
[all …]
/linux-6.15/drivers/spi/
H A Dspi-sh.c76 unsigned long cr1; member
201 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send()
360 unsigned long cr1; in spi_sh_irq() local
363 if (cr1 & SPI_SH_TBE) in spi_sh_irq()
364 ss->cr1 |= SPI_SH_TBE; in spi_sh_irq()
365 if (cr1 & SPI_SH_TBF) in spi_sh_irq()
366 ss->cr1 |= SPI_SH_TBF; in spi_sh_irq()
367 if (cr1 & SPI_SH_RBE) in spi_sh_irq()
368 ss->cr1 |= SPI_SH_RBE; in spi_sh_irq()
369 if (cr1 & SPI_SH_RBF) in spi_sh_irq()
[all …]
H A Dspi-pxa2xx.c62 u32 cr1; member
946 u32 cr1; in pxa2xx_spi_transfer_one() local
999 cr1 = chip->cr1 | dma_thresh | drv_data->dma_cr1; in pxa2xx_spi_transfer_one()
1008 cr1 = chip->cr1 | chip->threshold | drv_data->int_cr1; in pxa2xx_spi_transfer_one()
1192 chip->cr1 = 0; in setup()
1194 chip->cr1 |= SSCR1_SCFR; in setup()
1195 chip->cr1 |= SSCR1_SCLKDIR; in setup()
1196 chip->cr1 |= SSCR1_SFRMDIR; in setup()
1197 chip->cr1 |= SSCR1_SPH; in setup()
1228 chip->cr1 &= ~(SSCR1_SPO | SSCR1_SPH); in setup()
[all …]
/linux-6.15/arch/powerpc/kernel/
H A Dhead_8xx.S309 cmpwi cr1, r11, 0
337 cror 4*cr1+eq, 4*cr1+eq, 4*cr7+eq
338 bne cr1, 1f
379 cmpwi cr1, r10, 0
380 bne cr1, 1f
386 beq cr1, 1f
409 blt+ cr1, 3f
431 beq+ cr1, 142f
433 beq+ cr1, 142f
437 beq+ cr1, 142f
[all …]
H A Dcpu_setup_6xx.S215 cmpwi cr1,r10,9
217 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
363 cmplwi cr1,r3,0x000c /* 7400 */
371 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
375 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
384 beq cr1,1f
434 cmplwi cr1,r3,0x000c /* 7400 */
442 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
446 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
465 1: beq cr1,2f
/linux-6.15/drivers/tty/serial/
H A Dstm32-usart.c47 .cr1 = 0x0c,
65 .cr1 = 0x00,
88 .cr1 = 0x00,
207 *cr1 |= rs485_deat_dedt; in stm32_usart_config_reg_rs485()
219 *cr1 |= rs485_deat_dedt; in stm32_usart_config_reg_rs485()
234 cr1 = readl_relaxed(port->membase + ofs->cr1); in stm32_usart_config_rs485()
256 writel_relaxed(cr1, port->membase + ofs->cr1); in stm32_usart_config_rs485()
1226 cr1 |= USART_CR1_M0; in stm32_usart_set_termios()
1228 cr1 |= USART_CR1_M1; in stm32_usart_set_termios()
1265 cr1 |= USART_CR1_PS; in stm32_usart_set_termios()
[all …]
H A Dfsl_linflexuart.c317 unsigned long cr, ier, cr1; in linflex_setup_watermark() local
331 cr1 = LINFLEXD_LINCR1_BF | LINFLEXD_LINCR1_MME in linflex_setup_watermark()
333 writel(cr1, sport->membase + LINCR1); in linflex_setup_watermark()
357 cr1 &= ~(LINFLEXD_LINCR1_INIT); in linflex_setup_watermark()
359 writel(cr1, sport->membase + LINCR1); in linflex_setup_watermark()
407 unsigned long cr, old_cr, cr1; in linflex_set_termios() local
414 cr1 = readl(port->membase + LINCR1); in linflex_set_termios()
415 cr1 |= LINFLEXD_LINCR1_INIT; in linflex_set_termios()
416 writel(cr1, port->membase + LINCR1); in linflex_set_termios()
507 cr1 &= ~(LINFLEXD_LINCR1_INIT); in linflex_set_termios()
[all …]
/linux-6.15/arch/powerpc/kernel/vdso/
H A Dgetcpu.S23 PPC_LCMPI cr1,r4,0
30 beqlr cr1
39 cmpwi cr1, r4, 0
45 beqlr cr1
/linux-6.15/drivers/i2c/busses/
H A Di2c-stm32f4.c489 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()
527 cr1 &= ~STM32F4_I2C_CR1_ACK; in stm32f4_i2c_handle_rx_addr()
528 cr1 |= STM32F4_I2C_CR1_POS; in stm32f4_i2c_handle_rx_addr()
542 cr1 |= STM32F4_I2C_CR1_ACK; in stm32f4_i2c_handle_rx_addr()
[all …]
H A Di2c-stm32f7.c194 u32 cr1; member
883 u32 cr1, cr2; in stm32f7_i2c_xfer_msg() local
947 cr1 |= STM32F7_I2C_CR1_RXIE; in stm32f7_i2c_xfer_msg()
949 cr1 |= STM32F7_I2C_CR1_TXIE; in stm32f7_i2c_xfer_msg()
977 u32 cr1, cr2; in stm32f7_i2c_smbus_xfer_msg() local
1079 cr1 |= STM32F7_I2C_CR1_PECEN; in stm32f7_i2c_smbus_xfer_msg()
1143 u32 cr1, cr2; in stm32f7_i2c_smbus_rep_start() local
1184 cr1 |= STM32F7_I2C_CR1_RXIE; in stm32f7_i2c_smbus_rep_start()
1211 cr1 |= STM32F7_I2C_CR1_RXIE; in stm32f7_i2c_smbus_rep_start()
2442 u32 cr1; in stm32f7_i2c_regs_restore() local
[all …]
/linux-6.15/drivers/counter/
H A Dstm32-timer-cnt.c33 u32 cr1; member
116 u32 cr1, sms; in stm32_count_function_write() local
142 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_function_write()
162 u32 cr1; in stm32_count_direction_read() local
164 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_direction_read()
203 u32 cr1; in stm32_count_enable_read() local
205 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_enable_read()
207 *enable = cr1 & TIM_CR1_CEN; in stm32_count_enable_read()
216 u32 cr1; in stm32_count_enable_write() local
221 if (!(cr1 & TIM_CR1_CEN)) { in stm32_count_enable_write()
[all …]
/linux-6.15/sound/soc/stm/
H A Dstm32_sai_sub.c347 int ret, cr1, mask; in stm32_sai_set_clk_div() local
769 int cr1, frcr = 0; in stm32_sai_set_dai_fmt() local
776 cr1 = SAI_XCR1_NODIV; in stm32_sai_set_dai_fmt()
790 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
822 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
829 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
846 cr1 |= SAI_XCR1_SLAVE; in stm32_sai_set_dai_fmt()
861 cr1 |= SAI_XCR1_SLAVE; in stm32_sai_set_dai_fmt()
931 int cr1, cr1_mask, ret; in stm32_sai_set_config() local
968 cr1 |= SAI_XCR1_MONO; in stm32_sai_set_config()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S102 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
366 bne cr1,.LcmpCD
[all …]
H A Dmemcmp_32.S29 cmplwi cr1, r3, 2
30 blt- cr1, 4f
35 beqlr cr1
/linux-6.15/arch/powerpc/lib/
H A Dmemcmp_64.S102 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
366 bne cr1,.LcmpCD
[all …]
H A Dmemcmp_32.S29 cmplwi cr1, r3, 2
30 blt- cr1, 4f
35 beqlr cr1
H A Dmemcpy_64.S42 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
H A Dmem_64.S25 cmplw cr1,r5,r0
37 cmplw cr1,r5,r0 /* do we get that far? */
41 blt cr1,8f
H A Dcopyuser_64.S57 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-6.15/arch/s390/lib/
H A Duaccess.c20 struct ctlreg cr1, cr7; in debug_user_asce() local
22 local_ctl_store(1, &cr1); in debug_user_asce()
24 if (cr1.val == get_lowcore()->kernel_asce.val && cr7.val == get_lowcore()->user_asce.val) in debug_user_asce()
29 exit ? "exit" : "entry", cr1.val, cr7.val, in debug_user_asce()
/linux-6.15/tools/testing/selftests/powerpc/copyloops/
H A Dmemcpy_64.S42 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
H A Dmem_64.S25 cmplw cr1,r5,r0
37 cmplw cr1,r5,r0 /* do we get that far? */
41 blt cr1,8f
H A Dcopyuser_64.S57 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-6.15/drivers/input/touchscreen/
H A Dmc13783_ts.c71 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()
/linux-6.15/drivers/media/platform/nxp/
H A Dimx7-media-csi.c324 cr1 |= BIT_RFF_OR_INT; in imx7_csi_hw_enable_irq()
325 cr1 |= BIT_FB1_DMA_DONE_INTEN; in imx7_csi_hw_enable_irq()
326 cr1 |= BIT_FB2_DMA_DONE_INTEN; in imx7_csi_hw_enable_irq()
328 imx7_csi_reg_write(csi, cr1, CSI_CSICR1); in imx7_csi_hw_enable_irq()
335 cr1 &= ~BIT_RFF_OR_INT; in imx7_csi_hw_disable_irq()
336 cr1 &= ~BIT_FB1_DMA_DONE_INTEN; in imx7_csi_hw_disable_irq()
337 cr1 &= ~BIT_FB2_DMA_DONE_INTEN; in imx7_csi_hw_disable_irq()
339 imx7_csi_reg_write(csi, cr1, CSI_CSICR1); in imx7_csi_hw_disable_irq()
373 imx7_csi_reg_write(csi, cr1, CSI_CSICR1); in imx7_csi_rx_fifo_clear()
533 u32 cr1, cr18; in imx7_csi_configure() local
[all …]

123