Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/spi/
Dspi-sh.c87 unsigned long cr1; member
197 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send()
200 ss->cr1 & SPI_SH_TBE, in spi_sh_send()
202 if (ret == 0 && !(ss->cr1 & SPI_SH_TBE)) { in spi_sh_send()
213 ss->cr1 &= ~SPI_SH_TBE; in spi_sh_send()
216 ss->cr1 & SPI_SH_TBE, in spi_sh_send()
218 if (ret == 0 && (ss->cr1 & SPI_SH_TBE)) { in spi_sh_send()
249 ss->cr1 &= ~SPI_SH_RBF; in spi_sh_receive()
252 ss->cr1 & SPI_SH_RBF, in spi_sh_receive()
403 unsigned long cr1; in spi_sh_irq() local
[all …]
Dspi-pxa2xx.c889 u32 cr1; in pump_transfers() local
1030 cr1 = chip->cr1 | dma_thresh | drv_data->dma_cr1; in pump_transfers()
1039 cr1 = chip->cr1 | chip->threshold | drv_data->int_cr1; in pump_transfers()
1061 != (cr1 & change_mask)) { in pump_transfers()
1067 pxa2xx_spi_write(drv_data, SSCR1, cr1 & change_mask); in pump_transfers()
1080 pxa2xx_spi_write(drv_data, SSCR1, cr1); in pump_transfers()
1210 chip->cr1 = 0; in setup()
1223 chip->cr1 = SSCR1_LBM; in setup()
1264 chip->cr1 &= ~(SSCR1_SPO | SSCR1_SPH); in setup()
1265 chip->cr1 |= (((spi->mode & SPI_CPHA) != 0) ? SSCR1_SPH : 0) in setup()
[all …]
Dspi-pl022.c434 u16 cr1; member
581 writew(chip->cr1, SSP_CR1(pl022->virtbase)); in restore_state()
1964 chip->cr1 = 0; in pl022_setup()
1992 SSP_WRITE_BITS(chip->cr1, chip_info->clkdelay, in pl022_setup()
2002 SSP_WRITE_BITS(chip->cr1, chip_info->wait_state, in pl022_setup()
2015 SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_RENDN_ST, 4); in pl022_setup()
2016 SSP_WRITE_BITS(chip->cr1, etx, SSP_CR1_MASK_TENDN_ST, 5); in pl022_setup()
2017 SSP_WRITE_BITS(chip->cr1, chip_info->rx_lev_trig, in pl022_setup()
2019 SSP_WRITE_BITS(chip->cr1, chip_info->tx_lev_trig, in pl022_setup()
2048 SSP_WRITE_BITS(chip->cr1, tmp, SSP_CR1_MASK_LBM, 0); in pl022_setup()
[all …]
Dspi-pxa2xx.h86 u32 cr1; member
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
Dmemcmp_64.S32 cmpdi cr1,r5,0
41 beq cr1,.Lzero
119 cmpld cr1,rC,rD
133 bne cr1,.LcmpCD
144 cmpld cr1,rC,rD
160 bne cr1,.LcmpCD
168 cmpld cr1,rC,rD
177 bne cr1,.LcmpCD
193 cmpld cr1,rC,rD
198 bne cr1,.LcmpCD
[all …]
/linux-4.4.14/arch/powerpc/lib/
Dmemcmp_64.S32 cmpdi cr1,r5,0
41 beq cr1,.Lzero
119 cmpld cr1,rC,rD
133 bne cr1,.LcmpCD
144 cmpld cr1,rC,rD
160 bne cr1,.LcmpCD
168 cmpld cr1,rC,rD
177 bne cr1,.LcmpCD
193 cmpld cr1,rC,rD
198 bne cr1,.LcmpCD
[all …]
Dmemcpy_64.S37 cmpldi cr1,r5,16
41 blt cr1,.Lshort_copy
68 blt cr1,3f
155 cmpwi cr1,r5,8
158 ble cr1,6f
181 cmpldi cr1,r5,16
Dcopyuser_64.S29 cmpldi cr1,r5,16
42 blt cr1,.Lshort_copy
61 blt cr1,.Ldo_tail /* if < 16 bytes to copy */
63 cmpdi cr1,r0,0
74 beq cr1,72f
174 6: cmpwi cr1,r5,8
177 ble cr1,7f
215 cmpldi cr1,r5,16
334 3: cmpldi cr1,r5,8
337 blt cr1,93f
Dmem_64.S20 cmplw cr1,r5,r0 /* do we get that far? */
24 blt cr1,8f
Dstring_64.S105 cmpdi cr1,r4,512
107 bgt cr1,.Llong_clear
Dmemcpy_power7.S34 cmpldi cr1,r5,4096
39 bgt cr1,.Lvmx_copy
234 cmpwi cr1,r3,0
272 beq cr1,.Lunwind_stack_nonvmx_copy
Dcopyuser_power7.S97 cmpldi cr1,r5,4096
104 bgt cr1,.Lvmx_copy
299 cmpwi cr1,r3,0
339 beq cr1,.Lunwind_stack_nonvmx_copy
/linux-4.4.14/arch/powerpc/kernel/vdso64/
Dgettimeofday.S65 cmpwi cr1,r3,CLOCK_MONOTONIC
66 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
76 bne cr1,80f /* if not monotonic, all done */
106 cmpdi cr1,r5,0
110 1: bge cr1,80f
143 cmpwi cr1,r3,CLOCK_MONOTONIC
144 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
Dgetcpu.S34 cmpdi cr1,r4,0
39 1: beq cr1,2f
/linux-4.4.14/arch/powerpc/kernel/
Dcpu_setup_6xx.S192 cmpwi cr1,r10,9
194 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
336 cmplwi cr1,r3,0x000c /* 7400 */
344 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
348 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
357 beq cr1,1f
407 cmplwi cr1,r3,0x000c /* 7400 */
415 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
419 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
438 1: beq cr1,2f
Dreloc_64.S52 cmpdi cr1,r8,0
54 beq cr1,6f
Dentry_64.S113 cmpd cr1,r11,r10
114 beq+ cr1,33f
531 cmpd cr1,r6,r9 /* or is new ESID the same as current ESID? */
532 cror eq,4*cr1+eq,eq
752 cmpwi cr1,r8,0
755 crandc eq,cr1*4+eq,eq
Didle_power7.S322 cmpwi cr1,r4,0 /* Check if first in subcore */
334 beq cr1,first_thread_in_subcore
Dexceptions-64e.S298 1: cmpdi cr1,r1,0; /* check if SP makes sense */ \
299 bge- cr1,exc_##n##_bad_stack;/* bad stack (TODO: out of line) */ \
741 cmpld cr1,r10,r15
743 bge+ cr1,1f
805 cmpld cr1,r10,r15
807 bge+ cr1,1f
Dmisc_32.S85 cmpwi cr1,r3,0
93 1: beqlr cr1 /* all done if high part of A is 0 */
Dhead_32.S376 cmpwi cr1,r4,0
377 bne cr1,1f
Dhead_fsl_booke.S1314 cmpwi cr1,r6,0
1315 cror eq,4*cr1+eq,eq
Dexceptions-64s.S184 cmpwi cr1,r13,2
187 bgt cr1,.
/linux-4.4.14/arch/powerpc/kernel/vdso32/
Dgettimeofday.S76 cmpli cr1,r3,CLOCK_MONOTONIC
77 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
88 bne cr1,80f /* not monotonic -> all done */
121 cmpwi cr1,r4,0
125 1: bge cr1,80f
158 cmpwi cr1,r3,CLOCK_MONOTONIC
159 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
Dgetcpu.S34 cmpwi cr1,r4,0
39 1: beq cr1,2f
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
Dmemcpy_64.S37 cmpldi cr1,r5,16
41 blt cr1,.Lshort_copy
68 blt cr1,3f
155 cmpwi cr1,r5,8
158 ble cr1,6f
181 cmpldi cr1,r5,16
Dcopyuser_64.S29 cmpldi cr1,r5,16
42 blt cr1,.Lshort_copy
61 blt cr1,.Ldo_tail /* if < 16 bytes to copy */
63 cmpdi cr1,r0,0
74 beq cr1,72f
174 6: cmpwi cr1,r5,8
177 ble cr1,7f
215 cmpldi cr1,r5,16
334 3: cmpldi cr1,r5,8
337 blt cr1,93f
Dmemcpy_power7.S34 cmpldi cr1,r5,4096
39 bgt cr1,.Lvmx_copy
234 cmpwi cr1,r3,0
272 beq cr1,.Lunwind_stack_nonvmx_copy
Dcopyuser_power7.S97 cmpldi cr1,r5,4096
104 bgt cr1,.Lvmx_copy
299 cmpwi cr1,r3,0
339 beq cr1,.Lunwind_stack_nonvmx_copy
/linux-4.4.14/drivers/input/touchscreen/
Dmc13783_ts.c75 int cr0, cr1; in mc13783_ts_report_sample() local
88 cr1 = (priv->sample[3] >> 12) & 0xfff; in mc13783_ts_report_sample()
92 x0, x1, x2, y0, y1, y2, cr0, cr1); in mc13783_ts_report_sample()
97 cr0 = (cr0 + cr1) / 2; in mc13783_ts_report_sample()
/linux-4.4.14/arch/arm/mach-sa1100/
Dssp.c164 ssp->cr1 = Ser4SSCR1; in ssp_save_state()
180 Ser4SSCR1 = ssp->cr1; in ssp_restore_state()
/linux-4.4.14/arch/powerpc/boot/
Dstring.S161 cmpw cr1,r0,r5
164 ble cr1,3b
207 5: cmpw cr1,r0,r5
210 ble cr1,3b
Dppc_asm.h18 #define cr1 1 macro
Dcrt0.S175 cmpdi cr1,r8,0
177 beq cr1,3f
/linux-4.4.14/drivers/tty/serial/
Dstm32-usart.c352 u32 cr1, cr2, cr3; in stm32_set_termios() local
365 cr1 = USART_CR1_TE | USART_CR1_RE | USART_CR1_UE | USART_CR1_RXNEIE; in stm32_set_termios()
373 cr1 |= USART_CR1_PCE; in stm32_set_termios()
375 cr1 |= USART_CR1_M; in stm32_set_termios()
379 cr1 |= USART_CR1_PS; in stm32_set_termios()
435 writel_relaxed(cr1, port->membase + USART_CR1); in stm32_set_termios()
Dfsl_lpuart.c1206 unsigned char cr1, old_cr1, old_cr2, cr4, bdh, modem; in lpuart_set_termios() local
1211 cr1 = old_cr1 = readb(sport->port.membase + UARTCR1); in lpuart_set_termios()
1233 cr1 = old_cr1 & ~UARTCR1_M; in lpuart_set_termios()
1240 cr1 |= UARTCR1_M; in lpuart_set_termios()
1259 cr1 &= ~UARTCR1_PE; in lpuart_set_termios()
1260 cr1 |= UARTCR1_M; in lpuart_set_termios()
1262 cr1 |= UARTCR1_PE; in lpuart_set_termios()
1264 cr1 |= UARTCR1_M; in lpuart_set_termios()
1266 cr1 |= UARTCR1_PT; in lpuart_set_termios()
1268 cr1 &= ~UARTCR1_PT; in lpuart_set_termios()
[all …]
/linux-4.4.14/arch/arm/include/asm/hardware/
Dssp.h15 unsigned int cr1; member
/linux-4.4.14/arch/powerpc/platforms/cell/
Dcbe_thermal.c314 union spe_reg cr1; in init_default_values() local
344 cr1.val = 0x0404040404040404ull; in init_default_values()
369 out_be64(&pmd_regs->tm_cr1.val, cr1.val); in init_default_values()
/linux-4.4.14/arch/powerpc/mm/
Dhash_low_32.S525 cmpwi cr1,r6,1
528 ble cr1,19f
615 8: ble cr1,9f /* if all ptes checked */
620 cmpwi cr1,r6,1
623 bgt cr1,81b
Dtlb_low_64e.S320 crclr cr1*4+eq /* set cr1.eq = 0 for non-recursive */
328 2: cmpd cr1,r15,r10 /* recursive lock due to mcheck/crit/etc? */
329 beq cr1,3b /* unlock will happen if cr1.eq = 0 */
456 beq cr1,1f /* no unlock if lock was recursively grabbed */
515 cmpldi cr1,r15,8 /* Check for vmalloc region */
516 beq+ cr1,tlb_miss_common_e6500
Dtlb_nohash_low.S175 9: cmpwi cr1,r3,255 /* Last set done ? */
177 beq cr1,1f /* End of loop */
/linux-4.4.14/arch/arm/include/asm/
Dvfp.h12 #define FPSCR cr1
/linux-4.4.14/arch/score/include/asm/
Dasmmacro.h69 mfcr r31, cr1
108 mtcr r30, cr1
/linux-4.4.14/arch/sh/include/cpu-sh5/cpu/
Dregisters.h26 #define SSR cr1
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_segment.S209 cmpwi cr1, r0, 0
372 beq cr1, 1f
Dbook3s_hv_rmhandlers.S150 cmpwi cr1, r12, BOOK3S_INTERRUPT_MACHINE_CHECK
165 beq cr1, 13f /* machine check */
983 cmpdi cr1, r0, 0
992 bne cr1, 12f
/linux-4.4.14/drivers/mtd/devices/
Dst_spi_fsm.c1398 uint8_t sr1, cr1, dyb; in stfsm_s25fl_config() local
1448 stfsm_read_status(fsm, SPINOR_OP_RDSR2, &cr1, 1); in stfsm_s25fl_config()
1451 if (!(cr1 & STFSM_S25FL_CONFIG_QE)) { in stfsm_s25fl_config()
1453 cr1 |= STFSM_S25FL_CONFIG_QE; in stfsm_s25fl_config()
1458 if (cr1 & STFSM_S25FL_CONFIG_QE) { in stfsm_s25fl_config()
1460 cr1 &= ~STFSM_S25FL_CONFIG_QE; in stfsm_s25fl_config()
1467 sta_wr = ((uint16_t)cr1 << 8) | sr1; in stfsm_s25fl_config()
/linux-4.4.14/sound/soc/pxa/
Dpxa-ssp.c49 uint32_t cr1; member
142 priv->cr1 = __raw_readl(ssp->mmio_base + SSCR1); in pxa_ssp_suspend()
161 __raw_writel(priv->cr1, ssp->mmio_base + SSCR1); in pxa_ssp_resume()
/linux-4.4.14/arch/s390/kernel/
Dhead64.S53 .quad 0 # cr1: primary space segment table
/linux-4.4.14/arch/powerpc/include/asm/
Dppc_asm.h58 cmpd cr1,r11,r10; \
59 beq+ cr1,33f; \
552 #define cr1 1 macro
Dexception-64s.h295 1: cmpdi cr1,r1,-INT_FRAME_SIZE; /* check if r1 is in userspace */ \
296 blt+ cr1,3f; /* abort if it is */ \
/linux-4.4.14/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c67 u32 cr1; /* PCI + 0x0C */ member
/linux-4.4.14/drivers/parport/
Dparport_pc.c958 int cr1, cr4, cra, cr23, cr26, cr27; in show_parconfig_smsc37c669() local
970 cr1 = inb(io + 1); in show_parconfig_smsc37c669()
987 cr1, cr4, cra, cr23, cr26, cr27); in show_parconfig_smsc37c669()
1000 (cr1 & 4) ? "yes" : "no"); in show_parconfig_smsc37c669()
1003 (cr1 & 0x08) ? "Standard mode only (SPP)" in show_parconfig_smsc37c669()
/linux-4.4.14/fs/nfsd/
Dnfs4state.c1936 same_creds(struct svc_cred *cr1, struct svc_cred *cr2) in same_creds() argument
1938 if ((is_gss_cred(cr1) != is_gss_cred(cr2)) in same_creds()
1939 || (!uid_eq(cr1->cr_uid, cr2->cr_uid)) in same_creds()
1940 || (!gid_eq(cr1->cr_gid, cr2->cr_gid)) in same_creds()
1941 || !groups_equal(cr1->cr_group_info, cr2->cr_group_info)) in same_creds()
1943 if (cr1->cr_principal == cr2->cr_principal) in same_creds()
1945 if (!cr1->cr_principal || !cr2->cr_principal) in same_creds()
1947 return 0 == strcmp(cr1->cr_principal, cr2->cr_principal); in same_creds()
/linux-4.4.14/Documentation/s390/
DDebugging390.txt278 - cr1 contains the user asce
284 - cr1 contains the user or kernel asce
298 In case of KVM, the kernel runs in home space mode, but cr1 gets switched
300 the SIE instruction is finished, cr1 will be switched back to contain the
/linux-4.4.14/fs/btrfs/
Dsend.c1183 struct clone_root *cr1 = (struct clone_root *)e1; in __clone_root_cmp_sort() local
1186 if (cr1->root->objectid < cr2->root->objectid) in __clone_root_cmp_sort()
1188 if (cr1->root->objectid > cr2->root->objectid) in __clone_root_cmp_sort()
/linux-4.4.14/fs/cifs/
Dcifspdu.h2740 char cr1; /* \n */ member