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()751 params->media_state = RNDIS_MEDIA_STATE_CONNECTED; in rndis_signal_connect()758 params->media_state = RNDIS_MEDIA_STATE_DISCONNECTED; in rndis_signal_disconnect()918 params->media_state = RNDIS_MEDIA_STATE_DISCONNECTED; in rndis_register()1111 (param->media_state) ? 0 : param->speed*100, in rndis_proc_show()1112 (param->media_state) ? "disconnected" : "connected", in rndis_proc_show()
166 u32 media_state; member
1473 int media_state; member5462 static void set_media_state(struct net_device *dev, int media_state) in set_media_state() argument5466 if (media_state == priv->media_state) in set_media_state()5471 media_state == priv->media_state ? "on" : "off"); in set_media_state()5561 priv->media_state = port->linked->state; in netdev_open()6625 if (priv->media_state != port->linked->state) { in update_link()6626 priv->media_state = port->linked->state; in update_link()
98 media_state = "Disconnected" | "Connected"