Home
last modified time | relevance | path

Searched refs:buf_id (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/tee/amdtee/
H A Dcall.c48 u32 buf_id = (u32)tee[i].u.memref.shm->sec_world_id; in tee_params_to_amd_params() local
50 amd->params[i].mref.buf_id = buf_id; in tee_params_to_amd_params()
55 i, amd->params[i].mref.buf_id, in tee_params_to_amd_params()
99 * It is assumed that buf_id remains unchanged for in amd_params_to_tee_params()
107 i, amd->params[i].mref.buf_id, in amd_params_to_tee_params()
225 void handle_unmap_shmem(u32 buf_id) in handle_unmap_shmem() argument
231 cmd.buf_id = buf_id; in handle_unmap_shmem()
236 pr_debug("unmap shared memory: buf_id in handle_unmap_shmem()
286 handle_map_shmem(u32 count,struct shmem_desc * start,u32 * buf_id) handle_map_shmem() argument
[all...]
H A Dcore.c327 u32 buf_id; in amdtee_close_session()
340 rc = handle_map_shmem(count, &shmem, &buf_id); in amdtee_close_session()
346 shm->sec_world_id = buf_id; in amdtee_map_shmem()
348 pr_debug("buf_id :[%x] kaddr[%p]\n", buf_id, shm->kaddr); in amdtee_map_shmem()
355 u32 buf_id; in amdtee_map_shmem()
360 buf_id = (u32)shm->sec_world_id; in amdtee_map_shmem()
361 handle_unmap_shmem(buf_id); in amdtee_map_shmem()
159 u32 buf_id = 0; get_buffer_id() local
349 u32 buf_id; amdtee_map_shmem() local
389 u32 buf_id; amdtee_unmap_shmem() local
H A Damdtee_if.h29 u32 buf_id; member
107 u32 buf_id; member
116 u32 buf_id; member
H A Damdtee_private.h147 int handle_map_shmem(u32 count, struct shmem_desc *start, u32 *buf_id);
149 void handle_unmap_shmem(u32 buf_id);
94 u32 buf_id; global() member
/linux/drivers/net/wireless/ath/ath11k/
H A Ddbring.c49 int buf_id; in ath11k_dbring_bufs_replenish() local
69 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, GFP_ATOMIC); in ath11k_dbring_bufs_replenish()
71 if (buf_id < 0) { in ath11k_dbring_bufs_replenish()
83 ath11k_cfr_lut_update_paddr(ar, paddr, buf_id); in ath11k_dbring_bufs_replenish()
88 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dbring_bufs_replenish()
99 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish()
294 int buf_id; in ath11k_dbring_buffer_release_event() local
363 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie); in ath11k_dbring_buffer_release_event()
366 buff = idr_find(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
371 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event()
[all …]
H A Ddp_rx.c354 int buf_id; in ath11k_dp_rxbufs_replenish() local
393 buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 1, in ath11k_dp_rxbufs_replenish()
396 if (buf_id <= 0) in ath11k_dp_rxbufs_replenish()
406 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dp_rxbufs_replenish()
421 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxbufs_replenish()
440 int buf_id; in ath11k_dp_rxdma_buf_ring_free() local
443 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath11k_dp_rxdma_buf_ring_free()
444 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxdma_buf_ring_free()
2664 int buf_id, mac_id; in ath11k_dp_process_rx()
2686 buf_id in ath11k_dp_process_rx()
2636 int buf_id, mac_id; ath11k_dp_process_rx() local
2837 ath11k_dp_rx_alloc_mon_status_buf(struct ath11k_base * ab,struct dp_rxdma_ring * rx_ring,int * buf_id) ath11k_dp_rx_alloc_mon_status_buf() argument
2889 int buf_id; ath11k_dp_rx_mon_status_bufs_replenish() local
2991 int buf_id; ath11k_dp_rx_mon_buf_done() local
3036 int buf_id, srng_id; ath11k_dp_rx_reap_mon_status_ring() local
3389 int ret, buf_id; ath11k_dp_rx_h_defrag_reo_reinject() local
3699 ath11k_dp_process_rx_err_buf(struct ath11k * ar,u32 * ring_desc,int buf_id,bool drop) ath11k_dp_process_rx_err_buf() argument
3782 int buf_id, mac_id; ath11k_dp_process_rx_err() local
4091 int buf_id, mac_id; ath11k_dp_rx_process_wbm_err() local
4218 int buf_id; ath11k_dp_process_rxdma_err() local
4662 int buf_id; ath11k_dp_rx_mon_mpdu_pop() local
5299 int buf_id, i = 0; ath11k_dp_rx_full_mon_mpdu_pop() local
[all...]
H A Dcfr.c185 u32 buf_id, tones, length; in ath11k_cfr_process_data() local
191 buf_id = param->buf_id; in ath11k_cfr_process_data()
217 lut = &cfr->lut[buf_id]; in ath11k_cfr_process_data()
860 u32 buf_id) in ath11k_cfr_lut_update_paddr() argument
865 cfr->lut[buf_id].dbr_address = paddr; in ath11k_cfr_lut_update_paddr()
H A Dmac.h165 int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);
H A Dwmi.c653 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument
680 cmd->desc_id = buf_id; in ath11k_wmi_mgmt_send()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c607 static void gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_buf_seq() argument
612 u32 mask = 0x00000001 << buf_id; in gsc_src_set_buf_seq()
619 cfg |= masked << buf_id; in gsc_src_set_buf_seq()
625 static void gsc_src_set_addr(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_addr() argument
629 gsc_write(buf->dma_addr[0], GSC_IN_BASE_ADDR_Y(buf_id)); in gsc_src_set_addr()
630 gsc_write(buf->dma_addr[1], GSC_IN_BASE_ADDR_CB(buf_id)); in gsc_src_set_addr()
631 gsc_write(buf->dma_addr[2], GSC_IN_BASE_ADDR_CR(buf_id)); in gsc_src_set_addr()
633 gsc_src_set_buf_seq(ctx, buf_id, true); in gsc_src_set_addr()
924 static void gsc_dst_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_dst_set_buf_seq() argument
929 u32 mask = 0x00000001 << buf_id; in gsc_dst_set_buf_seq()
[all …]
H A Dexynos_drm_fimc.c261 int frame_cnt, buf_id; in fimc_get_buf_id() local
278 buf_id = frame_cnt - 1; in fimc_get_buf_id()
279 DRM_DEV_DEBUG_KMS(ctx->dev, "buf_id[%d]\n", buf_id); in fimc_get_buf_id()
281 return buf_id; in fimc_get_buf_id()
904 static void fimc_dst_set_buf_seq(struct fimc_context *ctx, u32 buf_id, in fimc_dst_set_buf_seq() argument
911 DRM_DEV_DEBUG_KMS(ctx->dev, "buf_id[%d]enqueue[%d]\n", buf_id, enqueue); in fimc_dst_set_buf_seq()
918 cfg |= (1 << buf_id); in fimc_dst_set_buf_seq()
920 cfg &= ~(1 << buf_id); in fimc_dst_set_buf_seq()
949 int buf_id; in fimc_irq_handler() local
960 buf_id = fimc_get_buf_id(ctx); in fimc_irq_handler()
[all …]
/linux/drivers/net/wireless/st/cw1200/
H A Dhwio.c22 #define SDIO_ADDR17BIT(buf_id, mpf, rfu, reg_id_ofs) \ argument
23 ((((buf_id) & 0x1F) << 7) \
31 void *buf, size_t buf_len, int buf_id) in __cw1200_reg_read() argument
44 sdio_reg_addr_17bit = SDIO_ADDR17BIT(buf_id, 0, 0, addr_sdio); in __cw1200_reg_read()
52 const void *buf, size_t buf_len, int buf_id) in __cw1200_reg_write() argument
59 sdio_reg_addr_17bit = SDIO_ADDR17BIT(buf_id, 0, 0, addr_sdio); in __cw1200_reg_write()
/linux/drivers/net/ethernet/intel/idpf/
H A Dxsk.c350 desc->qword0.buf_id = cpu_to_le16(i); in idpf_xskfqe_init()
437 u32 buf_id; member
453 ntc = set->bufqs[i].buf_id; in idpf_xskfq_refill_set()
491 u32 bufq_id, buf_id; in idpf_xskrq_poll() local
509 buf_id = idpf_xdp_rx_buf(&desc); in idpf_xskrq_poll()
511 set.bufqs[bufq_id].buf_id = buf_id; in idpf_xskrq_poll()
514 xdp = libeth_xsk_process_buff(xdp, bufq->xsk_buf[buf_id], in idpf_xskrq_poll()
H A Didpf_txrx.c578 * @buf_id: buffer id to post
580 static void idpf_post_buf_refill(struct idpf_sw_queue *refillq, u16 buf_id) in idpf_post_buf_refill() argument
586 FIELD_PREP(IDPF_RFL_BI_BUFID_M, buf_id) | in idpf_post_buf_refill()
601 * @buf_id: buffer id to post
605 static bool idpf_rx_post_buf_desc(struct idpf_buf_queue *bufq, u16 buf_id) in idpf_rx_post_buf_desc() argument
621 addr = libeth_rx_alloc(&fq, buf_id); in idpf_rx_post_buf_desc()
632 addr = libeth_rx_alloc(&fq, buf_id); in idpf_rx_post_buf_desc()
637 splitq_rx_desc->qword0.buf_id = cpu_to_le16(buf_id); in idpf_rx_post_buf_desc()
2120 * @buf_id
2127 idpf_tx_clean_bufs(struct idpf_tx_queue * txq,u32 buf_id,struct libeth_sq_napi_stats * cleaned,int budget) idpf_tx_clean_bufs() argument
2569 idpf_tx_get_free_buf_id(struct idpf_sw_queue * refillq,u32 * buf_id) idpf_tx_get_free_buf_id() argument
3031 u32 buf_id; idpf_tx_splitq_frame() local
3546 u16 gen_id, buf_id = 0; idpf_rx_splitq_clean() local
3656 idpf_rx_update_bufq_desc(struct idpf_buf_queue * bufq,u32 buf_id,struct virtchnl2_splitq_rx_buf_desc * buf_desc) idpf_rx_update_bufq_desc() argument
3709 u32 buf_id, refill_desc = refillq->ring[ntc]; idpf_rx_clean_refillq() local
[all...]
H A Dvirtchnl2_lan_desc.h232 __le16 buf_id; member
422 __le16 buf_id; member
/linux/drivers/net/ethernet/google/gve/
H A Dgve_desc_dqo.h186 __le16 buf_id; /* ID returned in Rx completion descriptor */ member
241 __le16 buf_id; /* Buffer ID which was sent on the buffer queue. */ member
/linux/drivers/media/pci/tw5864/
H A Dtw5864.h115 u32 buf_id; member
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-isys.h488 u64 buf_id; member
/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-pri.h269 __le16 buf_id; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c5210 u8 buf_id; in qed_dbg_set_bin_ptr() local
5213 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_set_bin_ptr()
5215 buf_id, in qed_dbg_set_bin_ptr()
5216 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_set_bin_ptr()
5217 buf_hdrs[buf_id].length); in qed_dbg_set_bin_ptr()
7522 u8 buf_id; in qed_dbg_user_set_bin_ptr() local
7525 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_user_set_bin_ptr()
7527 (enum bin_dbg_buffer_type)buf_id, in qed_dbg_user_set_bin_ptr()
7528 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_user_set_bin_ptr()
7529 buf_hdrs[buf_id].length); in qed_dbg_user_set_bin_ptr()
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c180 int buf_id; in ath12k_dp_rxdma_mon_buf_ring_free()
183 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath12k_dp_rxdma_mon_buf_ring_free()
184 idr_remove(&rx_ring->bufs_idr, buf_id); in ath12k_dp_rxdma_mon_buf_ring_free()
175 int buf_id; ath12k_dp_rxdma_mon_buf_ring_free() local
H A Dmac.c9106 static void ath12k_mac_tx_mgmt_free(struct ath12k *ar, int buf_id) in ath12k_mac_mgmt_tx_wmi()
9112 msdu = idr_remove(&ar->txmgmt_idr, buf_id); in ath12k_mac_mgmt_tx_wmi()
9127 int ath12k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx) in ath12k_mac_mgmt_action_frame_fill_elem_data()
9131 ath12k_mac_tx_mgmt_free(ar, buf_id); in ath12k_mac_mgmt_action_frame_fill_elem_data()
9136 static int ath12k_mac_vif_txmgmt_idr_remove(int buf_id, void *skb, void *ctx) in ath12k_mac_mgmt_action_frame_fill_elem_data()
9143 ath12k_mac_tx_mgmt_free(ar, buf_id); in ath12k_mac_mgmt_action_frame_fill_elem_data()
9158 int buf_id; in ath12k_mac_mgmt_action_frame_fill_elem_data()
9165 buf_id = idr_alloc(&ar->txmgmt_idr, skb, 0, in ath12k_mac_mgmt_action_frame_fill_elem_data()
9168 if (buf_id < 0) in ath12k_mac_mgmt_action_frame_fill_elem_data()
9193 ret = ath12k_wmi_mgmt_send(arvif, buf_id, sk in ath12k_mac_mgmt_action_frame_fill_elem_data()
9012 ath12k_mac_tx_mgmt_free(struct ath12k * ar,int buf_id) ath12k_mac_tx_mgmt_free() argument
9033 ath12k_mac_tx_mgmt_pending_free(int buf_id,void * skb,void * ctx) ath12k_mac_tx_mgmt_pending_free() argument
9042 ath12k_mac_vif_txmgmt_idr_remove(int buf_id,void * skb,void * ctx) ath12k_mac_vif_txmgmt_idr_remove() argument
9064 int buf_id; ath12k_mac_mgmt_tx_wmi() local
[all...]
/linux/drivers/misc/mei/
H A Dclient.c2244 static int mei_cl_dma_alloc(struct mei_cl *cl, u8 buf_id, size_t size) in mei_cl_dma_alloc() argument
2251 cl->dma.buffer_id = buf_id; in mei_cl_dma_alloc()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c1700 struct vmw_resource *res, uint32_t *buf_id, in vmw_cmd_res_switch_backup() argument
1711 ret = vmw_translate_mob_ptr(dev_priv, sw_context, buf_id, &vbo); in vmw_cmd_res_switch_backup()
1740 *converter, uint32_t *res_id, uint32_t *buf_id, in vmw_cmd_switch_backup() argument
1751 return vmw_cmd_res_switch_backup(dev_priv, sw_context, res, buf_id, in vmw_cmd_switch_backup()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-capture.c419 int buf_id = (vid_cap->reqbufs_count == 1) ? -1 : in buffer_queue() local
422 fimc_hw_set_output_addr(fimc, &buf->addr, buf_id); in buffer_queue()

12