Home
last modified time | relevance | path

Searched refs:qbuf (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.c135 u8 __iomem *qbuf; in octep_write_mbox_data() local
139 qbuf = (q->hw_q + *pi); in octep_write_mbox_data()
142 memcpy_toio(qbuf, buf, w_sz); in octep_write_mbox_data()
147 memcpy_toio(qbuf, buf, cp_sz); in octep_write_mbox_data()
153 qbuf = (q->hw_q + *pi); in octep_write_mbox_data()
154 memcpy_toio(qbuf, buf, w_sz); in octep_write_mbox_data()
200 u8 __iomem *qbuf; in octep_read_mbox_data() local
204 qbuf = (q->hw_q + *ci); in octep_read_mbox_data()
207 memcpy_fromio(buf, qbuf, r_sz); in octep_read_mbox_data()
212 memcpy_fromio(buf, qbuf, cp_sz); in octep_read_mbox_data()
[all …]
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cmdq.c99 sq->qbuf = in erdma_cmdq_sq_init()
102 if (!sq->qbuf) in erdma_cmdq_sq_init()
105 sq->db_record = (u64 *)(sq->qbuf + buf_size); in erdma_cmdq_sq_init()
129 cq->qbuf = in erdma_cmdq_cq_init()
132 if (!cq->qbuf) in erdma_cmdq_cq_init()
137 cq->db_record = (u64 *)(cq->qbuf + buf_size); in erdma_cmdq_cq_init()
160 eq->qbuf = in erdma_cmdq_eq_init()
163 if (!eq->qbuf) in erdma_cmdq_eq_init()
170 eq->db_record = (u64 *)(eq->qbuf + buf_size); in erdma_cmdq_eq_init()
217 cmdq->cq.qbuf, cmdq->cq.qbuf_dma_addr); in erdma_cmdq_init()
[all …]
Derdma_eq.c24 u64 *eqe = get_queue_entry(eq->qbuf, eq->ci, eq->depth, EQE_SHIFT); in get_next_valid_eqe()
91 eq->qbuf = in erdma_aeq_init()
94 if (!eq->qbuf) in erdma_aeq_init()
102 eq->db_record = (u64 *)(eq->qbuf + buf_size); in erdma_aeq_init()
120 WARPPED_BUFSIZE(eq->depth << EQE_SHIFT), eq->qbuf, in erdma_aeq_destroy()
235 eq->qbuf = in erdma_ceq_init_one()
238 if (!eq->qbuf) in erdma_ceq_init_one()
248 eq->db_record = (u64 *)(eq->qbuf + buf_size); in erdma_ceq_init_one()
279 dma_free_coherent(&dev->pdev->dev, WARPPED_BUFSIZE(buf_size), eq->qbuf, in erdma_ceq_uninit_one()
Derdma.h22 void *qbuf; member
40 void *qbuf; member
55 void *qbuf; member
217 static inline void *get_queue_entry(void *qbuf, u32 idx, u32 depth, u32 shift) in get_queue_entry() argument
221 return qbuf + (idx << shift); in get_queue_entry()
Derdma_cq.c11 __be32 *cqe = get_queue_entry(cq->kern_cq.qbuf, cq->kern_cq.ci, in get_next_valid_cqe()
Derdma_verbs.h241 void *qbuf; member
Derdma_verbs.c1242 cq->kern_cq.qbuf, cq->kern_cq.qbuf_dma_addr); in erdma_destroy_cq()
1602 cq->kern_cq.qbuf = in erdma_init_kernel_cq()
1606 if (!cq->kern_cq.qbuf) in erdma_init_kernel_cq()
1610 (u64 *)(cq->kern_cq.qbuf + (cq->depth << CQE_SHIFT)); in erdma_init_kernel_cq()
1681 cq->kern_cq.qbuf, cq->kern_cq.qbuf_dma_addr); in erdma_create_cq()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_lag.c315 ice_lag_qbuf_recfg(struct ice_hw *hw, struct ice_aqc_cfg_txqs_buf *qbuf, in ice_lag_qbuf_recfg() argument
343 qbuf->queue_info[count].q_handle = cpu_to_le16(qid); in ice_lag_qbuf_recfg()
344 qbuf->queue_info[count].tc = tc; in ice_lag_qbuf_recfg()
345 qbuf->queue_info[count].q_teid = cpu_to_le32(q_ctx->q_teid); in ice_lag_qbuf_recfg()
435 struct ice_aqc_cfg_txqs_buf *qbuf; in ice_lag_move_vf_node_tc() local
477 qbuf_size = struct_size(qbuf, queue_info, numq); in ice_lag_move_vf_node_tc()
478 qbuf = kzalloc(qbuf_size, GFP_KERNEL); in ice_lag_move_vf_node_tc()
479 if (!qbuf) { in ice_lag_move_vf_node_tc()
485 valq = ice_lag_qbuf_recfg(&lag->pf->hw, qbuf, vsi_num, numq, tc); in ice_lag_move_vf_node_tc()
491 if (ice_aq_cfg_lan_txq(&lag->pf->hw, qbuf, qbuf_size, valq, oldport, in ice_lag_move_vf_node_tc()
[all …]
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Ddmx_fcalls.rst30 dmx-qbuf
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c1300 u16 qbuf[3]; in t4vf_config_rss_range() local
1301 u16 *qbp = qbuf; in t4vf_config_rss_range()
1305 qbuf[0] = qbuf[1] = qbuf[2] = 0; in t4vf_config_rss_range()
1312 *qp++ = cpu_to_be32(FW_RSS_IND_TBL_CMD_IQ0_V(qbuf[0]) | in t4vf_config_rss_range()
1313 FW_RSS_IND_TBL_CMD_IQ1_V(qbuf[1]) | in t4vf_config_rss_range()
1314 FW_RSS_IND_TBL_CMD_IQ2_V(qbuf[2])); in t4vf_config_rss_range()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Ddma.c605 struct mt76_queue_buf qbuf; in mt76_dma_rx_fill() local
618 qbuf.addr = addr + q->buf_offset; in mt76_dma_rx_fill()
619 qbuf.len = len - q->buf_offset; in mt76_dma_rx_fill()
620 qbuf.skip_unmap = false; in mt76_dma_rx_fill()
621 if (mt76_dma_add_rx_buf(dev, q, &qbuf, buf) < 0) { in mt76_dma_rx_fill()
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Duser-func.rst58 vidioc-qbuf
/linux-6.6.21/include/uapi/linux/
Di2o-dev.h91 void __user *qbuf; /* Pointer to HTTP query string */ member