Searched refs:sr (Results 1 - 25 of 201) sorted by last modified time

123456789

/src/sys/arch/virt68k/virt68k/
H A Dlocore.s102 movw #PSL_HIGHIPL,%sr | no interrupts
384 movw #PSL_HIGHIPL,%sr | lock out interrupts
480 movw #PSL_LOWIPL,%sr | lower SPL
/src/sys/arch/next68k/next68k/
H A Dlocore.s162 movw #PSL_HIGHIPL,%sr | no interrupts
552 movw #PSL_HIGHIPL,%sr | lock out interrupts
668 movw #PSL_LOWIPL,%sr | lower SPL
774 movw #PSL_HIGHIPL,%sr | no interrupts
/src/sys/arch/news68k/news68k/
H A Dlocore.s120 movw #PSL_HIGHIPL,%sr | no interrupts
541 movw #PSL_HIGHIPL,%sr | lock out interrupts
694 movw #PSL_LOWIPL,%sr | lower SPL
/src/sys/arch/mvme68k/mvme68k/
H A Dlocore.s106 movw #PSL_HIGHIPL,%sr | no interrupts
605 movw #PSL_LOWIPL,%sr | lower SPL
815 movw #PSL_HIGHIPL,%sr | lock out interrupts
892 movw #PSL_LOWIPL,%sr | lower SPL
1007 movw #PSL_HIGHIPL,%sr
/src/sys/arch/luna68k/luna68k/
H A Dlocore.s101 movw #PSL_HIGHIPL,%sr | no interrupts
459 movw #PSL_HIGHIPL,%sr | lock out interrupts
589 movw #PSL_LOWIPL,%sr | lower SPL
707 movw #PSL_HIGHIPL,%sr | no interrupts
/src/sys/arch/hp300/hp300/
H A Dlocore.s167 movw #PSL_HIGHIPL,%sr | no interrupts
714 movw #PSL_HIGHIPL,%sr | lock out interrupts
903 movw #PSL_LOWIPL,%sr | lower SPL
/src/sys/arch/evbppc/wii/dev/
H A Dsi.c311 uint32_t comcsr, sr; local in function:si_intr
315 sr = RD4(sc, SISR);
325 if (ISSET(sr, SISR_RDST(chan))) {
338 WR4(sc, SISR, sr & SISR_ERROR_ACK_ALL);
/src/sys/arch/powerpc/oea/
H A Dpmap.c502 register_t sr; local in function:mfsrin
503 __asm volatile ("mfsrin %0,%1" : "=r"(sr) : "r"(va));
504 return sr;
924 int sr __diagused =
926 KASSERT((pm->pm_sr[sr] & SR_NOEXEC) == 0);
1566 printf("pmap_pvo_enter: pte_hi=%#" _PRIxpte " sr=%#" _PRIsr "\n",
1828 int sr = PVO_VADDR(pvo) >> ADDR_SR_SHFT; local in function:pvo_set_exec
1829 if (pm->pm_exec[sr]++ == 0) {
1830 pm->pm_sr[sr] &= ~SR_NOEXEC;
1852 int sr local in function:pvo_clear_exec
2078 const register_t sr = iosrtable[va >> ADDR_SR_SHFT]; local in function:pmap_extract_ioseg601
3508 register_t sr; local in function:pmap_bootstrap1
[all...]
/src/sys/arch/x68k/x68k/
H A Dlocore.s116 movw #PSL_HIGHIPL,%sr | no interrupts
566 movw #PSL_HIGHIPL,%sr | lock out interrupts
670 movw %sr,%sp@- | push current SR value
736 movw #PSL_LOWIPL,%sr | lower SPL
839 movw #PSL_HIGHIPL,%sr | cut off any interrupts
H A Dmachdep.c901 intrhand(int sr) argument
904 printf("intrhand: unexpected sr 0x%x\n", sr);
/src/sys/arch/mac68k/mac68k/
H A Dlocore.s129 movw #PSL_HIGHIPL,%sr | no interrupts. ever.
572 movw #SPL1,%sr
636 movw #PSL_HIGHIPL,%sr | lock out interrupts
776 movw %sr,%d2 | save SPL
778 movw _C_LABEL(ipl2psl_table)+IPL_CLOCK*2,%sr
787 movw %d2,%sr | restore SPL
811 movw #PSL_LOWIPL,%sr | lower SPL
850 movw #SPL1,%sr | prevent others from servicing int
927 movw %sr,%d0 | get old SR for return
928 movw #PSL_LOWIPL,%sr | restor
[all...]
/src/sys/arch/cesfic/cesfic/
H A Dlocore.s136 movw #PSL_HIGHIPL, %sr | no interrupts
484 movw #SPL1,%sr
549 movw #PSL_HIGHIPL,%sr | lock out interrupts
651 movw #PSL_LOWIPL,%sr | lower SPL
690 movw #SPL1,%sr | prevent others from servicing int
761 movw %sr,%d0 | get old SR for return
762 movw #PSL_LOWIPL,%sr | restore new SR
/src/sys/arch/atari/atari/
H A Dlocore.s387 movw %sr,%d2 | Block interrupts for now
388 oriw #0x0700,%sr
397 movew %d2,%sr | Re-enable interrupts
418 movw %sr,%d1 | goto splhigh
419 oriw #0x0700,%sr
431 movw %d1,%sr | splx
439 movw %sr,%d1 | goto splhigh
440 oriw #0x0700,%sr
445 movw %d1,%sr | splx
556 movw #PSL_HIGHIPL,%sr | loc
[all...]
/src/sys/arch/amiga/amiga/
H A Dlocore.s483 movw #PSL_HIGHIPL,%sr | hardclock at high IPL
503 movw #PSL_HIGHIPL,%sr | run clock at high ipl
536 movw %sr,%sp@- | push current SR value
560 movw %sr,%sp@- | push current SR value
710 movw #PSL_LOWIPL,%sr | lower SPL
777 movw #PSL_HIGHIPL,%sr | no interrupts
1003 movw #PSL_LOWIPL,%sr | lower SPL
1105 movw #0x2700,%sr | cut off any interrupts
1255 movw #0x2700,%sr | cut off any interrupts
H A Dmachdep.c985 intrhand(int sr) argument
991 ipl = (sr >> 8) & 7;
1106 printf("intrhand: unexpected sr 0x%x, intreq = 0x%x\n",
1107 sr, ireq);
/src/sys/arch/news68k/dev/
H A Dsi.c246 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_alloc
249 if (sr->sr_dma_hand != NULL)
257 sr->sr_dma_hand = (void *)-1;
263 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_free
266 if (sr->sr_dma_hand == NULL)
270 sr->sr_dma_hand = NULL;
279 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_start
315 if (sr->sr_xs->xs_control & XS_CTL_DATA_OUT) {
382 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_stop
424 if (sr
[all...]
/src/sys/dev/ic/
H A Dsunscpal.c252 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_start
262 ((sr->sr_flags & SR_IMMED) ? 0 : SUNSCPAL_ICR_INTERRUPT_ENABLE);
286 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_poll
301 sr->sr_flags |= SR_OVERDUE;
321 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_stop
322 struct scsipi_xfer *xs = sr->sr_xs;
346 sunscpal_dma_handle_t dh = sr->sr_dma_hand;
360 sr->sr_xs->error = XS_DRIVER_STUFFUP;
652 struct sunscpal_req *sr = arg; local in function:sunscpal_cmd_timeout
661 xs = sr
729 struct sunscpal_req *sr; local in function:sunscpal_scsipi_request
841 struct sunscpal_req *sr; local in function:sunscpal_done
945 struct sunscpal_req *sr; local in function:sunscpal_sched
1198 sunscpal_select(struct sunscpal_softc * sc,struct sunscpal_req * sr) argument
1294 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_msg_in
1523 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_command
1557 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_data_xfer
1643 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_status
1668 struct sunscpal_req *sr; local in function:sunscpal_machine
1971 sunscpal_show_req(struct sunscpal_req * sr) argument
1999 struct sunscpal_req *sr; local in function:sunscpal_show_state
2126 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_alloc
2193 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_free
2223 struct sunscpal_req *sr = sc->sc_current; local in function:sunscpal_dma_setup
[all...]
H A Dath.c4119 int sr, lr, pri, nacked; local in function:ath_tx_processq
4173 sr = ds->ds_txstat.ts_shortretry;
4175 sc->sc_stats.ast_tx_shortretry += sr;
/src/sys/arch/vax/uba/
H A Duba_sbi.c336 int sr, s; local in function:ubaerror
378 "sbi fault sr=%s cnfgr=%s\n", sbuf, sbuf2);
383 sr = uba->uba_sr;
387 "uba error sr=%s fmer=%x fubar=%o\n",
390 uba->uba_sr = sr;
/src/sys/arch/arm/imx/
H A Dimx23_digfilt.c988 digfilt_ao_set_rate(struct digfilt_softc *sc, int sr) argument
999 switch(sr) {
1043 aprint_error_dev(sc->sc_dev, "unknown sample rate: %d\n", sr);
/src/tools/compat/
H A Dconfigure1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4417 has little cost and some practical benefit (sr 110532). */
4540 has little cost and some practical benefit (sr 110532). */
4608 has little cost and some practical benefit (sr 110532). */
7297 has little cost and some practical benefit (sr 110532). */
7347 has little cost and some practical benefit (sr 110532). */
7416 has little cost and some practical benefit (sr 110532). */
/src/sys/dev/i2c/
H A Dmotoi2c.c149 DPRINTF(("%s: timeout (sr=%#x)\n", __func__, I2C_READ(I2CSR)));
157 motoi2c_clear_status(struct motoi2c_softc *sc, uint8_t sr) argument
160 I2C_WRITE(I2CSR, sr);
170 uint8_t sr; local in function:motoi2c_busy_wait
175 while (((sr = I2C_READ(I2CSR)) & SR_MIF) == 0 && --timo)
179 DPRINTF(("%s: timeout (sr=%#x, cr=%#x)\n",
180 __func__, sr, I2C_READ(I2CCR)));
186 if ((cr & CR_MTX) && (sr & SR_RXAK)) {
188 __func__, sr, 1000 - timo));
191 motoi2c_clear_status(sc, sr);
212 uint8_t sr; local in function:motoi2c_exec
[all...]
/src/sys/arch/arm/at91/
H A Dat91twi.c146 u_int sr, isr, imr; local in function:at91twi_intr
148 sr = at91twi_readreg(sc, TWI_SR);
150 isr = sr & imr;
154 // printf("%s(%s): interrupts are disabled (sr=%08X imr=%08X)\n", __FUNCTION__, device_xname(sc->sc_dev), sr, imr);
161 if (sr & (TWI_SR_NACK | TWI_SR_UNRE | TWI_SR_OVRE)) {
164 printf("%s(%s): FAILED (sr=%08X)\n", __FUNCTION__,
165 device_xname(sc->sc_dev), sr);
170 printf("%s(%s): SUCCESS (sr=%08X)\n", __FUNCTION__,
171 device_xname(sc->sc_dev), sr);
[all...]
/src/sys/dev/spi/
H A Dspiflash.c695 spiflash_read_status(spiflash_handle_t sc, uint8_t *sr) argument
698 return spiflash_cmd(sc, SPIFLASH_CMD_RDSR, 0, 0, 1, NULL, sr);
754 uint8_t sr; local in function:spiflash_wait
757 if ((rv = spiflash_read_status(sc, &sr)) != 0)
760 if ((sr & SPIFLASH_SR_BUSY) == 0)
768 tsleep(&sr, PWAIT, "spiflash_wait", tmo);
/src/sys/arch/arm/rockchip/
H A Drk_spi.c477 uint32_t sr; local in function:rk_spi_intr
501 sr = SPIREG_READ(sc, SPI_SR);
502 } while (ISSET(sr, SPI_SR_BSF));

Completed in 55 milliseconds

123456789