PHY Support
Prev | Chapter 2. Network device support | Next

## PHY Support

phy_print_status — Convenience function to print out the current phy status
phy_read — Convenience function for reading a given PHY register
phy_write — Convenience function for writing a given PHY register
phy_sanitize_settings — make sure the PHY is set to supported speed and duplex
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_enable_interrupts — Enable the interrupts from the PHY side
phy_disable_interrupts — Disable the PHY interrupts from the PHY side
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_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_change — Scheduled by the phy_interrupt/timer to handle PHY changes
phy_state_machine — Handle the state machine
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_config_advert — sanitize and advertise auto-negotation parameters
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
get_phy_device — reads the specified PHY device and returns its `phy_device` struct
phy_prepare_link — prepares the PHY layer to monitor link status
genphy_setup_forced — configures/forces speed/duplex from `phydev`
genphy_restart_aneg — Enable and Restart Autonegotiation
phy_probe — probe and init a PHY device
mdiobus_register — bring up all the PHYs on a given bus and attach them to bus
mdio_bus_match — determine if given PHY driver supports the given PHY device

Prev | Up | Next
__netif_tx_lock | Home | phy_print_status