Searched refs:sr (Results 101 - 125 of 334) sorted by relevance

1234567891011>>

/linux-master/arch/openrisc/kernel/
H A Dsignal.c57 err |= __copy_from_user(&regs->sr, &sc->regs.sr, sizeof(unsigned long));
61 regs->sr &= ~SPR_SR_SM;
120 err |= __copy_to_user(&sc->regs.sr, &regs->sr, sizeof(unsigned long));
/linux-master/drivers/tty/serial/
H A Dsccnxp.c386 u8 sr, ch, flag; local
389 sr = sccnxp_port_read(port, SCCNXP_SR_REG);
390 if (!(sr & SR_RXRDY))
392 sr &= SR_PE | SR_FE | SR_OVR | SR_BRK;
399 if (unlikely(sr)) {
400 if (sr & SR_BRK) {
406 } else if (sr & SR_PE)
408 else if (sr & SR_FE)
410 else if (sr & SR_OVR) {
416 sr
441 u8 sr; local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-sh_mobile.c129 int sr; member in struct:sh_mobile_i2c_data
405 unsigned char sr; local
408 sr = iic_rd(pd, ICSR);
409 pd->sr |= sr; /* remember state */
411 dev_dbg(pd->dev, "i2c_isr 0x%02x 0x%02x %s %d %d!\n", sr, pd->sr,
418 else if (sr & (ICSR_AL | ICSR_TACK))
420 iic_wr(pd, ICSR, sr & ~(ICSR_AL | ICSR_TACK));
430 if (sr
668 unsigned char sr = iic_rd(pd, ICSR); local
[all...]
/linux-master/arch/m68k/kernel/
H A Dasm-offsets.c33 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr));
57 DEFINE(PT_OFF_SR, offsetof(struct pt_regs, sr));
61 DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2);
/linux-master/drivers/media/dvb-frontends/
H A Dtda10023.c155 static int tda10023_set_symbolrate (struct tda10023_state* state, u32 sr) argument
166 if (sr < (u32)(sysclk_x_10/984)) {
169 } else if (sr < (u32)(sysclk_x_10/640)) {
172 } else if (sr < (u32)(sysclk_x_10/492)) {
175 } else if (sr < (u32)(sysclk_x_10/320)) {
178 } else if (sr < (u32)(sysclk_x_10/246)) {
181 } else if (sr < (u32)(sysclk_x_10/160)) {
184 } else if (sr < (u32)(sysclk_x_10/123)) {
191 BDRI +=sr/2;
192 BDRI /=sr;
[all...]
/linux-master/sound/soc/fsl/
H A Dfsl_dma.c207 u32 sr, sr2 = 0; local
212 sr = in_be32(&dma_channel->sr);
214 if (sr & CCSR_DMA_SR_TE) {
221 if (sr & CCSR_DMA_SR_CH)
224 if (sr & CCSR_DMA_SR_PE) {
231 if (sr & CCSR_DMA_SR_EOLNI) {
236 if (sr & CCSR_DMA_SR_CB)
239 if (sr & CCSR_DMA_SR_EOSI) {
255 if (sr
[all...]
/linux-master/sound/soc/rockchip/
H A Drockchip_pdm.c41 unsigned int sr; member in struct:rk_pdm_clkref
48 unsigned int sr; member in struct:rk_pdm_ds_ratio
77 static unsigned int get_pdm_clk(struct rk_pdm_dev *pdm, unsigned int sr, argument
83 if (!sr)
88 if (sr % clkref[i].sr)
90 div = sr / clkref[i].sr;
109 static unsigned int get_pdm_ds_ratio(unsigned int sr) argument
114 if (!sr)
[all...]
/linux-master/net/tipc/
H A Dname_distr.c51 i->type = htonl(p->sr.type);
52 i->lower = htonl(p->sr.lower);
53 i->upper = htonl(p->sr.upper);
241 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, p->scope, p->sr.type,
242 p->sr.lower, p->sr.upper);
306 ua.sr.type, ua.sr.lower, node);
/linux-master/drivers/dma/hsu/
H A Dhsu.c156 u32 sr; local
169 sr = hsu_chan_readl(hsuc, HSU_CH_SR);
173 sr &= ~(HSU_CH_SR_DESCE_ANY | HSU_CH_SR_CDESC_ANY);
174 if (!sr)
178 if (sr & HSU_CH_SR_DESCTO_ANY)
184 * bits and if sr is still non-zero, it must be channel error or
188 sr &= ~HSU_CH_SR_DESCTO_ANY;
190 *status = sr;
192 return sr ? 0 : 1;
/linux-master/drivers/clk/bcm/
H A DMakefile19 obj-$(CONFIG_CLK_BCM_SR) += clk-sr.o
/linux-master/drivers/scsi/
H A Dwd33c93.c741 uchar asr, sr, phs, id, lun, *ucp, msg; local
756 sr = read_wd33c93(regs, WD_SCSI_STATUS); /* clear the interrupt */
759 DB(DB_INTR, printk("{%02x:%02x-", asr, sr))
788 switch (sr) {
915 sr = read_wd33c93(regs, WD_SCSI_STATUS); /* clear interrupt */
932 sr = read_wd33c93(regs, WD_SCSI_STATUS); /* clear interrupt */
1139 asr, sr, phs);
1280 DB(DB_INTR, printk("RESEL%s", sr == CSR_RESEL_AM ? "_AM" : ""))
1313 asr, sr, phs);
1331 if (sr
1450 uchar sr; local
1601 uchar sr, asr; local
[all...]
/linux-master/arch/csky/abiv2/inc/abi/
H A Delf.h11 pr_reg[3] = regs->sr; \
/linux-master/arch/sh/kernel/cpu/sh3/
H A Dswsusp.S97 stc sr, r1
98 ldc r1, ssr ! save sr in ssr
123 ldc r1, sr ! restore old sr
/linux-master/arch/m68k/include/asm/
H A Dentry.h27 * 2C(sp) - [ sr ] [ format & vector ]
28 * 2E(sp) - [ pc-hiword ] [ sr ]
65 move #0x2700,%sr /* disable intrs */
79 movel %a0@-,%sp@(PT_OFF_FORMATVEC)/*copy exception format/vector/sr */
97 move #0x2700,%sr /* disable intrs */
100 movel %sp@(PT_OFF_FORMATVEC),%a0@-/*copy exception format/vector/sr */
127 move #0x2700,%sr /* disable intrs */
136 move #0x2700,%sr /* disable intrs */
/linux-master/arch/mips/include/asm/sn/
H A Dnmi.h72 unsigned long sr; member in struct:reg_struct
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dconn.h41 u8 sr; member in struct:nvbios_connE
/linux-master/arch/arc/include/asm/
H A Dmmu-arcv2.h98 sr \reg, [ARC_REG_PID]
/linux-master/drivers/dma/ppc4xx/
H A Dxor.h103 u32 sr; /* status register */ member in struct:xor_regs
/linux-master/arch/csky/include/asm/
H A Dprocessor.h65 (_regs)->sr &= ~PS_S; \
/linux-master/drivers/rtc/
H A Drtc-rv3029c2.c125 unsigned int sr; local
129 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr);
132 if (!(sr & RV3029_STATUS_EEBUSY))
154 unsigned int sr; local
158 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr);
161 if (sr & RV3029_STATUS_VLOW2)
163 if (sr & RV3029_STATUS_VLOW1) {
172 ret = regmap_read(rv3029->regmap, RV3029_STATUS, &sr);
175 if (sr & RV3029_STATUS_VLOW1) {
308 unsigned int sr; local
450 int sr, ret = 0; local
[all...]
/linux-master/arch/parisc/kernel/
H A Dasm-offsets.c114 DEFINE(TASK_PT_SR0, offsetof(struct task_struct, thread.regs.sr[ 0]));
115 DEFINE(TASK_PT_SR1, offsetof(struct task_struct, thread.regs.sr[ 1]));
116 DEFINE(TASK_PT_SR2, offsetof(struct task_struct, thread.regs.sr[ 2]));
117 DEFINE(TASK_PT_SR3, offsetof(struct task_struct, thread.regs.sr[ 3]));
118 DEFINE(TASK_PT_SR4, offsetof(struct task_struct, thread.regs.sr[ 4]));
119 DEFINE(TASK_PT_SR5, offsetof(struct task_struct, thread.regs.sr[ 5]));
120 DEFINE(TASK_PT_SR6, offsetof(struct task_struct, thread.regs.sr[ 6]));
121 DEFINE(TASK_PT_SR7, offsetof(struct task_struct, thread.regs.sr[ 7]));
199 DEFINE(PT_SR0, offsetof(struct pt_regs, sr[ 0]));
200 DEFINE(PT_SR1, offsetof(struct pt_regs, sr[
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.c56 CONN_DBG(conn, "type %02x loc %d hpd %02x dp %x di %x sr %x lcdid %x",
58 info->di, info->sr, info->lcdid);
/linux-master/arch/powerpc/platforms/4xx/
H A Dsoc.c5 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
45 u32 sr = mfdcr(dcrbase_l2c + DCRN_L2C0_SR); local
47 if (sr & L2C_SR_CPE) {
53 if (sr & L2C_SR_TPE) {
61 if (sr & (L2C_SR_CPE | L2C_SR_TPE)){
/linux-master/arch/sh/include/asm/
H A Dkexec.h63 __asm__ __volatile__ ("stc sr, %0" : "=r" (newregs->sr));
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Ddebug-sr.c7 #include <hyp/debug-sr.h>

Completed in 413 milliseconds

1234567891011>>