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; member5387 static void set_media_state(struct net_device *dev, int media_state) in set_media_state() argument5391 if (media_state == priv->media_state) in set_media_state()5396 media_state == priv->media_state ? "on" : "off"); in set_media_state()5486 priv->media_state = port->linked->state; in netdev_open()6550 if (priv->media_state != port->linked->state) { in update_link()6551 priv->media_state = port->linked->state; in update_link()
99 media_state = "Disconnected" | "Connected"