Home
last modified time | relevance | path

Searched refs:sc_bsh (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c154 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 Dlbc.c315 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 Dds1553_core.c183 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 Dds1553_reg.h87 bus_space_handle_t sc_bsh; /* bus space handle */ member
H A Dds1553_bus_fdt.c106 sc->sc_bsh = rman_get_bushandle(sc->res); in rtc_attach()
H A Dlbc.h110 bus_space_handle_t sc_bsh; member
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_spivar.h41 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 Dbcm2835_bscvar.h44 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 Dbcm2835_sdhci.c154 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 Dbcm2835_sdhost.c206 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 Dbcm2835_gpio.c117 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 Dti_spivar.h32 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 Dti_pinmux.c73 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 Dti_scm.h49 bus_space_handle_t sc_bsh; member
H A Dti_pinmux.h67 bus_space_handle_t sc_bsh; member
/freebsd/sys/dev/rccgpio/
H A Drccgpio.c73 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 Di2s.c550 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 Drk_gpio.c99 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 Damdgpio.h321 bus_space_handle_t sc_bsh; member
H A Damdgpio.c387 sc->sc_bsh = rman_get_bushandle(sc->sc_res[0]); in amdgpio_attach()