/freebsd/sys/powerpc/mpc85xx/ |
H A D | pci_mpc85xx.c | 154 bus_space_handle_t sc_bsh; member 272 err_reg = bus_space_read_4(sc->sc_bst, sc->sc_bsh, REG_PEX_ERR_DR); in fsl_pcib_err_intr() 284 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_PEX_ERR_DR, clear_reg); in fsl_pcib_err_intr() 329 sc->sc_bsh = rman_get_bushandle(sc->sc_res); in fsl_pcib_attach() 454 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_CFG_ADDR, addr); in fsl_pcib_cfgread() 458 data = bus_space_read_1(sc->sc_bst, sc->sc_bsh, in fsl_pcib_cfgread() 462 data = le16toh(bus_space_read_2(sc->sc_bst, sc->sc_bsh, in fsl_pcib_cfgread() 466 data = le32toh(bus_space_read_4(sc->sc_bst, sc->sc_bsh, in fsl_pcib_cfgread() 492 bus_space_write_4(sc->sc_bst, sc->sc_bsh, REG_CFG_ADDR, addr); in fsl_pcib_cfgwrite() 496 bus_space_write_1(sc->sc_bst, sc->sc_bsh, in fsl_pcib_cfgwrite() [all …]
|
H A D | lbc.c | 315 bus_space_write_4(sc->sc_bst, sc->sc_bsh, in lbc_banks_enable() 338 bus_space_write_4(sc->sc_bst, sc->sc_bsh, in lbc_banks_enable() 428 ltesr = bus_space_read_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTESR); in lbc_intr() 430 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTESR, ltesr); in lbc_intr() 471 sc->sc_bsh = rman_get_bushandle(sc->sc_mres); in lbc_attach() 474 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_BR(bank), 0); in lbc_attach() 475 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_OR(bank), 0); in lbc_attach() 486 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LBCR, 0); in lbc_attach() 494 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LCRR, 0x00030008); in lbc_attach() 496 bus_space_write_4(sc->sc_bst, sc->sc_bsh, LBC85XX_LTED in lbc_attach() [all...] |
H A D | ds1553_core.c | 183 return (bus_space_read_1(sc->sc_bst, sc->sc_bsh, off)); in ds1553_direct_read() 192 bus_space_write_1(sc->sc_bst, sc->sc_bsh, off, val); in ds1553_direct_write()
|
H A D | ds1553_reg.h | 87 bus_space_handle_t sc_bsh; /* bus space handle */ member
|
H A D | ds1553_bus_fdt.c | 106 sc->sc_bsh = rman_get_bushandle(sc->res); in rtc_attach()
|
H A D | lbc.h | 110 bus_space_handle_t sc_bsh; member
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_spivar.h | 41 bus_space_handle_t sc_bsh; member 53 bus_space_write_4(_sc->sc_bst, _sc->sc_bsh, _off, _val) 55 bus_space_read_4(_sc->sc_bst, _sc->sc_bsh, _off)
|
H A D | bcm2835_bscvar.h | 44 bus_space_handle_t sc_bsh; member 60 bus_space_write_4((_sc)->sc_bst, (_sc)->sc_bsh, _off, _val) 62 bus_space_read_4((_sc)->sc_bst, (_sc)->sc_bsh, _off)
|
H A D | bcm2835_sdhci.c | 154 bus_space_handle_t sc_bsh; member 291 sc->sc_bsh = rman_get_bushandle(sc->sc_mem_res); in bcm_sdhci_attach() 434 uint32_t val = bus_space_read_4(sc->sc_bst, sc->sc_bsh, off); in RD4() 442 bus_space_write_4(sc->sc_bst, sc->sc_bsh, off, val); in WR4() 496 bus_space_read_multi_4(sc->sc_bst, sc->sc_bsh, off, data, count); in bcm_sdhci_read_multi_4() 570 bus_space_write_multi_4(sc->sc_bst, sc->sc_bsh, off, data, count); in bcm_sdhci_write_multi_4()
|
H A D | bcm2835_sdhost.c | 206 bus_space_handle_t sc_bsh; member 237 val = bus_space_read_4(sc->sc_bst, sc->sc_bsh, off); in RD4() 246 bus_space_write_4(sc->sc_bst, sc->sc_bsh, off, val); in WR4() 436 sc->sc_bsh = rman_get_bushandle(sc->sc_mem_res); in bcm_sdhost_attach() 1023 bus_space_read_multi_4(sc->sc_bst, sc->sc_bsh, in bcm_sdhost_read_multi_4() 1231 bus_space_write_multi_4(sc->sc_bst, sc->sc_bsh, in bcm_sdhost_write_multi_4()
|
H A D | bcm2835_gpio.c | 117 bus_space_handle_t sc_bsh; member 139 bus_space_write_4((_sc)->sc_bst, (_sc)->sc_bsh, _off, _val) 141 bus_space_read_4((_sc)->sc_bst, (_sc)->sc_bsh, _off) 808 sc->sc_bsh = rman_get_bushandle(sc->sc_res[0]); in bcm_gpio_attach()
|
/freebsd/sys/arm/ti/ |
H A D | ti_spivar.h | 32 bus_space_handle_t sc_bsh; member 60 bus_space_write_4((_sc)->sc_bst, (_sc)->sc_bsh, (_off), (_val)) 62 bus_space_read_4((_sc)->sc_bst, (_sc)->sc_bsh, (_off))
|
H A D | ti_pinmux.c | 73 bus_space_read_2((sc)->sc_bst, (sc)->sc_bsh, (reg)) 75 bus_space_write_2((sc)->sc_bst, (sc)->sc_bsh, (reg), (val)) 77 bus_space_read_4((sc)->sc_bst, (sc)->sc_bsh, (reg)) 79 bus_space_write_4((sc)->sc_bst, (sc)->sc_bsh, (reg), (val)) 428 sc->sc_bsh = rman_get_bushandle(sc->sc_res[0]); in ti_pinmux_attach()
|
H A D | ti_scm.h | 49 bus_space_handle_t sc_bsh; member
|
H A D | ti_pinmux.h | 67 bus_space_handle_t sc_bsh; member
|
/freebsd/sys/dev/rccgpio/ |
H A D | rccgpio.c | 73 bus_space_handle_t sc_bsh; member 82 bus_space_write_4((_sc)->sc_bst, (_sc)->sc_bsh, _off, _val) 84 bus_space_read_4((_sc)->sc_bst, (_sc)->sc_bsh, _off) 292 sc->sc_bsh = rman_get_bushandle(sc->sc_io_res); in rcc_gpio_attach()
|
/freebsd/sys/dev/sound/macio/ |
H A D | i2s.c | 550 bus_space_write_4(sc->sc_tag, sc->sc_bsh, I2S_INT, in i2s_setup() 556 if (bus_space_read_4(sc->sc_tag, sc->sc_bsh, in i2s_setup() 568 bus_space_write_4(sc->sc_tag, sc->sc_bsh, I2S_FORMAT, reg); in i2s_setup()
|
/freebsd/sys/arm64/rockchip/ |
H A D | rk_gpio.c | 99 bus_space_handle_t sc_bsh; member 134 bus_space_write_4(_sc->sc_bst, _sc->sc_bsh, _off, _val) 136 bus_space_read_4(_sc->sc_bst, _sc->sc_bsh, _off) 281 sc->sc_bsh = rman_get_bushandle(sc->sc_res[0]); in rk_gpio_attach()
|
/freebsd/sys/dev/amdgpio/ |
H A D | amdgpio.h | 321 bus_space_handle_t sc_bsh; member
|
H A D | amdgpio.c | 387 sc->sc_bsh = rman_get_bushandle(sc->sc_res[0]); in amdgpio_attach()
|