Searched refs:bsh (Results 101 - 125 of 186) sorted by relevance

12345678

/freebsd-11-stable/sys/arm/samsung/exynos/
H A Dexynos5_spi.c84 bus_space_handle_t bsh; member in struct:spi_softc
126 sc->bsh = rman_get_bushandle(sc->res[0]);
H A Dexynos5_ehci.c257 bus_space_handle_t bsh; local
275 bsh = rman_get_bushandle(esc->res[0]);
295 err = bus_space_subregion(sc->sc_io_tag, bsh, 0x0,
H A Dexynos5_usb_phy.c121 bus_space_handle_t bsh; member in struct:usb_phy_softc
244 sc->bsh = rman_get_bushandle(sc->res[0]);
/freebsd-11-stable/stand/kshim/
H A Dbsd_busspace.c41 bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh, argument
45 *nbshp = bsh + offset;
/freebsd-11-stable/sys/dev/agp/
H A Dagp_ati.c58 #define READ4(off) bus_space_read_4(sc->bst, sc->bsh, off)
59 #define WRITE4(off,v) bus_space_write_4(sc->bst, sc->bsh, off, v)
65 bus_space_handle_t bsh; /* bus_space handle */ member in struct:agp_ati_softc
212 sc->bsh = rman_get_bushandle(sc->regs);
/freebsd-11-stable/sys/mips/cavium/
H A Duart_bus_octeonusart.c106 uart_getrange(sc->sc_class), 0, &sc->sc_bas.bsh) != 0)
/freebsd-11-stable/sys/arm/versatile/
H A Dsp804.c99 bus_space_handle_t bsh; member in struct:sp804_timer_softc
108 bus_space_read_4(sc->bst, sc->bsh, reg)
111 bus_space_write_4(sc->bst, sc->bsh, reg, val)
215 sc->bsh = rman_get_bushandle(sc->mem_res);
/freebsd-11-stable/sys/dev/beri/virtio/
H A Dvirtio.c92 bus_space_handle_t bsh; local
95 size, 0, &bsh) != 0) {
99 return (void *)(bsh);
/freebsd-11-stable/sys/dev/uart/
H A Duart_cpu_sparc64.c88 return ((b1->bsh == b2->bsh) ? 1 : 0);
280 di->bas.bsh = sparc64_fake_bustag(space, addr, di->bas.bst);
H A Duart_dev_quicc.c48 bus_space_read_2((bas)->bst, (bas)->bsh, reg)
50 bus_space_read_4((bas)->bst, (bas)->bsh, reg)
53 bus_space_write_2((bas)->bst, (bas)->bsh, reg, val)
55 bus_space_write_4((bas)->bst, (bas)->bsh, reg, val)
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425_pci_space.c210 ixp425_pci_bs_subregion(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, argument
213 *nbshp = bsh + offset;
218 ixp425_pci_bs_barrier(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t offset, argument
248 ixp425_pci_io_bs_free(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t size) argument
436 ixp425_pci_mem_bs_free(bus_space_tag_t tag, bus_space_handle_t bsh, bus_size_t size) argument
/freebsd-11-stable/sys/dev/pbio/
H A Dpbio.c120 bus_space_handle_t bsh; member in struct:pbio_softc
150 return bus_space_read_1(scp->bst, scp->bsh, off);
157 bus_space_write_1(scp->bst, scp->bsh, off, val);
180 scp->bsh = rman_get_bushandle(scp->res);
233 sc->bsh = rman_get_bushandle(sc->res);
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Di2c.c87 bus_space_handle_t bsh; member in struct:i2c_softc
133 bus_space_write_1(sc->bst, sc->bsh, off, val);
140 return (bus_space_read_1(sc->bst, sc->bsh, off));
206 sc->bsh = rman_get_bushandle(sc->res);
236 sc->bsh = rman_get_bushandle(sc->res);
/freebsd-11-stable/sys/dev/exca/
H A Dexca.c147 return (bus_space_read_1(sc->bst, sc->bsh, sc->offset + reg));
153 bus_space_write_1(sc->bst, sc->bsh, sc->offset + reg, val);
159 bus_space_write_1(sc->bst, sc->bsh, EXCA_REG_INDEX, reg + sc->offset);
160 return (bus_space_read_1(sc->bst, sc->bsh, EXCA_REG_DATA));
166 bus_space_write_1(sc->bst, sc->bsh, EXCA_REG_INDEX, reg + sc->offset);
167 bus_space_write_1(sc->bst, sc->bsh, EXCA_REG_DATA, val);
638 bus_space_tag_t bst, bus_space_handle_t bsh, uint32_t offset)
644 sc->bsh = bsh;
687 bus_space_write_1(exca->bst, exca->bsh, EXCA_REG_INDE
635 exca_init(struct exca_softc *sc, device_t dev, bus_space_tag_t bst, bus_space_handle_t bsh, uint32_t offset) argument
[all...]
H A Dexcavar.h75 bus_space_handle_t bsh; member in struct:exca_softc
/freebsd-11-stable/sys/dev/wbwd/
H A Dwbwd.c104 bus_space_handle_t bsh; member in struct:wb_softc
271 bus_space_write_1((sc)->bst, (sc)->bsh, 0, (value));
282 return (bus_space_read_1((sc)->bst, (sc)->bsh, 0));
293 bus_space_write_1((sc)->bst, (sc)->bsh, 1, (value));
304 return (bus_space_read_1((sc)->bst, (sc)->bsh, 1));
641 sc->bsh = rman_get_bushandle(sc->portres);
/freebsd-11-stable/sys/arm/at91/
H A Dat91.c156 bus_space_handle_t bsh; local
183 rman_get_size(rle->res), 0, &bsh);
185 rman_set_bushandle(rle->res, bsh);
/freebsd-11-stable/sys/dev/usb/controller/
H A Dehci_mv.c139 bus_space_handle_t bsh; local
162 bsh = rman_get_bushandle(sc->sc_io_res);
171 if (bus_space_subregion(sc->sc_io_tag, bsh, MV_USB_HOST_OFST,
/freebsd-11-stable/sys/dev/tsec/
H A Dif_tsec.h87 bus_space_handle_t bsh; member in struct:tsec_softc::__anon7880
254 bus_space_read_4((sc)->sc_bas.bst, (sc)->sc_bas.bsh, (reg))
256 bus_space_write_4((sc)->sc_bas.bst, (sc)->sc_bas.bsh, (reg), (val))
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_ehci.c141 bus_space_handle_t bsh; local
171 bsh = rman_get_bushandle(sc->sc_io_res);
175 if (bus_space_subregion(sc->sc_io_tag, bsh, 0x00,
/freebsd-11-stable/sys/arm/lpc/
H A Dlpc_gpio.c524 bus_space_handle_t bsh; local
529 bus_space_map(bst, LPC_GPIO_PHYS_BASE, LPC_GPIO_SIZE, 0, &bsh);
530 bus_space_write_4(bst, bsh, LPC_GPIO_P3_OUTP_SET,
534 bus_space_unmap(bst, bsh, LPC_GPIO_SIZE);
/freebsd-11-stable/sys/dev/firewire/
H A Dfwohci_pci.c273 sc->bsh = rman_get_bushandle(sc->bsr);
354 if (sc->bst && sc->bsh)
355 bus_space_write_4(sc->bst, sc->bsh,
375 sc->bsh = 0;
/freebsd-11-stable/sys/arm/freescale/vybrid/
H A Dvf_anadig.c107 bus_space_handle_t bsh; member in struct:anadig_softc
192 sc->bsh = rman_get_bushandle(sc->res[0]);
H A Dvf_port.c91 bus_space_handle_t bsh; member in struct:port_softc
219 sc->bsh = rman_get_bushandle(sc->res[0]);
/freebsd-11-stable/sys/dev/rt/
H A Dif_rtreg.h34 bus_space_read_4((sc)->bst, (sc)->bsh, reg)
37 bus_space_write_4((sc)->bst, (sc)->bsh, reg, val)

Completed in 307 milliseconds

12345678