HomeSort by: relevance | last modified time | path
    Searched refs:sr (Results 1 - 25 of 183) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/distrib/syspkg/sets/base/base-locale-sr/
Makefile 3 PKGBASE=base-locale-sr
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
udivsi3.c 28 unsigned sr; local
34 sr = __builtin_clz(d) - __builtin_clz(n);
35 /* 0 <= sr <= n_uword_bits - 1 or sr large */
36 if (sr > n_uword_bits - 1) /* d > r */
38 if (sr == n_uword_bits - 1) /* d == 1 */
40 ++sr;
41 /* 1 <= sr <= n_uword_bits - 1 */
43 q = n << (n_uword_bits - sr);
44 r = n >> sr;
    [all...]
udivmoddi4.c 34 unsigned sr; local
102 sr = __builtin_clz(d.s.high) - __builtin_clz(n.s.high);
103 /* 0 <= sr <= n_uword_bits - 2 or sr large */
104 if (sr > n_uword_bits - 2)
110 ++sr;
111 /* 1 <= sr <= n_uword_bits - 1 */
112 /* q.all = n.all << (n_udword_bits - sr); */
114 q.s.high = n.s.low << (n_uword_bits - sr);
115 /* r.all = n.all >> sr; */
    [all...]
udivmodti4.c 36 unsigned sr; local
104 sr = __builtin_clzll(d.s.high) - __builtin_clzll(n.s.high);
105 /* 0 <= sr <= n_udword_bits - 2 or sr large */
106 if (sr > n_udword_bits - 2)
112 ++sr;
113 /* 1 <= sr <= n_udword_bits - 1 */
114 /* q.all = n.all << (n_utword_bits - sr); */
116 q.s.high = n.s.low << (n_udword_bits - sr);
117 /* r.all = n.all >> sr; */
    [all...]
  /src/sys/arch/next68k/stand/boot/
scsi.c 53 short scsi_getbyte(volatile uint8_t *sr);
68 volatile uint8_t *sr; local
71 sr = P_SCSI;
81 sr[ESP_DCTL] = ESPDCTL_20MHZ | ESPDCTL_INTENB | ESPDCTL_RESET;
83 sr[ESP_DCTL] = ESPDCTL_20MHZ | ESPDCTL_INTENB;
87 sr[NCR_CMD] = NCRCMD_RSTCHIP;
88 sr[NCR_CMD] = NCRCMD_NOP;
92 sr[NCR_CMD] = NCRCMD_RSTSCSI;
97 sr[NCR_CMD] = NCRCMD_RSTCHIP;
98 sr[NCR_CMD] = NCRCMD_NOP
158 volatile uint8_t *sr; local
307 volatile uint8_t *sr; local
331 volatile uint8_t *sr; local
393 volatile uint8_t *sr; local
    [all...]
  /src/sys/arch/powerpc/include/oea/
sr_601.h 61 #define SR601_VALID_P(sr) \
62 ((sr) & SR601_T)
64 #define SR601_PA_MATCH_P(sr, pa) \
65 (((sr) & SR601_PACKET1) == ((pa) >> ADDR_SR_SHFT))
  /src/sys/arch/sh3/include/
psl.h 60 #define KERNELMODE(sr) ((sr) & PSL_MD)
66 _cpu_set_sr(uint32_t sr)
68 __asm volatile("ldc %0, sr" :: "r"(sr));
71 /* SR.IMASK */
76 /* SR.BL */
locore.h 114 stc sr, r1 /* r1 = SR */ ;\
117 ldc r3, sr /* SR.RB = 0 */
130 stc sr, r1 ;\
132 ldc r1, sr /* SR.BL = 1 */ ;\
166 * This modifies SR.BL
173 stc sr, Rm ;\
175 ldc Rn, sr /* block exceptions *
    [all...]
  /src/sys/arch/cesfic/cesfic/
clock.c 57 otherclock(int sr)
59 printf("otherclock(%x)\n", sr);
  /src/sys/arch/m68k/include/
psl.h 84 int sr; local
86 __asm volatile("clrl %0; movew %%sr,%0" : "=&d" (sr));
88 return sr;
94 int sr; local
96 __asm volatile ("clrl %0; movew %%sr,%0; movew %1,%%sr" :
97 "=&d" (sr) : "di" (s) : "memory");
99 return sr;
105 __asm volatile("movew %0,%%sr" : : "di" (s) : "memory")
111 int sr; local
    [all...]
  /src/sys/dev/ic/
sunscpal.c 252 struct sunscpal_req *sr = sc->sc_current; local
262 ((sr->sr_flags & SR_IMMED) ? 0 : SUNSCPAL_ICR_INTERRUPT_ENABLE);
286 struct sunscpal_req *sr = sc->sc_current; local
301 sr->sr_flags |= SR_OVERDUE;
321 struct sunscpal_req *sr = sc->sc_current; local
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
661 xs = sr->sr_xs
729 struct sunscpal_req *sr; local
841 struct sunscpal_req *sr; local
945 struct sunscpal_req *sr; local
1294 struct sunscpal_req *sr = sc->sc_current; local
1523 struct sunscpal_req *sr = sc->sc_current; local
1557 struct sunscpal_req *sr = sc->sc_current; local
1643 struct sunscpal_req *sr = sc->sc_current; local
1668 struct sunscpal_req *sr; local
1999 struct sunscpal_req *sr; local
2126 struct sunscpal_req *sr = sc->sc_current; local
2193 struct sunscpal_req *sr = sc->sc_current; local
2223 struct sunscpal_req *sr = sc->sc_current; local
    [all...]
ncr5380sbc.c 396 struct sci_req *sr; local
413 sr = sc->sc_current;
414 if (sr && (sc->sc_state & NCR_ABORTING) == 0)
525 struct sci_req *sr = arg; local
534 xs = sr->sr_xs;
544 sr->sr_target, sr->sr_lun);
552 sr->sr_flags |= SR_OVERDUE;
553 if (sc->sc_current == sr) {
554 NCR_TRACE("cmd_tmo: call abort, sr=0x%x\n", (long) sr)
604 struct sci_req *sr; local
722 struct sci_req *sr; local
834 struct sci_req *sr; local
1072 struct sci_req *sr; local
1556 struct sci_req *sr = sc->sc_current; local
1797 struct sci_req *sr = sc->sc_current; local
2019 struct sci_req *sr = sc->sc_current; local
2056 struct sci_req *sr = sc->sc_current; local
2145 struct sci_req *sr = sc->sc_current; local
2173 struct sci_req *sr; local
2517 struct sci_req *sr; local
    [all...]
  /src/lib/libc/citrus/modules/
citrus_mapper_serial.c 112 uninit(struct _citrus_mapper_serial *sr)
116 while ((ml = SIMPLEQ_FIRST(&sr->sr_mappers)) != NULL) {
117 SIMPLEQ_REMOVE_HEAD(&sr->sr_mappers, ml_entry);
125 struct _citrus_mapper_serial *sr, struct _memstream *ms)
132 SIMPLEQ_INIT(&sr->sr_mappers);
160 SIMPLEQ_INSERT_TAIL(&sr->sr_mappers, ml, ml_entry);
174 struct _citrus_mapper_serial *sr; local
183 sr = malloc(sizeof(*sr));
184 if (sr == NULL
218 struct _citrus_mapper_serial *sr; local
240 struct _citrus_mapper_serial *sr; local
    [all...]
  /src/sys/arch/sh3/sh3/
mmu_sh4.c 92 uint32_t sr; local
98 sr = _cpu_exception_suspend();
105 _cpu_set_sr(sr);
136 uint32_t sr; local
142 sr = _cpu_exception_suspend();
145 _cpu_set_sr(sr);
173 uint32_t sr; local
181 sr = _cpu_exception_suspend();
184 _cpu_set_sr(sr);
193 uint32_t sr; local
    [all...]
  /src/sys/arch/powerpc/include/
kcore.h 50 register_t sr[16]; /* Segment registers */ member in struct:cpu_kcore_hdr
  /src/sys/dev/tc/
px.c 235 volatile struct stic_regs *sr; local
243 sr = si->si_stic;
244 state = sr->sr_ipdvint;
255 sr->sr_ipdvint = STIC_INT_V_WE | STIC_INT_V_EN;
267 sr->sr_ipdvint, sr->sr_sticsr, sr->sr_buscsr,
268 sr->sr_busadr, sr->sr_busdat);
269 sr->sr_ipdvint = STIC_INT_E_WE | STIC_INT_E_EN
324 volatile struct stic_regs *sr; local
363 volatile struct stic_regs *sr; local
    [all...]
  /src/sys/dev/i2c/
motoi2c.c 149 DPRINTF(("%s: timeout (sr=%#x)\n", __func__, I2C_READ(I2CSR)));
157 motoi2c_clear_status(struct motoi2c_softc *sc, uint8_t sr)
160 I2C_WRITE(I2CSR, sr);
170 uint8_t sr; local
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
    [all...]
  /src/sys/dev/mii/
micphy.c 371 uint16_t bmsr, bmcr, sr; local
399 PHY_READ(sc, KSZ8041_PHYCTL2, &sr);
400 if ((sr & KSZ8041_PHY_SPD_MASK) == 0)
402 else if (sr & KSZ8041_PHY_SPD_100TX)
404 else if (sr & KSZ8041_PHY_SPD_10T)
406 if (sr & KSZ8041_PHY_FDX)
410 PHY_READ(sc, KSZ8051_PHYCTL1, &sr);
411 if ((sr & KSZ8051_PHY_SPD_MASK) == 0)
413 else if (sr & KSZ8051_PHY_SPD_100TX)
415 else if (sr & KSZ8051_PHY_SPD_10T
    [all...]
  /src/sys/arch/evbcf/include/
intr.h 81 splx(int sr)
84 __asm volatile("movw %0,%%sr" : : "di" (sr));
  /src/sys/arch/hpcsh/dev/hd6446x/
hd6446x_subr.S 37 * raise SR.IMASK and HD6446x ICU interrupt mask to 's'.
38 * if current SR.IMASK is greater equal 's',nothing to do.
39 * Returns previous SR.IMASK.
42 stc sr, r2
46 and r1, r0 /* r0 = SR & 0xf0 */
50 and r1, r2 /* r2 = SR & ~0xf0 */
51 or r4, r2 /* r2 = (SR & ~0xf0) | s */
52 ldc r2, sr /* SR = r2 */
61 nop /* return (SR & 0xf0) *
    [all...]
  /src/sys/arch/landisk/landisk/
locore.S 43 /* Init SR */
44 stc sr, r0
49 ldc r0, sr
  /src/sys/arch/x68k/include/
intr.h 84 splx(int sr)
87 __asm volatile("movew %0,%%sr" : : "di" (sr));
  /src/sys/arch/hpc/stand/hpcboot/sh3/
sh_arch.cpp 145 uint32_t sr; local
148 "stc sr, r0\n"
151 "ldc r0, sr\n", &sr, 0x000000f0);
152 return sr & 0x000000f0;
161 "stc sr, r0\n"
164 "ldc r0, sr\n", s, 0xffffff0f);
  /src/sys/arch/mips/mips/
process_machdep.c 128 mips_reg_t sr; local
130 sr = tf->tf_regs[_R_SR];
132 tf->tf_regs[_R_SR] = sr;
  /src/sys/arch/vax/vsa/
ncr.c 253 struct sci_req *sr = ncr_sc->sc_current; local
254 struct scsipi_xfer *xs = sr->sr_xs;
259 if (sr->sr_dma_hand != NULL)
264 if (sr->sr_flags & SR_IMMED)
298 sr->sr_dma_hand = dh;
304 struct sci_req *sr = ncr_sc->sc_current; local
305 struct si_dma_handle *dh = sr->sr_dma_hand;
312 sr->sr_dma_hand = NULL;
341 struct sci_req *sr = ncr_sc->sc_current; local
342 struct si_dma_handle *dh = sr->sr_dma_hand
402 struct sci_req *sr = ncr_sc->sc_current; local
    [all...]

Completed in 330 milliseconds

1 2 3 4 5 6 7 8