Home
last modified time | relevance | path

Searched refs:rsr (Results 1 – 23 of 23) sorted by relevance

/linux-3.3/arch/xtensa/variants/dc232b/include/variant/
Dtie-asm.h41 rsr \at1, ACCLO // MAC16 accumulator
42 rsr \at2, ACCHI
49 rsr \at1, M0 // MAC16 registers
50 rsr \at2, M1
53 rsr \at1, M2
54 rsr \at2, M3
61 rsr \at1, SCOMPARE1 // conditional store option
/linux-3.3/arch/xtensa/kernel/
Dentry.S116 rsr a0, DEPC
128 rsr a3, SAR
136 rsr a2, WINDOWBASE
137 rsr a3, WINDOWSTART
208 rsr a2, SAR # original WINDOWBASE
256 rsr a0, DEPC # get a2
268 rsr a3, SAR
276 rsr a2, WINDOWBASE # don't need to save these, we only
452 rsr a1, DEPC # restore stack pointer
478 1: rsr a0, WINDOWBASE
[all …]
Dvectors.S76 rsr a0, EXCCAUSE # retrieve exception cause
100 rsr a0, EXCCAUSE # retrieve exception cause
212 rsr a3, PS
247 rsr a0, PS
260 rsr a0, EXCCAUSE
300 rsr a0, EXCCAUSE
315 rsr a3, EXCCAUSE
334 rsr a3, EXCSAVE_1
Dalign.S173 rsr a0, DEPC
180 rsr a0, SAR
181 rsr a8, EXCVADDR # load unaligned memory address
200 rsr a7, EPC_1 # load exception address
278 rsr a5, LEND # check if we reached LEND
280 rsr a5, LCOUNT # and LCOUNT != 0
283 rsr a7, LBEG # set PC to LBEGIN
358 rsr a4, LEND # check if we reached LEND
360 rsr a4, LCOUNT # and LCOUNT != 0
363 rsr a7, LBEG # set PC to LBEGIN
[all …]
Dcoprocessor.S234 rsr a3, SAR
238 rsr a2, DEPC
251 rsr a3, EXCCAUSE
258 rsr a0, CPENABLE
294 2: rsr a3, EXCCAUSE
/linux-3.3/drivers/tty/serial/
Dapbuart.c82 unsigned int status, ch, rsr, flag; in apbuart_rx_chars() local
94 rsr = UART_GET_STATUS(port) | UART_DUMMY_RSR_RX; in apbuart_rx_chars()
96 if (rsr & UART_STATUS_ERR) { in apbuart_rx_chars()
98 if (rsr & UART_STATUS_BR) { in apbuart_rx_chars()
99 rsr &= ~(UART_STATUS_FE | UART_STATUS_PE); in apbuart_rx_chars()
103 } else if (rsr & UART_STATUS_PE) { in apbuart_rx_chars()
105 } else if (rsr & UART_STATUS_FE) { in apbuart_rx_chars()
108 if (rsr & UART_STATUS_OE) in apbuart_rx_chars()
111 rsr &= port->read_status_mask; in apbuart_rx_chars()
113 if (rsr & UART_STATUS_PE) in apbuart_rx_chars()
[all …]
Dlantiq.c160 unsigned int ch = 0, rsr = 0, fifocnt; in lqasc_rx_chars() local
171 rsr = (ltq_r32(port->membase + LTQ_ASC_STATE) in lqasc_rx_chars()
180 if (rsr & ASCSTATE_ANY) { in lqasc_rx_chars()
181 if (rsr & ASCSTATE_PE) { in lqasc_rx_chars()
185 } else if (rsr & ASCSTATE_FE) { in lqasc_rx_chars()
190 if (rsr & ASCSTATE_ROE) { in lqasc_rx_chars()
196 rsr &= port->read_status_mask; in lqasc_rx_chars()
198 if (rsr & ASCSTATE_PE) in lqasc_rx_chars()
200 else if (rsr & ASCSTATE_FE) in lqasc_rx_chars()
204 if ((rsr & port->ignore_status_mask) == 0) in lqasc_rx_chars()
[all …]
Damba-pl010.c120 unsigned int status, ch, flag, rsr, max_count = 256; in pl010_rx_chars() local
133 rsr = readb(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX; in pl010_rx_chars()
134 if (unlikely(rsr & UART01x_RSR_ANY)) { in pl010_rx_chars()
137 if (rsr & UART01x_RSR_BE) { in pl010_rx_chars()
138 rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE); in pl010_rx_chars()
142 } else if (rsr & UART01x_RSR_PE) in pl010_rx_chars()
144 else if (rsr & UART01x_RSR_FE) in pl010_rx_chars()
146 if (rsr & UART01x_RSR_OE) in pl010_rx_chars()
149 rsr &= uap->port.read_status_mask; in pl010_rx_chars()
151 if (rsr & UART01x_RSR_BE) in pl010_rx_chars()
[all …]
/linux-3.3/sound/pci/ctxfi/
Dcthardware.h60 unsigned int rsr; /* reference sample rate in Hzs*/ member
74 int (*pll_init)(struct hw *hw, unsigned int rsr);
92 int (*src_set_rsr)(void *blk, unsigned int rsr);
155 int (*dai_srt_set_rsr)(void *blk, unsigned int rsr);
Dctatc.c267 (atc->rsr * atc->msr)); in atc_pcm_playback_prepare()
459 pitch = atc_get_pitch((atc->rsr * atc->msr), in setup_src_node_conf()
476 conf[1].pitch = atc_get_pitch(atc->rsr, in setup_src_node_conf()
520 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources()
596 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_get_resources()
683 pitch = atc_get_pitch((atc->rsr * atc->msr), in atc_pcm_capture_prepare()
785 unsigned int pitch, rsr = atc->pll_rate; in spdif_passthru_playback_get_resources() local
793 while (apcm->substream->runtime->rate > (rsr * desc.msr)) in spdif_passthru_playback_get_resources()
801 pitch = atc_get_pitch(apcm->substream->runtime->rate, (rsr * desc.msr)); in spdif_passthru_playback_get_resources()
1124 if (atc->pll_rate != atc->rsr) in atc_spdif_out_passthru()
[all …]
Dctdaio.c295 unsigned int rsr; in dai_set_srt_msr() local
297 for (rsr = 0; msr > 1; msr >>= 1) in dai_set_srt_msr()
298 rsr++; in dai_set_srt_msr()
300 ((struct hw *)dai->hw)->dai_srt_set_rsr(dai->ctrl_blk, rsr); in dai_set_srt_msr()
473 unsigned int rsr, msr; in dai_rsc_init() local
485 for (rsr = 0, msr = desc->msr; msr > 1; msr >>= 1) in dai_rsc_init()
486 rsr++; in dai_rsc_init()
488 hw->dai_srt_set_rsr(dai->ctrl_blk, rsr); in dai_rsc_init()
Dctatc.h80 unsigned int rsr; /* reference sample rate in Hz */ member
156 unsigned int rsr, unsigned int msr, int chip_type,
Dctsrc.c232 unsigned int rsr, msr; in src_default_config_memrd() local
236 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_memrd()
237 rsr++; in src_default_config_memrd()
239 hw->src_set_rsr(src->rsc.ctrl_blk, rsr); in src_default_config_memrd()
300 unsigned int rsr, msr; in src_default_config_arcrw() local
305 for (rsr = 0, msr = src->rsc.msr; msr > 1; msr >>= 1) in src_default_config_arcrw()
306 rsr++; in src_default_config_arcrw()
308 hw->src_set_rsr(src->rsc.ctrl_blk, rsr); in src_default_config_arcrw()
Dcthw20k2.c204 static int src_set_rsr(void *blk, unsigned int rsr) in src_set_rsr() argument
208 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
842 static int dai_srt_set_rsr(void *blk, unsigned int rsr) in dai_srt_set_rsr() argument
846 set_field(&ctl->srt, SRTCTL_RSR, rsr); in dai_srt_set_rsr()
1310 static int hw_pll_init(struct hw *hw, unsigned int rsr) in hw_pll_init() argument
1321 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 4 : 147 - 4); in hw_pll_init()
1322 set_field(&pllctl, PLLCTL_RD, 48000 == rsr ? 1 - 1 : 10 - 1); in hw_pll_init()
1327 set_field(&pllctl, PLLCTL_FD, 48000 == rsr ? 16 - 2 : 147 - 2); in hw_pll_init()
2141 err = hw_pll_init(hw, info->rsr); in hw_card_init()
Dcthw20k1.c204 static int src_set_rsr(void *blk, unsigned int rsr) in src_set_rsr() argument
208 set_field(&ctl->ctl, SRCCTL_RSR, rsr); in src_set_rsr()
852 static int dai_srt_set_rsr(void *blk, unsigned int rsr) in dai_srt_set_rsr() argument
856 set_field(&ctl->srtctl, SRTCTL_RSR, rsr); in dai_srt_set_rsr()
1316 static int hw_pll_init(struct hw *hw, unsigned int rsr) in hw_pll_init() argument
1321 pllctl = (48000 == rsr) ? 0x1480a001 : 0x1480a731; in hw_pll_init()
2018 err = hw_pll_init(hw, info->rsr); in hw_card_init()
Dctpcm.c284 runtime->hw.rate_max = atc->rsr * atc->msr; in ct_pcm_capture_open()
/linux-3.3/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c985 unsigned rsr, pktlen; in xirc2ps_interrupt() local
1028 rsr = GetByte(XIRCREG0_RSR); in xirc2ps_interrupt()
1029 if (bytes_rcvd > maxrx_bytes && (rsr & PktRxOk)) { in xirc2ps_interrupt()
1034 } else if (rsr & PktRxOk) { in xirc2ps_interrupt()
1040 pr_debug("rsr=%#02x packet_length=%u\n", rsr, pktlen); in xirc2ps_interrupt()
1103 if (!(rsr & PhyPkt)) in xirc2ps_interrupt()
1107 pr_debug("rsr=%#02x\n", rsr); in xirc2ps_interrupt()
1109 if (rsr & PktTooLong) { in xirc2ps_interrupt()
1113 if (rsr & CRCErr) { in xirc2ps_interrupt()
1117 if (rsr & AlignErr) { in xirc2ps_interrupt()
/linux-3.3/arch/powerpc/include/asm/
Dmpc5121.h17 u32 rsr; /* Reset Status Register */ member
/linux-3.3/drivers/media/video/cx23885/
Dcx23888-ir.c552 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx23888_ir_irq_handler() local
555 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx23888_ir_irq_handler()
566 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx23888_ir_irq_handler()
600 if ((rse && rsr) || (rte && rto)) { in cx23888_ir_irq_handler()
/linux-3.3/drivers/media/video/cx25840/
Dcx25840-ir.c534 int tsr, rsr, rto, ror, tse, rse, rte, roe, kror; in cx25840_ir_irq_handler() local
554 rsr = stats & STATS_RSR; /* Rx FIFO Service Request */ in cx25840_ir_irq_handler()
564 tsr ? "tsr" : " ", rsr ? "rsr" : " ", in cx25840_ir_irq_handler()
598 if ((rse && rsr) || (rte && rto)) { in cx25840_ir_irq_handler()
/linux-3.3/arch/xtensa/boot/boot-redboot/
Dbootstrap.S57 rsr a5, WINDOWBASE
/linux-3.3/drivers/block/drbd/
Ddrbd_nl.c1749 int rsr; /* re-sync running */ in drbd_nl_syncer_conf() local
1782 rsr = ( mdev->state.conn == C_SYNC_SOURCE || in drbd_nl_syncer_conf()
1787 if (rsr && strcmp(sc.csums_alg, mdev->sync_conf.csums_alg)) { in drbd_nl_syncer_conf()
1792 if (!rsr && sc.csums_alg[0]) { in drbd_nl_syncer_conf()
1878 if (!rsr) { in drbd_nl_syncer_conf()
/linux-3.3/arch/xtensa/variants/s6000/include/variant/
Dtie-asm.h41 rsr \at1, BR // boolean option