Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h268 static inline void *dpaa2_get_hwa(void *buf_addr, bool swa) in dpaa2_get_hwa() argument
270 return buf_addr + (swa ? DPAA2_ETH_SWA_SIZE : 0); in dpaa2_get_hwa()
273 static inline struct dpaa2_fas *dpaa2_get_fas(void *buf_addr, bool swa) in dpaa2_get_fas() argument
275 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAS_OFFSET; in dpaa2_get_fas()
278 static inline __le64 *dpaa2_get_ts(void *buf_addr, bool swa) in dpaa2_get_ts() argument
280 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_TS_OFFSET; in dpaa2_get_ts()
283 static inline struct dpaa2_fapr *dpaa2_get_fapr(void *buf_addr, bool swa) in dpaa2_get_fapr() argument
285 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAPR_OFFSET; in dpaa2_get_fapr()
288 static inline struct dpaa2_faead *dpaa2_get_faead(void *buf_addr, bool swa) in dpaa2_get_faead() argument
290 return dpaa2_get_hwa(buf_addr, swa) + DPAA2_FAEAD_OFFSET; in dpaa2_get_faead()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c319 mem_addr = pxmitframe->buf_addr; in rtw_dump_xframe()
337 pxmitframe->buf_addr = mem_addr; in rtw_dump_xframe()
425 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete()
500 pxmitframe->buf_addr = pxmitbuf->pbuf + pbuf; in rtl8188eu_xmitframe_complete()
507 update_txdesc(pxmitframe, pxmitframe->buf_addr, pxmitframe->attrib.last_txcmdsz, true); in rtl8188eu_xmitframe_complete()
543 pfirstframe->buf_addr += PACKET_OFFSET_SZ; in rtl8188eu_xmitframe_complete()
547 update_txdesc(pfirstframe, pfirstframe->buf_addr, pfirstframe->attrib.last_txcmdsz, true); in rtl8188eu_xmitframe_complete()
603 pxmitframe->buf_addr = pxmitbuf->pbuf; in pre_xmitframe()
/linux-6.1.9/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-6.1.9/drivers/dma/xilinx/
Dxilinx_dma.c232 u32 buf_addr; member
254 u32 buf_addr; member
278 u32 buf_addr; member
602 dma_addr_t buf_addr, size_t sg_used, in xilinx_axidma_buf() argument
606 hw->buf_addr = lower_32_bits(buf_addr + sg_used + period_len); in xilinx_axidma_buf()
607 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used + in xilinx_axidma_buf()
610 hw->buf_addr = buf_addr + sg_used + period_len; in xilinx_axidma_buf()
616 dma_addr_t buf_addr, size_t sg_used) in xilinx_aximcdma_buf() argument
619 hw->buf_addr = lower_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
620 hw->buf_addr_msb = upper_32_bits(buf_addr + sg_used); in xilinx_aximcdma_buf()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/sound/pci/cs5535audio/
Dcs5535audio_pcm.c240 dma->buf_addr = substream->runtime->dma_addr; in snd_cs5535audio_hw_params()
321 if (curdma < dma->buf_addr) { in snd_cs5535audio_pcm_pointer()
323 curdma, dma->buf_addr); in snd_cs5535audio_pcm_pointer()
326 curdma -= dma->buf_addr; in snd_cs5535audio_pcm_pointer()
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/google/gve/
Dgve_desc_dqo.h23 __le64 buf_addr; member
184 __le64 buf_addr; /* DMA address of the buffer */ member
/linux-6.1.9/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-6.1.9/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()
645 static bool channel_start(struct dim_channel *ch, u32 buf_addr, u16 buf_size) in channel_start() argument
676 dim2_start_isoc_sync(ch->addr, state->idx1, buf_addr, buf_size); in channel_start()
678 dim2_start_ctrl_async(ch->addr, state->idx1, buf_addr, in channel_start()
/linux-6.1.9/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-6.1.9/drivers/staging/r8188eu/core/
Drtw_iol.c25 xmit_frame->buf_addr = xmitbuf->pbuf; in rtw_IOL_accquire_xmit_frame()
51 memcpy(xmit_frame->buf_addr + buf_offset + pattrib->pktlen, IOL_cmds, cmd_len); in rtw_IOL_append_cmds()
/linux-6.1.9/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()
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()
1227 desc->sg_req[i].chan_reg.dma_sm0ar = buf_addr; in stm32_dma_prep_dma_cyclic()
[all …]
/linux-6.1.9/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 …]

1234567