Searched refs:num_aeqs (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_dev.c | 36 #define MAX_IRQS(max_qps, num_aeqs, num_ceqs) \ argument 37 (2 * (max_qps) + (num_aeqs) + (num_ceqs)) 61 int num_aeqs, num_ceqs, num_irqs; in parse_capability() local 66 num_aeqs = HINIC_HWIF_NUM_AEQS(hwdev->hwif); in parse_capability() 71 nic_cap->num_qps = (num_irqs - (num_aeqs + num_ceqs)) / 2; in parse_capability() 164 int nr_irqs, num_aeqs, num_ceqs; in init_msix() local 167 num_aeqs = HINIC_HWIF_NUM_AEQS(hwif); in init_msix() 169 nr_irqs = MAX_IRQS(HINIC_MAX_QPS, num_aeqs, num_ceqs); in init_msix() 449 int err, num_aeqs, num_ceqs, num_qps; in hinic_hwdev_ifup() local 462 num_aeqs = HINIC_HWIF_NUM_AEQS(hwif); in hinic_hwdev_ifup() [all …]
|
D | hinic_hw_eqs.c | 861 int num_aeqs, u32 q_len, u32 page_size, in hinic_aeqs_init() argument 872 aeqs->num_aeqs = num_aeqs; in hinic_aeqs_init() 874 for (q_id = 0; q_id < num_aeqs; q_id++) { in hinic_aeqs_init() 901 for (q_id = 0; q_id < aeqs->num_aeqs ; q_id++) in hinic_aeqs_free() 985 for (q_id = 0; q_id < hwdev->aeqs.num_aeqs; q_id++) { in hinic_dump_aeq_info()
|
D | hinic_hw_eqs.h | 209 int num_aeqs; member 247 int num_aeqs, u32 q_len, u32 page_size,
|
D | hinic_hw_if.h | 146 #define HINIC_HWIF_NUM_AEQS(hwif) ((hwif)->attr.num_aeqs) 236 u8 num_aeqs; member
|
D | hinic_hw_mbox.c | 809 u8 num_aeqs = hwdev->hwif->attr.num_aeqs; in send_mbox_seg() local 812 if (num_aeqs >= 4) in send_mbox_seg()
|
D | hinic_hw_if.c | 243 hwif->attr.num_aeqs = BIT(HINIC_FA1_GET(attr1, AEQS_PER_FUNC)); in set_hwif_attr()
|