hns_roce_ceqe 3970 drivers/infiniband/hw/hns/hns_roce_hw_v1.c static struct hns_roce_ceqe *get_ceqe_v1(struct hns_roce_eq *eq, u32 entry) hns_roce_ceqe 3975 drivers/infiniband/hw/hns/hns_roce_hw_v1.c return (struct hns_roce_ceqe *)((u8 *) hns_roce_ceqe 3980 drivers/infiniband/hw/hns/hns_roce_hw_v1.c static struct hns_roce_ceqe *next_ceqe_sw_v1(struct hns_roce_eq *eq) hns_roce_ceqe 3982 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct hns_roce_ceqe *ceqe = get_ceqe_v1(eq, eq->cons_index); hns_roce_ceqe 3992 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct hns_roce_ceqe *ceqe; hns_roce_ceqe 5111 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static struct hns_roce_ceqe *get_ceqe_v2(struct hns_roce_eq *eq, u32 entry) hns_roce_ceqe 5119 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return (struct hns_roce_ceqe *)((char *)(eq->buf_list->buf) + hns_roce_ceqe 5123 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static struct hns_roce_ceqe *mhop_get_ceqe(struct hns_roce_eq *eq, u32 entry) hns_roce_ceqe 5133 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return (struct hns_roce_ceqe *)((u8 *)(eq->bt_l0) + hns_roce_ceqe 5136 drivers/infiniband/hw/hns/hns_roce_hw_v2.c return (struct hns_roce_ceqe *)((u8 *)(eq->buf[off / hns_roce_ceqe 5140 drivers/infiniband/hw/hns/hns_roce_hw_v2.c static struct hns_roce_ceqe *next_ceqe_sw_v2(struct hns_roce_eq *eq) hns_roce_ceqe 5142 drivers/infiniband/hw/hns/hns_roce_hw_v2.c struct hns_roce_ceqe *ceqe; hns_roce_ceqe 5157 drivers/infiniband/hw/hns/hns_roce_hw_v2.c struct hns_roce_ceqe *ceqe = next_ceqe_sw_v2(eq);