Lines Matching refs:num_ifs
12 static void build_if_id_bitmap(__le64 *bmap, const u16 *id, const u16 num_ifs) in build_if_id_bitmap() argument
16 for (i = 0; (i < num_ifs) && (i < DPSW_MAX_IF); i++) { in build_if_id_bitmap()
315 attr->num_ifs = le16_to_cpu(rsp_params->num_ifs); in dpsw_get_attributes()
726 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_add_if()
761 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_add_if_untagged()
792 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_remove_if()
825 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_vlan_remove_if_untagged()
1057 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_fdb_add_multicast()
1059 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_fdb_add_multicast()
1096 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_fdb_remove_multicast()
1098 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_fdb_remove_multicast()
1326 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_set_egress_flood()
1436 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_acl_add_if()
1437 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_acl_add_if()
1463 cmd_params->num_ifs = cpu_to_le16(cfg->num_ifs); in dpsw_acl_remove_if()
1464 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_acl_remove_if()