/src/sys/dev/isa/ |
ad1848_isa.c | 152 ad1848_isa_mapprobe(struct ad1848_isa_softc *isc, int iobase) 156 sc = &isc->sc_ad1848; 168 if (!ad1848_isa_probe(isc)) { 179 ad1848_isa_probe(struct ad1848_isa_softc *isc) 185 sc = &isc->sc_ad1848; 427 ad1848_isa_unmap(struct ad1848_isa_softc *isc) 431 sc = &isc->sc_ad1848; 440 ad1848_isa_attach(struct ad1848_isa_softc *isc) 445 sc = &isc->sc_ad1848; 449 if (isc->sc_playdrq != -1) 479 struct ad1848_isa_softc *isc; local in function:ad1848_isa_open 538 struct ad1848_isa_softc *isc; local in function:ad1848_isa_close 569 struct ad1848_isa_softc *isc; local in function:ad1848_isa_trigger_input 618 struct ad1848_isa_softc *isc; local in function:ad1848_isa_trigger_output 654 struct ad1848_isa_softc *isc; local in function:ad1848_isa_halt_input 671 struct ad1848_isa_softc *isc; local in function:ad1848_isa_halt_output 691 struct ad1848_isa_softc *isc; local in function:ad1848_isa_intr 743 struct ad1848_isa_softc *isc; local in function:ad1848_isa_malloc 764 struct ad1848_isa_softc *isc; local in function:ad1848_isa_round_buffersize 783 struct ad1848_isa_softc *isc; local in function:ad1848_isa_get_props [all...] |
cs89x0isa.c | 67 struct cs_softc_isa *isc = (struct cs_softc_isa *)sc; local in function:cs_isa_dma_attach 69 if (isc->sc_drq == ISA_UNKNOWN_DRQ) 72 else if (isc->sc_drq < 5 || isc->sc_drq > 7) 79 maxsize = isa_dmamaxsize(isc->sc_ic, isc->sc_drq); 88 if (isa_drq_alloc(isc->sc_ic, isc->sc_drq) != 0) { 91 isc->sc_drq); 95 if (isa_dmamap_create(isc->sc_ic, isc->sc_drq 127 struct cs_softc_isa *isc = (struct cs_softc_isa *)sc; local in function:cs_isa_dma_chipinit 168 struct cs_softc_isa *isc = (struct cs_softc_isa *)sc; local in function:cs_process_rx_dma [all...] |
com_isa.c | 165 struct com_isa_softc *isc = device_private(self); local in function:com_isa_attach 166 struct com_softc *sc = &isc->sc_com; 214 isc->sc_ic = ia->ia_ic; 215 isc->sc_irq = irq; 216 isc->sc_ih = isa_intr_establish_xname(ia->ia_ic, irq, IST_EDGE, 223 struct com_isa_softc *isc = device_private(self); local in function:com_isa_suspend 228 isa_intr_disestablish(isc->sc_ic, isc->sc_ih); 229 isc->sc_ih = NULL; 237 struct com_isa_softc *isc = device_private(self) local in function:com_isa_resume 249 struct com_isa_softc *isc = device_private(self); local in function:com_isa_detach [all...] |
pckbc_isa.c | 149 struct pckbc_isa_softc *isc = device_private(self); local in function:pckbc_isa_attach 150 struct pckbc_softc *sc = &isc->sc_pckbc; 157 isc->sc_ic = ia->ia_ic; 163 isc->sc_irq[PCKBC_KBD_SLOT] = 164 isc->sc_irq[PCKBC_AUX_SLOT] = ia->ia_irq[0].ir_irq; 169 isc->sc_irq[PCKBC_KBD_SLOT] = ia->ia_irq[0].ir_irq; 170 isc->sc_irq[PCKBC_AUX_SLOT] = ia->ia_irq[1].ir_irq; 175 isc->sc_irq[PCKBC_KBD_SLOT] = 1; 176 isc->sc_irq[PCKBC_AUX_SLOT] = 12; 217 struct pckbc_isa_softc *isc = (void *) sc local in function:pckbc_isa_intr_establish [all...] |
joy_isa.c | 104 struct joy_isa_softc *isc = device_private(self); local in function:joy_isa_attach 105 struct joy_softc *sc = &isc->sc_joy; 119 mutex_init(&isc->sc_lock, MUTEX_DEFAULT, IPL_NONE); 120 sc->sc_lock = &isc->sc_lock;
|
if_ix.c | 113 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_reset 117 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ECTRL, 120 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ECTRL, 0); 132 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_atten 134 bus_space_write_1(isc->sc_regt, isc->sc_regh, IX_ATTN, 0); 217 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_intrhook 222 bus_space_write_1(isc->sc_regt, isc->sc_regh 243 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_copyin 287 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_copyout 328 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_read_16 343 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_write_16 359 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_write_24 381 struct ix_softc *isc = (struct ix_softc *)sc; local in function:ix_zeromem 620 struct ix_softc *isc = device_private(self); local in function:ix_attach [all...] |
/src/sys/arch/sgimips/dev/ |
imc.c | 86 struct imc_softc isc; variable in typeref:struct:imc_softc 106 isc.iot = normal_memt; 107 if (bus_space_map(isc.iot, ma->ma_addr, 0x100, 108 BUS_SPACE_MAP_LINEAR, &isc.ioh)) 116 sysid = bus_space_read_4(isc.iot, isc.ioh, IMC_SYSID); 120 isc.eisa_present = (sysid & IMC_SYSID_HAVEISA); 122 isc.eisa_present = 0; 126 if (isc.eisa_present) 145 reg = bus_space_read_4(isc.iot, isc.ioh, IMC_CPUCTRL0) [all...] |
/src/sys/dev/pci/ |
agp_i810.c | 67 #define READ1(off) bus_space_read_1(isc->bst, isc->bsh, off) 68 #define READ4(off) bus_space_read_4(isc->bst, isc->bsh, off) 69 #define WRITE4(off,v) bus_space_write_4(isc->bst, isc->bsh, off, v) 124 agp_i810_write_gtt_entry(struct agp_i810_softc *isc, off_t off, 147 if (isc->chiptype == CHIP_I965 || 148 isc->chiptype == CHIP_G33 || 149 isc->chiptype == CHIP_PINEVIEW | 316 struct agp_i810_softc *isc; local in function:agp_i810_attach 676 struct agp_i810_softc *const isc = sc->as_chipc; local in function:agp_i810_setup_chipset_flush_page 752 struct agp_i810_softc *const isc = sc->as_chipc; local in function:agp_i810_teardown_chipset_flush_page 799 struct agp_i810_softc *isc; local in function:agp_i810_init 1144 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_get_aperture 1199 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_bind_page 1224 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_unbind_page 1261 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_alloc_memory 1370 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_bind_memory 1506 struct agp_i810_softc *isc = sc->as_chipc; local in function:agp_i810_resume [all...] |
agp_intel.c | 112 struct agp_intel_softc *isc; local in function:agp_intel_attach 116 isc = malloc(sizeof *isc, M_AGP, M_WAITOK|M_ZERO); 118 sc->as_chipc = isc; 120 if (pci_find_device(&isc->vga_pa, agp_intel_vgamatch) == 0) { 123 isc->chiptype = CHIP_INTEL; 131 free(isc, M_AGP); 136 switch (PCI_PRODUCT(isc->vga_pa.pa_id)) { 140 isc->chiptype = CHIP_I443; 143 isc->chiptype = CHIP_I840 194 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_init 300 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_get_aperture 319 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_set_aperture 343 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_bind_page 355 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_unbind_page 367 struct agp_intel_softc *isc = sc->as_chipc; local in function:agp_intel_flush_tlb [all...] |
/src/sys/dev/i2c/ |
mcp23xxxgpio_i2c.c | 91 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); local in function:mcpgpio_i2c_lock 93 return iic_acquire_bus(isc->sc_i2c, 0); 99 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); local in function:mcpgpio_i2c_unlock 101 iic_release_bus(isc->sc_i2c, 0); 108 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); local in function:mcpgpio_i2c_read 113 return iic_exec(isc->sc_i2c, I2C_OP_READ_WITH_STOP, isc->sc_addr, 121 struct mcpgpio_i2c_softc *isc = MCPGPIO_TO_I2C(sc); local in function:mcpgpio_i2c_write 126 return iic_exec(isc->sc_i2c, I2C_OP_WRITE_WITH_STOP, isc->sc_addr 152 struct mcpgpio_i2c_softc *isc = device_private(self); local in function:mcpgpio_i2c_attach [all...] |
bmx280thpi2c.c | 89 struct bmx280_i2c_softc *isc = BMX280_TO_I2C(sc); local in function:bmx280thpi2c_read_register 94 error = bmx280thpi2c_read_register_direct(isc->sc_tag, isc->sc_addr, 108 struct bmx280_i2c_softc *isc = BMX280_TO_I2C(sc); local in function:bmx280thpi2c_write_register 115 error = iic_exec(isc->sc_tag,I2C_OP_WRITE_WITH_STOP,isc->sc_addr,NULL,0, 124 struct bmx280_i2c_softc *isc = BMX280_TO_I2C(sc); local in function:bmx280thpi2c_acquire_bus 126 return(iic_acquire_bus(isc->sc_tag, 0)); 132 struct bmx280_i2c_softc *isc = BMX280_TO_I2C(sc); local in function:bmx280thpi2c_release_bus 134 iic_release_bus(isc->sc_tag, 0) 193 struct bmx280_i2c_softc *isc = device_private(self); local in function:bmx280thpi2c_attach 209 struct bmx280_i2c_softc *isc = device_private(self); local in function:bmx280thpi2c_detach [all...] |
/src/sys/external/bsd/ipf/netinet/ |
ip_scan.c | 120 ipscan_t *i, *isc; local in function:ipf_scan_add 123 KMALLOC(isc, ipscan_t *); 124 if (!isc) { 129 err = copyinptr(data, isc, sizeof(*isc)); 131 KFREE(isc); 137 i = ipf_scan_lookup(isc->ipsc_tag); 140 KFREE(isc); 146 ipf_scan_tail->ipsc_next = isc; 147 isc->ipsc_pnext = &ipf_scan_tail->ipsc_next 171 ipscan_t isc, *i; local in function:ipf_scan_remove 415 ipscan_t *isc, *lm; local in function:ipf_scan_match [all...] |
/src/sys/arch/evbarm/ifpga/ |
plcom_ifpga.c | 71 struct plcom_ifpga_softc *isc = device_private(self); local in function:plcom_ifpga_attach 72 struct plcom_softc *sc = &isc->sc_plcom; 75 isc->sc_iot = ifa->ifa_iot; 76 isc->sc_ioh = ifa->ifa_sc_ioh; 91 sc->sc_set_mcr_arg = (void *)isc; 103 isc->sc_ih = ifpga_intr_establish(ifa->ifa_irq, IPL_SERIAL, 105 if (isc->sc_ih == NULL) 112 struct plcom_ifpga_softc *isc = aux; local in function:plcom_ifpga_set_mcr 141 bus_space_write_1(isc->sc_iot, isc->sc_ioh, IFPGA_SC_CTRLS [all...] |
sm_ifpga.c | 76 struct sm_ifpga_softc *isc = device_private(self); local in function:sm_ifpga_attach 77 struct smc91cxx_softc *sc = &isc->sc_sm; 88 isc->ih = ifpga_intr_establish(ifa->ifa_irq, IPL_NET, smc91cxx_intr, sc); 89 if (isc->ih == NULL) {
|
/src/sys/arch/alpha/tc/ |
mcclock_ioasic.c | 84 struct mcclock_ioasic_softc *isc = device_private(self); local in function:mcclock_ioasic_attach 86 struct mc146818_softc *sc = &isc->sc_mcclock.sc_mc146818; 89 isc->sc_dp = (void *)ioasicdev->iada_addr; 96 mcclock_attach(&isc->sc_mcclock); 102 struct mcclock_ioasic_softc *isc = (void *)sc; local in function:mcclock_ioasic_write 104 isc->sc_dp[reg].datum = datum; 110 struct mcclock_ioasic_softc *isc = (void *)sc; local in function:mcclock_ioasic_read 112 return isc->sc_dp[reg].datum;
|
/src/sys/dev/acpi/ |
igpio_acpi.c | 191 struct igpio_softc * const isc = &asc->sc_isc; local in function:igpio_acpi_detach 192 int nbar = isc->sc_nbar; 198 if (isc->sc_base != NULL) { 199 kmem_free(isc->sc_base, sizeof(*isc->sc_base) * nbar); 200 isc->sc_base = NULL; 203 if (isc->sc_length != NULL) { 204 kmem_free(isc->sc_length, sizeof(*isc->sc_length) * nbar); 205 isc->sc_length = NULL 231 struct igpio_softc * const isc = &asc->sc_isc; local in function:igpio_acpi_intr [all...] |
/src/sys/arch/evbarm/netwalker/ |
netwalker_spi.c | 115 struct imx51spi_softc *isc = device_private(self); local in function:imxspi_attach 116 struct imxspi_softc *sc = &isc->sc_spi; 127 isc->sc_tag.cookie = sc; 148 isc->sc_tag.spi_cs_enable = imxspi_cs_enable; 149 isc->sc_tag.spi_cs_disable = imxspi_cs_disable; 158 sc->sc_tag = &isc->sc_tag;
|
/src/sys/dev/isapnp/ |
if_an_isapnp.c | 98 struct an_isapnp_softc *isc = device_private(self); local in function:an_isapnp_attach 99 struct an_softc *sc = &isc->sc_an; 120 isc->sc_ih = isa_intr_establish(ipa->ipa_ic, ipa->ipa_irq[0].num, 122 if (isc->sc_ih == NULL) { 130 isa_intr_disestablish(ipa->ipa_ic, isc->sc_ih); 131 isc->sc_ih = NULL;
|
aic_isapnp.c | 80 struct aic_isapnp_softc *isc = device_private(self); local in function:aic_isapnp_attach 81 struct aic_softc *sc = &isc->sc_aic; 104 isc->sc_ih = isa_intr_establish(ipa->ipa_ic, ipa->ipa_irq[0].num, 106 if (isc->sc_ih == NULL)
|
if_fmv_isapnp.c | 85 struct fmv_isapnp_softc *isc = device_private(self); local in function:fmv_isapnp_attach 86 struct mb86960_softc *sc = &isc->sc_mb86960; 102 isc->sc_ih = isa_intr_establish(ipa->ipa_ic, ipa->ipa_irq[0].num, 104 if (isc->sc_ih == NULL)
|
joy_isapnp.c | 74 struct joy_isapnp_softc *isc = device_private(self); local in function:joy_isapnp_attach 75 struct joy_softc *sc = &isc->sc_joy; 95 mutex_init(&isc->sc_lock, MUTEX_DEFAULT, IPL_NONE); 100 sc->sc_lock = &isc->sc_lock;
|
/src/sys/modules/ath_hal/ |
Makefile | 5 .PATH: ${S}/external/isc/atheros_hal/dist 6 .PATH: ${S}/external/isc/atheros_hal/dist/ar5210 7 .PATH: ${S}/external/isc/atheros_hal/dist/ar5211 8 .PATH: ${S}/external/isc/atheros_hal/dist/ar5212 9 .PATH: ${S}/external/isc/atheros_hal/dist/ar5312 10 .PATH: ${S}/external/isc/atheros_hal/dist/ar5312 11 .PATH: ${S}/external/isc/atheros_hal/dist/ar5416 12 .PATH: ${S}/external/isc/atheros_hal/ic
|
/src/sys/arch/rs6000/ioplanar/ |
com_iop.c | 85 struct com_iop_softc *isc = device_private(self); local in function:com_iop_attach 86 struct com_softc *sc = &isc->sc_com; 126 isc->sc_ih = mca_intr_establish(idaa->idaa_mc, irq, IPL_SERIAL, 129 if (isc->sc_ih == NULL) {
|
/src/sys/arch/macppc/ |
Makefile | 10 ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \ 11 ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \ 12 ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
|
/src/sys/arch/evbarm/ixm1200/ |
ixpcom_ixm.c | 69 struct ixpcom_ixm_softc *isc = device_private(self); local in function:ixpcom_ixm_attach 70 struct ixpcom_softc *sc = &isc->sc_ixpcom; 74 isc->sc_iot = sa->sa_iot;
|