| /netbsd/src/sys/arch/sgimips/hpc/ |
| D | wdsc.c | 99 struct hpc_attach_args *haa = aux; in wdsc_match() local 101 if (strcmp(haa->ha_name, cf->cf_name) == 0) { in wdsc_match() 104 reset = MIPS_PHYS_TO_KSEG1(haa->ha_sh + haa->ha_dmaoff + in wdsc_match() 105 haa->hpc_regs->scsi0_ctl); in wdsc_match() 106 asr = MIPS_PHYS_TO_KSEG1(haa->ha_sh + haa->ha_devoff); in wdsc_match() 114 *(volatile uint32_t *)reset = haa->hpc_regs->scsi_dmactl_reset; in wdsc_match() 122 if (haa->hpc_regs->revision == 3) { in wdsc_match() 142 struct hpc_attach_args *haa = aux; in wdsc_attach() local 146 sc->sc_regt = haa->ha_st; in wdsc_attach() 147 wsc->sc_dmat = haa->ha_dmat; in wdsc_attach() [all …]
|
| D | pckbc_hpc.c | 87 struct hpc_attach_args *haa = aux; in pckbc_hpc_attach() local 93 msc->sc_irq = haa->ha_irq; in pckbc_hpc_attach() 100 if (pckbc_is_console(haa->ha_st, MIPS_KSEG1_TO_PHYS(haa->ha_sh + in pckbc_hpc_attach() 101 haa->ha_devoff))) { in pckbc_hpc_attach() 106 if (bus_space_subregion(haa->ha_st, haa->ha_sh, in pckbc_hpc_attach() 107 haa->ha_devoff + KBDATAP, 1, &ioh_d) || in pckbc_hpc_attach() 108 bus_space_subregion(haa->ha_st, haa->ha_sh, in pckbc_hpc_attach() 109 haa->ha_devoff + KBCMDP, 1, &ioh_c)) in pckbc_hpc_attach() 116 t->t_addr = haa->ha_sh; in pckbc_hpc_attach()
|
| D | haltwo.c | 262 struct hpc_attach_args *haa; in haltwo_match() local 265 haa = aux; in haltwo_match() 266 if (strcmp(haa->ha_name, cf->cf_name)) in haltwo_match() 269 if ( platform.badaddr((void *)(vaddr_t)(haa->ha_sh + haa->ha_devoff), in haltwo_match() 274 (void *)(vaddr_t)(haa->ha_sh + haa->ha_devoff + HAL2_REG_CTL_REV), in haltwo_match() 278 rev = *(uint32_t *)MIPS_PHYS_TO_KSEG1(haa->ha_sh + haa->ha_devoff + in haltwo_match() 292 struct hpc_attach_args *haa; in haltwo_attach() local 296 haa = aux; in haltwo_attach() 298 sc->sc_st = haa->ha_st; in haltwo_attach() 299 sc->sc_dma_tag = haa->ha_dmat; in haltwo_attach() [all …]
|
| D | button.c | 89 struct hpc_attach_args *haa; in button_attach() local 93 haa = aux; in button_attach() 94 sc->sc_tag = haa->ha_st; in button_attach() 98 if (bus_space_subregion(haa->ha_st, haa->ha_sh, haa->ha_devoff, in button_attach() 105 if ((cpu_intr_establish(haa->ha_irq, IPL_BIO, in button_attach()
|
| D | hpcdma.c | 66 hpcdma_init(struct hpc_attach_args *haa, struct hpc_dma_softc *sc, int ndesc) in hpcdma_init() argument 71 sc->sc_bst = haa->ha_st; in hpcdma_init() 72 sc->sc_dmat = haa->ha_dmat; in hpcdma_init() 76 if (bus_space_subregion(haa->ha_st, haa->ha_sh, haa->ha_dmaoff, in hpcdma_init()
|
| D | if_sq.c | 178 struct hpc_attach_args *haa = aux; in sq_attach() local 182 sc->sc_hpct = haa->ha_st; in sq_attach() 183 sc->hpc_regs = haa->hpc_regs; /* HPC register definitions */ in sq_attach() 185 if ((err = bus_space_subregion(haa->ha_st, haa->ha_sh, in sq_attach() 186 haa->ha_dmaoff, sc->hpc_regs->enet_regs_size, in sq_attach() 192 sc->sc_regt = haa->ha_st; in sq_attach() 193 if ((err = bus_space_subregion(haa->ha_st, haa->ha_sh, in sq_attach() 194 haa->ha_devoff, sc->hpc_regs->enet_devregs_size, in sq_attach() 200 sc->sc_dmat = haa->ha_dmat; in sq_attach() 265 memcpy(sc->sc_enaddr, &haa->hpc_eeprom[SQ_HPC_EEPROM_ENADDR], in sq_attach() [all …]
|
| D | pi1ppc.c | 175 struct hpc_attach_args *haa; in pi1ppc_attach() local 179 haa = aux; in pi1ppc_attach() 180 sc->sc_iot = haa->ha_st; in pi1ppc_attach() 182 if (bus_space_subregion(haa->ha_st, haa->ha_sh, haa->ha_devoff, in pi1ppc_attach()
|
| /netbsd/src/sys/arch/hpcarm/dev/ |
| D | epsonlcd.c | 104 struct hpcfb_attach_args haa; in epsonlcd_attach() local 136 haa.ha_console = 1; /* Always console */ in epsonlcd_attach() 137 haa.ha_accessops = &epsonlcd_ha; in epsonlcd_attach() 138 haa.ha_accessctx = sc; in epsonlcd_attach() 139 haa.ha_curfbconf = 0; in epsonlcd_attach() 140 haa.ha_nfbconf = 1; in epsonlcd_attach() 141 haa.ha_fbconflist = &sc->sc_fb; in epsonlcd_attach() 142 haa.ha_curdspconf = 0; in epsonlcd_attach() 143 haa.ha_ndspconf = 1; in epsonlcd_attach() 144 haa.ha_dspconflist = &sc->sc_dsp; in epsonlcd_attach() [all …]
|
| D | j720kbd.c | 109 struct hpckbd_attach_args haa; in j720kbd_attach() local 128 haa.haa_ic = &sc->sc_chip->scc_if; in j720kbd_attach() 129 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in j720kbd_attach()
|
| D | nbpkbd.c | 105 struct hpckbd_attach_args haa; in nbpkbd_attach() local 123 haa.haa_ic = &sc->sc_if; in nbpkbd_attach() 124 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in nbpkbd_attach()
|
| D | wzero3_kbd.c | 264 struct hpckbd_attach_args haa; in wzero3kbd_attach() local 352 haa.haa_ic = &sc->sc_if; in wzero3kbd_attach() 353 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in wzero3kbd_attach()
|
| /netbsd/src/sys/arch/hpcmips/dev/ |
| D | com_hpcio.c | 276 struct hpcio_attach_args *haa = aux; in com_hpcio_probe() local 277 bus_space_tag_t iot = haa->haa_iot; in com_hpcio_probe() 300 struct hpcio_attach_args *haa = aux; in com_hpcio_attach() local 309 if ((com_hpcio_cniot == haa->haa_iot || in com_hpcio_attach() 310 com_hpcio_cniot->bs_base == haa->haa_iot) && in com_hpcio_attach() 314 if (com_hpcio_cniot->bs_base == haa->haa_iot) in com_hpcio_attach() 317 com_hpcio_common_probe(haa->haa_iot, addr, &alignment); in com_hpcio_attach() 321 com_hpcio_iot_init(iot, haa->haa_iot); in com_hpcio_attach() 323 iot = haa->haa_iot; in com_hpcio_attach() 338 hsc->hsc_hc = (*haa->haa_getchip)(haa->haa_sc, loc[HPCIOIFCF_IOCHIP]); in com_hpcio_attach()
|
| D | m38813c.c | 98 struct hpckbd_attach_args haa; in m38813c_attach() local 123 haa.haa_ic = &sc->sc_chip->scc_if; in m38813c_attach() 125 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in m38813c_attach()
|
| D | tc5165buf.c | 109 struct hpckbd_attach_args haa; in tc5165buf_attach() local 148 haa.haa_ic = &sc->sc_chip->scc_if; in tc5165buf_attach() 150 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in tc5165buf_attach()
|
| /netbsd/src/sys/arch/hpcmips/tx/ |
| D | txioman.c | 70 struct hpcio_attach_args haa; in txioman_callback() local 72 haa.haa_busname = HPCIO_BUSNAME; in txioman_callback() 73 haa.haa_sc = tx_conf_get_tag(); in txioman_callback() 74 haa.haa_getchip = tx_conf_reference_ioman; in txioman_callback() 75 haa.haa_iot = 0; /* not needed for TX */ in txioman_callback() 77 config_found(self, &haa, txioman_print, CFARGS_NONE); in txioman_callback()
|
| /netbsd/src/sys/dev/hpc/ |
| D | button.c | 75 struct hpcio_attach_args *haa = aux; in button_match() local 78 if (strcmp(haa->haa_busname, HPCIO_BUSNAME)) in button_match() 89 struct hpcio_attach_args *haa = aux; in button_attach() local 95 sc->sc_hc = (*haa->haa_getchip)(haa->haa_sc, loc[HPCIOIFCF_IOCHIP]); in button_attach()
|
| D | hpcioman.c | 60 struct hpcio_attach_args *haa = aux; in hpcioman_match() local 63 if (strcmp(haa->haa_busname, HPCIO_BUSNAME)) in hpcioman_match() 83 struct hpcio_attach_args *haa = aux; in hpcioman_search() local 87 hma.hma_hc = (*haa->haa_getchip)(haa->haa_sc, cf->cf_iochip); in hpcioman_search()
|
| D | pwctl.c | 96 struct hpcio_attach_args *haa = aux; in pwctl_match() local 99 if (strcmp(haa->haa_busname, HPCIO_BUSNAME)) in pwctl_match() 112 struct hpcio_attach_args *haa = aux; in pwctl_attach() local 117 sc->sc_hc = (*haa->haa_getchip)(haa->haa_sc, loc[HPCIOIFCF_IOCHIP]); in pwctl_attach()
|
| D | hpckbd.c | 151 struct hpckbd_attach_args *haa = aux; in hpckbd_attach() local 153 struct hpckbd_ic_if *ic = haa->haa_ic; in hpckbd_attach()
|
| /netbsd/src/sys/arch/hpcmips/isa/ |
| D | isa_machdep.c | 117 struct hpcio_attach_args *haa = aux; in vrisabmatch() local 121 if (strcmp(haa->haa_busname, match->cf_name)) in vrisabmatch() 137 struct hpcio_attach_args *haa = aux; in vrisabattach() local 144 sc->sc_hc = (*haa->haa_getchip)(haa->haa_sc, VRIP_IOCHIP_VRGIU); in vrisabattach() 154 (struct bus_space_tag_hpcmips *)haa->haa_iot, "ISA mem", in vrisabattach() 162 (struct bus_space_tag_hpcmips *)haa->haa_iot, "ISA port", in vrisabattach()
|
| /netbsd/src/sys/arch/hpcmips/vr/ |
| D | vrgiu.c | 198 struct hpcio_attach_args haa; in vrgiu_attach() local 267 haa.haa_busname = HPCIO_BUSNAME; in vrgiu_attach() 268 haa.haa_sc = sc; in vrgiu_attach() 269 haa.haa_getchip = vrgiu_getchip; in vrgiu_attach() 270 haa.haa_iot = sc->sc_iot; in vrgiu_attach() 271 while (config_found(self, &haa, vrgiu_print, in vrgiu_attach() 287 struct hpcio_attach_args haa; in vrgiu_callback() local 289 haa.haa_busname = "vrisab"; in vrgiu_callback() 290 haa.haa_sc = sc; in vrgiu_callback() 291 haa.haa_getchip = vrgiu_getchip; in vrgiu_callback() [all …]
|
| D | vrkiu.c | 140 struct hpckbd_attach_args haa; in vrkiuattach() local 177 haa.haa_ic = &sc->sc_chip->kc_if; in vrkiuattach() 178 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in vrkiuattach()
|
| D | vrc4172gpio.c | 179 struct hpcio_attach_args *haa = aux; in vrc4172gpio_match() local 182 if (strcmp(haa->haa_busname, HPCIO_BUSNAME)) in vrc4172gpio_match()
|
| /netbsd/src/sys/arch/sgimips/dev/ |
| D | zs.c | 212 struct hpc_attach_args *haa = aux; in zs_hpc_attach() local 222 zsc->zsc_bustag = haa->ha_st; in zs_hpc_attach() 223 if ((err = bus_space_subregion(haa->ha_st, haa->ha_sh, in zs_hpc_attach() 224 haa->ha_devoff, 0x10, in zs_hpc_attach() 334 cpu_intr_establish(haa->ha_irq, IPL_TTY, zshard, NULL); in zs_hpc_attach()
|
| /netbsd/src/sys/arch/hpcsh/dev/ |
| D | pfckbd.c | 133 struct hpckbd_attach_args haa; in pfckbd_attach() local 143 haa.haa_ic = &pfckbd_core.pc_if; /* tell hpckbd our interface */ in pfckbd_attach() 144 config_found(self, &haa, hpckbd_print, CFARGS_NONE); in pfckbd_attach()
|