Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/snic/
H A Dvnic_cq.h48 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in svnic_cq_service() argument
52 struct cq_desc *cq_desc; in svnic_cq_service() local
57 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
59 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
64 if ((*q_service)(cq->vdev, cq_desc, type, in svnic_cq_service()
74 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service()
76 cq_desc_dec(cq_desc, &type, &color, in svnic_cq_service()
H A Dcq_desc.h24 struct cq_desc { struct
40 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
43 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
H A Dvnic_wq.h115 struct cq_desc *cq_desc, u16 completed_index, in svnic_wq_service() argument
117 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in svnic_wq_service()
125 (*buf_service)(wq, cq_desc, buf, opaque); in svnic_wq_service()
H A Dsnic_io.c21 struct cq_desc *cq_desc, in snic_wq_cmpl_frame_send() argument
43 struct cq_desc *cq_desc, in snic_wq_cmpl_handler_cont() argument
56 cq_desc, in snic_wq_cmpl_handler_cont()
H A Dcq_enet_desc.h20 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dvnic_cq.h61 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
65 struct cq_desc *cq_desc; in vnic_cq_service() local
70 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
72 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
77 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
87 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
89 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
H A Dcq_desc.h27 struct cq_desc { struct
43 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
46 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
H A Dvnic_wq.h142 struct cq_desc *cq_desc, u16 completed_index, in vnic_wq_service() argument
144 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service()
152 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
H A Dvnic_rq.h152 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
154 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
165 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
H A Dcq_enet_desc.h23 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
104 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
H A Denic_main.c340 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque) in enic_wq_free_buf() argument
345 static int enic_wq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_wq_service() argument
352 vnic_wq_service(&enic->wq[q_number], cq_desc, in enic_wq_service()
1309 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in enic_rq_indicate_buf() argument
1331 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in enic_rq_indicate_buf()
1446 static int enic_rq_service(struct vnic_dev *vdev, struct cq_desc *cq_desc, in enic_rq_service() argument
1451 vnic_rq_service(&enic->rq[q_number], cq_desc, in enic_rq_service()
/openbmc/linux/drivers/scsi/fnic/
H A Dvnic_cq.h60 int (*q_service)(struct vnic_dev *vdev, struct cq_desc *cq_desc, in vnic_cq_service() argument
64 struct cq_desc *cq_desc; in vnic_cq_service() local
69 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
71 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
76 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service()
86 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service()
88 cq_desc_dec(cq_desc, &type, &color, in vnic_cq_service()
H A Dcq_desc.h26 struct cq_desc { struct
42 static inline void cq_desc_dec(const struct cq_desc *desc_arg, in cq_desc_dec() argument
45 const struct cq_desc *desc = desc_arg; in cq_desc_dec()
H A Dvnic_wq.h130 struct cq_desc *cq_desc, u16 completed_index, in vnic_wq_service() argument
132 struct cq_desc *cq_desc, struct vnic_wq_buf *buf, void *opaque), in vnic_wq_service()
140 (*buf_service)(wq, cq_desc, buf, opaque); in vnic_wq_service()
H A Dvnic_rq.h169 struct cq_desc *cq_desc, u16 completed_index, in vnic_rq_service() argument
171 struct cq_desc *cq_desc, struct vnic_rq_buf *buf, in vnic_rq_service()
182 (*buf_service)(rq, cq_desc, buf, skipped, opaque); in vnic_rq_service()
H A Dcq_exch_desc.h41 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_exch_wq_desc_dec()
94 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_fcp_rq_desc_dec()
162 cq_desc_dec((struct cq_desc *)desc_ptr, type, color, q_number, in cq_sgl_desc_dec()
H A Dfnic_fcs.c815 static void fnic_rq_cmpl_frame_recv(struct vnic_rq *rq, struct cq_desc in fnic_rq_cmpl_frame_recv()
816 *cq_desc, struct vnic_rq_buf *buf, in fnic_rq_cmpl_frame_recv() argument
844 cq_desc_dec(cq_desc, &type, &color, &q_number, &completed_index); in fnic_rq_cmpl_frame_recv()
846 cq_fcp_rq_desc_dec((struct cq_fcp_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
858 cq_enet_rq_desc_dec((struct cq_enet_rq_desc *)cq_desc, in fnic_rq_cmpl_frame_recv()
918 struct cq_desc *cq_desc, u8 type, in fnic_rq_cmpl_handler_cont() argument
924 vnic_rq_service(&fnic->rq[q_number], cq_desc, completed_index, in fnic_rq_cmpl_handler_cont()
1235 struct cq_desc *cq_desc, in fnic_wq_complete_frame_send() argument
1249 struct cq_desc *cq_desc, u8 type, in fnic_wq_cmpl_handler_cont() argument
1257 vnic_wq_service(&fnic->wq[q_number], cq_desc, completed_index, in fnic_wq_cmpl_handler_cont()
H A Dcq_enet_desc.h22 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
95 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_rq_desc_dec()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c895 struct ice_aq_desc *cq_desc = desc; in ice_debug_cq() local
905 len = le16_to_cpu(cq_desc->datalen); in ice_debug_cq()
908 le16_to_cpu(cq_desc->opcode), in ice_debug_cq()
909 le16_to_cpu(cq_desc->flags), in ice_debug_cq()
910 le16_to_cpu(cq_desc->datalen), le16_to_cpu(cq_desc->retval)); in ice_debug_cq()
912 le32_to_cpu(cq_desc->cookie_high), in ice_debug_cq()
913 le32_to_cpu(cq_desc->cookie_low)); in ice_debug_cq()
915 le32_to_cpu(cq_desc->params.generic.param0), in ice_debug_cq()
916 le32_to_cpu(cq_desc->params.generic.param1)); in ice_debug_cq()
918 le32_to_cpu(cq_desc->params.generic.addr_high), in ice_debug_cq()
[all …]
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c288 comp = cq_info->cq_desc + qcq->cq.desc_size - sizeof(*comp); in ionic_rx_clean()
355 cq_info->cq_desc + in ionic_rx_clean()
382 comp = cq_info->cq_desc + cq->desc_size - sizeof(*comp); in ionic_rx_service()
813 cq_info->cq_desc + in ionic_tx_clean()
851 comp = cq_info->cq_desc + cq->desc_size - sizeof(*comp); in ionic_tx_service()
H A Dionic_dev.h177 void *cq_desc; member
H A Dionic_main.c281 comp = cq_info->cq_desc; in ionic_adminq_cb()
H A Dionic_dev.c685 cur->cq_desc = base + (i * cq->desc_size); in ionic_cq_map()
H A Dionic_lif.c1165 union ionic_notifyq_comp *comp = cq_info->cq_desc; in ionic_notifyq_service()
1217 struct ionic_admin_comp *comp = cq_info->cq_desc; in ionic_adminq_service()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c854 struct cqe_rx_t *cq_desc; in nicvf_cq_intr_handler() local
875 cq_desc = (struct cqe_rx_t *)GET_CQ_DESC(cq, cqe_head); in nicvf_cq_intr_handler()
882 (cq_desc->cqe_type != CQE_TYPE_SEND)) { in nicvf_cq_intr_handler()
886 switch (cq_desc->cqe_type) { in nicvf_cq_intr_handler()
888 nicvf_rcv_pkt_handler(netdev, napi, cq_desc, sq, rq); in nicvf_cq_intr_handler()
892 nicvf_snd_pkt_handler(netdev, (void *)cq_desc, in nicvf_cq_intr_handler()
898 nicvf_snd_ptp_handler(netdev, (void *)cq_desc); in nicvf_cq_intr_handler()

12