Lines Matching refs:active
30 bool active; member
334 if (mlxsw_m->line_cards[slot_index]->active) in mlxsw_m_port_module_map()
464 if (!mlxsw_m->line_cards[slot_index]->active) in mlxsw_m_linecard_ports_create()
465 mlxsw_m->line_cards[slot_index]->active = true; in mlxsw_m_linecard_ports_create()
477 if (mlxsw_m->line_cards[slot_index]->active) in mlxsw_m_linecard_ports_create()
478 mlxsw_m->line_cards[slot_index]->active = false; in mlxsw_m_linecard_ports_create()
555 if (WARN_ON(!linecard->active)) in mlxsw_m_ports_remove_selected()
559 linecard->active = false; in mlxsw_m_ports_remove_selected()
589 if (linecard->active) in mlxsw_m_got_active()
605 linecard->active = true; in mlxsw_m_got_active()
622 if (WARN_ON(!linecard->active)) in mlxsw_m_got_inactive()
626 linecard->active = false; in mlxsw_m_got_inactive()