Searched refs:num_ifs (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/staging/fsl-dpaa2/ethsw/ |
D | dpsw.c | 14 const u16 num_ifs) in build_if_id_bitmap() argument 18 for (i = 0; (i < num_ifs) && (i < DPSW_MAX_IF); i++) { in build_if_id_bitmap() 342 attr->num_ifs = le16_to_cpu(rsp_params->num_ifs); in dpsw_get_attributes() 806 build_if_id_bitmap(cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_add_if() 844 build_if_id_bitmap(cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_add_if_untagged() 878 build_if_id_bitmap(cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_remove_if() 914 build_if_id_bitmap(cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_remove_if_untagged() 1102 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_fdb_add_multicast() 1104 build_if_id_bitmap(cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_fdb_add_multicast() 1144 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_fdb_remove_multicast() [all …]
|
D | ethsw.c | 133 vcfg.num_ifs = 1; in dpaa2_switch_port_add_vlan() 247 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_dellink() 302 entry.num_ifs = 1; in dpaa2_switch_port_fdb_add_mc() 323 entry.num_ifs = 1; in dpaa2_switch_port_fdb_del_mc() 794 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_links_state_update() 1106 vcfg.num_ifs = 1; in dpaa2_switch_port_del_vlan() 1133 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_port_del_vlan() 1230 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) in dpaa2_switch_port_bridge_join() 1542 for (i = 0; i < ethsw->sw_attr.num_ifs; i++) { in dpaa2_switch_init() 1593 vcfg.num_ifs = 1; in dpaa2_switch_port_init() [all …]
|
D | dpsw-cmd.h | 96 __le16 num_ifs; member 171 __le16 num_ifs; member 339 __le16 num_ifs; member
|
D | dpsw.h | 166 u16 num_ifs; member 401 u16 num_ifs; member 503 u16 num_ifs; member
|