Lines Matching defs:state
1116 * @state: Connection status of the port.
1126 * @state provides the connection status so that MIB counters are read only
1134 u8 state;
1148 * @stp_state: Current Spanning Tree Protocol state.
1192 * @state: Connection status of the port.
1201 uint state;
1458 * @multicast: The all multicast state of the device.
1459 * @promiscuous: The promiscuous state of the device.
2765 * port_set_stp_state - configure port spanning tree state
2768 * @state: The spanning tree state.
2770 * This routine configures the spanning tree state of the port.
2772 static void port_set_stp_state(struct ksz_hw *hw, int port, int state)
2777 switch (state) {
2814 hw->ksz_switch->port_cfg[port].stp_state = state;
3328 if (media_connected != info->state) {
3341 info->state = media_connected;
3343 if (media_disconnected != info->state) {
3349 info->state = media_disconnected;
3351 hw->port_mib[p].state = (u8) info->state;
3354 if (linked && media_disconnected == port->linked->state)
5322 /* No ports in forwarding state. */
5511 hw->port_mib[i].state = media_disconnected;
5515 hw->port_mib[HOST_PORT].state = media_connected;
5530 hw->port_info[p].state = media_disconnected;
5561 priv->media_state = port->linked->state;
5934 * This function queries the PHY and returns its state in the ethtool command.
6520 if (media_connected == hw->port_mib[p].state) {
6625 if (priv->media_state != port->linked->state) {
6626 priv->media_state = port->linked->state;
6660 if (media_connected == mib->state)
7076 hw->port_info[pi].state = media_disconnected;