/openbmc/linux/drivers/scsi/snic/ |
H A D | vnic_cq.h | 48 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 D | cq_desc.h | 24 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 D | vnic_wq.h | 115 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 D | snic_io.c | 21 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 D | cq_enet_desc.h | 20 cq_desc_dec((struct cq_desc *)desc, type, in cq_enet_wq_desc_dec()
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_cq.h | 61 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 D | cq_desc.h | 27 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 D | vnic_wq.h | 142 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 D | vnic_rq.h | 152 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 D | cq_enet_desc.h | 23 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 D | enic_main.c | 340 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 D | vnic_cq.h | 60 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 D | cq_desc.h | 26 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 D | vnic_wq.h | 130 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 D | vnic_rq.h | 169 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 D | cq_exch_desc.h | 41 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 D | fnic_fcs.c | 815 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 D | cq_enet_desc.h | 22 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 D | ice_controlq.c | 895 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 D | ionic_txrx.c | 288 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 D | ionic_dev.h | 177 void *cq_desc; member
|
H A D | ionic_main.c | 281 comp = cq_info->cq_desc; in ionic_adminq_cb()
|
H A D | ionic_dev.c | 685 cur->cq_desc = base + (i * cq->desc_size); in ionic_cq_map()
|
H A D | ionic_lif.c | 1165 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 D | nicvf_main.c | 854 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()
|