Home
last modified time | relevance | path

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

1234567

/Linux-v6.6/include/uapi/rdma/
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
Dhns-abi.h40 __aligned_u64 buf_addr; member
56 __aligned_u64 buf_addr; member
67 __aligned_u64 buf_addr; member
Dmlx5-abi.h287 __aligned_u64 buf_addr; member
304 __aligned_u64 buf_addr; member
311 __aligned_u64 buf_addr; member
330 __aligned_u64 buf_addr; member
416 __aligned_u64 buf_addr; member
Dvmw_pvrdma-abi.h154 __aligned_u64 buf_addr; member
165 __aligned_u64 buf_addr; member
171 __aligned_u64 buf_addr; member
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
Dcommonring.h16 void *buf_addr; member
42 u16 item_len, void *buf_addr);
/Linux-v6.6/sound/isa/gus/
Dgus_dma.c24 unsigned long buf_addr, in snd_gf1_dma_program() argument
34 addr, buf_addr, count); in snd_gf1_dma_program()
64 …snd_dma_program(gus->gf1.dma1, buf_addr, count, dma_cmd & SNDRV_GF1_DMA_READ ? DMA_MODE_READ : DMA… in snd_gf1_dma_program()
131 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_interrupt()
136 block->addr, block->buf_addr, block->count, block->cmd); in snd_gf1_dma_interrupt()
230 snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd); in snd_gf1_dma_transfer_block()
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
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-v6.6/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c250 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
293 pxmitframe->buf_addr = pxmitbuf->ptail; in xmit_xmitframes()
304 rtl8723b_update_txdesc(pxmitframe, pxmitframe->buf_addr); in xmit_xmitframes()
334 rtl8723b_update_txdesc(pframe, pframe->buf_addr); in xmit_xmitframes()
445 u8 *pframe = (u8 *)(pmgntframe->buf_addr) + TXDESC_OFFSET; in rtl8723bs_mgnt_xmit()
451 rtl8723b_update_txdesc(pmgntframe, pmgntframe->buf_addr); in rtl8723bs_mgnt_xmit()
455 pxmitbuf->ptail = pmgntframe->buf_addr + pxmitbuf->len; in rtl8723bs_mgnt_xmit()
/Linux-v6.6/tools/testing/selftests/powerpc/nx-gzip/
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-v6.6/drivers/net/wireless/ath/ath9k/
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-v6.6/drivers/crypto/aspeed/
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-v6.6/drivers/net/ethernet/cirrus/
Dep93xx_eth.c86 u32 buf_addr; member
119 u32 buf_addr; member
284 dma_sync_single_for_cpu(dev->dev.parent, rxd->buf_addr, in ep93xx_rx()
288 rxd->buf_addr, length, in ep93xx_rx()
348 dma_sync_single_for_cpu(dev->dev.parent, txd->buf_addr, skb->len, in ep93xx_xmit()
351 dma_sync_single_for_device(dev->dev.parent, txd->buf_addr, skb->len, in ep93xx_xmit()
455 d = ep->descs->rdesc[i].buf_addr; in ep93xx_free_buffers()
465 d = ep->descs->tdesc[i].buf_addr; in ep93xx_free_buffers()
502 ep->descs->rdesc[i].buf_addr = d; in ep93xx_alloc_buffers()
521 ep->descs->tdesc[i].buf_addr = d; in ep93xx_alloc_buffers()
/Linux-v6.6/drivers/media/spi/
Dgs1662.c143 u16 buf_addr = (0x8000 | (0x0FFF & addr)); in gs_read_register() local
148 .tx_buf = &buf_addr, in gs_read_register()
177 u16 buf_addr = addr; in gs_write_register() local
182 .tx_buf = &buf_addr, in gs_write_register()
/Linux-v6.6/drivers/dma/xilinx/
Dxilinx_dma.c235 u32 buf_addr; member
257 u32 buf_addr; member
281 u32 buf_addr; member
609 dma_addr_t buf_addr, size_t sg_used, in xilinx_axidma_buf() argument
613 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf()
614 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf()
617 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf()
623 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument
626 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
627 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
[all …]
/Linux-v6.6/net/qrtr/
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-v6.6/sound/pci/cs5535audio/
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-v6.6/drivers/infiniband/hw/mlx4/
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()
183 void *buf_addr; in mlx4_ib_create_cq() local
212 buf_addr = (void *)(unsigned long)ucmd.buf_addr; in mlx4_ib_create_cq()
214 ucmd.buf_addr, entries); in mlx4_ib_create_cq()
238 buf_addr = &cq->buf.buf; in mlx4_ib_create_cq()
251 buf_addr, !!udata); in mlx4_ib_create_cq()
331 ucmd.buf_addr, entries); in mlx4_alloc_resize_umem()
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_desc_dqo.h23 __le64 buf_addr; member
189 __le64 buf_addr; /* DMA address of the buffer */ member
/Linux-v6.6/drivers/input/touchscreen/
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-v6.6/drivers/staging/most/dim2/
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-v6.6/drivers/net/ethernet/cavium/thunder/
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-v6.6/drivers/dma/
Dstm32-dma.c284 dma_addr_t buf_addr, in stm32_dma_get_max_width() argument
298 if (buf_addr & (max_width - 1)) in stm32_dma_get_max_width()
934 u32 buf_len, dma_addr_t buf_addr) in stm32_dma_set_xfer_param() argument
966 src_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
977 if (buf_addr & (buf_len - 1)) in stm32_dma_set_xfer_param()
1022 dst_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
1033 if (buf_addr & (buf_len - 1)) in stm32_dma_set_xfer_param()
1158 struct dma_chan *c, dma_addr_t buf_addr, size_t buf_len, in stm32_dma_prep_dma_cyclic() argument
1195 buf_addr); in stm32_dma_prep_dma_cyclic()
1229 desc->sg_req[i].chan_reg.dma_sm0ar = buf_addr; in stm32_dma_prep_dma_cyclic()
[all …]
/Linux-v6.6/drivers/net/ethernet/packetengines/
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 …]
/Linux-v6.6/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_log.c390 src_data = log->buf_addr; in _guc_log_copy_debuglogs_for_relay()
492 if (!log->vma || !log->buf_addr) in guc_log_relay_map()
643 log->buf_addr = vaddr; in intel_guc_log_create()
660 log->buf_addr = NULL; in intel_guc_log_destroy()
706 return log->buf_addr; in intel_guc_log_relay_created()

1234567