/drivers/net/mdio/ |
D | mdio-i2c.c | 39 int bus_addr, ret; in i2c_mii_read_default_c45() local 51 bus_addr = i2c_mii_phy_addr(phy_id); in i2c_mii_read_default_c45() 52 msgs[0].addr = bus_addr; in i2c_mii_read_default_c45() 56 msgs[1].addr = bus_addr; in i2c_mii_read_default_c45() 147 static int __i2c_rollball_get_page(struct i2c_adapter *i2c, int bus_addr, in __i2c_rollball_get_page() argument 153 msgs[0].addr = bus_addr; in __i2c_rollball_get_page() 158 msgs[1].addr = bus_addr; in __i2c_rollball_get_page() 166 static int __i2c_rollball_set_page(struct i2c_adapter *i2c, int bus_addr, in __i2c_rollball_set_page() argument 175 msg.addr = bus_addr; in __i2c_rollball_set_page() 228 static int i2c_rollball_mii_poll(struct mii_bus *bus, int bus_addr, u8 *buf, in i2c_rollball_mii_poll() argument [all …]
|
/drivers/remoteproc/ |
D | keystone_remoteproc.c | 36 phys_addr_t bus_addr; member 253 phys_addr_t bus_addr; in keystone_rproc_da_to_va() local 262 bus_addr = ksproc->mem[i].bus_addr; in keystone_rproc_da_to_va() 276 if ((da >= bus_addr) && in keystone_rproc_da_to_va() 277 (da + len) <= (bus_addr + size)) { in keystone_rproc_da_to_va() 278 offset = da - bus_addr; in keystone_rproc_da_to_va() 319 ksproc->mem[i].bus_addr = res->start; in keystone_rproc_of_get_memories()
|
D | ti_k3_dsp_remoteproc.c | 35 phys_addr_t bus_addr; member 447 phys_addr_t bus_addr; in k3_dsp_rproc_da_to_va() local 456 bus_addr = kproc->mem[i].bus_addr; in k3_dsp_rproc_da_to_va() 470 if (da >= bus_addr && in k3_dsp_rproc_da_to_va() 471 (da + len) <= (bus_addr + size)) { in k3_dsp_rproc_da_to_va() 472 offset = da - bus_addr; in k3_dsp_rproc_da_to_va() 539 kproc->mem[i].bus_addr = res->start; in k3_dsp_rproc_of_get_memories() 544 data->mems[i].name, &kproc->mem[i].bus_addr, in k3_dsp_rproc_of_get_memories() 606 kproc->rmem[i].bus_addr = rmem->base; in k3_dsp_reserved_mem_init() 619 i + 1, &kproc->rmem[i].bus_addr, in k3_dsp_reserved_mem_init()
|
D | stm32_rproc.c | 61 phys_addr_t bus_addr; member 68 u32 bus_addr; member 105 if (pa < p_mem->bus_addr || in stm32_rproc_pa_to_da() 106 pa >= p_mem->bus_addr + p_mem->size) in stm32_rproc_pa_to_da() 108 *da = pa - p_mem->bus_addr + p_mem->dev_addr; in stm32_rproc_pa_to_da() 181 p_mems[i].bus_addr = mem_range[i].bus_addr; in stm32_rproc_of_memory_translations() 186 i, p_mems[i].dev_addr, &p_mems[i].bus_addr, in stm32_rproc_of_memory_translations() 606 *pa = da - p_mem->dev_addr + p_mem->bus_addr; in stm32_rproc_da_to_pa()
|
D | ti_k3_r5_remoteproc.c | 67 phys_addr_t bus_addr; member 759 phys_addr_t bus_addr; in k3_r5_rproc_da_to_va() local 769 bus_addr = core->mem[i].bus_addr; in k3_r5_rproc_da_to_va() 781 if (da >= bus_addr && ((da + len) <= (bus_addr + size))) { in k3_r5_rproc_da_to_va() 782 offset = da - bus_addr; in k3_r5_rproc_da_to_va() 1034 kproc->rmem[i].bus_addr = rmem->base; in k3_r5_reserved_mem_init() 1056 i + 1, &kproc->rmem[i].bus_addr, in k3_r5_reserved_mem_init() 1449 core->mem[i].bus_addr = res->start; in k3_r5_core_of_get_internal_memories() 1469 mem_names[i], &core->mem[i].bus_addr, in k3_r5_core_of_get_internal_memories() 1514 core->sram[i].bus_addr = res.start; in k3_r5_core_of_get_sram_memories() [all …]
|
D | da8xx_remoteproc.c | 49 phys_addr_t bus_addr; member 221 drproc->mem[i].bus_addr = res->start; in da8xx_rproc_get_internal_memories() 227 mem_names[i], &drproc->mem[i].bus_addr, in da8xx_rproc_get_internal_memories()
|
D | wkup_m3_rproc.c | 37 phys_addr_t bus_addr; member 194 wkupm3->mem[i].bus_addr = res->start; in wkup_m3_rproc_probe()
|
D | st_slim_rproc.c | 183 if (da != slim_rproc->mem[i].bus_addr) in slim_rproc_da_to_va() 258 slim_rproc->mem[i].bus_addr = res->start; in st_slim_rproc_alloc()
|
/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif_tx.c | 103 dma_unmap_single(dpmaif_ctrl->dev, cur_drb_skb->bus_addr, in t7xx_dpmaif_release_tx_buffer() 227 bool is_frag, bool is_last_one, dma_addr_t bus_addr, in t7xx_record_drb_skb() argument 234 drb_skb->bus_addr = bus_addr; in t7xx_record_drb_skb() 282 dma_addr_t bus_addr; in t7xx_dpmaif_add_skb_to_ring() local 297 bus_addr = dma_map_single(dpmaif_ctrl->dev, data_addr, data_len, DMA_TO_DEVICE); in t7xx_dpmaif_add_skb_to_ring() 298 if (dma_mapping_error(dpmaif_ctrl->dev, bus_addr)) in t7xx_dpmaif_add_skb_to_ring() 304 t7xx_setup_payload_drb(dpmaif_ctrl, txq->index, cur_idx, bus_addr, data_len, in t7xx_dpmaif_add_skb_to_ring() 307 is_last_one, bus_addr, data_len); in t7xx_dpmaif_add_skb_to_ring() 324 dma_unmap_single(dpmaif_ctrl->dev, drb_skb->bus_addr, in t7xx_dpmaif_add_skb_to_ring() 577 dma_unmap_single(txq->dpmaif_ctrl->dev, drb_skb->bus_addr, in t7xx_dpmaif_tx_free_drb_skb()
|
D | t7xx_hif_dpmaif_tx.h | 60 dma_addr_t bus_addr; member
|
/drivers/dma/ |
D | fsl-qdma.c | 192 dma_addr_t bus_addr; member 200 dma_addr_t bus_addr; member 327 comp_temp->bus_addr); in fsl_qdma_free_chan_resources() 339 comp_temp->bus_addr); in fsl_qdma_free_chan_resources() 372 qdma_desc_addr_set64(ccdf, fsl_comp->bus_addr + 16); in fsl_qdma_comp_fill_memcpy() 412 &comp_temp->bus_addr); in fsl_qdma_pre_request_enqueue_desc() 429 comp_temp->bus_addr); in fsl_qdma_pre_request_enqueue_desc() 440 comp_temp->bus_addr); in fsl_qdma_pre_request_enqueue_desc() 522 &queue_temp->bus_addr, in fsl_qdma_alloc_queue_resources() 571 &status_head->bus_addr, in fsl_qdma_prep_status_queue() [all …]
|
/drivers/tty/serial/8250/ |
D | 8250_acorn.c | 44 unsigned long bus_addr; in serial_card_probe() local 53 bus_addr = ecard_resource_start(ec, type->type); in serial_card_probe() 72 uart.port.mapbase = bus_addr + type->offset[i]; in serial_card_probe()
|
/drivers/crypto/intel/qat/qat_common/ |
D | qat_uclo.c | 1219 u64 bus_addr; in qat_uclo_auth_fw() local 1221 bus_addr = ADD_ADDR(desc->css_hdr_high, desc->css_hdr_low) in qat_uclo_auth_fw() 1229 SET_CAP_CSR(handle, fcu_dram_hi_csr, (bus_addr >> BITS_IN_DWORD)); in qat_uclo_auth_fw() 1230 SET_CAP_CSR(handle, fcu_dram_lo_csr, bus_addr); in qat_uclo_auth_fw() 1420 u64 virt_addr, bus_addr, virt_base; in qat_uclo_map_auth_fw() local 1441 bus_addr = img_desc.dram_bus_addr + simg_offset; in qat_uclo_map_auth_fw() 1443 auth_desc->css_hdr_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw() 1444 auth_desc->css_hdr_low = (unsigned int)bus_addr; in qat_uclo_map_auth_fw() 1449 bus_addr = ADD_ADDR(auth_desc->css_hdr_high, auth_desc->css_hdr_low) + in qat_uclo_map_auth_fw() 1453 auth_desc->fwsk_pub_high = (unsigned int)(bus_addr >> BITS_IN_DWORD); in qat_uclo_map_auth_fw() [all …]
|
/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 56 sg_arr[0].bus_addr = cpu_to_le64((u64)dma); in asd_map_scatterlist() 85 sg->bus_addr = cpu_to_le64((u64)sg_dma_address(sc)); in asd_map_scatterlist() 92 sg_arr[i].bus_addr = in asd_map_scatterlist() 100 sg_arr[2].bus_addr=cpu_to_le64((u64)ascb->sg_arr->dma_handle); in asd_map_scatterlist() 104 sg_arr[i].bus_addr = in asd_map_scatterlist() 129 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist() 429 scb->smp_task.smp_req.bus_addr = in asd_build_smp_ascb() 434 scb->smp_task.smp_resp.bus_addr = in asd_build_smp_ascb()
|
/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 275 dma->bus_addr = addr; in videobuf_dma_init_overlay() 294 if (dma->bus_addr) { in videobuf_dma_map() 298 sg_dma_address(&dma->sglist[0]) = dma->bus_addr in videobuf_dma_map() 300 dma->sglist[0].offset = dma->bus_addr & ~PAGE_MASK; in videobuf_dma_map() 308 if (!dma->bus_addr) { in videobuf_dma_map() 370 if (dma->bus_addr) in videobuf_dma_free() 371 dma->bus_addr = 0; in videobuf_dma_free()
|
/drivers/firmware/ |
D | raspberrypi.c | 94 dma_addr_t bus_addr; in rpi_firmware_property_list() local 102 &bus_addr, GFP_ATOMIC); in rpi_firmware_property_list() 115 ret = rpi_firmware_transaction(fw, MBOX_CHAN_PROPERTY, bus_addr); in rpi_firmware_property_list() 130 dma_free_coherent(fw->chan->mbox->dev, PAGE_ALIGN(size), buf, bus_addr); in rpi_firmware_property_list()
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 163 card->rx_chain.head->bus_addr, 0); in gelic_card_enable_rxdmac() 227 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_reset_chain() 289 for (descr = descr_in; descr && descr->bus_addr; descr = descr->next) { in gelic_card_free_chain() 290 dma_unmap_single(ctodev(card), descr->bus_addr, in gelic_card_free_chain() 292 descr->bus_addr = 0; in gelic_card_free_chain() 330 descr->bus_addr = cpu_to_be32(cpu_addr); in gelic_card_init_chain() 341 descr->next_descr_addr = cpu_to_be32(descr->next->bus_addr); in gelic_card_init_chain() 354 if (descr->bus_addr) in gelic_card_init_chain() 355 dma_unmap_single(ctodev(card), descr->bus_addr, in gelic_card_init_chain() 821 descr->bus_addr, 0); in gelic_card_kick_txdma() [all …]
|
D | spider_net.c | 283 descr->bus_addr = 0; in spider_net_free_chain() 328 descr->bus_addr = buf; in spider_net_init_chain() 448 card->rx_chain.tail->bus_addr); in spider_net_enable_rxchtails() 525 descr->prev->hwdescr->next_descr_addr = descr->bus_addr; in spider_net_alloc_rx_skbs() 701 descr->prev->hwdescr->next_descr_addr = descr->bus_addr; in spider_net_prepare_tx_descr() 862 descr->bus_addr); in spider_net_kick_tx_dma() 1023 if (curr_desc == descr->bus_addr) in show_rx_chain() 1027 if (next_desc == descr->bus_addr) in show_rx_chain() 1062 descr->bus_addr, hwd->buf_addr, hwd->buf_size); in show_rx_chain()
|
/drivers/of/ |
D | address.c | 852 range->bus_addr = of_read_number(parser->range + busflag_na, na - busflag_na); in of_pci_range_parser_one() 867 u64 bus_addr, cpu_addr, size; in of_pci_range_parser_one() local 870 bus_addr = of_read_number(parser->range + busflag_na, na - busflag_na); in of_pci_range_parser_one() 881 if (bus_addr != range->bus_addr + range->size || in of_pci_range_parser_one() 972 range.bus_addr, node); in of_dma_get_range() 997 range.bus_addr, range.cpu_addr, range.size); in of_dma_get_range() 1001 r->dma_start = range.bus_addr; in of_dma_get_range() 1003 r->offset = range.cpu_addr - range.bus_addr; in of_dma_get_range()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 111 resp.bar_bus_addr = bar->bus_addr; in usnic_ib_fill_create_qp_resp() 668 dma_addr_t bus_addr; in usnic_ib_mmap() local 693 bus_addr = bar->bus_addr; in usnic_ib_mmap() 696 &bus_addr, bar->vaddr, bar->len); in usnic_ib_mmap() 701 bus_addr >> PAGE_SHIFT, in usnic_ib_mmap()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_common.h | 163 ice_aq_sff_eeprom(struct ice_hw *hw, u16 lport, u8 bus_addr, 232 u16 bus_addr, __le16 addr, u8 params, u8 *data, 236 u16 bus_addr, __le16 addr, u8 params, const u8 *data,
|
/drivers/bus/ |
D | uniphier-system-bus.c | 201 upper_32_bits(range.bus_addr), in uniphier_system_bus_probe() 202 lower_32_bits(range.bus_addr), in uniphier_system_bus_probe()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_dev.h | 43 dma_addr_t bus_addr; member 68 dma_addr_t bus_addr; member
|
/drivers/net/wireless/ath/ath10k/ |
D | swap.h | 41 __le32 bus_addr[ATH10K_SWAP_CODE_SEG_NUM_MAX]; member
|
/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 255 resource_size_t *bus_addr, in ahd_linux_pci_reserve_mem_region() argument 273 *bus_addr = start; in ahd_linux_pci_reserve_mem_region()
|