Searched refs:media_state (Results 1 – 4 of 4) sorted by relevance
259 if (params->media_state == RNDIS_MEDIA_STATE_DISCONNECTED) in gen_ndis_query_resp()328 *outbuf = cpu_to_le32(params->media_state); in gen_ndis_query_resp()755 params->media_state = RNDIS_MEDIA_STATE_CONNECTED; in rndis_signal_connect()762 params->media_state = RNDIS_MEDIA_STATE_DISCONNECTED; in rndis_signal_disconnect()922 params->media_state = RNDIS_MEDIA_STATE_DISCONNECTED; in rndis_register()1123 (param->media_state) ? 0 : param->speed*100, in rndis_proc_show()1124 (param->media_state) ? "disconnected" : "connected", in rndis_proc_show()
166 u32 media_state; member
1405 int media_state; member5088 static void set_media_state(struct net_device *dev, int media_state) in set_media_state() argument5092 if (media_state == priv->media_state) in set_media_state()5097 media_state == priv->media_state ? "on" : "off"); in set_media_state()5186 priv->media_state = port->linked->state; in netdev_open()6254 if (priv->media_state != port->linked->state) { in update_link()6255 priv->media_state = port->linked->state; in update_link()
99 media_state = "Disconnected" | "Connected"