Lines Matching refs:mii_if
138 struct mii_if_info mii_if; member
284 duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media); in tsi108_check_phy()
289 speed = mii_speed(&data->mii_if); in tsi108_check_phy()
308 if (data->mii_if.full_duplex) { in tsi108_check_phy()
1254 data->mii_if.supports_gmii = mii_check_gmii_support(&data->mii_if); in tsi108_init_phy()
1492 mii_ethtool_get_link_ksettings(&data->mii_if, cmd); in tsi108_get_link_ksettings()
1506 rc = mii_ethtool_set_link_ksettings(&data->mii_if, cmd); in tsi108_set_link_ksettings()
1517 return generic_mii_ioctl(&data->mii_if, if_mii(rq), cmd, NULL); in tsi108_do_ioctl()
1580 data->mii_if.dev = dev; in tsi108_init_one()
1581 data->mii_if.mdio_read = tsi108_mdio_read; in tsi108_init_one()
1582 data->mii_if.mdio_write = tsi108_mdio_write; in tsi108_init_one()
1583 data->mii_if.phy_id = einfo->phy; in tsi108_init_one()
1584 data->mii_if.phy_id_mask = 0x1f; in tsi108_init_one()
1585 data->mii_if.reg_num_mask = 0x1f; in tsi108_init_one()