/freebsd/sys/dev/tpm/ |
H A D | tpm.c | 213 sc->sc_bh = rman_get_bushandle(sc->mem_res); in tpm_attach() 224 tpm_tis12_probe(sc->sc_bt, sc->sc_bh); in tpm_attach() 226 if (tpm_legacy_probe(sc->sc_bt, sc->sc_bh)) { in tpm_attach() 335 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, in tpm_tis12_irqinit() 336 bus_space_read_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE) & in tpm_tis12_irqinit() 338 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INT_STATUS, in tpm_tis12_irqinit() 339 bus_space_read_4(sc->sc_bt, sc->sc_bh, TPM_INT_STATUS)); in tpm_tis12_irqinit() 342 bus_space_write_1(sc->sc_bt, sc->sc_bh, TPM_INT_VECTOR, irq); in tpm_tis12_irqinit() 352 bus_space_write_4(sc->sc_bt, sc->sc_bh, TPM_INTERRUPT_ENABLE, r); in tpm_tis12_irqinit() 364 r = bus_space_read_4(sc->sc_bt, sc->sc_bh, TPM_INTF_CAPABILITIES); in tpm_tis12_init() [all …]
|
H A D | tpmvar.h | 35 bus_space_handle_t sc_bh, sc_bahm; member
|
/freebsd/sys/dev/dpaa/ |
H A D | bman.c | 116 sc->sc_bh = BM_Config(&bp); in bman_attach() 117 if (sc->sc_bh == NULL) in bman_attach() 121 error = BM_ConfigFbprThreshold(sc->sc_bh, (BMAN_MAX_BUFFERS / 8) / 20); in bman_attach() 125 error = BM_Init(sc->sc_bh); in bman_attach() 129 error = BM_GetRevision(sc->sc_bh, &rev); in bman_attach() 150 if (sc->sc_bh != NULL) in bman_detach() 151 BM_Free(sc->sc_bh); in bman_detach() 213 bpp.h_Bm = sc->sc_bh; in bman_pool_create()
|
H A D | bman.h | 63 t_Handle sc_bh; /* BMAN handle */ member
|
H A D | bman_portals.c | 152 bpp.h_Bm = bsc->sc_bh; in bman_portal_setup()
|
/freebsd/sys/arm/ti/ |
H A D | ti_mbox.c | 77 bus_space_handle_t sc_bh; member 106 return (bus_space_read_4(sc->sc_bt, sc->sc_bh, reg)); in ti_mbox_reg_read() 112 bus_space_write_4(sc->sc_bt, sc->sc_bh, reg, val); in ti_mbox_reg_write() 152 sc->sc_bh = rman_get_bushandle(sc->sc_mem_res); in ti_mbox_attach()
|
H A D | ti_wdt.c | 72 bus_space_handle_t sc_bh; member 97 return (bus_space_read_4(sc->sc_bt, sc->sc_bh, reg)); in ti_wdt_reg_read() 104 bus_space_write_4(sc->sc_bt, sc->sc_bh, reg, val); in ti_wdt_reg_write() 169 sc->sc_bh = rman_get_bushandle(sc->sc_mem_res); in ti_wdt_attach()
|
H A D | ti_pruss.c | 135 bus_space_handle_t sc_bh; member 288 return (bus_space_read_4(sc->sc_bt, sc->sc_bh, reg)); in ti_pruss_reg_read() 294 bus_space_write_4(sc->sc_bt, sc->sc_bh, reg, val); in ti_pruss_reg_write() 625 sc->sc_bh = rman_get_bushandle(sc->sc_mem_res); in ti_pruss_attach()
|
/freebsd/sys/powerpc/powermac/ |
H A D | hrowpic.c | 103 return (bus_space_read_4(sc->sc_bt, sc->sc_bh, reg)); in hrowpic_read_reg() 114 bus_space_write_4(sc->sc_bt, sc->sc_bh, reg, val); in hrowpic_write_reg() 117 bus_space_read_4(sc->sc_bt, sc->sc_bh, reg); in hrowpic_write_reg() 158 sc->sc_bh = rman_get_bushandle(sc->sc_rres); in hrowpic_attach()
|
H A D | hrowpicvar.h | 69 bus_space_handle_t sc_bh; member
|
/freebsd/sys/powerpc/powerpc/ |
H A D | openpic.c | 63 return (bus_space_read_4(sc->sc_bt, sc->sc_bh, reg)); in openpic_read() 69 bus_space_write_4(sc->sc_bt, sc->sc_bh, reg, val); in openpic_write() 92 sc->sc_bh = rman_get_bushandle(sc->sc_memr); in openpic_common_attach()
|
/freebsd/sys/powerpc/include/ |
H A D | openpicvar.h | 51 bus_space_handle_t sc_bh; member
|