Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/powerpc/math/
H A Dfpu_asm.S13 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/arch/powerpc/kernel/
H A Dhead_8xx.S297 cmpwi cr1, r11, RPN_PATTERN
298 beq- cr1, FixupDAR /* must be a buggy dcbX, icbi insn. */
302 cmpwi cr1, r11, 0
303 beq+ cr1, .Ldtlbie
307 cmplwi cr1, r11, TASK_SIZE@h
308 bge- cr1, FixupPGD
328 cmplwi cr1, r11, (.Ldtlbie - PAGE_OFFSET)@l
330 cror 4*cr1+eq, 4*cr1+eq, 4*cr7+eq
331 bne cr1, 1f
372 cmpwi cr1, r10, 0
[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
H A Dreloc_64.S57 cmpdi cr1,r8,0
59 beq cr1,.Lout
/linux/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/sound/soc/stm/
H A Dstm32_sai_sub.c347 int ret, cr1, mask; in stm32_sai_set_clk_div() local
355 cr1 = SAI_XCR1_MCKDIV_SET(div); in stm32_sai_set_clk_div()
356 ret = stm32_sai_sub_reg_up(sai, STM_SAI_CR1_REGX, mask, cr1); in stm32_sai_set_clk_div()
779 int cr1, frcr = 0; in stm32_sai_set_dai_fmt() local
786 cr1 = SAI_XCR1_NODIV; in stm32_sai_set_dai_fmt()
791 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_SPDIF_PROTOCOL); in stm32_sai_set_dai_fmt()
795 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_FREE_PROTOCOL); in stm32_sai_set_dai_fmt()
800 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
805 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
813 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
[all …]
/linux/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()
152 regmap_update_bits(priv->regmap, TIM_CR1, TIM_CR1_CEN, 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()
165 *direction = (cr1 & TIM_CR1_DIR) ? COUNTER_COUNT_DIRECTION_BACKWARD : 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()
[all …]
/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp_64.S48 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 …]
H A Dmemcmp_32.S29 cmplwi cr1, r3, 2
30 blt- cr1, 4f
35 beqlr cr1
/linux/arch/powerpc/lib/
H A Dmemcmp_64.S48 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 …]
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 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
H A Dmem_64.S25 cmplw cr1,r5,r0
37 cmplw cr1,r5,r0 /* do we get that far? */
41 blt cr1,8f
/linux/drivers/i2c/busses/
H A Di2c-stm32f7.c195 u32 cr1; member
889 u32 cr1, cr2; in stm32f7_i2c_xfer_msg() local
898 cr1 = readl_relaxed(base + STM32F7_I2C_CR1); in stm32f7_i2c_xfer_msg()
927 cr1 |= STM32F7_I2C_CR1_ERRIE | STM32F7_I2C_CR1_TCIE | in stm32f7_i2c_xfer_msg()
931 cr1 &= ~(STM32F7_I2C_CR1_RXIE | STM32F7_I2C_CR1_TXIE | in stm32f7_i2c_xfer_msg()
957 cr1 |= STM32F7_I2C_CR1_RXIE; in stm32f7_i2c_xfer_msg()
959 cr1 |= STM32F7_I2C_CR1_TXIE; in stm32f7_i2c_xfer_msg()
962 cr1 |= STM32F7_I2C_CR1_RXDMAEN; in stm32f7_i2c_xfer_msg()
964 cr1 |= STM32F7_I2C_CR1_TXDMAEN; in stm32f7_i2c_xfer_msg()
968 cr1 &= ~STM32F7_I2C_ALL_IRQ_MASK; /* Disable all interrupts */ in stm32f7_i2c_xfer_msg()
[all …]
/linux/drivers/tty/serial/
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/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 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
H A Dmem_64.S25 cmplw cr1,r5,r0
37 cmplw cr1,r5,r0 /* do we get that far? */
41 blt cr1,8f
/linux/drivers/input/touchscreen/
H A Dmc13783_ts.c69 int cr0, cr1; in mc13783_ts_report_sample() local
82 cr1 = (priv->sample[3] >> 12) & 0xfff; in mc13783_ts_report_sample()
86 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
91 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample()
/linux/arch/powerpc/boot/
H A Dstring.S157 cmpw cr1,r0,r5
160 ble cr1,3b
203 5: cmpw cr1,r0,r5
206 ble cr1,3b
/linux/arch/arm/mach-sa1100/
H A Dssp.c161 ssp->cr1 = Ser4SSCR1; in ssp_save_state()
177 Ser4SSCR1 = ssp->cr1; in ssp_restore_state()
/linux/arch/powerpc/mm/nohash/
H A Dtlb_low_64e.S303 crclr cr1*4+eq /* set cr1.eq = 0 for non-recursive */
311 2: cmpd cr1,r15,r10 /* recursive lock due to mcheck/crit/etc? */
312 beq cr1,3b /* unlock will happen if cr1.eq = 0 */
439 beq cr1,1f /* no unlock if lock was recursively grabbed */
494 cmplwi cr1,r15,1
495 beq+ cr1,tlb_miss_common_e6500
/linux/arch/powerpc/mm/book3s32/
H A Dhash_low.S496 cmpwi cr1,r6,1
499 ble cr1,19f
584 8: ble cr1,9f /* if all ptes checked */
589 cmpwi cr1,r6,1
592 bgt cr1,81b
/linux/drivers/iio/trigger/
H A Dstm32-timer-trigger.c84 u32 cr1; member
247 u32 psc, arr, cr1; in stm32_tt_read_frequency() local
250 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_tt_read_frequency()
254 if (cr1 & TIM_CR1_CEN) { in stm32_tt_read_frequency()
849 regmap_read(priv->regmap, TIM_CR1, &priv->bak.cr1); in stm32_timer_trigger_suspend()
884 regmap_write(priv->regmap, TIM_CR1, priv->bak.cr1); in stm32_timer_trigger_resume()

123