| /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 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...] |
| udivmoddi4.c | 34 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...] |
| udivmodti4.c | 36 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/ |
| scsi.c | 53 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_CMD] = NCRCMD_NOP 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/ |
| 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 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" : : "di" (s) : "memory") 111 int sr; local in function:_splraise [all...] |
| /src/sys/dev/ic/ |
| sunscpal.c | 252 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->sr_xs 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 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 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...] |
| ncr5380sbc.c | 396 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=0x%x\n", (long) 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 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 2517 struct sci_req *sr; local in function:ncr5380_show_state [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 in function:_citrus_mapper_serial_mapper_init 183 sr = malloc(sizeof(*sr)); 184 if (sr == NULL 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/ |
| mmu_sh4.c | 92 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/ |
| 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 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->sr_ipdvint = STIC_INT_E_WE | STIC_INT_E_EN 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/ |
| 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 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/ |
| micphy.c | 371 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 & 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 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/ |
| ncr.c | 253 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->sr_dma_hand 402 struct sci_req *sr = ncr_sc->sc_current; local in function:si_dma_stop [all...] |
| /src/sys/arch/mips/mips/ |
| process_machdep.c | 128 mips_reg_t sr; local in function:process_write_regs 130 sr = tf->tf_regs[_R_SR]; 132 tf->tf_regs[_R_SR] = sr;
|