Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c541 struct hinic_ceq_ctrl_reg ceq_ctrl = {0}; in set_ceq_ctrl_reg() local
543 u16 out_size = sizeof(ceq_ctrl); in set_ceq_ctrl_reg()
544 u16 in_size = sizeof(ceq_ctrl); in set_ceq_ctrl_reg()
552 ceq_ctrl.ctrl0 = get_ctrl0_val(eq, addr); in set_ceq_ctrl_reg()
554 ceq_ctrl.ctrl1 = get_ctrl1_val(eq, addr); in set_ceq_ctrl_reg()
556 ceq_ctrl.func_id = HINIC_HWIF_FUNC_IDX(hwdev->hwif); in set_ceq_ctrl_reg()
557 ceq_ctrl.q_id = eq->q_id; in set_ceq_ctrl_reg()
561 &ceq_ctrl, in_size, in set_ceq_ctrl_reg()
562 &ceq_ctrl, &out_size, HINIC_MGMT_MSG_SYNC); in set_ceq_ctrl_reg()
563 if (err || !out_size || ceq_ctrl.status) { in set_ceq_ctrl_reg()
[all …]