Home
last modified time | relevance | path

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

/freebsd/sys/dev/tws/
H A Dtws_services.c167 bus_space_handle_t bus_handle = sc->bus_handle; in tws_write_reg() local
170 bus_space_write_4(bus_tag, bus_handle, offset, value); in tws_write_reg()
173 bus_space_write_2(bus_tag, bus_handle, offset, in tws_write_reg()
176 bus_space_write_1(bus_tag, bus_handle, offset, (u_int8_t)value); in tws_write_reg()
183 bus_space_handle_t bus_handle = sc->bus_handle; in tws_read_reg() local
186 return((u_int32_t)bus_space_read_4(bus_tag, bus_handle, offset)); in tws_read_reg()
188 return((u_int32_t)bus_space_read_2(bus_tag, bus_handle, offset)); in tws_read_reg()
190 return((u_int32_t)bus_space_read_1(bus_tag, bus_handle, offset)); in tws_read_reg()
H A Dtws.h228 bus_space_handle_t bus_handle; /* bus space handle */ member
H A Dtws.c248 sc->bus_handle = rman_get_bushandle(sc->reg_res); in tws_attach()
/freebsd/sys/dev/nvme/
H A Dnvme_ahci.c81 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in nvme_ahci_attach()
82 ctrlr->regs = (struct nvme_registers *)ctrlr->bus_handle; in nvme_ahci_attach()
H A Dnvme_private.h226 bus_space_handle_t bus_handle; member
326 bus_space_read_4((sc)->bus_tag, (sc)->bus_handle, \
330 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
335 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
337 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
H A Dnvme_pci.c166 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in nvme_ctrlr_allocate_bar()
167 ctrlr->regs = (struct nvme_registers *)ctrlr->bus_handle; in nvme_ctrlr_allocate_bar()
H A Dnvme_qpair.c675 bus_space_write_4(qpair->ctrlr->bus_tag, qpair->ctrlr->bus_handle, in _nvme_qpair_process_completions()
1206 bus_space_write_4(ctrlr->bus_tag, ctrlr->bus_handle, in nvme_qpair_submit_tracker()
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_plat_services.h200 #define al_bus_dma_to_va(bus_tag, bus_handle) ((void*)bus_handle) argument
/freebsd/sys/dev/isci/
H A Disci.c148 pci_bar->bus_handle = in isci_allocate_pci_memory()
589 isci->pci_bar[bar].bus_handle, offset, write_value); in scic_cb_pci_write_dword()
616 isci->pci_bar[bar].bus_handle, offset)); in scic_cb_pci_read_dword()
H A Disci.h228 bus_space_handle_t bus_handle; member
/freebsd/sys/dev/mrsas/
H A Dmrsas.c270 bus_space_handle_t bus_handle = sc->bus_handle; in mrsas_write_reg() local
272 bus_space_write_4(bus_tag, bus_handle, offset, value); in mrsas_write_reg()
279 bus_space_handle_t bus_handle = sc->bus_handle; in mrsas_read_reg() local
281 return ((u_int32_t)bus_space_read_4(bus_tag, bus_handle, offset)); in mrsas_read_reg()
894 sc->bus_handle = rman_get_bushandle(sc->reg_res); in mrsas_attach()
H A Dmrsas.h3442 bus_space_handle_t bus_handle; member