aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
AgeCommit message (Expand)AuthorFilesLines
9 daysphy: add hwtstamp_get callback to phy driversVadim Fedorenko1-0/+3
9 daysphy: rename hwtstamp callback to hwtstamp_setVadim Fedorenko1-4/+7
2025-09-18net: phy: clear link parameters on admin link downOleksij Rempel1-0/+13
2025-09-15net: phy: clear EEE runtime state in PHY_HALTED/PHY_ERROROleksij Rempel1-0/+2
2025-09-05net: phy: transfer phy_config_inband() locking responsibility to phylinkVladimir Oltean1-8/+4
2025-03-20net: phy: Support speed selection for PHY loopbackGerhard Engleder1-0/+87
2025-03-18net: phy: phy_caps: Allow looking-up link caps based on speed and duplexMaxime Chevallier1-25/+7
2025-03-18net: phy: phy_caps: Introduce phy_caps_validMaxime Chevallier1-1/+1
2025-03-18net: phy: phy_caps: Move phy_speeds to phy_capsMaxime Chevallier1-1/+2
2025-02-24net: phy: add phylib-internal.hHeiner Kallweit1-0/+2
2025-02-18net: phy: c45: remove local advertisement parameter from genphy_c45_eee_is_ac...Heiner Kallweit1-2/+2
2025-02-14net: phy: remove helper phy_is_internalHeiner Kallweit1-1/+1
2025-02-14net: phy: stop exporting phy_queue_state_machineHeiner Kallweit1-2/+2
2025-02-12net: phy: Add support for driver-specific next update timeOleksij Rempel1-1/+20
2025-01-16net: phy: add support for querying PHY clock stop capabilityRussell King (Oracle)1-0/+20
2025-01-14net: phy: introduce optional polling interface for PHY statisticsOleksij Rempel1-0/+20
2025-01-14net: ethtool: plumb PHY stats to PHY driversJakub Kicinski1-0/+43
2025-01-10net: phy: add configuration of rx clock stop modeRussell King (Oracle)1-5/+22
2024-12-06net: phy: update phy_ethtool_get_eee() documentationRussell King (Oracle)1-2/+2
2024-12-06net: phy: remove genphy_c45_eee_is_active()'s is_enabled argRussell King (Oracle)1-3/+2
2024-12-04net: phy: add phy_config_inband()Russell King (Oracle)1-0/+32
2024-12-04net: phy: add phy_inband_caps()Russell King (Oracle)1-0/+21
2024-11-28net: phy: fix phy_ethtool_set_eee() incorrectly enabling LPIRussell King (Oracle)1-12/+18
2024-11-24net: phy: ensure that genphy_c45_an_config_eee_aneg() sees new value of phyde...Heiner Kallweit1-10/+14
2024-09-04net: phy: Check for read errors in SIOCGMIIREGNiklas Söderlund1-6/+11
2024-08-26net: phy: Add phy library support to check supported list when autoneg is ena...Divya Koppera1-1/+4
2024-06-28net: move ethtool-related netdev state into its own structEdward Cree1-1/+1
2024-03-11net: phy: simplify a check in phy_check_link_statusHeiner Kallweit1-2/+2
2024-03-05net: phy: Immediately call adjust_link if only tx_lpi_enabled changesAndrew Lunn1-3/+37
2024-03-05net: phy: Keep track of EEE configurationAndrew Lunn1-2/+5
2024-03-05net: phy: Add phydev->enable_tx_lpi to simplify adjust link callbacksAndrew Lunn1-0/+7
2024-02-06net: phy: constify phydev->drvRussell King (Oracle)1-2/+1
2024-01-31ethtool: replace struct ethtool_eee with a new struct ethtool_keee on kernel ...Heiner Kallweit1-4/+4
2023-11-18net: phy: Remove the call to phy_mii_ioctl in phy_hwstamp_get/setKory Maincent1-2/+5
2023-11-18net: Convert PHYs hwtstamp callback to use kernel_hwtstamp_configKory Maincent1-2/+19
2023-09-19net: phy: fix regression with AX88772A PHY driverRussell King (Oracle)1-1/+2
2023-09-17net: phy: convert phy_stop() to use split state machineRussell King (Oracle)1-1/+3
2023-09-17net: phy: split locked and unlocked section of phy_state_machine()Russell King (Oracle)1-26/+42
2023-09-17net: phy: move phy_state_machine()Russell King (Oracle)1-76/+76
2023-09-17net: phy: move phy_suspend() to end of phy_state_machine()Russell King (Oracle)1-7/+6
2023-09-17net: phy: move call to start anegRussell King (Oracle)1-5/+6
2023-09-17net: phy: call phy_error_precise() while holding the lockRussell King (Oracle)1-3/+1
2023-09-17net: phy: always call phy_process_state_change() under lockRussell King (Oracle)1-1/+1
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+7
2023-08-19net: phy: Fix deadlocking in phy_error() invocationSerge Semin1-4/+7
2023-08-02net: phy: provide phylib stubs for hardware timestamping operationsVladimir Oltean1-0/+34
2023-05-24net: phy: avoid kernel warning dump when stopping an errored PHYRussell King (Oracle)1-4/+7
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+16
2023-03-24net: phy: Improved PHY error reporting in state machineFlorian Fainelli1-9/+24
2023-03-19net: phy: Ensure state transitions are processed from phy_stop()Florian Fainelli1-7/+16
2023-02-20net: phy: Add locks to ethtool functionsAndrew Lunn1-18/+66
2023-02-13net: phy: start using genphy_c45_ethtool_get/set_eee()Oleksij Rempel1-58/+2
2023-02-13net: phy: migrate phy_init_eee() to genphy_c45_eee_is_active()Oleksij Rempel1-75/+14
2023-02-13net: phy: export phy_check_valid() functionOleksij Rempel1-2/+2
2023-01-11drivers/net/phy: add connection between ethtool and phylib for PLCAPiergiorgio Beruto1-0/+192
2022-11-08ethtool: linkstate: add a statistic for PHY down eventsJakub Kicinski1-0/+1
2022-09-23net: phy: Add support for rate matchingSean Anderson1-0/+28
2022-06-29net: phy: Don't trigger state machine while in suspendLukas Wunner1-0/+23
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2022-05-09net: phy: Fix race condition on link status changeFrancesco Dolcini1-1/+6
2022-05-02net: phy: Convert to mdiobus_c45_{read|write}Andrew Lunn1-7/+11
2021-11-04net: phy: fix duplex out of sync problem while changing settingsHeiner Kallweit1-1/+6
2021-10-25phy: phy_ethtool_ksettings_set: Lock the PHY while changing settingsAndrew Lunn1-1/+3
2021-10-25phy: phy_start_aneg: Add an unlocked versionAndrew Lunn1-6/+24
2021-10-25phy: phy_ethtool_ksettings_set: Move after phy_start_anegAndrew Lunn1-53/+53
2021-10-25phy: phy_ethtool_ksettings_get: Lock the phy for consistencyAndrew Lunn1-0/+2
2021-07-27dev_ioctl: split out ndo_eth_ioctlArnd Bergmann1-2/+2
2021-06-16net: phy: fix formatting issues with bracesWenpeng Liang1-2/+1
2021-06-07net: phy: do not print dump stack if device was removedOleksij Rempel1-0/+3
2021-04-20net: phy: genphy_loopback: add link speed configurationOleksij Rempel1-1/+2
2021-03-01net: phy: fix save wrong speed and duplex problem if autoneg is onGuangbin Huang1-2/+4
2021-02-15net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPTHeiner Kallweit1-1/+1
2021-02-11net: phy: introduce phydev->portMichael Walle1-1/+1
2021-01-07net: phy: replace mutex_is_locked with lockdep_assert_held in phylibHeiner Kallweit1-1/+1
2020-11-25net: phy: remove the .did_interrupt() and .ack_interrupt() callbackIoana Ciornei1-46/+2
2020-11-17net: phy: fix kernel-doc markupsMauro Carvalho Chehab1-1/+1
2020-11-05net: phy: export phy_error and phy_trigger_machineIoana Ciornei1-2/+4
2020-09-23net: phy: Document core PHY structuresAndrew Lunn1-1/+68
2020-09-17net: phy: Do not warn in phy_stop() on PHY_DOWNFlorian Fainelli1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-07-08net: phy: Uninline PHY ethtool statistics operationsFlorian Fainelli1-0/+48
2020-06-24net: phy: make phy_disable_interrupts() non-staticJisheng Zhang1-1/+1
2020-05-26net: ethtool: Allow PHY cable test TDR data to configuredAndrew Lunn1-2/+3
2020-05-26net: ethtool: Add generic parts of cable test TDRAndrew Lunn1-1/+64
2020-05-26net: mdiobus: add clause 45 mdiobus accessorsRussell King1-2/+2
2020-05-18net: phy: simplify phy_link_change argumentsDoug Berger1-6/+6
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-3/+5
2020-05-13net: phy: fix aneg restart in phy_ethtool_set_eeeHeiner Kallweit1-3/+5
2020-05-10net: phy: Put interface into oper testing during cable testAndrew Lunn1-1/+11
2020-05-10net: ethtool: Add infrastructure for reporting cable test resultsAndrew Lunn1-2/+20
2020-05-10net: phy: Add support for polling cable testAndrew Lunn1-0/+2
2020-05-10net: phy: Add cable test support to state machineAndrew Lunn1-0/+76
2020-05-06ethtool: provide UAPI for PHY master/slave configuration.Oleksij Rempel1-1/+3
2020-03-23net: phy: add and use phy_check_downshiftHeiner Kallweit1-1/+3
2020-03-17net: phy: improve phy_driver callback handle_interruptHeiner Kallweit1-14/+12
2020-03-01net: phy: avoid clearing PHY interrupts twice in irq handlerHeiner Kallweit1-1/+2
2020-01-21net: phy: add new version of phy_do_ioctlHeiner Kallweit1-3/+13
2020-01-21net: phy: rename phy_do_ioctl to phy_do_ioctl_runningHeiner Kallweit1-3/+3
2020-01-20net: phy: add generic ndo_do_ioctl handler phy_do_ioctlHeiner Kallweit1-0/+15
2019-12-25net: Introduce a new MII time stamping interface.Richard Cochran1-2/+2
2019-11-23net: phy: remove phy_ethtool_sset()Russell King1-60/+0
2019-11-18net: phy: add core phylib sfp supportRussell King1-0/+7
2019-10-16net: phy: Fix "link partner" information disappear issueYonglong Liu1-3/+0
2019-10-04net: phy: fix write to mii-ctrl1000 registerRussell King1-0/+5
2019-09-06net: phy: Do not check Link status when loopback is enabledJose Abreu1-0/+6
2019-09-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-08-28net: phy: force phy suspend when calling phy_stopJian Shen1-1/+1
2019-08-27Add genphy_c45_config_aneg() function to phy-c45.cMarco Hartmann1-1/+1
2019-08-13net: phy: let phy_speed_down/up support speeds >1GbpsHeiner Kallweit1-44/+16
2019-07-08net: phy: Make use of linkmode_mod_bit helperFuqian Huang1-12/+4
2019-06-05net: phy: remove state PHY_FORCINGHeiner Kallweit1-24/+2
2019-05-31net: phy: allow Clause 45 access via mii ioctlRussell King1-9/+24
2019-05-30net: phy: export phy_queue_state_machineHeiner Kallweit1-3/+5
2019-05-30net: phy: add callback for custom interrupt handler to struct phy_driverHeiner Kallweit1-2/+7
2019-05-30net: phy: enable interrupts when PHY is attached alreadyHeiner Kallweit1-14/+22
2019-05-07net: phy: improve pause mode reporting in phy_print_statusHeiner Kallweit1-1/+27
2019-05-04net: phy: improve resuming from hibernationHeiner Kallweit1-6/+1
2019-04-18net: phy: remove dead code from phy_sanitize_settingsHeiner Kallweit1-4/+0
2019-03-20net: phy: improve handling link_change_notify callbackHeiner Kallweit1-4/+4
2019-03-03net: phy: use genphy_c45_aneg_done in genphy_aneg_doneHeiner Kallweit1-8/+4
2019-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+7
2019-02-14net: phy: fix potential race in the phylib state machineHeiner Kallweit1-0/+2
2019-02-14net: phy: don't use locking in phy_is_startedHeiner Kallweit1-6/+5
2019-02-13net: phy: fix interrupt handling in non-started statesHeiner Kallweit1-3/+0
2019-02-06net: phy: make use of new MMD accessorsHeiner Kallweit1-8/+3
2019-01-24net: phy: change phy_start_interrupts to phy_request_interruptHeiner Kallweit1-12/+11
2019-01-24net: phy: start interrupts in phy_startHeiner Kallweit1-20/+14
2019-01-24net: phy: warn if phy_start is called from invalid stateHeiner Kallweit1-2/+9
2019-01-24net: phy: start state machine in phy_start onlyHeiner Kallweit1-1/+1
2019-01-22net: phy: Convert some PHY and MDIO driver files to SPDX headersAndrew Lunn1-6/+1
2019-01-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-12/+7
2019-01-18net: phy: remove phy_stop_interruptsHeiner Kallweit1-17/+0
2019-01-18net: phy: ensure phylib state machine is stopped after calling phy_stopHeiner Kallweit1-0/+1
2019-01-18net: phy: remove state PHY_CHANGELINKHeiner Kallweit1-2/+0
2019-01-16net: phy: don't include asm/irq.h directlyHeiner Kallweit1-2/+0
2019-01-16net: phy: improve logging in phylibHeiner Kallweit1-4/+1
2019-01-15net: phy: fix too strict check in phy_start_anegHeiner Kallweit1-12/+7
2018-12-18net: phy: print stack trace in phy_errorHeiner Kallweit1-0/+2
2018-12-18net: phy: improve phy state checkingHeiner Kallweit1-13/+21
2018-12-05net: phy: Fix ioctl handler when modifing MII_ADVERTISEAndrew Lunn1-2/+2
2018-12-03net: phy: improve generic EEE ethtool functionsHeiner Kallweit1-5/+10
2018-11-12net: phy: check if advertising is zero using linkmode_emptyColin Ian King1-1/+1
2018-11-11net: phy: Convert u32 phydev->lp_advertising to linkmodeAndrew Lunn1-5/+3
2018-11-11net: ethernet: Convert phydev advertize and supported from u32 to link modeAndrew Lunn1-47/+107
2018-11-11net: phy: remove states PHY_STARTING and PHY_PENDINGHeiner Kallweit1-7/+0
2018-11-11net: phy: improve and inline phy_changeHeiner Kallweit1-32/+15
2018-11-11net: phy: simplify phy_mac_interrupt and related functionsHeiner Kallweit1-13/+1
2018-11-11net: phy: don't set state PHY_CHANGELINK in phy_changeHeiner Kallweit1-8/+0
2018-11-09net: phy: improve struct phy_device member interrupts handlingHeiner Kallweit1-2/+2
2018-11-08net: phy: use phy_check_link_status in more places in the state machineHeiner Kallweit1-48/+5
2018-11-08net: phy: remove state PHY_ANHeiner Kallweit1-27/+0
2018-11-08net: phy: add phy_check_link_statusHeiner Kallweit1-30/+40
2018-11-08net: phy: remove useless check in state machine case PHY_RESUMINGHeiner Kallweit1-12/+1
2018-11-08net: phy: remove useless check in state machine case PHY_NOLINKHeiner Kallweit1-11/+0
2018-11-07net: phy: make phy_trigger_machine staticHeiner Kallweit1-21/+12
2018-10-15net: phy: merge phy_start_aneg and phy_start_aneg_privHeiner Kallweit1-18/+3
2018-10-15net: phy: simplify handling of PHY_RESUMING in state machineHeiner Kallweit1-29/+14
2018-10-15net: phy: improve handling of PHY_RUNNING in state machineHeiner Kallweit1-20/+9
2018-10-15net: phy: trigger state machine immediately in phy_start_machineHeiner Kallweit1-1/+1
2018-10-01net: phy: improve handling delayed workHeiner Kallweit1-14/+15
2018-09-21net: phy: don't reschedule state machine when PHY is haltedHeiner Kallweit1-2/+6
2018-09-19net: phy: call state machine synchronously in phy_stopHeiner Kallweit1-0/+2
2018-07-25net: phy: add helper phy_polling_modeHeiner Kallweit1-4/+4
2018-07-25net: phy: prevent PHYs w/o Clause 22 regs from calling genphy_config_anegCamelia Groza1-2/+8
2018-07-24Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-07-21net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_privHeiner Kallweit1-1/+1
2018-07-16net: phy: add phy_speed_down and phy_speed_upHeiner Kallweit1-0/+78
2018-07-16net: phy: add helper phy_config_anegHeiner Kallweit1-4/+9
2018-06-03net: phy: consider PHY_IGNORE_INTERRUPT in state machine PHY_NOLINK handlingHeiner Kallweit1-1/+1
2018-04-28net: phy: Fix modular PHYLIB buildFlorian Fainelli1-48/+0
2018-04-27net: Move PHY statistics code into PHY library helpersFlorian Fainelli1-0/+48
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-64/+63
2018-03-12net: phy: Tell caller result of phy_change()Brad Mouring1-73/+72
2018-03-07net: phy: use phy_disable_interrupts in phy_stopHeiner Kallweit1-7/+2
2018-03-07net: phy: remove phy_error from phy_disable_interruptsHeiner Kallweit1-11/+2
2018-02-27net: phy: Restore phy_resume() locking assumptionAndrew Lunn1-1/+1
2018-02-08net: phy: fix phy_start to consider PHY_IGNORE_INTERRUPTHeiner Kallweit1-1/+1
2018-01-15net: phy: remove parameter new_link from phy_mac_interrupt()Heiner Kallweit1-7/+3
2017-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+3
2017-12-13net: phy: fix resume handlingRussell King1-6/+3
2017-12-04net: phy: core: don't disable device interrupts in phy_changeHeiner Kallweit1-13/+6
2017-12-04net: phy: core: remove now uneeded disabling of interruptsHeiner Kallweit1-24/+2
2017-12-01net: phy: core: use genphy version of callbacks read_status and config_aneg p...Heiner Kallweit1-1/+4
2017-09-21net: phy: Keep reporting transceiver typeFlorian Fainelli1-1/+2
2017-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+0
2017-08-30Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()"Florian Fainelli1-3/+0
2017-08-06net: phy: export phy_start_machine() for phylinkRussell King1-0/+1
2017-08-06net: phy: provide a hook for link up/link down eventsRussell King1-22/+20
2017-08-06net: phy: move phy_lookup_setting() and guts of phy_supported_speeds() to phy...Russell King1-129/+1
2017-08-06net: phy: split out PHY speed and duplex string generationRussell King1-37/+1
2017-08-06net: phy: allow settings table to support more than 32 link modesRussell King1-18/+26
2017-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2017-07-31net: phy: Correctly process PHY_HALTED in phy_stop_machine()Florian Fainelli1-0/+3
2017-07-31net: phy: Log only PHY state transitionsMarc Gonzalez1-3/+4
2017-07-27net: phy: Remove stale comments referencing timerFlorian Fainelli1-6/+5
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-31/+32
2017-07-03Merge tag 'docs-4.13' of git://git.lwn.net/linuxLinus Torvalds1-0/+1
2017-06-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2017-06-13net: phy: Make phy_ethtool_ksettings_get return voidyuval.shaia@oracle.com1-5/+5
2017-06-09net: phy: add missing SPEED_14000Joe Perches1-0/+2