Lines Matching refs:if_id

343 int dpsw_if_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id,  in dpsw_if_set_link_cfg()  argument
354 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_link_cfg()
373 u16 if_id, struct dpsw_link_state *state) in dpsw_if_get_link_state() argument
385 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_link_state()
411 int dpsw_if_set_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_tci() argument
423 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_tci()
443 int dpsw_if_get_tci(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_get_tci() argument
456 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_tci()
485 int dpsw_if_set_stp(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id, in dpsw_if_set_stp() argument
496 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_stp()
516 u16 if_id, enum dpsw_counter type, u64 *counter) in dpsw_if_get_counter() argument
528 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_counter()
552 int dpsw_if_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) in dpsw_if_enable() argument
562 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_enable()
577 int dpsw_if_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u16 if_id) in dpsw_if_disable() argument
587 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_disable()
604 u16 if_id, struct dpsw_if_attr *attr) in dpsw_if_get_attributes() argument
614 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_attributes()
645 u16 if_id, u16 frame_length) in dpsw_if_set_max_frame_length() argument
655 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_max_frame_length()
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()
1059 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_fdb_add_multicast()
1098 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_fdb_remove_multicast()
1243 u16 if_id, u8 mac_addr[6]) in dpsw_if_get_port_mac_addr() argument
1255 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_get_port_mac_addr()
1326 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_set_egress_flood()
1343 u16 if_id, enum dpsw_learning_mode mode) in dpsw_if_set_learning_mode() argument
1352 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_set_learning_mode()
1437 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_acl_add_if()
1464 build_if_id_bitmap(&cmd_params->if_id, cfg->if_id, cfg->num_ifs); in dpsw_acl_remove_if()
1538 cmd_params->result_if_id = cpu_to_le16(cfg->result.if_id); in dpsw_acl_add_entry()
1572 cmd_params->result_if_id = cpu_to_le16(cfg->result.if_id); in dpsw_acl_remove_entry()
1595 u16 if_id) in dpsw_set_reflection_if() argument
1604 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_set_reflection_if()
1620 u16 if_id, const struct dpsw_reflection_cfg *cfg) in dpsw_if_add_reflection() argument
1629 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_add_reflection()
1647 u16 if_id, const struct dpsw_reflection_cfg *cfg) in dpsw_if_remove_reflection() argument
1656 cmd_params->if_id = cpu_to_le16(if_id); in dpsw_if_remove_reflection()