Lines Matching defs:state

1048  * @state:	Connection status of the port.
1058 * @state provides the connection status so that MIB counters are read only
1066 u8 state;
1080 * @stp_state: Current Spanning Tree Protocol state.
1124 * @state: Connection status of the port.
1133 uint state;
1390 * @multicast: The all multicast state of the device.
1391 * @promiscuous: The promiscuous state of the device.
2453 * port_set_stp_state - configure port spanning tree state
2456 * @state: The spanning tree state.
2458 * This routine configures the spanning tree state of the port.
2460 static void port_set_stp_state(struct ksz_hw *hw, int port, int state)
2465 switch (state) {
2502 hw->ksz_switch->port_cfg[port].stp_state = state;
2958 if (media_connected != info->state) {
2970 info->state = media_connected;
2973 if (media_disconnected != info->state)
2976 info->state = media_disconnected;
2978 hw->port_mib[p].state = (u8) info->state;
2981 if (linked && media_disconnected == port->linked->state)
4948 /* No ports in forwarding state. */
5136 hw->port_mib[i].state = media_disconnected;
5140 hw->port_mib[HOST_PORT].state = media_connected;
5155 hw->port_info[p].state = media_disconnected;
5186 priv->media_state = port->linked->state;
5559 * This function queries the PHY and returns its state in the ethtool command.
6149 if (media_connected == hw->port_mib[p].state) {
6254 if (priv->media_state != port->linked->state) {
6255 priv->media_state = port->linked->state;
6290 if (media_connected == mib->state)
6706 hw->port_info[pi].state = media_disconnected;