Searched refs:sr (Results 1 - 25 of 201) sorted by relevance

123456789

/src/distrib/syspkg/sets/base/base-locale-sr/
H A DMakefile3 PKGBASE=base-locale-sr
/src/sys/external/bsd/compiler_rt/dist/lib/builtins/
H A Dudivsi3.c28 unsigned sr; local in function:__udivsi3
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...]
H A Dudivmoddi4.c34 unsigned sr; local in function:__udivmoddi4
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...]
H A Dudivmodti4.c36 unsigned sr; local in function:__udivmodti4
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/
H A Dscsi.c53 short scsi_getbyte(volatile uint8_t *sr);
68 volatile uint8_t *sr; local in function:scsi_init
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_CM
122 scsi_getbyte(volatile uint8_t * sr) argument
158 volatile uint8_t *sr; local in function:scsiicmd
307 volatile uint8_t *sr; local in function:scsi_msgin
331 volatile uint8_t *sr; local in function:dma_start
393 volatile uint8_t *sr; local in function:dma_done
[all...]
/src/sys/arch/powerpc/include/oea/
H A Dsr_601.h61 #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/
H A Dpsl.h60 #define KERNELMODE(sr) ((sr) & PSL_MD)
66 _cpu_set_sr(uint32_t sr) argument
68 __asm volatile("ldc %0, sr" :: "r"(sr));
H A Dlocore.h114 stc sr, r1 /* r1 = SR */ ;\
117 ldc r3, sr /* SR.RB = 0 */
130 stc sr, r1 ;\
132 ldc r1, sr /* SR.BL = 1 */ ;\
173 stc sr, Rm ;\
175 ldc Rn, sr /* block exceptions */
181 stc sr, Rm ;\
183 ldc Rm, sr /* unblock exceptions */
192 stc sr, Rm ;\
194 ldc Rm, sr /* mas
[all...]
/src/sys/arch/cesfic/cesfic/
H A Dclock.c57 otherclock(int sr) argument
59 printf("otherclock(%x)\n", sr);
/src/sys/arch/m68k/include/
H A Dpsl.h84 int sr; local in function:getsr
86 __asm volatile("clrl %0; movew %%sr,%0" : "=&d" (sr));
88 return sr;
94 int sr; local in function:_spl
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"
111 int sr; local in function:_splraise
[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 Dncr5380sbc.c396 struct sci_req *sr; local in function:ncr5380_reset_scsibus
413 sr = sc->sc_current;
414 if (sr && (sc->sc_state & NCR_ABORTING) == 0)
525 struct sci_req *sr = arg; local in function:ncr5380_cmd_timeout
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
604 struct sci_req *sr; local in function:ncr5380_scsipi_request
722 struct sci_req *sr; local in function:ncr5380_done
834 struct sci_req *sr; local in function:ncr5380_sched
1072 struct sci_req *sr; local in function:ncr5380_reselect
1308 ncr5380_select(struct ncr5380_softc * sc,struct sci_req * sr) argument
1556 struct sci_req *sr = sc->sc_current; local in function:ncr5380_msg_in
1797 struct sci_req *sr = sc->sc_current; local in function:ncr5380_msg_out
2019 struct sci_req *sr = sc->sc_current; local in function:ncr5380_command
2056 struct sci_req *sr = sc->sc_current; local in function:ncr5380_data_xfer
2145 struct sci_req *sr = sc->sc_current; local in function:ncr5380_status
2173 struct sci_req *sr; local in function:ncr5380_machine
2489 ncr5380_show_req(struct sci_req * sr) argument
2517 struct sci_req *sr; local in function:ncr5380_show_state
[all...]
/src/lib/libc/citrus/modules/
H A Dcitrus_mapper_serial.c112 uninit(struct _citrus_mapper_serial *sr) argument
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 in function:_citrus_mapper_serial_mapper_init
183 sr = malloc(sizeof(*sr));
184 if (sr
124 parse_var(struct _citrus_mapper_area * __restrict ma,struct _citrus_mapper_serial * sr,struct _memstream * ms) argument
218 struct _citrus_mapper_serial *sr; local in function:_citrus_mapper_serial_mapper_convert
240 struct _citrus_mapper_serial *sr; local in function:_citrus_mapper_parallel_mapper_convert
[all...]
/src/sys/arch/sh3/sh3/
H A Dmmu_sh4.c92 uint32_t sr; local in function:sh4_tlb_invalidate_addr
98 sr = _cpu_exception_suspend();
105 _cpu_set_sr(sr);
136 uint32_t sr; local in function:sh4_tlb_invalidate_asid
142 sr = _cpu_exception_suspend();
145 _cpu_set_sr(sr);
173 uint32_t sr; local in function:sh4_tlb_invalidate_all
181 sr = _cpu_exception_suspend();
184 _cpu_set_sr(sr);
193 uint32_t sr; local in function:sh4_tlb_update
[all...]
/src/sys/arch/powerpc/include/
H A Dkcore.h50 register_t sr[16]; /* Segment registers */ member in struct:cpu_kcore_hdr
/src/sys/dev/tc/
H A Dpx.c235 volatile struct stic_regs *sr; local in function:px_intr
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
324 volatile struct stic_regs *sr; local in function:px_pbuf_post
363 volatile struct stic_regs *sr; local in function:px_ioctl
[all...]
/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/dev/mii/
H A Dmicphy.c371 uint16_t bmsr, bmcr, sr; local in function:micphy_status
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
[all...]
/src/sys/arch/x68k/include/
H A Dintr.h84 splx(int sr) argument
87 __asm volatile("movew %0,%%sr" : : "di" (sr));
/src/sys/arch/evbcf/include/
H A Dintr.h81 splx(int sr) argument
84 __asm volatile("movw %0,%%sr" : : "di" (sr));
/src/sys/arch/hpcsh/dev/hd6446x/
H A Dhd6446x_subr.S42 stc sr, r2
52 ldc r2, sr /* SR = r2 */
84 stc sr, r0 /* r0 = SR */
90 ldc r4, sr /* Set new IMASK to SR */
/src/sys/arch/landisk/landisk/
H A Dlocore.S44 stc sr, r0
49 ldc r0, sr
/src/sys/arch/hpc/stand/hpcboot/sh3/
H A Dsh_arch.cpp145 uint32_t sr; local in function:suspendIntr
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/vax/vsa/
H A Dncr.c253 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_alloc
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 in function:si_dma_free
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 in function:si_dma_go
342 struct si_dma_handle *dh = sr
402 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_stop
[all...]
/src/sys/arch/mips/mips/
H A Dprocess_machdep.c128 mips_reg_t sr; local in function:process_write_regs
130 sr = tf->tf_regs[_R_SR];
132 tf->tf_regs[_R_SR] = sr;

Completed in 29 milliseconds

123456789