/freebsd/sys/dev/iicbus/pmic/ |
H A D | act8846.c | 81 msgs[0].slave = sc->bus_addr; in act8846_read() 82 msgs[1].slave = sc->bus_addr; in act8846_read() 105 msgs[0].slave = sc->bus_addr; in act8846_read_buf() 106 msgs[1].slave = sc->bus_addr; in act8846_read_buf() 129 msgs[0].slave = sc->bus_addr; in act8846_write() 152 msgs[0].slave = sc->bus_addr; in act8846_write_buf() 153 msgs[1].slave = sc->bus_addr; in act8846_write_buf() 208 sc->bus_addr = iicbus_get_addr(dev); in act8846_attach()
|
H A D | act8846.h | 40 int bus_addr; member
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | max77620_rtc.c | 91 int bus_addr; member 109 msgs[0].slave = sc->bus_addr; in max77620_rtc_read() 110 msgs[1].slave = sc->bus_addr; in max77620_rtc_read() 134 msgs[0].slave = sc->bus_addr; in max77620_rtc_read_buf() 135 msgs[1].slave = sc->bus_addr; in max77620_rtc_read_buf() 158 msgs[0].slave = sc->bus_addr; in max77620_rtc_write() 182 msgs[0].slave = sc->bus_addr; in max77620_rtc_write_buf() 183 msgs[1].slave = sc->bus_addr; in max77620_rtc_write_buf() 334 sc->bus_addr = iicbus_get_addr(dev); in max77620_rtc_attach()
|
H A D | max77620.c | 85 msgs[0].slave = sc->bus_addr; in max77620_read() 86 msgs[1].slave = sc->bus_addr; in max77620_read() 109 msgs[0].slave = sc->bus_addr; in max77620_read_buf() 110 msgs[1].slave = sc->bus_addr; in max77620_read_buf() 133 msgs[0].slave = sc->bus_addr; in max77620_write() 157 msgs[0].slave = sc->bus_addr; in max77620_write_buf() 158 msgs[1].slave = sc->bus_addr; in max77620_write_buf() 389 sc->bus_addr = iicbus_get_addr(dev); in max77620_attach()
|
/freebsd/sys/arm/nvidia/ |
H A D | as3722.c | 86 msgs[0].slave = sc->bus_addr; in as3722_read() 87 msgs[1].slave = sc->bus_addr; in as3722_read() 110 msgs[0].slave = sc->bus_addr; in as3722_read_buf() 111 msgs[1].slave = sc->bus_addr; in as3722_read_buf() 134 msgs[0].slave = sc->bus_addr; in as3722_write() 157 msgs[0].slave = sc->bus_addr; in as3722_write_buf() 158 msgs[1].slave = sc->bus_addr; in as3722_write_buf() 288 sc->bus_addr = iicbus_get_addr(dev); in as3722_attach()
|
/freebsd/sys/dev/gve/ |
H A D | gve_adminq.c | 266 .queue_resources_addr = htobe64(qres_dma->bus_addr), in gve_adminq_create_rx_queue() 273 htobe64(rx->desc_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 275 htobe64(rx->data_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 284 htobe64(rx->dqo.compl_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 286 htobe64(rx->desc_ring_mem.bus_addr); in gve_adminq_create_rx_queue() 333 .queue_resources_addr = htobe64(qres_dma->bus_addr), in gve_adminq_create_tx_queue() 334 .tx_ring_addr = htobe64(tx->desc_ring_mem.bus_addr), in gve_adminq_create_tx_queue() 346 htobe64(tx->dqo.compl_ring_mem.bus_addr); in gve_adminq_create_tx_queue() 428 desc_mem.bus_addr); in gve_adminq_describe_device() 510 uint32_t size = num_entries * sizeof(qpl->dmas[0].bus_addr); in gve_adminq_register_page_list() [all …]
|
H A D | gve_utils.c | 121 dma->bus_addr = (bus_addr_t)-1; in gve_dma_alloc_coherent() 123 gve_dmamap_load_callback, &dma->bus_addr, BUS_DMA_NOWAIT); in gve_dma_alloc_coherent() 124 if (err != 0 || dma->bus_addr == (bus_addr_t)-1) { in gve_dma_alloc_coherent() 184 dma->bus_addr = (bus_addr_t)-1; in gve_dmamap_create() 186 gve_dmamap_load_callback, &dma->bus_addr, BUS_DMA_WAITOK); in gve_dmamap_create() 187 if (err != 0 || dma->bus_addr == (bus_addr_t)-1) { in gve_dmamap_create()
|
/freebsd/sys/dev/firewire/ |
H A D | fwdma.c | 103 size, fwdma_map_cb, &dma->bus_addr, /*flags*/0); in fwdma_malloc() 119 bus_size_t size, bus_addr_t *bus_addr, int flag) in fwdma_malloc_size() argument 128 fwdma_map_cb, bus_addr, /*flags*/0); in fwdma_malloc_size() 188 ssize, &seg->bus_addr, flag); in fwdma_malloc_multiseg()
|
H A D | fwdma.h | 41 bus_addr_t bus_addr; member 47 bus_addr_t bus_addr; member 73 return (am->seg[offset / ssize].bus_addr + (offset % ssize)); in fwdma_bus_addr()
|
H A D | fwohci.c | 550 OWRITE(sc, OHCI_CROMPTR, sc->crom_dma.bus_addr); 553 OWRITE(sc, OHCI_SID_BUF, sc->sid_dma.bus_addr); 1001 STAILQ_NEXT(db_tr, link)->bus_addr); 1029 OWRITE(sc, OHCI_DMACMD(off), dbch->top->bus_addr | fsegment); 1264 db_tr->bus_addr = fwdma_bus_addr(dbch->am, idb); 1374 STAILQ_NEXT(db_tr, link)->bus_addr | z); 1442 STAILQ_NEXT(db_tr, link)->bus_addr | z); 1463 OWRITE(sc, OHCI_DMACMD(off), dbch->top->bus_addr | z); 1545 (chunk->start))->bus_addr | dbch->ndesc; 1576 ((struct fwohcidb_tr *)(first->start))->bus_addr | dbch->ndesc); [all …]
|
H A D | sbp.c | 139 bus_addr_t bus_addr; member 151 #define OCB_MATCH(o,s) ((o)->bus_addr == ntohl((s)->orb_lo)) 546 ocb->bus_addr = sdev->dma.bus_addr in sbp_alloc_lun() 1208 (uint32_t)ocb->bus_addr); in sbp_orb_pointer() 1232 xfer->send.payload[1] = htonl((uint32_t)ocb->bus_addr); in sbp_orb_pointer() 1385 ocb->orb[3] = htonl(sdev->dma.bus_addr); in sbp_mgm_orb() 1394 ocb->orb[1] = htonl(aocb->bus_addr & 0xffffffff); in sbp_mgm_orb() 1427 xfer->send.payload[1] = htonl(ocb->bus_addr & 0xffffffff); in sbp_mgm_orb() 2217 __func__, sdev->bustgtlun, (uint32_t)ocb->bus_addr); in sbp_mgm_timeout() [all...] |
/freebsd/sys/dev/dcons/ |
H A D | dcons_crom.c | 81 bus_addr_t bus_addr; member 157 sc->bus_addr = segments[0].ds_addr; in dmamap_cb() 161 "bus_addr 0x%jx\n", (uintmax_t)sc->bus_addr); in dmamap_cb() 169 dcons_paddr = sc->bus_addr; in dmamap_cb()
|
/freebsd/sys/dev/sound/pci/ |
H A D | maestro3.c | 378 u_int32_t bus_addr, i; in m3_pchan_init() local 450 bus_addr = sndbuf_getbufaddr(ch->buffer); in m3_pchan_init() 451 if (bus_addr & 3) { in m3_pchan_init() 453 bus_addr = (bus_addr + 4) & ~3; in m3_pchan_init() 455 m3_wr_assp_data(sc, ch->dac_data + CDATA_HOST_SRC_ADDRL, LO(bus_addr)); in m3_pchan_init() 456 m3_wr_assp_data(sc, ch->dac_data + CDATA_HOST_SRC_ADDRH, HI(bus_addr)); in m3_pchan_init() 458 LO(bus_addr + ch->bufsize)); in m3_pchan_init() 460 HI(bus_addr + ch->bufsize)); in m3_pchan_init() 462 LO(bus_addr)); in m3_pchan_init() 464 HI(bus_addr)); in m3_pchan_init() [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | qat_uclo.c | 1436 u64 bus_addr; in qat_uclo_auth_fw() local 1438 bus_addr = ADD_ADDR(desc->css_hdr_high, desc->css_hdr_low) - in qat_uclo_auth_fw() 1451 SET_FCU_CSR(handle, fcu_dram_hi_csr, (bus_addr >> BITS_IN_DWORD)); in qat_uclo_auth_fw() 1452 SET_FCU_CSR(handle, fcu_dram_lo_csr, bus_addr); in qat_uclo_auth_fw() 1617 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local 1638 bus_addr = img_desc->dram_bus_addr + simg_offset; in qat_uclo_map_auth_fw() 1640 auth_desc->css_hdr_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw() 1641 auth_desc->css_hdr_low = (unsigned int)bus_addr; in qat_uclo_map_auth_fw() 1646 bus_addr = ADD_ADDR(auth_desc->css_hdr_high, auth_desc->css_hdr_low) + in qat_uclo_map_auth_fw() 1650 auth_desc->fwsk_pub_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw() [all …]
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat_ae.c | 2445 bus_size_t bus_addr; in qat_aefw_alloc_auth_dmamem() local 2467 bus_addr = auth_chunk->ac_chunk_bus_addr; in qat_aefw_alloc_auth_dmamem() 2468 bus_addr += simg_offset; in qat_aefw_alloc_auth_dmamem() 2471 auth_desc->fad_css_hdr_high = (uint64_t)bus_addr >> 32; in qat_aefw_alloc_auth_dmamem() 2472 auth_desc->fad_css_hdr_low = bus_addr; in qat_aefw_alloc_auth_dmamem() 2477 bus_addr += sizeof(struct css_hdr); in qat_aefw_alloc_auth_dmamem() 2480 auth_desc->fad_fwsk_pub_high = (uint64_t)bus_addr >> 32; in qat_aefw_alloc_auth_dmamem() 2481 auth_desc->fad_fwsk_pub_low = bus_addr; in qat_aefw_alloc_auth_dmamem() 2489 bus_addr += CSS_FWSK_PUB_LEN; in qat_aefw_alloc_auth_dmamem() 2492 auth_desc->fad_signature_high = (uint64_t)bus_addr >> 32; in qat_aefw_alloc_auth_dmamem() [all …]
|
/freebsd/sys/dev/proto/ |
H A D | proto_dev.h | 72 unsigned long bus_addr; member
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | swap.h | 41 __le32 bus_addr[ATH10K_SWAP_CODE_SEG_NUM_MAX]; member
|
H A D | swap.c | 112 seg_info->seg_hw_info.bus_addr[0] = __cpu_to_le32(paddr); in ath10k_swap_code_seg_alloc()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3-hvcall.h | 98 int lv1_map_device_mmio_region(uint64_t bus, uint64_t dev, uint64_t bus_addr, uint64_t size, uint64… 108 int lv1_net_start_tx_dma(uint64_t bus, uint64_t dev, uint64_t bus_addr, uint64_t zero); 110 int lv1_net_start_rx_dma(uint64_t bus, uint64_t dev, uint64_t bus_addr, uint64_t zero);
|
/freebsd/sys/dev/enic/ |
H A D | enic_txrx.c | 92 uint64_t bus_addr; in enic_isc_txd_encap() local 125 bus_addr = pi->ipi_segs[i].ds_addr; in enic_isc_txd_encap() 128 wq_enet_desc_enc(&desc[head_idx], bus_addr, data_len, mss, in enic_isc_txd_encap()
|
/freebsd/sys/dev/fdt/ |
H A D | fdt_common.c | 77 u_long bus_addr, par_bus_addr, pbase, psize; in fdt_get_range_by_busaddr() local 121 bus_addr = fdt_data_get((void *)rangesptr, addr_cells); in fdt_get_range_by_busaddr() 122 if (bus_addr != addr) in fdt_get_range_by_busaddr()
|
/freebsd/sys/dev/ice/ |
H A D | ice_common.h | 255 ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr, 370 u16 bus_addr, __le16 addr, u8 params, u8 *data, 374 u16 bus_addr, __le16 addr, u8 params, const u8 *data,
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge.c | 252 (void *)&dma->bus_addr, 0); in mxge_dma_alloc() 468 bus_addr_t dmatest_bus = sc->dmabench_dma.bus_addr; in mxge_dma_test() 779 dma_low = MXGE_LOWPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_dummy_rdma() 780 dma_high = MXGE_HIGHPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_dummy_rdma() 784 dma_low = MXGE_LOWPART_TO_U32(sc->zeropad_dma.bus_addr); in mxge_dummy_rdma() 785 dma_high = MXGE_HIGHPART_TO_U32(sc->zeropad_dma.bus_addr); in mxge_dummy_rdma() 826 dma_low = MXGE_LOWPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_send_cmd() 827 dma_high = MXGE_HIGHPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_send_cmd() 977 dma_low = MXGE_LOWPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_load_firmware() 978 dma_high = MXGE_HIGHPART_TO_U32(sc->cmd_dma.bus_addr); in mxge_load_firmware() [all …]
|
H A D | if_mxge_var.h | 94 bus_addr_t bus_addr; member
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_private.h | 480 uint64_t *bus_addr = (uint64_t *)arg; in nvme_single_map() local 485 *bus_addr = seg[0].ds_addr; in nvme_single_map()
|