PHY Support
Prev
Chapter 2. Network device support
Next
PHY Support
phy_print_status
— Convenience function to print out the current phy status
phy_ethtool_sset
— generic ethtool sset function, handles all the details
phy_mii_ioctl
— generic PHY MII ioctl interface
phy_start_aneg
— start auto-negotiation for this PHY device
phy_start_interrupts
— request and enable interrupts for a PHY device
phy_stop_interrupts
— disable interrupts from a PHY device
phy_stop
— Bring down the PHY link, and stop checking the status
phy_start
— start or restart a PHY device
phy_clear_interrupt
— Ack the phy device's interrupt
phy_config_interrupt
— configure the PHY device for the requested interrupts
phy_aneg_done
— return auto-negotiation status
phy_find_setting
— find a PHY settings array entry that matches speed & duplex
phy_find_valid
— find a PHY setting that matches the requested features mask
phy_sanitize_settings
— make sure the PHY is set to supported speed and duplex
phy_start_machine
— start PHY state machine tracking
phy_stop_machine
— stop the PHY state machine tracking
phy_force_reduction
— reduce PHY speed/duplex settings by one step
phy_error
— enter HALTED state for this PHY device
phy_interrupt
— PHY interrupt handler
phy_enable_interrupts
— Enable the interrupts from the PHY side
phy_disable_interrupts
— Disable the PHY interrupts from the PHY side
phy_change
— Scheduled by the phy_interrupt/timer to handle PHY changes
phy_state_machine
— Handle the state machine
get_phy_id
— reads the specified addr for its ID.
get_phy_device
— reads the specified PHY device and returns its
phy_device
struct
phy_device_register
— Register the phy device on the MDIO bus
phy_find_first
— finds the first PHY device on the bus
phy_connect_direct
— connect an ethernet device to a specific phy_device
phy_connect
— connect an ethernet device to a PHY device
phy_disconnect
— disable interrupts, stop state machine, and detach a PHY device
phy_attach
— attach a network device to a particular PHY device
phy_detach
— detach a PHY device from its network device
genphy_restart_aneg
— Enable and Restart Autonegotiation
genphy_config_aneg
— restart auto-negotiation or write BMCR
genphy_update_link
— update link status in
phydev
genphy_read_status
— check the link status and update current link state
phy_driver_register
— register a phy_driver with the PHY layer
phy_prepare_link
— prepares the PHY layer to monitor link status
phy_attach_direct
— attach a network device to a given PHY device pointer
genphy_config_advert
— sanitize and advertise auto-negotiation parameters
genphy_setup_forced
— configures/forces speed/duplex from
phydev
phy_probe
— probe and init a PHY device
mdiobus_alloc
— allocate a mii_bus structure
mdiobus_register
— bring up all the PHYs on a given bus and attach them to bus
mdiobus_free
— free a struct mii_bus
mdiobus_read
— Convenience function for reading a given MII mgmt register
mdiobus_write
— Convenience function for writing a given MII mgmt register
mdiobus_release
— mii_bus device release callback
mdio_bus_match
— determine if given PHY driver supports the given PHY device