/src/sys/arch/algor/pci/ |
vtpbc.c | 164 u_int32_t *cfgoff, u_int32_t *ad_low) 176 *cfgoff = (1UL << (d + vt->vt_adbase)) | (f << 8) | 180 *cfgoff = tag | offset; 193 u_int32_t cfgoff, ad_low; local in function:vtpbc_conf_read 197 if (vtpbc_conf_addr(vt, tag, offset, &cfgoff, &ad_low)) 203 V96X_LB_MAP0(vt) = ((cfgoff >> 16) & V96X_LB_MAPx_MAP_ADR) | 212 data = *(volatile u_int32_t *) (vt->vt_cfgbase + (cfgoff & 0xfffff)); 230 u_int32_t cfgoff, ad_low; local in function:vtpbc_conf_write 233 if (vtpbc_conf_addr(vt, tag, offset, &cfgoff, &ad_low)) 239 V96X_LB_MAP0(vt) = ((cfgoff >> 16) & V96X_LB_MAPx_MAP_ADR) [all...] |
/src/sys/arch/mips/bonito/ |
bonito_pci.c | 118 u_int32_t *cfgoff, u_int32_t *pcimap_cfg) 130 *cfgoff = (1UL << (d + bc->bc_adbase)) | (f << 8) | offset; 133 *cfgoff = tag | offset; 145 u_int32_t cfgoff, pcimap_cfg; local in function:bonito_conf_read 148 if (bonito_conf_addr(bc, tag, offset, &cfgoff, &pcimap_cfg)) 158 REGVAL(BONITO_PCIMAP_CFG) = (cfgoff >> 16) | pcimap_cfg; 165 data = REGVAL(BONITO_PCICFG_BASE + (cfgoff & 0xfffc)); 181 u_int32_t cfgoff, pcimap_cfg; local in function:bonito_conf_write 184 if (bonito_conf_addr(vt, tag, offset, &cfgoff, &pcimap_cfg)) 194 REGVAL(BONITO_PCIMAP_CFG) = (cfgoff >> 16) | pcimap_cfg [all...] |
/src/sys/dev/ic/ |
cissvar.h | 76 int cfgoff; member in struct:ciss_softc
|
ciss.c | 134 sc->cfgoff + sc->cfg.troff, 207 sc->cfgoff + sc->cfg.troff, 210 sc->cfgoff + sc->cfg.troff, sizeof(*pc), 262 bus_space_write_region_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff, 264 bus_space_barrier(sc->sc_iot, sc->cfg_ioh, sc->cfgoff, sizeof(sc->cfg), 284 bus_space_read_region_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff, 294 if (bus_space_read_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff + 297 bus_space_barrier(sc->sc_iot, sc->cfg_ioh, sc->cfgoff + 302 if (!(bus_space_read_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff + 1345 sc->cfgoff + offsetof(struct ciss_config, heartbeat)) [all...] |
/src/sys/dev/pci/ |
ciss_pci.c | 201 sc->cfgoff = bus_space_read_4(sc->sc_iot, sc->sc_ioh, CISS_CFG_OFF); 215 if (sc->cfgoff + sizeof(struct ciss_config) > cfgsz) { 224 bus_space_read_region_4(sc->sc_iot, sc->cfg_ioh, sc->cfgoff,
|