/linux-master/drivers/bus/mhi/ep/ |
H A D | ring.c | 33 struct mhi_ep_buf_info buf_info = {}; local 47 buf_info.size = (end - start) * sizeof(struct mhi_ring_element); 48 buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element)); 49 buf_info.dev_addr = &ring->ring_cache[start]; 51 ret = mhi_cntrl->read_sync(mhi_cntrl, &buf_info); 55 buf_info.size = (ring->ring_size - start) * sizeof(struct mhi_ring_element); 56 buf_info.host_addr = ring->rbase + (start * sizeof(struct mhi_ring_element)); 57 buf_info.dev_addr = &ring->ring_cache[start]; 59 ret = mhi_cntrl->read_sync(mhi_cntrl, &buf_info); 64 buf_info 110 struct mhi_ep_buf_info buf_info = {}; local [all...] |
H A D | main.c | 337 static void mhi_ep_read_completion(struct mhi_ep_buf_info *buf_info) argument 339 struct mhi_ep_device *mhi_dev = buf_info->mhi_dev; 348 result.buf_addr = buf_info->cb_buf; 350 result.bytes_xferd = buf_info->size; 360 if (buf_info->code != MHI_EV_CC_OVERFLOW) { 398 kmem_cache_free(mhi_cntrl->tre_buf_cache, buf_info->cb_buf); 407 struct mhi_ep_buf_info buf_info = {}; local 445 buf_info.host_addr = mhi_chan->tre_loc + read_offset; 446 buf_info.dev_addr = buf_addr + write_offset; 447 buf_info 519 mhi_ep_skb_completion(struct mhi_ep_buf_info *buf_info) argument 554 struct mhi_ep_buf_info buf_info = {}; local [all...] |
/linux-master/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_txrx.c | 113 static void *ionic_rx_buf_va(struct ionic_buf_info *buf_info) argument 115 return page_address(buf_info->page) + buf_info->page_offset; 118 static dma_addr_t ionic_rx_buf_pa(struct ionic_buf_info *buf_info) argument 120 return buf_info->dma_addr + buf_info->page_offset; 123 static unsigned int ionic_rx_buf_size(struct ionic_buf_info *buf_info) argument 125 return min_t(u32, IONIC_MAX_BUF_LEN, IONIC_PAGE_SIZE - buf_info->page_offset); 129 struct ionic_buf_info *buf_info) 153 buf_info 128 ionic_rx_page_alloc(struct ionic_queue *q, struct ionic_buf_info *buf_info) argument 160 ionic_rx_page_free(struct ionic_queue *q, struct ionic_buf_info *buf_info) argument 179 ionic_rx_buf_recycle(struct ionic_queue *q, struct ionic_buf_info *buf_info, u32 len) argument 202 ionic_rx_add_skb_frag(struct ionic_queue *q, struct sk_buff *skb, struct ionic_buf_info *buf_info, u32 off, u32 len, bool synced) argument 231 struct ionic_buf_info *buf_info; local 281 struct ionic_buf_info *buf_info; local 317 struct ionic_buf_info *buf_info; local 353 struct ionic_buf_info *buf_info; local 483 ionic_run_xdp(struct ionic_rx_stats *stats, struct net_device *netdev, struct bpf_prog *xdp_prog, struct ionic_queue *rxq, struct ionic_buf_info *buf_info, int len) argument 778 struct ionic_buf_info *buf_info; local 878 struct ionic_buf_info *buf_info; local 1090 struct ionic_buf_info *buf_info = desc_info->bufs; local 1135 struct ionic_buf_info *buf_info = desc_info->bufs; local 1401 struct ionic_buf_info *buf_info; local 1528 struct ionic_buf_info *buf_info = desc_info->bufs; local 1567 struct ionic_buf_info *buf_info = desc_info->bufs; local 1602 struct ionic_buf_info *buf_info = &desc_info->bufs[1]; local [all...] |
/linux-master/drivers/pci/endpoint/functions/ |
H A D | pci-epf-mhi.c | 26 struct mhi_ep_buf_info buf_info; member in struct:pci_epf_mhi_dma_transfer 242 struct mhi_ep_buf_info *buf_info) 245 size_t offset = get_align_offset(epf_mhi, buf_info->host_addr); 252 ret = __pci_epf_mhi_alloc_map(mhi_cntrl, buf_info->host_addr, &tre_phys, 253 &tre_buf, offset, buf_info->size); 259 memcpy_fromio(buf_info->dev_addr, tre_buf, buf_info->size); 261 __pci_epf_mhi_unmap_free(mhi_cntrl, buf_info->host_addr, tre_phys, 262 tre_buf, offset, buf_info->size); 266 if (buf_info 241 pci_epf_mhi_iatu_read(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument 272 pci_epf_mhi_iatu_write(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument 308 pci_epf_mhi_edma_read(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument 379 pci_epf_mhi_edma_write(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument 455 struct mhi_ep_buf_info *buf_info; local 484 pci_epf_mhi_edma_read_async(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument 563 pci_epf_mhi_edma_write_async(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info) argument [all...] |
/linux-master/drivers/net/caif/ |
H A D | caif_virtio.c | 129 /* struct buf_info - maintains transmit buffer data handle 134 struct buf_info { struct 148 static void free_buf_info(struct cfv_info *cfv, struct buf_info *buf_info) argument 150 if (!buf_info) 152 gen_pool_free(cfv->genpool, (unsigned long) buf_info->vaddr, 153 buf_info->size); 154 kfree(buf_info); 169 struct buf_info *buf_info; local 458 struct buf_info *buf_info; local 484 struct buf_info *buf_info = NULL; local 525 struct buf_info *buf_info; local [all...] |
/linux-master/drivers/bus/mhi/host/ |
H A D | main.c | 185 struct mhi_buf_info *buf_info) 187 buf_info->p_addr = dma_map_single(mhi_cntrl->cntrl_dev, 188 buf_info->v_addr, buf_info->len, 189 buf_info->dir); 190 if (dma_mapping_error(mhi_cntrl->cntrl_dev, buf_info->p_addr)) 197 struct mhi_buf_info *buf_info) 199 void *buf = dma_alloc_coherent(mhi_cntrl->cntrl_dev, buf_info->len, 200 &buf_info->p_addr, GFP_ATOMIC); 205 if (buf_info 184 mhi_map_single_no_bb(struct mhi_controller *mhi_cntrl, struct mhi_buf_info *buf_info) argument 196 mhi_map_single_use_bb(struct mhi_controller *mhi_cntrl, struct mhi_buf_info *buf_info) argument 213 mhi_unmap_single_no_bb(struct mhi_controller *mhi_cntrl, struct mhi_buf_info *buf_info) argument 220 mhi_unmap_single_use_bb(struct mhi_controller *mhi_cntrl, struct mhi_buf_info *buf_info) argument 606 struct mhi_buf_info *buf_info; local 711 struct mhi_buf_info *buf_info; local 1120 mhi_queue(struct mhi_device *mhi_dev, struct mhi_buf_info *buf_info, enum dma_data_direction dir, enum mhi_flags mflags) argument 1171 struct mhi_buf_info buf_info = { }; local 1189 struct mhi_buf_info buf_info = { }; local 1208 struct mhi_buf_info *buf_info; local 1261 struct mhi_buf_info buf_info = { }; local 1593 struct mhi_buf_info *buf_info = buf_ring->rp; local [all...] |
H A D | internal.h | 413 struct mhi_buf_info *buf_info); 415 struct mhi_buf_info *buf_info); 417 struct mhi_buf_info *buf_info); 419 struct mhi_buf_info *buf_info);
|
/linux-master/include/linux/ |
H A D | mhi_ep.h | 69 void (*cb)(struct mhi_ep_buf_info *buf_info); 163 int (*read_sync)(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info); 164 int (*write_sync)(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info); 165 int (*read_async)(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info); 166 int (*write_async)(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_buf_info *buf_info);
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.c | 220 struct g2d_buf_info buf_info; member in struct:g2d_cmdlist_node 276 struct g2d_buf_info *buf_info; local 303 buf_info = &node[nr].buf_info; 305 buf_info->reg_types[i] = REG_TYPE_NONE; 687 struct g2d_buf_info *buf_info = &node->buf_info; local 692 for (i = 0; i < buf_info->map_nr; i++) { 710 buf_desc = &buf_info->descs[reg_type]; 712 if (buf_info 772 struct g2d_buf_info *buf_info = &node->buf_info; local 1033 struct g2d_buf_info *buf_info = &node->buf_info; local [all...] |
/linux-master/drivers/acpi/ |
H A D | pfr_update.c | 442 struct pfru_com_buf_info buf_info; local 449 ret = query_buffer(&buf_info, pfru_dev); 453 if (len > buf_info.buf_size) 461 phy_addr = (phys_addr_t)((buf_info.addr_hi << 32) | buf_info.addr_lo); 462 buf_ptr = memremap(phy_addr, buf_info.buf_size, MEMREMAP_WB);
|
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 367 BUG_ON(tq->buf_info[eop_idx].sop_idx != tq->tx_ring.next2comp); 370 tbi = &tq->buf_info[eop_idx]; 376 vmxnet3_unmap_tx_buf(tq->buf_info + tq->tx_ring.next2comp, 456 tbi = tq->buf_info + tq->tx_ring.next2comp; 475 BUG_ON(tq->buf_info[i].map_type != VMXNET3_MAP_NONE); 507 kfree(tq->buf_info); 508 tq->buf_info = NULL; 545 memset(tq->buf_info, 0, sizeof(tq->buf_info[0]) * tq->tx_ring.size); 547 tq->buf_info[ [all...] |
H A D | vmxnet3_int.h | 253 struct vmxnet3_tx_buf_info *buf_info; member in struct:vmxnet3_tx_queue 321 struct vmxnet3_rx_buf_info *buf_info[2]; member in struct:vmxnet3_rx_queue
|
H A D | vmxnet3_xdp.c | 133 tbi = tq->buf_info + tq->tx_ring.next2fill; 179 /* set the last buf_info for the pkt */
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 3269 struct bfad_buf_info *buf_base, *buf_info; local 3283 buf_info = buf_base; 3284 buf_info->size = payload_len; 3285 buf_info->virt = dma_alloc_coherent(&bfad->pcidev->dev, 3286 buf_info->size, &buf_info->phys, 3288 if (!buf_info->virt) 3291 /* copy the linear bsg buffer to buf_info */ 3292 memcpy(buf_info->virt, payload_kbuf, buf_info 3314 struct bfad_buf_info *buf_info = buf_base; local [all...] |
/linux-master/kernel/bpf/ |
H A D | verifier.c | 6036 const char *buf_info, 6043 regno, buf_info, off, size); 6081 const char *buf_info = type_is_rdonly_mem(reg->type) ? "rdonly" : "rdwr"; local 6084 err = __check_buffer_access(env, buf_info, reg, regno, off, size); 6035 __check_buffer_access(struct bpf_verifier_env *env, const char *buf_info, const struct bpf_reg_state *reg, int regno, int off, int size) argument
|