Searched refs:ceqe (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_eqs.c | 73 #define CEQE_TYPE(ceqe) (((ceqe) >> CEQE_TYPE_SHIFT) & \ argument 77 #define CEQE_DATA(ceqe) ((ceqe) & CEQE_DATA_MASK) argument 282 static void ceq_event_handler(struct hinic_ceqs *ceqs, u32 ceqe) in ceq_event_handler() argument 290 event = CEQE_TYPE(ceqe); in ceq_event_handler() 303 ceq_cb->handler(ceq_cb->handle, CEQE_DATA(ceqe)); in ceq_event_handler() 317 u32 ceqe; in ceq_irq_handler() local 321 ceqe = *(GET_CURR_CEQ_ELEM(eq)); in ceq_irq_handler() 324 ceqe = be32_to_cpu(ceqe); in ceq_irq_handler() 327 if (HINIC_EQ_ELEM_DESC_GET(ceqe, WRAPPED) == eq->wrapped) in ceq_irq_handler() 330 ceq_event_handler(ceqs, ceqe); in ceq_irq_handler() [all …]
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_eq.c | 129 u64 *ceqe; in erdma_ceq_completion_handler() local 136 ceqe = get_next_valid_eqe(&ceq_cb->eq); in erdma_ceq_completion_handler() 137 if (!ceqe) in erdma_ceq_completion_handler() 143 cqn = FIELD_GET(ERDMA_CEQE_HDR_CQN_MASK, READ_ONCE(*ceqe)); in erdma_ceq_completion_handler()
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | ctrl.c | 3806 __le64 *ceqe; in irdma_sc_process_ceq() local 3815 ceqe = IRDMA_GET_CURRENT_CEQ_ELEM(ceq); in irdma_sc_process_ceq() 3816 get_64bit_val(ceqe, 0, &temp); in irdma_sc_process_ceq() 3861 __le64 *ceqe; in irdma_sc_cleanup_ceqes() local 3870 ceqe = IRDMA_GET_CEQ_ELEM_AT_POS(ceq, next); in irdma_sc_cleanup_ceqes() 3872 get_64bit_val(ceqe, 0, &temp); in irdma_sc_cleanup_ceqes() 3879 set_64bit_val(ceqe, 0, temp & IRDMA_CEQE_VALID); in irdma_sc_cleanup_ceqes()
|
/linux-6.6.21/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 5996 struct hns_roce_ceqe *ceqe; in next_ceqe_sw_v2() local 5998 ceqe = hns_roce_buf_offset(eq->mtr.kmem, in next_ceqe_sw_v2() 6002 return (hr_reg_read(ceqe, CEQE_OWNER) ^ in next_ceqe_sw_v2() 6003 !!(eq->cons_index & eq->entries)) ? ceqe : NULL; in next_ceqe_sw_v2() 6009 struct hns_roce_ceqe *ceqe = next_ceqe_sw_v2(eq); in hns_roce_v2_ceq_int() local 6013 while (ceqe) { in hns_roce_v2_ceq_int() 6019 cqn = hr_reg_read(ceqe, CEQE_CQN); in hns_roce_v2_ceq_int() 6026 ceqe = next_ceqe_sw_v2(eq); in hns_roce_v2_ceq_int()
|