/src/sys/arch/arc/jazz/ |
com_jazzio.c | 99 int iobase; local in function:com_jazzio_probe 107 iobase = ja->ja_addr; 110 if (!com_is_console(iot, iobase, 0)) { 111 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 125 int iobase; local in function:com_jazzio_attach 130 iobase = ja->ja_addr; 133 if (!com_is_console(iot, iobase, &ioh) && 134 bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 138 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/rs6000/ioplanar/ |
com_iop.c | 87 int iobase, irq; local in function:com_iop_attach 97 iobase = 0x30; 102 iobase = 0x38; 113 if (!com_is_console(idaa->idaa_iot, iobase, &ioh) && 114 bus_space_map(idaa->idaa_iot, iobase, COM_NPORTS, 0, &ioh)) { 119 com_init_regs(&sc->sc_regs, idaa->idaa_iot, ioh, iobase); 121 aprint_normal("i/o %#x-%#x irq %d", iobase, iobase + COM_NPORTS - 1,
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_mm.c | 43 resource_size_t iobase; member in struct:remap_pfn 61 if (use_dma(r->iobase)) 62 return (r->sgt.dma + r->sgt.curr + r->iobase) >> PAGE_SHIFT; 81 r->sgt = __sgt_iter(__sg_next(r->sgt.sgp), use_dma(r->iobase)); 127 * @iobase: Use stored dma address offset by this address or pfn if -1 133 struct scatterlist *sgl, resource_size_t iobase) 138 .sgt = __sgt_iter(sgl, use_dma(iobase)), 139 .iobase = iobase, 146 if (!use_dma(iobase)) [all...] |
/src/sys/arch/x68k/dev/ |
com_intio.c | 64 int iobase; local in function:com_intio_match 76 iobase = ia->ia_addr; 79 if (com_is_console(iot, iobase, NULL)) 82 if (bus_space_map(iot, iobase, ia->ia_size, 99 int iobase; local in function:com_intio_attach 105 iobase = ia->ia_addr; 106 if (bus_space_map(iot, iobase, ia->ia_size, 120 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/dev/isa/ |
ioat66.c | 83 int iobase; local in function:ioat66probe 104 iobase = ia->ia_io[0].ir_addr; 106 if (com_is_console(iot, iobase, 0)) 109 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 120 iobase = ioatbases[i]; 122 if (com_is_console(iot, iobase, 0)) 125 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 150 int i, iobase, irq; local in function:ioat66attach 159 iobase = ioatbases[i]; 160 if (!com_is_console(iot, iobase, &sc->sc_slaveioh[i]) & [all...] |
ast.c | 79 int i, iobase, rv = 1; local in function:astprobe 117 for (i = 1, iobase = ia->ia_io[0].ir_addr; i < NSLAVES; i++) { 118 iobase += COM_NPORTS; 120 if (com_is_console(iot, iobase, 0)) 123 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 150 int i, iobase; local in function:astattach 159 iobase = sc->sc_iobase + i * COM_NPORTS; 160 if (!com_is_console(iot, iobase, &sc->sc_slaveioh[i]) && 161 bus_space_map(iot, iobase, COM_NPORTS, 0,
|
moxa_isa.c | 79 int i, iobase, rv = 1; local in function:moxa_isaprobe 116 for (i = 1, iobase = ia->ia_io[0].ir_addr; i < NSLAVES; i++) { 117 iobase += COM_NPORTS; 119 if (com_is_console(iot, iobase, 0)) 122 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 149 int i, iobase; local in function:moxa_isaattach 157 iobase = sc->sc_iobase + i * COM_NPORTS; 158 if (!com_is_console(iot, iobase, &sc->sc_slaveioh[i]) && 159 bus_space_map(iot, iobase, COM_NPORTS, 0,
|
adv_isa.c | 111 int iobase, irq, drq; local in function:adv_isa_probe 131 iobase = asc_ioport[port_index]; 133 if (iobase) { 134 if (bus_space_map(iot, iobase, ASC_IOADR_GAP, 141 ia->ia_io[0].ir_addr = iobase; 151 iobase = ia->ia_io[0].ir_addr; 152 if (bus_space_map(iot, iobase, ASC_IOADR_GAP, 0, &ioh)) 183 ia->ia_io[0].ir_addr = iobase;
|
addcom_isa.c | 120 int i, iobase, rv = 1; local in function:addcomprobe 143 iobase = ia->ia_io[0].ir_addr; 146 if (com_is_console(iot, iobase, 0)) 149 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 160 iobase += slave_iobases[i] - slave_iobases[i - 1]; 162 if (com_is_console(iot, iobase, 0)) 165 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 192 int i, iobase; local in function:addcomattach 206 iobase = sc->sc_iobase 209 if (!com_is_console(iot, iobase, &sc->sc_slaveioh[i]) & [all...] |
/src/sys/dev/ic/ |
com_cpcbus.c | 72 int iobase = caa->cpca_addr; local in function:com_cpc_attach 78 if (!com_is_console(caa->cpca_tag, iobase, &ioh) && 79 bus_space_map(caa->cpca_tag, iobase, COM_NPORTS, 0, &ioh)) { 83 com_init_regs(&sc->sc_com.sc_regs, caa->cpca_tag, ioh, iobase);
|
/src/sys/dev/mca/ |
com_mca.c | 111 int (*cp_getcfg)(struct mca_attach_args *, int *iobase, int *irq); 152 int iobase, irq; local in function:com_mca_attach 160 /* get iobase and irq */ 161 if ((*cpp->cp_getcfg)(ma, &iobase, &irq)) 164 if (bus_space_map(ma->ma_iot, iobase, COM_NPORTS, 0, &ioh)) { 169 com_init_regs(&sc->sc_regs, ma->ma_iot, ioh, iobase); 173 iobase, iobase + COM_NPORTS - 1, irq); 196 /* map serial_X to iobase and irq */ 198 int iobase; member in struct:__anond73632e90108 [all...] |
/src/sys/arch/arm/xscale/ |
ixp425_com.c | 102 bus_addr_t iobase; local in function:ixsipcom_attach 106 iobase = sa->sa_addr; 110 if (com_is_console(iot, iobase, &ioh) == 0 && 111 bus_space_map(iot, iobase, sa->sa_size, 0, &ioh)) { 115 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/hppa/dev/ |
com_ssio.c | 75 bus_addr_t iobase; local in function:com_ssio_attach 80 iobase = saa->saa_iobase; 82 if (bus_space_map(iot, iobase, COM_NPORTS, 93 if (comcnattach(iot, iobase, B9600, COM_SSIO_FREQ, 104 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
com_dino.c | 96 bus_addr_t iobase; local in function:com_dino_attach 100 iobase = (bus_addr_t)ca->ca_hpa + IOMOD_DEVOFFSET; 114 if (comcnattach(ca->ca_iot, iobase, B9600, 129 if (!com_is_console(ca->ca_iot, iobase, &ioh) && 130 bus_space_map(ca->ca_iot, iobase, COM_NPORTS, 0, &ioh) != 0) { 134 com_init_regs(&sc->sc_regs, ca->ca_iot, ioh, iobase);
|
/src/sys/arch/macppc/dev/ |
com_mainbus.c | 90 bus_addr_t iobase; local in function:com_mainbus_attach 101 iobase = 0x3f8; 102 comcnattach(iot, iobase, 9600, 1843200, COM_TYPE_NORMAL, (CREAD | CS8)); 103 bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh); 104 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/acorn32/mainbus/ |
com_pioc.c | 117 int iobase; local in function:com_pioc_probe 126 iobase = pa->pa_iobase + pa->pa_offset; 129 if (!com_is_console(iot, iobase, 0)) { 130 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) { 154 u_int iobase; local in function:com_pioc_attach 162 iobase = pa->pa_iobase + pa->pa_offset; 165 printf(" (iot = %p, iobase = 0x%08x) ", iot, iobase); 167 if (!com_is_console(iot, iobase, &ioh) 168 && bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh) [all...] |
lpt_pioc.c | 107 lptprobe(bus_space_tag_t iot, u_int iobase) 119 if (bus_space_map(iot, iobase, LPT_NPORTS, 0, &ioh)) 125 if (!lpt_port_test(iot, ioh, iobase, lpt_data, data, mask)) 129 if (!lpt_port_test(iot, ioh, iobase, lpt_data, data, mask)) 134 if (!lpt_port_test(iot, ioh, iobase, lpt_data, data, mask)) 140 if (!lpt_port_test(iot, ioh, iobase, lpt_data, data, mask)) 196 u_int iobase; local in function:lpt_pioc_attach 204 iobase = pa->pa_iobase + pa->pa_offset; 207 if (bus_space_map(iot, iobase, LPT_NPORTS, 0, &ioh)) {
|
wdc_pioc.c | 87 u_int iobase; local in function:wdc_pioc_probe 96 iobase = pa->pa_iobase + pa->pa_offset; 100 if (bus_space_map(wdr.cmd_iot, iobase, WDC_PIOC_REG_NPORTS, 0, 113 if (bus_space_map(wdr.ctl_iot, iobase + WDC_PIOC_AUXREG_OFFSET, 142 u_int iobase; local in function:wdc_pioc_attach 149 iobase = pa->pa_iobase + pa->pa_offset; 152 if (bus_space_map(wdr->cmd_iot, iobase, 164 iobase + WDC_PIOC_AUXREG_OFFSET, WDC_PIOC_AUXREG_NPORTS, 0,
|
/src/sys/arch/hppa/gsc/ |
com_gsc.c | 99 bus_addr_t iobase; local in function:com_gsc_attach 105 iobase = (bus_addr_t)ga->ga_hpa + COMGSC_OFFSET; 118 if (comcnattach(iot, iobase, B9600, 133 if (!com_is_console(iot, iobase, &ioh) && 134 bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh) != 0) { 138 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/sparc/dev/ |
com_ebus.c | 91 bus_addr_t iobase; local in function:com_ebus_attach 95 iobase = EBUS_ADDR_FROM_REG(&ea->ea_reg[0]); 105 comcnattach(iot, iobase, B9600, sc->sc_frequency, 108 if (!com_is_console(iot, iobase, &ioh) 109 && bus_space_map(iot, iobase, ea->ea_reg[0].size, 116 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/i386/pnpbios/ |
com_pnpbios.c | 82 int iobase; local in function:com_pnpbios_attach 86 if (pnpbios_getiobase(aa->pbt, aa->resc, 0, &iot, &iobase)) { 87 aprint_error(": can't get iobase\n"); 91 if ((!com_is_console(iot, iobase, &ioh)) && 97 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|
/src/sys/dev/podulebus/ |
acemidi.c | 99 bus_addr_t iobase; local in function:com_acemidi_attach 102 iobase = pa->pa_fast_base + ACEMIDI_16550_BASE; 104 bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh); 105 com_init_regs(&csc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/arc/isa/ |
opms_isa.c | 57 bus_addr_t iobase = IO_KBD; local in function:opms_isa_match 64 iobase = ia->ia_io[0].ir_addr; 74 if (iobase != IO_KBD || iosize != IO_KBDSIZE || 87 ia->ia_io[0].ir_addr = iobase;
|
/src/sys/arch/amiga/dev/ |
com_supio.c | 117 int iobase; local in function:com_supio_attach 130 iobase = supa->supio_iobase; 132 aprint_normal(" port 0x%04x ipl %d", iobase, supa->supio_ipl); 134 if (bus_space_map(iot, iobase, COM_NPORTS, 0, &ioh)) 136 com_init_regs(&csc->sc_regs, iot, ioh, iobase);
|
/src/sys/arch/arm/gemini/ |
gemini_com.c | 109 bus_addr_t iobase; local in function:gemini_com_attach 113 iobase = obio->obio_addr; 117 if (com_is_console(iot, iobase, &ioh) == 0 && 118 bus_space_map(iot, iobase, obio->obio_size, 0, &ioh)) { 122 com_init_regs(&sc->sc_regs, iot, ioh, iobase);
|