/kernel/linux/linux-5.10/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() 346 u32 buf_id; in amdtee_map_shmem() local 363 rc = handle_map_shmem(count, &shmem, &buf_id); in amdtee_map_shmem() 371 shmnode->buf_id = buf_id; in amdtee_map_shmem() 377 pr_debug("buf_id :[%x] kaddr[%p]\n", shmnode->buf_id, shmnode->kaddr); in amdtee_map_shmem() 386 u32 buf_id; in amdtee_unmap_shmem() local 391 buf_id = get_buffer_id(shm); in amdtee_unmap_shmem() 393 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);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 607 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 …]
|
D | exynos_drm_fimc.c | 263 int frame_cnt, buf_id; in fimc_get_buf_id() local 280 buf_id = frame_cnt - 1; in fimc_get_buf_id() 281 DRM_DEV_DEBUG_KMS(ctx->dev, "buf_id[%d]\n", buf_id); in fimc_get_buf_id() 283 return buf_id; in fimc_get_buf_id() 906 static void fimc_dst_set_buf_seq(struct fimc_context *ctx, u32 buf_id, in fimc_dst_set_buf_seq() argument 913 DRM_DEV_DEBUG_KMS(ctx->dev, "buf_id[%d]enqueu[%d]\n", buf_id, enqueue); in fimc_dst_set_buf_seq() 920 cfg |= (1 << buf_id); in fimc_dst_set_buf_seq() 922 cfg &= ~(1 << buf_id); in fimc_dst_set_buf_seq() 951 int buf_id; in fimc_irq_handler() local 962 buf_id = fimc_get_buf_id(ctx); in fimc_irq_handler() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | dbring.c | 18 int buf_id; in ath11k_dbring_bufs_replenish() local 37 buf_id = idr_alloc(&ring->bufs_idr, buff, 0, ring->bufs_max, GFP_ATOMIC); in ath11k_dbring_bufs_replenish() 39 if (buf_id < 0) { in ath11k_dbring_bufs_replenish() 53 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dbring_bufs_replenish() 63 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_bufs_replenish() 239 int buf_id; in ath11k_dbring_buffer_release_event() local 299 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie); in ath11k_dbring_buffer_release_event() 302 buff = idr_find(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event() 307 idr_remove(&ring->bufs_idr, buf_id); in ath11k_dbring_buffer_release_event() 342 int buf_id; in ath11k_dbring_buf_cleanup() local [all …]
|
D | dp_rx.c | 288 int buf_id; in ath11k_dp_rxbufs_replenish() local 327 buf_id = idr_alloc(&rx_ring->bufs_idr, skb, 0, in ath11k_dp_rxbufs_replenish() 330 if (buf_id < 0) in ath11k_dp_rxbufs_replenish() 340 FIELD_PREP(DP_RXDMA_BUF_COOKIE_BUF_ID, buf_id); in ath11k_dp_rxbufs_replenish() 355 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxbufs_replenish() 375 int buf_id; in ath11k_dp_rxdma_buf_ring_free() local 378 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath11k_dp_rxdma_buf_ring_free() 379 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxdma_buf_ring_free() 400 idr_for_each_entry(&rx_ring->bufs_idr, skb, buf_id) { in ath11k_dp_rxdma_buf_ring_free() 401 idr_remove(&rx_ring->bufs_idr, buf_id); in ath11k_dp_rxdma_buf_ring_free() [all …]
|
D | mac.h | 145 int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx);
|
D | mac.c | 3902 static void ath11k_mac_tx_mgmt_free(struct ath11k *ar, int buf_id) in ath11k_mac_tx_mgmt_free() argument 3908 msdu = idr_remove(&ar->txmgmt_idr, buf_id); in ath11k_mac_tx_mgmt_free() 3923 int ath11k_mac_tx_mgmt_pending_free(int buf_id, void *skb, void *ctx) in ath11k_mac_tx_mgmt_pending_free() argument 3927 ath11k_mac_tx_mgmt_free(ar, buf_id); in ath11k_mac_tx_mgmt_pending_free() 3932 static int ath11k_mac_vif_txmgmt_idr_remove(int buf_id, void *skb, void *ctx) in ath11k_mac_vif_txmgmt_idr_remove() argument 3939 ath11k_mac_tx_mgmt_free(ar, buf_id); in ath11k_mac_vif_txmgmt_idr_remove() 3951 int buf_id; in ath11k_mac_mgmt_tx_wmi() local 3957 buf_id = idr_alloc(&ar->txmgmt_idr, skb, 0, in ath11k_mac_mgmt_tx_wmi() 3960 if (buf_id < 0) in ath11k_mac_mgmt_tx_wmi() 3982 ret = ath11k_wmi_mgmt_send(ar, arvif->vdev_id, buf_id, skb); in ath11k_mac_mgmt_tx_wmi() [all …]
|
D | dp.c | 986 static int ath11k_dp_tx_pending_cleanup(int buf_id, void *skb, void *ctx) in ath11k_dp_tx_pending_cleanup() argument
|
D | wmi.c | 568 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id, in ath11k_wmi_mgmt_send() argument 591 cmd->desc_id = buf_id; in ath11k_wmi_mgmt_send()
|
D | wmi.h | 5007 int ath11k_wmi_mgmt_send(struct ath11k *ar, u32 vdev_id, u32 buf_id,
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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); in mscan_start_xmit() 276 priv->tx_active |= 1 << buf_id; in mscan_start_xmit()
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.c | 328 msg->buf_id = cpu_to_le16(id->msg_id); in rdma_write_sg() 448 msg->buf_id = cpu_to_le16(id->msg_id); in send_io_resp_imm() 981 u32 buf_id, u32 off) in process_read() argument 1006 id = sess->ops_ids[buf_id]; in process_read() 1009 id->msg_id = buf_id; in process_read() 1013 data = page_address(srv->chunks[buf_id]); in process_read() 1020 buf_id, ret); in process_read() 1031 buf_id, ret); in process_read() 1039 u32 buf_id, u32 off) in process_write() argument 1059 id = sess->ops_ids[buf_id]; in process_write() [all …]
|
D | rtrs-clt.c | 522 u32 buf_id; in rtrs_clt_rkey_rsp_done() local 542 buf_id = le16_to_cpu(msg->buf_id); in rtrs_clt_rkey_rsp_done() 543 if (WARN_ON(buf_id >= sess->queue_depth)) in rtrs_clt_rkey_rsp_done() 554 if (WARN_ON(buf_id != msg_id)) in rtrs_clt_rkey_rsp_done() 556 sess->rbufs[buf_id].rkey = le32_to_cpu(msg->rkey); in rtrs_clt_rkey_rsp_done() 993 u32 imm, buf_id; in rtrs_clt_write_req() local 1018 buf_id = req->permit->mem_id; in rtrs_clt_write_req() 1020 rbuf = &sess->rbufs[buf_id]; in rtrs_clt_write_req() 1070 u32 imm, buf_id; in rtrs_clt_read_req() local 1138 buf_id = req->permit->mem_id; in rtrs_clt_read_req() [all …]
|
D | rtrs-pri.h | 255 __le16 buf_id; member
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | i5400_edac.c | 519 int buf_id; in i5400_proccess_non_recoverable_info() local 546 buf_id = nrec_buf_id(info); in i5400_proccess_non_recoverable_info() 553 buf_id, rdwr_str(rdwr), ras, cas); in i5400_proccess_non_recoverable_info() 561 bank, buf_id, ras, cas, allErrors, error_name[errnum]); in i5400_proccess_non_recoverable_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.c | 4829 u8 buf_id; in qed_dbg_set_bin_ptr() local 4832 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_set_bin_ptr() 4834 buf_id, in qed_dbg_set_bin_ptr() 4835 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_set_bin_ptr() 4836 buf_hdrs[buf_id].length); in qed_dbg_set_bin_ptr() 7078 u8 buf_id; in qed_dbg_user_set_bin_ptr() local 7081 for (buf_id = 0; buf_id < MAX_BIN_DBG_BUFFER_TYPE; buf_id++) in qed_dbg_user_set_bin_ptr() 7083 (enum bin_dbg_buffer_type)buf_id, in qed_dbg_user_set_bin_ptr() 7084 (u32 *)(bin_ptr + buf_hdrs[buf_id].offset), in qed_dbg_user_set_bin_ptr() 7085 buf_hdrs[buf_id].length); in qed_dbg_user_set_bin_ptr()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 1714 struct vmw_resource *res, uint32_t *buf_id, in vmw_cmd_res_switch_backup() argument 1725 ret = vmw_translate_mob_ptr(dev_priv, sw_context, buf_id, &vbo); in vmw_cmd_res_switch_backup() 1754 *converter, uint32_t *res_id, uint32_t *buf_id, in vmw_cmd_switch_backup() argument 1765 return vmw_cmd_res_switch_backup(dev_priv, sw_context, res, buf_id, in vmw_cmd_switch_backup()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
D | fimc-capture.c | 419 int buf_id = (vid_cap->reqbufs_count == 1) ? -1 : in buffer_queue() local 422 fimc_hw_set_output_addr(fimc, &buf->paddr, buf_id); in buffer_queue()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0036_linux_drivers_staging.patch | 40907 +bool is_buf_active(struct mxc_isi_dev *mxc_isi, int buf_id) 40912 + return (buf_id == 1) ? ((reverse) ? (status & 0x100) : (status & 0x200)) : 42089 +bool is_buf_active(struct mxc_isi_dev *mxc_isi, int buf_id);
|