/Linux-v6.6/drivers/tee/amdtee/ |
D | call.c | 48 u32 buf_id = get_buffer_id(tee[i].u.memref.shm); 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() 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() 237 buf_id, status); in handle_unmap_shmem() 286 int handle_map_shmem(u32 count, struct shmem_desc *start, u32 *buf_id) in handle_map_shmem() argument 293 if (!count || !start || !buf_id) in handle_map_shmem() 333 *buf_id = 0; in handle_map_shmem() [all …]
|
D | core.c | 157 u32 buf_id = 0; in get_buffer_id() local 162 buf_id = shmdata->buf_id; in get_buffer_id() 167 return buf_id; in get_buffer_id() 347 u32 buf_id; in amdtee_map_shmem() local 364 rc = handle_map_shmem(count, &shmem, &buf_id); in amdtee_map_shmem() 372 shmnode->buf_id = buf_id; in amdtee_map_shmem() 378 pr_debug("buf_id :[%x] kaddr[%p]\n", shmnode->buf_id, shmnode->kaddr); in amdtee_map_shmem() 387 u32 buf_id; in amdtee_unmap_shmem() local 392 buf_id = get_buffer_id(shm); in amdtee_unmap_shmem() 394 handle_unmap_shmem(buf_id); in amdtee_unmap_shmem() [all …]
|
D | amdtee_if.h | 29 u32 buf_id; member 107 u32 buf_id; member 116 u32 buf_id; member
|
D | amdtee_private.h | 94 u32 buf_id; member 162 int handle_map_shmem(u32 count, struct shmem_desc *start, u32 *buf_id); 164 void handle_unmap_shmem(u32 buf_id);
|
/Linux-v6.6/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 606 static void gsc_src_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_buf_seq() argument 611 u32 mask = 0x00000001 << buf_id; in gsc_src_set_buf_seq() 618 cfg |= masked << buf_id; in gsc_src_set_buf_seq() 624 static void gsc_src_set_addr(struct gsc_context *ctx, u32 buf_id, in gsc_src_set_addr() argument 628 gsc_write(buf->dma_addr[0], GSC_IN_BASE_ADDR_Y(buf_id)); in gsc_src_set_addr() 629 gsc_write(buf->dma_addr[1], GSC_IN_BASE_ADDR_CB(buf_id)); in gsc_src_set_addr() 630 gsc_write(buf->dma_addr[2], GSC_IN_BASE_ADDR_CR(buf_id)); in gsc_src_set_addr() 632 gsc_src_set_buf_seq(ctx, buf_id, true); in gsc_src_set_addr() 923 static void gsc_dst_set_buf_seq(struct gsc_context *ctx, u32 buf_id, in gsc_dst_set_buf_seq() argument 928 u32 mask = 0x00000001 << buf_id; in gsc_dst_set_buf_seq() [all …]
|
D | exynos_drm_fimc.c | 261 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]enqueu[%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-v6.6/drivers/net/wireless/ath/ath12k/ |
D | dbring.c | 20 int buf_id; in ath12k_dbring_bufs_replenish() local 39 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, gfp); in ath12k_dbring_bufs_replenish() 41 if (buf_id < 0) { in ath12k_dbring_bufs_replenish() 55 u32_encode_bits(buf_id, DP_RXDMA_BUF_COOKIE_BUF_ID); in ath12k_dbring_bufs_replenish() 65 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_bufs_replenish() 243 int buf_id; in ath12k_dbring_buffer_release_event() local 302 buf_id = u32_get_bits(cookie, DP_RXDMA_BUF_COOKIE_BUF_ID); in ath12k_dbring_buffer_release_event() 305 buff = idr_find(&ring->bufs_idr, buf_id); in ath12k_dbring_buffer_release_event() 310 idr_remove(&ring->bufs_idr, buf_id); in ath12k_dbring_buffer_release_event() 345 int buf_id; in ath12k_dbring_buf_cleanup() local [all …]
|
D | dp_mon.c | 805 int buf_id = u32_get_bits(packet_info->cookie, in ath12k_dp_mon_rx_parse_status_tlv() local 812 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_parse_status_tlv() 817 buf_id); in ath12k_dp_mon_rx_parse_status_tlv() 1272 int buf_id; in ath12k_dp_mon_buf_replenish() local 1297 buf_id = idr_alloc(&buf_ring->bufs_idr, skb, 0, in ath12k_dp_mon_buf_replenish() 1301 if (unlikely(buf_id < 0)) in ath12k_dp_mon_buf_replenish() 1310 cookie = u32_encode_bits(buf_id, DP_RXDMA_BUF_COOKIE_BUF_ID); in ath12k_dp_mon_buf_replenish() 1325 idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_buf_replenish() 1910 int buf_id = u32_get_bits(packet_info->cookie, in ath12k_dp_mon_tx_parse_status_tlv() local 1917 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_tx_parse_status_tlv() [all …]
|
D | mac.h | 72 int ath12k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);
|
/Linux-v6.6/drivers/net/wireless/ath/ath11k/ |
D | dbring.c | 48 int buf_id; in ath11k_dbring_bufs_replenish() local 68 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, GFP_ATOMIC); in ath11k_dbring_bufs_replenish() 70 if (buf_id < 0) { in ath11k_dbring_bufs_replenish() 84 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dbring_bufs_replenish() 95 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish() 278 int buf_id; in ath11k_dbring_buffer_release_event() local 339 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie); in ath11k_dbring_buffer_release_event() 342 buff = idr_find(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event() 347 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event() 386 int buf_id; in ath11k_dbring_buf_cleanup() local [all …]
|
D | dp_rx.c | 353 int buf_id; in ath11k_dp_rxbufs_replenish() local 392 buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 1, in ath11k_dp_rxbufs_replenish() 395 if (buf_id <= 0) in ath11k_dp_rxbufs_replenish() 405 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dp_rxbufs_replenish() 420 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxbufs_replenish() 439 int buf_id; in ath11k_dp_rxdma_buf_ring_free() local 442 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath11k_dp_rxdma_buf_ring_free() 443 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxdma_buf_ring_free() 2642 int buf_id, mac_id; in ath11k_dp_process_rx() local 2664 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, in ath11k_dp_process_rx() [all …]
|
D | mac.h | 164 int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);
|
/Linux-v6.6/drivers/net/wireless/st/cw1200/ |
D | hwio.c | 22 #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-v6.6/drivers/net/can/mscan/ |
D | mscan.c | 191 int i, rtr, buf_id; in mscan_start_xmit() local 200 buf_id = ffs(i) - 1; in mscan_start_xmit() 214 if (buf_id < priv->prev_buf_id) { in mscan_start_xmit() 224 priv->prev_buf_id = buf_id; in mscan_start_xmit() 266 out_8(®s->cantflg, 1 << buf_id); in mscan_start_xmit() 271 list_add_tail(&priv->tx_queue[buf_id].list, &priv->tx_head); in mscan_start_xmit() 273 can_put_echo_skb(skb, dev, buf_id, 0); in mscan_start_xmit() 276 priv->tx_active |= 1 << buf_id; in mscan_start_xmit()
|
/Linux-v6.6/drivers/media/pci/tw5864/ |
D | tw5864-core.c | 213 if (input->buf_id != raw_buf_id) { in tw5864_timer_isr() 214 input->buf_id = raw_buf_id; in tw5864_timer_isr() 231 2 * input->nr, input->buf_id + 3); in tw5864_timer_isr()
|
D | tw5864.h | 114 u32 buf_id; member
|
/Linux-v6.6/drivers/net/ethernet/google/gve/ |
D | gve_desc_dqo.h | 186 __le16 buf_id; /* ID returned in Rx completion descriptor */ member 240 __le16 buf_id; /* Buffer ID which was sent on the buffer queue. */ member
|
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-video.c | 498 enum mxc_isi_buf_id buf_id; in mxc_isi_video_frame_write_done() local 556 buf_id = pipe->isi->pdata->buf_active_reverse in mxc_isi_video_frame_write_done() 583 if (buf->id != buf_id) { in mxc_isi_video_frame_write_done() 585 buf->id, buf_id); in mxc_isi_video_frame_write_done() 609 mxc_isi_channel_set_outbuf(pipe, next_buf->dma_addrs, buf_id); in mxc_isi_video_frame_write_done() 610 next_buf->id = buf_id; in mxc_isi_video_frame_write_done() 790 enum mxc_isi_buf_id buf_id = i == 0 ? MXC_ISI_BUF1 in mxc_isi_video_queue_first_buffers() 798 mxc_isi_channel_set_outbuf(video->pipe, buf->dma_addrs, buf_id); in mxc_isi_video_queue_first_buffers() 799 buf->id = buf_id; in mxc_isi_video_queue_first_buffers()
|
D | imx8-isi-hw.c | 40 enum mxc_isi_buf_id buf_id) in mxc_isi_channel_set_outbuf() argument 46 if (buf_id == MXC_ISI_BUF1) { in mxc_isi_channel_set_outbuf()
|
D | imx8-isi-core.h | 389 enum mxc_isi_buf_id buf_id);
|
/Linux-v6.6/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 293 msg->buf_id = cpu_to_le16(id->msg_id); in rdma_write_sg() 414 msg->buf_id = cpu_to_le16(id->msg_id); in send_io_resp_imm() 987 u32 buf_id, u32 off) in process_read() argument 1012 id = srv_path->ops_ids[buf_id]; in process_read() 1015 id->msg_id = buf_id; in process_read() 1019 data = page_address(srv->chunks[buf_id]); in process_read() 1026 buf_id, ret); in process_read() 1037 buf_id, ret); in process_read() 1045 u32 buf_id, u32 off) in process_write() argument 1065 id = srv_path->ops_ids[buf_id]; in process_write() [all …]
|
D | rtrs-clt.c | 531 u32 buf_id; in rtrs_clt_rkey_rsp_done() local 552 buf_id = le16_to_cpu(msg->buf_id); in rtrs_clt_rkey_rsp_done() 553 if (WARN_ON(buf_id >= clt_path->queue_depth)) in rtrs_clt_rkey_rsp_done() 564 if (WARN_ON(buf_id != msg_id)) in rtrs_clt_rkey_rsp_done() 566 clt_path->rbufs[buf_id].rkey = le32_to_cpu(msg->rkey); in rtrs_clt_rkey_rsp_done() 1085 u32 imm, buf_id; in rtrs_clt_write_req() local 1114 buf_id = req->permit->mem_id; in rtrs_clt_write_req() 1116 rbuf = &clt_path->rbufs[buf_id]; in rtrs_clt_write_req() 1182 u32 imm, buf_id; in rtrs_clt_read_req() local 1247 buf_id = req->permit->mem_id; in rtrs_clt_read_req() [all …]
|
D | rtrs-pri.h | 258 __le16 buf_id; member
|
/Linux-v6.6/drivers/edac/ |
D | i5400_edac.c | 520 int buf_id; in i5400_proccess_non_recoverable_info() local 547 buf_id = nrec_buf_id(info); in i5400_proccess_non_recoverable_info() 554 buf_id, rdwr_str(rdwr), ras, cas); in i5400_proccess_non_recoverable_info() 562 bank, buf_id, ras, cas, allErrors, error_name[errnum]); in i5400_proccess_non_recoverable_info()
|
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 5208 u8 buf_id; in qed_dbg_set_bin_ptr() local 5211 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_set_bin_ptr() 5213 buf_id, in qed_dbg_set_bin_ptr() 5214 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_set_bin_ptr() 5215 buf_hdrs[buf_id].length); in qed_dbg_set_bin_ptr() 7523 u8 buf_id; in qed_dbg_user_set_bin_ptr() local 7526 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_user_set_bin_ptr() 7528 (enum bin_dbg_buffer_type)buf_id, in qed_dbg_user_set_bin_ptr() 7529 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_user_set_bin_ptr() 7530 buf_hdrs[buf_id].length); in qed_dbg_user_set_bin_ptr()
|