/src/common/lib/libc/string/ |
strstr.c | 58 char c, sc; local in function:strstr 65 if ((sc = *s++) == 0) 67 } while (sc != c);
|
/src/lib/libc/arch/alpha/gen/ |
__longjmp14.c | 48 struct sigcontext *sc = (void *)env; local in function:__longjmp14 52 if (sc->sc_sp == 0 || sc->sc_regs[R_ZERO] != 0xacedbade) 69 uc.uc_mcontext.__gregs[_REG_S0] = sc->sc_regs[R_S0]; 70 uc.uc_mcontext.__gregs[_REG_S1] = sc->sc_regs[R_S1]; 71 uc.uc_mcontext.__gregs[_REG_S2] = sc->sc_regs[R_S2]; 72 uc.uc_mcontext.__gregs[_REG_S3] = sc->sc_regs[R_S3]; 73 uc.uc_mcontext.__gregs[_REG_S4] = sc->sc_regs[R_S4]; 74 uc.uc_mcontext.__gregs[_REG_S5] = sc->sc_regs[R_S5]; 75 uc.uc_mcontext.__gregs[_REG_S6] = sc->sc_regs[R_S6] [all...] |
/src/lib/libc/string/ |
strcasestr.c | 51 char c, sc; local in function:strcasestr 62 if ((sc = *s++) == 0) 64 } while ((char)tolower((unsigned char)sc) != c);
|
strnstr.c | 55 char c, sc; local in function:strnstr 62 if (slen-- < 1 || (sc = *s++) == '\0') 64 } while (sc != c);
|
/src/sys/arch/arc/dti/ |
arcsisabr.c | 116 struct isabr_softc *sc = device_private(self); local in function:arcsisabrattach 118 sc->sc_dev = self; 119 isadma_bounce_tag_init(&sc->sc_dmat); 122 isabrattach(sc);
|
tyneisabr.c | 116 struct isabr_softc *sc = device_private(self); local in function:tyneisabrattach 118 sc->sc_dev = self; 120 _bus_dma_tag_init(&sc->sc_dmat); /* XXX dedicated bounce mem */ 123 isabrattach(sc);
|
/src/sys/arch/arc/jazz/ |
jazzisabr.c | 116 struct isabr_softc *sc = device_private(self); local in function:jazzisabrattach 118 sc->sc_dev = self; 120 jazz_bus_dma_tag_init(&sc->sc_dmat); 123 isabrattach(sc);
|
opms_jazzio.c | 69 struct opms_softc *sc = device_private(self); local in function:opms_jazzio_attach 72 sc->sc_dev = self; 76 jazzio_intr_establish(ja->ja_intr, opmsintr, sc); 77 opms_common_attach(sc, ja->ja_bust, &pccons_jazzio_conf);
|
/src/sys/arch/arm/gemini/ |
obio_wdt.c | 79 geminiwdt_softc_t *sc = device_private(self); local in function:geminiwdt_attach 82 sc->sc_dev = self; 83 sc->sc_addr = obio->obio_addr; 84 sc->sc_size = (obio->obio_size == OBIOCF_SIZE_DEFAULT) 88 sc->sc_smw.smw_name = device_xname(sc->sc_dev); 89 sc->sc_smw.smw_cookie = sc; 90 sc->sc_smw.smw_setmode = geminiwdt_setmode; 91 sc->sc_smw.smw_tickle = geminiwdt_tickle [all...] |
/src/sys/arch/arm/xscale/ |
i80312_gpio.c | 61 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_set_direction 63 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val; 64 bus_space_write_1(sc->sc_st, sc->sc_intc_sh, I80312_INTC_GOE, 65 ~sc->sc_gpio_dir); 76 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_set_val 78 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val; 79 bus_space_write_1(sc->sc_st, sc->sc_intc_sh, I80312_INTC_GOD 91 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_get_val [all...] |
i80321_gpio.c | 58 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_set_direction 60 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val; 61 bus_space_write_1(sc->sc_st, sc->sc_sh, ICU_GPOE, ~sc->sc_gpio_dir); 72 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_set_val 74 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val; 75 bus_space_write_1(sc->sc_st, sc->sc_sh, ICU_GPOD, sc->sc_gpio_val) 86 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_get_val [all...] |
ixp425.c | 50 struct ixp425_softc *sc = device_private(self); local in function:ixp425_attach 55 sc->sc_dev = self; 56 sc->sc_iot = &ixp425_bs_tag; 58 ixp425_softc = sc; 65 if (bus_space_map(sc->sc_iot, IXP425_GPIO_HWBASE, IXP425_GPIO_SIZE, 66 0, &sc->sc_gpio_ioh)) 69 if (bus_space_map(sc->sc_iot, IXP425_EXP_HWBASE, IXP425_EXP_SIZE, 70 0, &sc->sc_exp_ioh)) 78 if (bus_space_map(sc->sc_iot, IXP425_PCI_HWBASE, IXP425_PCI_SIZE, 79 0, &sc->sc_pci_ioh) [all...] |
/src/sys/arch/evbarm/adi_brh/ |
becc_mainbus.c | 98 struct becc_softc *sc = device_private(self); local in function:becc_mainbus_attach 100 sc->sc_dev = self; 111 sc->sc_pci_io_base = BRH_PCI_IO_VBASE; 112 sc->sc_pci_mem_base[0] = BRH_PCI_MEM1_VBASE; 113 sc->sc_pci_mem_base[1] = BRH_PCI_MEM2_VBASE; 114 sc->sc_pci_cfg_base = BRH_PCI_CONF_VBASE; 127 sc->sc_iwin[0].iwin_base = physical_start + 128 * 1024 * 1024; 128 sc->sc_iwin[0].iwin_xlate = physical_start; 129 sc->sc_iwin[1].iwin_base = sc->sc_iwin[0].iwin_base+BECC_PCI_MEM1_SIZE [all...] |
/src/sys/arch/evbarm/ixm1200/ |
ixp12x0_mainbus.c | 68 struct ixp12x0_softc *sc = device_private(self); local in function:ixp12x0_mainbus_attach 70 sc->sc_dev = self; 75 ixm1200_pci_init(&sc->ia_pci_chipset, sc); 77 ixp12x0_attach(sc);
|
/src/sys/arch/hpcmips/vr/ |
vr4102ip.c | 97 struct vrip_softc *sc = device_private(self); local in function:vr4102ipattach 101 sc->sc_units = vr4102ip_units; 102 sc->sc_nunits = sizeof(vr4102ip_units)/sizeof(struct vrip_unit); 103 sc->sc_icu_addr = VR4102_ICU_ADDR; 104 sc->sc_sysint2 = VR4102_SYSINT2_REG_W; 105 sc->sc_msysint2 = VR4102_MSYSINT2_REG_W;
|
vr4122ip.c | 97 struct vrip_softc *sc = device_private(self); local in function:vr4122ipattach 101 sc->sc_units = vr4122ip_units; 102 sc->sc_nunits = sizeof(vr4122ip_units)/sizeof(struct vrip_unit); 103 sc->sc_icu_addr = VR4122_ICU_ADDR; 104 sc->sc_sysint2 = VR4122_SYSINT2_REG_W; 105 sc->sc_msysint2 = VR4122_MSYSINT2_REG_W;
|
/src/sys/arch/i386/pnpbios/ |
ess_pnpbios.c | 86 struct ess_softc *sc = device_private(self); local in function:ess_pnpbios_attach 89 sc->sc_dev = self; 91 if (pnpbios_io_map(aa->pbt, aa->resc, 0, &sc->sc_iot, &sc->sc_ioh)) { 96 sc->sc_ic = aa->ic; 99 pnpbios_getiobase(aa->pbt, aa->resc, 0, 0, &sc->sc_iobase); 101 sc->sc_audio1.ist = IST_EDGE; 102 sc->sc_audio2.ist = IST_EDGE; 104 if (pnpbios_getirqnum(aa->pbt, aa->resc, 0, &sc->sc_audio1.irq, 110 if (pnpbios_getirqnum(aa->pbt, aa->resc, 1, &sc->sc_audio2.irq [all...] |
sb_pnpbios.c | 76 struct sbdsp_softc *sc = device_private(self); local in function:sb_pnpbios_attach 79 sc->sc_dev = self; 80 if (pnpbios_io_map(aa->pbt, aa->resc, 0, &sc->sc_iot, &sc->sc_ioh)) { 85 sc->sc_ic = aa->ic; 88 pnpbios_getiobase(aa->pbt, aa->resc, 0, 0, &sc->sc_iobase); 90 if (pnpbios_getirqnum(aa->pbt, aa->resc, 0, &sc->sc_irq, NULL)) { 95 if (pnpbios_getdmachan(aa->pbt, aa->resc, 0, &sc->sc_drq8)) { 99 if (pnpbios_getdmachan(aa->pbt, aa->resc, 1, &sc->sc_drq16)) 100 sc->sc_drq16 = -1 [all...] |
/src/sys/arch/pmax/ibus/ |
mcclock_ibus.c | 70 struct mcclock_pad32_softc *sc = device_private(self); local in function:mcclock_ibus_attach 72 sc->sc_mcclock.sc_dev = self; 73 sc->sc_dp = (struct mcclock_pad32_clockdatum*)ia->ia_addr; 76 mcclock_attach(&sc->sc_mcclock, &mcclock_pad32_busfns);
|
/src/sys/arch/sparc64/dev/ |
fhc_mainbus.c | 65 struct fhc_softc *sc = device_private(self); local in function:fhc_mainbus_attach 68 sc->sc_node = ma->ma_node; 69 sc->sc_bt = ma->ma_bustag; 70 sc->sc_is_central = 0; 72 if (bus_space_map(sc->sc_bt, ma->ma_reg[0].ur_paddr, 73 ma->ma_reg[0].ur_len, 0, &sc->sc_preg)) { 78 if (bus_space_map(sc->sc_bt, ma->ma_reg[1].ur_paddr, 79 ma->ma_reg[1].ur_len, 0, &sc->sc_ireg)) { 84 if (bus_space_map(sc->sc_bt, ma->ma_reg[2].ur_paddr, 85 ma->ma_reg[2].ur_len, BUS_SPACE_MAP_LINEAR, &sc->sc_freg)) [all...] |
wb_ebus.c | 66 struct wb_softc *sc = device_private(self); local in function:wb_ebus_attach 69 sc->wb_dev = self; 72 ea->ea_reg[0].size, 0, &sc->wb_ioh) == 0) 73 sc->wb_iot = ea->ea_bustag; 79 bus_intr_establish(sc->wb_iot, ea->ea_intr[0], IPL_BIO, wb_intr, sc); 83 sc->wb_type = WB_DEVNO_SD; 84 sc->wb_quirks = WB_QUIRK_1BIT; /* 4bit bus width always fails */ 85 wb_attach(sc);
|
/src/sys/arch/x68k/stand/libsa/ |
chdsk.c | 41 struct fd_softc *sc = f->f_devdata; local in function:changedisk_hook 48 IOCS_B_DRVCHK(drive[sc->unit], 3); 50 IOCS_B_DRVCHK(drive[sc->unit], 1); 58 sc->unit = 0; 62 sc->unit = 1; 71 IOCS_B_DRVCHK(drive[sc->unit], 2);
|
/src/sys/dev/dec/ |
mcclock_pad32.c | 72 struct mcclock_pad32_softc *sc = (struct mcclock_pad32_softc *)dev; local in function:mcclock_pad32_write 74 sc->sc_dp[reg].datum = datum; 80 struct mcclock_pad32_softc *sc = (struct mcclock_pad32_softc *)dev; local in function:mcclock_pad32_read 82 return (sc->sc_dp[reg].datum);
|
/src/sys/dev/marvell/ |
gtbrgvar.h | 33 struct gt_softc *sc = device_private(gt); local in function:gt_brg_bcr 35 bus_space_write_4(sc->sc_iot, sc->sc_ioh, BRG_BCR(brg),
|
/src/sys/dev/pci/ |
nca_pci.c | 75 struct ncr5380_softc *sc = device_private(self); local in function:nca_pci_attach 78 sc->sc_dev = self; 83 &sc->sc_regt, &sc->sc_regh, NULL, NULL)) { 92 sc->sc_rev = NCR_VARIANT_CXD1180; 93 sc->sci_r0 = 0; 94 sc->sci_r1 = 1; 95 sc->sci_r2 = 2; 96 sc->sci_r3 = 3; 97 sc->sci_r4 = 4 [all...] |