Searched refs:bus_handle (Results 1 – 11 of 11) sorted by relevance
| /freebsd/sys/dev/tws/ |
| H A D | tws_services.c | 167 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 D | tws.h | 228 bus_space_handle_t bus_handle; /* bus space handle */ member
|
| H A D | tws.c | 248 sc->bus_handle = rman_get_bushandle(sc->reg_res); in tws_attach()
|
| /freebsd/sys/contrib/alpine-hal/ |
| H A D | al_hal_plat_services.h | 200 #define al_bus_dma_to_va(bus_tag, bus_handle) ((void*)bus_handle) argument
|
| /freebsd/sys/dev/ufshci/ |
| H A D | ufshci_acpi.c | 119 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in ufshci_acpi_allocate_memory() 120 ctrlr->regs = (struct ufshci_registers *)ctrlr->bus_handle; in ufshci_acpi_allocate_memory()
|
| H A D | ufshci_pci.c | 104 ctrlr->bus_handle = rman_get_bushandle(ctrlr->resource); in ufshci_pci_allocate_bar() 105 ctrlr->regs = (struct ufshci_registers *)ctrlr->bus_handle; in ufshci_pci_allocate_bar()
|
| H A D | ufshci_private.h | 343 bus_space_handle_t bus_handle; member 418 bus_space_read_4((sc)->bus_tag, (sc)->bus_handle, \ 422 bus_space_write_4((sc)->bus_tag, (sc)->bus_handle, \
|
| /freebsd/sys/dev/isci/ |
| H A D | isci.c | 148 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 D | isci.h | 228 bus_space_handle_t bus_handle; member
|
| /freebsd/sys/dev/mrsas/ |
| H A D | mrsas.c | 270 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() 888 sc->bus_handle = rman_get_bushandle(sc->reg_res); in mrsas_attach()
|
| H A D | mrsas.h | 3442 bus_space_handle_t bus_handle; member
|