Home
last modified time | relevance | path

Searched refs:is_direct (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_allocator.c196 union mthca_buf *buf, int *is_direct, struct mthca_pd *pd, in mthca_buf_alloc() argument
206 *is_direct = 1; in mthca_buf_alloc()
230 *is_direct = 0; in mthca_buf_alloc()
276 mthca_buf_free(dev, size, buf, *is_direct, NULL); in mthca_buf_alloc()
285 int is_direct, struct mthca_mr *mr) in mthca_buf_free() argument
292 if (is_direct) in mthca_buf_free()
Dmthca_provider.h170 int is_direct; member
219 int is_direct; member
257 int is_direct; member
Dmthca_srq.c76 if (srq->is_direct) in get_wqe()
150 srq->is_direct, &srq->mr); in mthca_free_srq_buf()
171 &srq->queue, &srq->is_direct, pd, 1, &srq->mr); in mthca_alloc_srq_buf()
Dmthca_cq.c162 if (buf->is_direct) in get_cqe_from_buf()
355 &buf->queue, &buf->is_direct, in mthca_alloc_cq_buf()
369 buf->is_direct, &buf->mr); in mthca_free_cq_buf()
Dmthca_dev.h424 union mthca_buf *buf, int *is_direct, struct mthca_pd *pd,
427 int is_direct, struct mthca_mr *mr);
Dmthca_qp.c210 if (qp->is_direct) in get_recv_wqe()
219 if (qp->is_direct) in get_send_wqe()
1069 &qp->queue, &qp->is_direct, pd, 0, &qp->mr); in mthca_alloc_wqe_buf()
1085 &qp->queue, qp->is_direct, &qp->mr); in mthca_free_wqe_buf()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_mr.c697 static inline size_t mtr_kmem_direct_size(bool is_direct, size_t alloc_size, in mtr_kmem_direct_size() argument
700 if (is_direct) in mtr_kmem_direct_size()
740 struct hns_roce_buf_attr *buf_attr, bool is_direct, in mtr_alloc_bufs() argument
787 direct_size = mtr_kmem_direct_size(is_direct, total_size, in mtr_alloc_bufs()
830 if (mtr->hem_cfg.is_direct && npage > 1) { in mtr_get_pages()
854 if (mtr->hem_cfg.is_direct) { in hns_roce_mtr_map()
897 if (cfg->is_direct) { in hns_roce_mtr_find()
951 if (cfg->is_direct) { in mtr_init_buf_cfg()
1025 cfg->is_direct = !mtr_has_mtt(buf_attr); in hns_roce_mtr_create()
1035 ret = mtr_alloc_bufs(hr_dev, mtr, buf_attr, cfg->is_direct, in hns_roce_mtr_create()
[all …]
Dhns_roce_device.h350 bool is_direct; /* addressing without BA table */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_validate_shaders.c195 bool is_direct = submit && validation_state->tmu_write_count[tmu] == 0; in check_tmu_write() local
198 if (is_direct) { in check_tmu_write()
245 validation_state->tmu_setup[tmu].is_direct = true; in check_tmu_write()
266 if (!is_direct) { in check_tmu_write()
Dvc4_drv.h722 bool is_direct; member
Dvc4_validate.c587 if (sample->is_direct) { in reloc_tex()
/kernel/linux/linux-5.10/drivers/clk/nxp/
Dclk-lpc32xx.c476 bool is_direct, is_bypass, is_feedback; in clk_pll_recalc_rate() local
481 is_direct = val & PLL_CTRL_DIRECT; in clk_pll_recalc_rate()
489 if (is_direct && is_bypass) { in clk_pll_recalc_rate()
498 if (is_direct) { in clk_pll_recalc_rate()
506 if (!is_direct) { in clk_pll_recalc_rate()
518 parent_rate, val, is_direct, is_bypass, is_feedback, in clk_pll_recalc_rate()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_sys.c2699 bool is_direct = wacom->wacom_wac.is_direct_mode; in wacom_mode_change_work() local
2707 wacom1->wacom_wac.is_direct_mode = is_direct; in wacom_mode_change_work()
2715 wacom2->wacom_wac.is_direct_mode = is_direct; in wacom_mode_change_work()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dmad.c1736 static inline int is_direct(u8 class) in is_direct() function
1757 (is_direct(mad_hdr->mgmt_class) || in ib_find_send_mad()
1775 (is_direct(mad_hdr->mgmt_class) || in ib_find_send_mad()