Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.c72 int ppe_num; in hns_ppe_common_get_cfg() local
75 ppe_num = HNS_PPE_SERVICE_NW_ENGINE_NUM; in hns_ppe_common_get_cfg()
77 ppe_num = HNS_PPE_DEBUG_NW_ENGINE_NUM; in hns_ppe_common_get_cfg()
80 struct_size(ppe_common, ppe_cb, ppe_num), in hns_ppe_common_get_cfg()
85 ppe_common->ppe_num = ppe_num; in hns_ppe_common_get_cfg()
117 u32 ppe_num = ppe_common->ppe_num; in hns_ppe_get_cfg() local
119 for (i = 0; i < ppe_num; i++) { in hns_ppe_get_cfg()
362 for (i = 0; i < ppe_common->ppe_num; i++) { in hns_ppe_uninit_ex()
398 for (i = 0; i < ppe_common->ppe_num; i++) { in hns_ppe_reset_common()
Dhns_dsaf_ppe.h94 u32 ppe_num; member
95 struct hns_ppe_cb ppe_cb[] __counted_by(ppe_num);
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c3371 int i, err, ppe_num; in mtk_open() local
3373 ppe_num = eth->soc->ppe_num; in mtk_open()
3405 } else if (ppe_num >= 3 && target_mac->id == 2) { in mtk_open()
3408 } else if (ppe_num >= 2 && target_mac->id == 1) { in mtk_open()
5001 u8 ppe_num = eth->soc->ppe_num; in mtk_probe() local
5003 ppe_num = min_t(u8, ARRAY_SIZE(eth->ppe), ppe_num); in mtk_probe()
5004 for (i = 0; i < ppe_num; i++) { in mtk_probe()
5127 .ppe_num = 1,
5156 .ppe_num = 1,
5185 .ppe_num = 1,
[all …]
Dmtk_ppe_offload.c272 if (WARN_ON(mac->ppe_idx >= eth->soc->ppe_num)) in mtk_flow_offload_replace()
Dmtk_eth_soc.h1159 u8 ppe_num; member