Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.h69 #define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP)
137 enum dsaf_mode { enum
336 enum dsaf_mode dsaf_mode; /* dsaf mode */ member
Dhns_dsaf_rcb.c700 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode, u16 *max_vfn, in hns_rcb_get_queue_mode() argument
703 switch (dsaf_mode) { in hns_rcb_get_queue_mode()
730 switch (dsaf_dev->dsaf_mode) { in hns_rcb_get_ring_num()
759 dsaf_dev->dsaf_mode); in hns_rcb_get_ring_num()
782 enum dsaf_mode dsaf_mode = dsaf_dev->dsaf_mode; in hns_rcb_common_get_cfg() local
801 hns_rcb_get_queue_mode(dsaf_mode, &max_vfn, &max_q_per_vf); in hns_rcb_common_get_cfg()
Dhns_dsaf_rcb.h121 void hns_rcb_get_queue_mode(enum dsaf_mode dsaf_mode,
Dhns_dsaf_ppe.c201 enum dsaf_mode dsaf_mode = dsaf_dev->dsaf_mode; in hns_ppe_common_init_hw() local
209 switch (dsaf_mode) { in hns_ppe_common_init_hw()
244 dsaf_mode); in hns_ppe_common_init_hw()
Dhns_dsaf_mac.c169 if (mac_cb->dsaf_dev->dsaf_mode <= DSAF_MODE_ENABLE) { in hns_mac_get_inner_port_num()
177 } else if (mac_cb->dsaf_dev->dsaf_mode < DSAF_MODE_MAX) { in hns_mac_get_inner_port_num()
203 switch (mac_cb->dsaf_dev->dsaf_mode) { in hns_mac_get_inner_port_num()
Dhns_dsaf_main.c87 dsaf_dev->dsaf_mode = (enum dsaf_mode)i; in hns_dsaf_get_cfg()
89 if (dsaf_dev->dsaf_mode > DSAF_MODE_ENABLE) in hns_dsaf_get_cfg()
253 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_mix_def_qid_cfg()
273 hns_rcb_get_queue_mode(dsaf_dev->dsaf_mode, &max_vfn, &max_q_per_vf); in hns_dsaf_inner_qid_cfg()
1587 if (dsaf_dev->dsaf_mode <= DSAF_MODE_ENABLE) in hns_dsaf_set_mac_key()