Home
last modified time | relevance | path

Searched refs:buf_addr (Results 1 – 25 of 153) sorted by relevance

1234567

/linux/include/uapi/rdma/
H A Dmlx4-abi.h80 __aligned_u64 buf_addr; member
90 __aligned_u64 buf_addr; member
94 __aligned_u64 buf_addr; member
113 __aligned_u64 buf_addr; member
123 __aligned_u64 buf_addr; member
H A Dhns-abi.h40 __aligned_u64 buf_addr; member
64 __aligned_u64 buf_addr; member
88 __aligned_u64 buf_addr; member
H A Dmlx5-abi.h289 __aligned_u64 buf_addr; member
306 __aligned_u64 buf_addr; member
313 __aligned_u64 buf_addr; member
332 __aligned_u64 buf_addr; member
418 __aligned_u64 buf_addr; member
H A Dvmw_pvrdma-abi.h154 __aligned_u64 buf_addr; member
165 __aligned_u64 buf_addr; member
171 __aligned_u64 buf_addr; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommonring.c32 u16 item_len, void *buf_addr) in brcmf_commonring_config() argument
36 commonring->buf_addr = buf_addr; in brcmf_commonring_config()
122 ret_ptr = commonring->buf_addr + in brcmf_commonring_reserve_for_write()
158 ret_ptr = commonring->buf_addr + in brcmf_commonring_reserve_for_write_multiple()
220 return commonring->buf_addr + in brcmf_commonring_get_read_ptr()
H A Dcommonring.h16 void *buf_addr; member
42 u16 item_len, void *buf_addr);
/linux/sound/isa/gus/
H A Dgus_dma.c24 unsigned long buf_addr, in snd_gf1_dma_program() argument
35 addr, buf_addr, count); in snd_gf1_dma_program()
67 …snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA… in snd_gf1_dma_program()
135 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_interrupt()
140 block->addr, block->buf_addr, block->count, block->cmd); in snd_gf1_dma_interrupt()
237 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_transfer_block()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.h288 static inline void *dpaa2_get_hwa(void *buf_addr, bool swa) in dpaa2_get_hwa() argument
290 return buf_addr + (swa ? DPAA2_ETH_SWA_SIZE : 0); in dpaa2_get_hwa()
293 static inline struct dpaa2_fas *dpaa2_get_fas(void *buf_addr, bool swa) in dpaa2_get_fas() argument
295 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAS_OFFSET; in dpaa2_get_fas()
298 static inline __le64 *dpaa2_get_ts(void *buf_addr, bool swa) in dpaa2_get_ts() argument
300 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_TS_OFFSET; in dpaa2_get_ts()
303 static inline struct dpaa2_fapr *dpaa2_get_fapr(void *buf_addr, bool swa) in dpaa2_get_fapr() argument
305 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAPR_OFFSET; in dpaa2_get_fapr()
308 static inline struct dpaa2_faead *dpaa2_get_faead(void *buf_addr, bool swa) in dpaa2_get_faead() argument
310 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAEAD_OFFSET; in dpaa2_get_faead()
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c249 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
292 pxmitframe->buf_addr = pxmitbuf->ptail; in xmit_xmitframes()
303 rtl8723b_update_txdesc(pxmitframe, pxmitframe->buf_addr); in xmit_xmitframes()
333 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
444 u8 *pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtl8723bs_mgnt_xmit()
450 rtl8723b_update_txdesc(pmgntframe, pmgntframe->buf_addr); in rtl8723bs_mgnt_xmit()
454 pxmitbuf->ptail = pmgntframe->buf_addr + pxmitbuf->len; in rtl8723bs_mgnt_xmit()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_mac.c47 checksum += i->buf_addr[0]; in ar9003_set_txdesc()
48 WRITE_ONCE(ads->data0, i->buf_addr[0]); in ar9003_set_txdesc()
49 checksum += i->buf_addr[1]; in ar9003_set_txdesc()
50 WRITE_ONCE(ads->data1, i->buf_addr[1]); in ar9003_set_txdesc()
51 checksum += i->buf_addr[2]; in ar9003_set_txdesc()
52 WRITE_ONCE(ads->data2, i->buf_addr[2]); in ar9003_set_txdesc()
53 checksum += i->buf_addr[3]; in ar9003_set_txdesc()
54 WRITE_ONCE(ads->data3, i->buf_addr[3]); in ar9003_set_txdesc()
482 void *buf_addr) in ath9k_hw_process_rxdesc_edma() argument
484 struct ar9003_rxs *rxsp = buf_addr; in ath9k_hw_process_rxdesc_edma()
/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c178 uint64_t buf_addr; in nx_touch_pages_dde() local
193 buf_addr = getp64(ddep, ddead); in nx_touch_pages_dde()
196 buf_len, (void *)buf_addr)); in nx_touch_pages_dde()
199 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
201 nxu_touch_pages((void *)buf_addr, NX_MIN(buf_len, in nx_touch_pages_dde()
220 buf_addr = get64(dde_list[i], ddead); in nx_touch_pages_dde()
224 buf_len, (void *)buf_addr)); in nx_touch_pages_dde()
230 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
233 NXPRT(fprintf(stderr, "ddead %p\n", (void *)buf_addr)); in nx_touch_pages_dde()
236 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
/linux/drivers/crypto/aspeed/
H A Daspeed-acry.c101 void *buf_addr; member
342 memzero_explicit(acry_dev->buf_addr, ASPEED_ACRY_BUFF_SIZE); in aspeed_acry_rsa_transfer()
359 memzero_explicit(acry_dev->buf_addr, ASPEED_ACRY_BUFF_SIZE); in aspeed_acry_rsa_trigger()
362 aspeed_acry_rsa_sg_copy_to_buffer(acry_dev, acry_dev->buf_addr, in aspeed_acry_rsa_trigger()
365 nm = aspeed_acry_rsa_ctx_copy(acry_dev, acry_dev->buf_addr, ctx->n, in aspeed_acry_rsa_trigger()
374 ne = aspeed_acry_rsa_ctx_copy(acry_dev, acry_dev->buf_addr, in aspeed_acry_rsa_trigger()
384 ne = aspeed_acry_rsa_ctx_copy(acry_dev, acry_dev->buf_addr, in aspeed_acry_rsa_trigger()
775 acry_dev->buf_addr = dmam_alloc_coherent(dev, ASPEED_ACRY_BUFF_SIZE, in aspeed_acry_probe()
778 if (!acry_dev->buf_addr) { in aspeed_acry_probe()
/linux/drivers/dma/
H A Dloongson1-apb-dma.c245 dma_addr_t buf_addr = sg_dma_address(sg); in ls1x_dma_prep_lli() local
249 if (!is_dma_copy_aligned(dchan->device, buf_addr, 0, buf_len)) { in ls1x_dma_prep_lli()
263 lli->hw[LS1X_DMADESC_SADDR] = buf_addr; in ls1x_dma_prep_lli()
318 ls1x_dma_prep_dma_cyclic(struct dma_chan *dchan, dma_addr_t buf_addr, in ls1x_dma_prep_dma_cyclic() argument
344 sg_set_page(&sgl[i], pfn_to_page(PFN_DOWN(buf_addr)), in ls1x_dma_prep_dma_cyclic()
345 period_len, offset_in_page(buf_addr)); in ls1x_dma_prep_dma_cyclic()
346 sg_dma_address(&sgl[i]) = buf_addr; in ls1x_dma_prep_dma_cyclic()
348 buf_addr += period_len; in ls1x_dma_prep_dma_cyclic()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_lan_txrx.h185 __le64 buf_addr; /* Address of descriptor's data buf */ member
223 __le64 buf_addr; /* Packet buffer address */ member
240 __le64 buf_addr; /* Packet buffer address */ member
/linux/drivers/media/spi/
H A Dgs1662.c135 u16 buf_addr = (0x8000 | (0x0FFF & addr)); in gs_read_register() local
140 .tx_buf = &buf_addr, in gs_read_register()
169 u16 buf_addr = addr; in gs_write_register() local
174 .tx_buf = &buf_addr, in gs_write_register()
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c237 u32 buf_addr; member
259 u32 buf_addr; member
283 u32 buf_addr; member
611 dma_addr_t buf_addr, size_t sg_used, in xilinx_axidma_buf() argument
615 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf()
616 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf()
619 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf()
625 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument
628 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
629 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
[all …]
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_pcm.c238 dma->buf_addr = substream->runtime->dma_addr; in snd_cs5535audio_hw_params()
319 if (curdma < dma->buf_addr) { in snd_cs5535audio_pcm_pointer()
321 curdma, dma->buf_addr); in snd_cs5535audio_pcm_pointer()
324 curdma -= dma->buf_addr; in snd_cs5535audio_pcm_pointer()
/linux/drivers/infiniband/hw/mlx4/
H A Dcq.c140 struct ib_umem **umem, u64 buf_addr, int cqe) in mlx4_ib_get_cq_umem() argument
147 *umem = ib_umem_get(&dev->ib_dev, buf_addr, cqe * cqe_size, in mlx4_ib_get_cq_umem()
184 void *buf_addr; in mlx4_ib_create_cq() local
213 buf_addr = (void *)(unsigned long)ucmd.buf_addr; in mlx4_ib_create_cq()
215 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
239 buf_addr = &cq->buf.buf; in mlx4_ib_create_cq()
252 buf_addr, !!udata); in mlx4_ib_create_cq()
332 ucmd.buf_addr, entries); in mlx4_alloc_resize_umem()
/linux/drivers/input/touchscreen/
H A Dmelfas_mip4.c844 static int mip4_bl_get_address(struct mip4_ts *ts, u16 *buf_addr) in mip4_bl_get_address() argument
873 *buf_addr = get_unaligned_le16(result); in mip4_bl_get_address()
875 "Bootloader buffer address %#04x\n", *buf_addr); in mip4_bl_get_address()
881 const u8 *data, int length, u16 buf_addr) in mip4_bl_program_page() argument
933 put_unaligned_be16(buf_addr + buf_offset, data_buf); in mip4_bl_program_page()
967 const u8 *data, int length, int buf_addr) in mip4_bl_verify_page() argument
1042 put_unaligned_be16(buf_addr + buf_offset, cmd); in mip4_bl_verify_page()
1084 u16 buf_addr; in mip4_flash_fw() local
1099 error = mip4_bl_get_address(ts, &buf_addr); in mip4_flash_fw()
1113 MIP4_BL_PAGE_SIZE, buf_addr); in mip4_flash_fw()
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_desc_dqo.h23 __le64 buf_addr; member
189 __le64 buf_addr; /* DMA address of the buffer */ member
/linux/net/qrtr/
H A Dmhi.c30 rc = qrtr_endpoint_post(&qdev->ep, mhi_res->buf_addr, in qcom_mhi_qrtr_dl_callback()
40 struct sk_buff *skb = mhi_res->buf_addr; in qcom_mhi_qrtr_ul_callback()
/linux/drivers/staging/most/dim2/
H A Dhal.c297 static void dim2_start_ctrl_async(u8 ch_addr, u8 idx, u32 buf_addr, in dim2_start_ctrl_async() argument
315 adt[idx + 2] = buf_addr; in dim2_start_ctrl_async()
320 static void dim2_start_isoc_sync(u8 ch_addr, u8 idx, u32 buf_addr, in dim2_start_isoc_sync() argument
336 adt[idx + 2] = buf_addr; in dim2_start_isoc_sync()
644 static bool channel_start(struct dim_channel *ch, u32 buf_addr, u16 buf_size) in channel_start() argument
675 dim2_start_isoc_sync(ch->addr, state->idx1, buf_addr, buf_size); in channel_start()
677 dim2_start_ctrl_async(ch->addr, state->idx1, buf_addr, in channel_start()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_queues.c310 desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1); in nicvf_init_rbdr()
322 u64 buf_addr, phys_addr; in nicvf_free_rbdr() local
339 buf_addr = desc->buf_addr; in nicvf_free_rbdr()
340 phys_addr = nicvf_iova_to_phys(nic, buf_addr); in nicvf_free_rbdr()
341 dma_unmap_page_attrs(&nic->pdev->dev, buf_addr, RCV_FRAG_LEN, in nicvf_free_rbdr()
350 buf_addr = desc->buf_addr; in nicvf_free_rbdr()
351 phys_addr = nicvf_iova_to_phys(nic, buf_addr); in nicvf_free_rbdr()
352 dma_unmap_page_attrs(&nic->pdev->dev, buf_addr, RCV_FRAG_LEN, in nicvf_free_rbdr()
422 desc->buf_addr = rbuf & ~(NICVF_RCV_BUF_ALIGN_BYTES - 1); in nicvf_refill_rbdr()
1639 u64 buf_addr, bool xdp) in nicvf_unmap_rcv_buffer() argument
[all …]
/linux/drivers/dma/stm32/
H A Dstm32-dma.c283 dma_addr_t buf_addr, in stm32_dma_get_max_width() argument
297 if (buf_addr & (max_width - 1)) in stm32_dma_get_max_width()
933 u32 buf_len, dma_addr_t buf_addr) in stm32_dma_set_xfer_param() argument
965 src_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
976 if (buf_addr & (buf_len - 1)) in stm32_dma_set_xfer_param()
1021 dst_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
1032 if (buf_addr & (buf_len - 1)) in stm32_dma_set_xfer_param()
1156 struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, in stm32_dma_prep_dma_cyclic() argument
1193 buf_addr); in stm32_dma_prep_dma_cyclic()
1228 desc->sg_req[i].chan_reg.dma_sm0ar = buf_addr; in stm32_dma_prep_dma_cyclic()
[all …]
/linux/drivers/net/ethernet/packetengines/
H A Dhamachi.c1424 u8 *buf_addr; in hamachi_rx() local
1432 buf_addr = (u8 *) hmp->rx_skbuff[entry]->data; in hamachi_rx()
1433 frame_status = get_unaligned_le32(&(buf_addr[data_size - 12])); in hamachi_rx()
1471 u32 pfck = *(u32 *) &buf_addr[data_size - 8]; in hamachi_rx()
1483 *(s32*)&(buf_addr[data_size - 20]), in hamachi_rx()
1484 *(s32*)&(buf_addr[data_size - 16]), in hamachi_rx()
1485 *(s32*)&(buf_addr[data_size - 12]), in hamachi_rx()
1486 *(s32*)&(buf_addr[data_size - 8]), in hamachi_rx()
1487 *(s32*)&(buf_addr[data_size - 4])); in hamachi_rx()
1537 u32 inv = *(u32 *) &buf_addr[data_size - 16]; in hamachi_rx()
[all …]

1234567