Home
last modified time | relevance | path

Searched refs:bus_handle (Results 1 – 15 of 15) sorted by relevance

/freebsd-12-stable/sys/dev/twa/
Dtw_osl_inline.h172 bus_space_handle_t bus_handle = in tw_osl_read_reg_inline() local
173 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_handle; in tw_osl_read_reg_inline()
176 return((TW_UINT32)bus_space_read_4(bus_tag, bus_handle, in tw_osl_read_reg_inline()
179 return((TW_UINT32)bus_space_read_2(bus_tag, bus_handle, in tw_osl_read_reg_inline()
182 return((TW_UINT32)bus_space_read_1(bus_tag, bus_handle, in tw_osl_read_reg_inline()
206 bus_space_handle_t bus_handle = in tw_osl_write_reg_inline() local
207 ((struct twa_softc *)(ctlr_handle->osl_ctlr_ctxt))->bus_handle; in tw_osl_write_reg_inline()
210 bus_space_write_4(bus_tag, bus_handle, offset, value); in tw_osl_write_reg_inline()
212 bus_space_write_2(bus_tag, bus_handle, offset, (TW_INT16)value); in tw_osl_write_reg_inline()
214 bus_space_write_1(bus_tag, bus_handle, offset, (TW_INT8)value); in tw_osl_write_reg_inline()
Dtw_osl.h170 bus_space_handle_t bus_handle; /* bus space handle */ member
Dtw_osl_freebsd.c356 sc->bus_handle = rman_get_bushandle(sc->reg_res); in twa_attach()
/freebsd-12-stable/sys/dev/tws/
Dtws_services.c176 bus_space_handle_t bus_handle = sc->bus_handle; in tws_write_reg() local
179 bus_space_write_4(bus_tag, bus_handle, offset, value); in tws_write_reg()
182 bus_space_write_2(bus_tag, bus_handle, offset, in tws_write_reg()
185 bus_space_write_1(bus_tag, bus_handle, offset, (u_int8_t)value); in tws_write_reg()
192 bus_space_handle_t bus_handle = sc->bus_handle; in tws_read_reg() local
195 return((u_int32_t)bus_space_read_4(bus_tag, bus_handle, offset)); in tws_read_reg()
197 return((u_int32_t)bus_space_read_2(bus_tag, bus_handle, offset)); in tws_read_reg()
199 return((u_int32_t)bus_space_read_1(bus_tag, bus_handle, offset)); in tws_read_reg()
Dtws.h235 bus_space_handle_t bus_handle; /* bus space handle */ member
Dtws.c257 sc->bus_handle = rman_get_bushandle(sc->reg_res); in tws_attach()
/freebsd-12-stable/sys/dev/nvme/
Dnvme_private.h242 bus_space_handle_t bus_handle; member
336 bus_space_read_4((sc)->bus_tag, (sc)->bus_handle, \
340 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
345 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
347 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
Dnvme_ahci.c83 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in nvme_ahci_attach()
84 ctrlr->regs = (struct nvme_registers *)ctrlr->bus_handle; in nvme_ahci_attach()
Dnvme_pci.c164 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in nvme_ctrlr_allocate_bar()
165 ctrlr->regs = (struct nvme_registers *)ctrlr->bus_handle; in nvme_ctrlr_allocate_bar()
Dnvme_qpair.c651 bus_space_write_4(qpair->ctrlr->bus_tag, qpair->ctrlr->bus_handle, in nvme_qpair_process_completions()
1011 bus_space_write_4(qpair->ctrlr->bus_tag, qpair->ctrlr->bus_handle, in nvme_qpair_submit_tracker()
/freebsd-12-stable/sys/contrib/alpine-hal/
Dal_hal_plat_services.h200 #define al_bus_dma_to_va(bus_tag, bus_handle) ((void*)bus_handle) argument
/freebsd-12-stable/sys/dev/isci/
Disci.c152 pci_bar->bus_handle = in isci_allocate_pci_memory()
593 isci->pci_bar[bar].bus_handle, offset, write_value); in scic_cb_pci_write_dword()
620 isci->pci_bar[bar].bus_handle, offset)); in scic_cb_pci_read_dword()
Disci.h230 bus_space_handle_t bus_handle; member
/freebsd-12-stable/sys/dev/mrsas/
Dmrsas.c302 bus_space_handle_t bus_handle = sc->bus_handle; in mrsas_write_reg() local
304 bus_space_write_4(bus_tag, bus_handle, offset, value); in mrsas_write_reg()
311 bus_space_handle_t bus_handle = sc->bus_handle; in mrsas_read_reg() local
313 return ((u_int32_t)bus_space_read_4(bus_tag, bus_handle, offset)); in mrsas_read_reg()
936 sc->bus_handle = rman_get_bushandle(sc->reg_res); in mrsas_attach()
Dmrsas.h3195 bus_space_handle_t bus_handle; member