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