/linux-master/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 234 struct device_node *devices, *interface, *node = dev->of_node; local 308 interface = of_parse_phandle(netcp_intf->node_interface, 311 if (!interface) { 322 netcp_intf->ndev, interface, 324 of_node_put(interface); 334 /* Now register the interface with netdev */ 338 /* If interface not registered then register now */ 396 /* Release the module from each interface */ 2122 dev_dbg(netcp_device->device, "Removing interface \"%s\"\n", 2125 /* Notify each of the modules that the interface i [all...] |
H A D | netcp_ethss.c | 3001 if (of_property_read_u32(node, "link-interface", 3004 "missing link-interface value defaulting to 1G mac-phy link\n"); 3156 /* of_phy_connect() is needed only for MAC-PHY interface */ 3537 * NU cppi port 0 tx pkt streaming interface has (n-1)*8 egress threads 3547 struct device_node *interfaces, *interface, *cpts_node; local 3653 for_each_child_of_node(interfaces, interface) { 3654 ret = of_property_read_u32(interface, "slave-port", &slave_num); 3656 dev_err(dev, "missing slave-port parameter, skipping interface configuration for %pOFn\n", 3657 interface); 3662 of_node_put(interface); [all...] |
/linux-master/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_mdio.c | 65 unsigned int mode, phy_interface_t interface) 71 unsigned int mode, phy_interface_t interface, 64 ngbe_mac_link_down(struct phylink_config *config, unsigned int mode, phy_interface_t interface) argument 69 ngbe_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 160 phy_interface_t interface) 165 if (interface == PHY_INTERFACE_MODE_10GBASER) 177 unsigned int mode, phy_interface_t interface) 186 unsigned int mode, phy_interface_t interface, 221 phy_interface_t interface) 232 phy_interface_t interface) 762 wx_err(wx, "failed to init i2c interface: %d\n", ret); 159 txgbe_phylink_mac_select(struct phylink_config *config, phy_interface_t interface) argument 176 txgbe_mac_link_down(struct phylink_config *config, unsigned int mode, phy_interface_t interface) argument 184 txgbe_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument 220 txgbe_mac_prepare(struct phylink_config *config, unsigned int mode, phy_interface_t interface) argument 231 txgbe_mac_finish(struct phylink_config *config, unsigned int mode, phy_interface_t interface) argument
|
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 2029 phy_interface_t interface, 2040 interface == PHY_INTERFACE_MODE_SGMII ? 2044 "Failed to switch PHY interface: %d\n", 2050 ret = phylink_mii_c22_pcs_config(pcs_phy, interface, advertising, 2065 phy_interface_t interface) 2070 if (interface == PHY_INTERFACE_MODE_1000BASEX || 2071 interface == PHY_INTERFACE_MODE_SGMII) 2085 phy_interface_t interface) 2092 unsigned int mode, phy_interface_t interface, 2028 axienet_pcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) argument 2064 axienet_mac_select_pcs(struct phylink_config *config, phy_interface_t interface) argument 2083 axienet_mac_link_down(struct phylink_config *config, unsigned int mode, phy_interface_t interface) argument 2090 axienet_mac_link_up(struct phylink_config *config, struct phy_device *phy, unsigned int mode, phy_interface_t interface, int speed, int duplex, bool tx_pause, bool rx_pause) argument
|
/linux-master/drivers/net/ieee802154/ |
H A D | atusb.c | 330 /* ----- IEEE 802.15.4 interface operations -------------------------------- */ 950 static int atusb_probe(struct usb_interface *interface, argument 953 struct usb_device *usb_dev = interface_to_usbdev(interface); 965 usb_set_intfdata(interface, atusb); 1063 static void atusb_disconnect(struct usb_interface *interface) argument 1065 struct atusb *atusb = usb_get_intfdata(interface); 1083 usb_set_intfdata(interface, NULL);
|
/linux-master/drivers/net/mdio/ |
H A D | mdio-mvusb.c | 64 static int mvusb_mdio_probe(struct usb_interface *interface, argument 67 struct device *dev = &interface->dev; 78 mvusb->udev = usb_get_dev(interface_to_usbdev(interface)); 90 usb_set_intfdata(interface, mvusb); 102 static void mvusb_mdio_disconnect(struct usb_interface *interface) argument 104 struct mvusb_mdio *mvusb = usb_get_intfdata(interface); 108 usb_set_intfdata(interface, NULL);
|
/linux-master/drivers/net/pcs/ |
H A D | pcs-lynx.c | 87 switch (state->interface) { 108 phy_modes(state->interface), 115 phy_interface_t interface, 124 link_timer_ns = phylink_get_link_timer_ns(interface); 132 if (interface == PHY_INTERFACE_MODE_1000BASEX) { 147 return phylink_mii_c22_pcs_config(pcs, interface, advertising, 260 * AN, we call this PHY interface type 2500Base-X. In case a PHY negotiates a 261 * lower link speed on line side, the system-side interface remains fixed at 285 phy_interface_t interface, 290 switch (interface) { 114 lynx_pcs_config_giga(struct mdio_device *pcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument 284 lynx_pcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |
H A D | pcs-mtk-lynxi.c | 74 * @interface: Currently configured interface mode 81 phy_interface_t interface; member in struct:mtk_pcs_lynxi 106 phy_interface_t interface, 115 advertise = phylink_mii_c22_pcs_encode_advertisement(interface, 124 if (interface == PHY_INTERFACE_MODE_SGMII) 133 if (interface == PHY_INTERFACE_MODE_SGMII) 140 if (mpcs->interface != interface) { 141 link_timer = phylink_get_link_timer_ns(interface); 105 mtk_pcs_lynxi_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) argument 210 mtk_pcs_lynxi_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |
H A D | pcs-rzn1-miic.c | 138 * @interface: interface mode of the port 144 phy_interface_t interface; member in struct:miic_port 187 phy_interface_t interface, 195 switch (interface) { 221 /* Update speed only if we are going to change the interface because 225 if (interface != miic_port->interface) { 228 miic_port->interface = interface; 186 miic_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit) argument 237 miic_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument [all...] |
H A D | pcs-xpcs-wx.c | 166 xpcs->interface != PHY_INTERFACE_MODE_10GBASER) || 167 xpcs->interface == PHY_INTERFACE_MODE_SGMII) 173 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface) argument 177 switch (interface) { 186 if (xpcs->interface == interface && !txgbe_xpcs_mode_quirk(xpcs)) 189 xpcs->interface = interface; 195 if (interface == PHY_INTERFACE_MODE_10GBASER) {
|
H A D | pcs-xpcs.c | 148 const phy_interface_t *interface; member in struct:xpcs_compat 161 phy_interface_t interface) 169 if (compat->interface[j] == interface) 176 int xpcs_get_an_mode(struct dw_xpcs *xpcs, phy_interface_t interface) argument 180 compat = xpcs_find_compat(xpcs->id, interface); 593 switch (state->interface) { 615 compat = xpcs_find_compat(xpcs->id, state->interface); 619 /* Populate the supported link modes for this PHY interface type. 639 __set_bit(compat->interface[ 160 xpcs_find_compat(const struct xpcs_id *id, phy_interface_t interface) argument 765 phy_interface_t interface = PHY_INTERFACE_MODE_1000BASEX; local 850 xpcs_do_config(struct dw_xpcs *xpcs, phy_interface_t interface, const unsigned long *advertising, unsigned int neg_mode) argument 906 xpcs_config(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, const unsigned long *advertising, bool permit_pause_to_mac) argument 1206 xpcs_link_up(struct phylink_pcs *pcs, unsigned int neg_mode, phy_interface_t interface, int speed, int duplex) argument 1368 xpcs_create(struct mdio_device *mdiodev, phy_interface_t interface) argument 1434 xpcs_create_mdiodev(struct mii_bus *bus, int addr, phy_interface_t interface) argument [all...] |
H A D | pcs-xpcs.h | 130 int txgbe_xpcs_switch_mode(struct dw_xpcs *xpcs, phy_interface_t interface);
|
/linux-master/drivers/net/phy/ |
H A D | adin.c | 288 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 289 phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { 301 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 302 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { 323 if (phydev->interface != PHY_INTERFACE_MODE_RMII) 552 phy_modes(phydev->interface));
|
H A D | bcm84881.c | 6 // interface according to the operating speed between 10GBASE-R, 45 switch (phydev->interface) { 204 /* Set the host link mode - we set the phy interface mode and 212 phydev->interface = PHY_INTERFACE_MODE_SGMII; 214 phydev->interface = PHY_INTERFACE_MODE_10GBASER; 216 phydev->interface = PHY_INTERFACE_MODE_2500BASEX;
|
H A D | broadcom.c | 55 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || 56 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { 60 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 61 phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { 72 if (phydev->interface == PHY_INTERFACE_MODE_RGMII || 73 phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { 77 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 78 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) { 129 if (phydev->interface != PHY_INTERFACE_MODE_SGMII && 130 phydev->interface ! [all...] |
H A D | davicom.c | 147 switch (phydev->interface) {
|
H A D | dp83822.c | 543 if (phydev->interface == PHY_INTERFACE_MODE_RMII) {
|
H A D | dp83867.c | 516 if (phydev->interface == PHY_INTERFACE_MODE_RGMII) { 533 if ((phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 534 phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) && 541 if ((phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 542 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) && 796 phydev->interface == PHY_INTERFACE_MODE_SGMII) { 805 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { 849 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) 852 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) 855 if (phydev->interface [all...] |
H A D | dp83869.c | 696 if (phydev->interface == PHY_INTERFACE_MODE_MII) { 836 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) 840 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) 843 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID)
|
H A D | dp83tc811.c | 313 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) { 336 if (phydev->interface == PHY_INTERFACE_MODE_SGMII) {
|
H A D | dp83tg720.c | 114 switch (phydev->interface) {
|
H A D | icplus.c | 170 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID) 172 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) 174 else if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID)
|
H A D | intel-xway.c | 182 if (phydev->interface == PHY_INTERFACE_MODE_RGMII) { 201 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 202 phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) { 214 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID || 215 phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) {
|
/linux-master/drivers/net/phy/aquantia/ |
H A D | aquantia_main.c | 387 phydev->interface = PHY_INTERFACE_MODE_10GKR; 390 phydev->interface = PHY_INTERFACE_MODE_1000BASEKX; 393 phydev->interface = PHY_INTERFACE_MODE_10GBASER; 396 phydev->interface = PHY_INTERFACE_MODE_USXGMII; 399 phydev->interface = PHY_INTERFACE_MODE_XAUI; 402 phydev->interface = PHY_INTERFACE_MODE_SGMII; 405 phydev->interface = PHY_INTERFACE_MODE_RXAUI; 408 phydev->interface = PHY_INTERFACE_MODE_2500BASEX; 411 phydev->interface = PHY_INTERFACE_MODE_NA; 517 /* Check that the PHY interface typ 677 phy_interface_t interface; local [all...] |