Lines Matching refs:phy_device
409 struct phy_device *phydev;
427 struct phy_device *phydev;
548 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
555 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
562 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
572 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
608 static irqreturn_t kszphy_handle_interrupt(struct phy_device *phydev) in kszphy_handle_interrupt()
626 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
642 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
676 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
692 static int kszphy_nand_tree_disable(struct phy_device *phydev) in kszphy_nand_tree_disable()
713 static int kszphy_config_reset(struct phy_device *phydev) in kszphy_config_reset()
733 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
752 static int ksz8041_fiber_mode(struct phy_device *phydev) in ksz8041_fiber_mode()
759 static int ksz8041_config_init(struct phy_device *phydev) in ksz8041_config_init()
781 static int ksz8041_config_aneg(struct phy_device *phydev) in ksz8041_config_aneg()
792 static int ksz8051_ksz8795_match_phy_device(struct phy_device *phydev, in ksz8051_ksz8795_match_phy_device()
816 static int ksz8051_match_phy_device(struct phy_device *phydev, in ksz8051_match_phy_device()
822 static int ksz8081_config_init(struct phy_device *phydev) in ksz8081_config_init()
834 static int ksz8081_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz8081_config_mdix()
860 static int ksz8081_config_aneg(struct phy_device *phydev) in ksz8081_config_aneg()
875 static int ksz8081_mdix_update(struct phy_device *phydev) in ksz8081_mdix_update()
904 static int ksz8081_read_status(struct phy_device *phydev) in ksz8081_read_status()
915 static int ksz8061_config_init(struct phy_device *phydev) in ksz8061_config_init()
937 static int ksz8795_match_phy_device(struct phy_device *phydev, in ksz8795_match_phy_device()
943 static int ksz9021_load_values_from_of(struct phy_device *phydev, in ksz9021_load_values_from_of()
991 static int ksz9021_config_init(struct phy_device *phydev) in ksz9021_config_init()
1082 static int ksz9031_set_loopback(struct phy_device *phydev, bool enable, in ksz9031_set_loopback()
1105 static int ksz9031_of_load_skew_values(struct phy_device *phydev, in ksz9031_of_load_skew_values()
1146 static int ksz9031_center_flp_timing(struct phy_device *phydev) in ksz9031_center_flp_timing()
1164 static int ksz9031_enable_edpd(struct phy_device *phydev) in ksz9031_enable_edpd()
1175 static int ksz9031_config_rgmii_delay(struct phy_device *phydev) in ksz9031_config_rgmii_delay()
1236 static int ksz9031_config_init(struct phy_device *phydev) in ksz9031_config_init()
1335 static int ksz9131_of_load_skew_values(struct phy_device *phydev, in ksz9131_of_load_skew_values()
1392 static int ksz9131_config_rgmii_delay(struct phy_device *phydev) in ksz9131_config_rgmii_delay()
1436 static int ksz9131_led_errata(struct phy_device *phydev) in ksz9131_led_errata()
1450 static int ksz9131_config_init(struct phy_device *phydev) in ksz9131_config_init()
1525 static int ksz9131_mdix_update(struct phy_device *phydev) in ksz9131_mdix_update()
1549 static int ksz9131_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz9131_config_mdix()
1573 static int ksz9131_read_status(struct phy_device *phydev) in ksz9131_read_status()
1584 static int ksz9131_config_aneg(struct phy_device *phydev) in ksz9131_config_aneg()
1595 static int ksz9477_get_features(struct phy_device *phydev) in ksz9477_get_features()
1618 static int ksz8873mll_read_status(struct phy_device *phydev) in ksz8873mll_read_status()
1643 static int ksz9031_get_features(struct phy_device *phydev) in ksz9031_get_features()
1670 static int ksz9031_read_status(struct phy_device *phydev) in ksz9031_read_status()
1694 static int ksz9x31_cable_test_start(struct phy_device *phydev) in ksz9x31_cable_test_start()
1762 static int ksz9x31_cable_test_fault_length(struct phy_device *phydev, u16 stat) in ksz9x31_cable_test_fault_length()
1777 static int ksz9x31_cable_test_wait_for_completion(struct phy_device *phydev) in ksz9x31_cable_test_wait_for_completion()
1800 static int ksz9x31_cable_test_one_pair(struct phy_device *phydev, int pair) in ksz9x31_cable_test_one_pair()
1841 static int ksz9x31_cable_test_get_status(struct phy_device *phydev, in ksz9x31_cable_test_get_status()
1896 static int ksz8873mll_config_aneg(struct phy_device *phydev) in ksz8873mll_config_aneg()
1901 static int ksz886x_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz886x_config_mdix()
1931 static int ksz886x_config_aneg(struct phy_device *phydev) in ksz886x_config_aneg()
1968 static int ksz886x_mdix_update(struct phy_device *phydev) in ksz886x_mdix_update()
1998 static int ksz886x_read_status(struct phy_device *phydev) in ksz886x_read_status()
2009 static int ksz9477_mdix_update(struct phy_device *phydev) in ksz9477_mdix_update()
2019 static int ksz9477_read_mdix_ctrl(struct phy_device *phydev) in ksz9477_read_mdix_ctrl()
2037 static int ksz9477_read_status(struct phy_device *phydev) in ksz9477_read_status()
2048 static int ksz9477_config_aneg(struct phy_device *phydev) in ksz9477_config_aneg()
2094 static int ksz9477_phy_errata(struct phy_device *phydev) in ksz9477_phy_errata()
2125 static int ksz9477_config_init(struct phy_device *phydev) in ksz9477_config_init()
2146 static int kszphy_get_sset_count(struct phy_device *phydev) in kszphy_get_sset_count()
2151 static void kszphy_get_strings(struct phy_device *phydev, u8 *data) in kszphy_get_strings()
2159 static u64 kszphy_get_stat(struct phy_device *phydev, int i) in kszphy_get_stat()
2178 static void kszphy_get_stats(struct phy_device *phydev, in kszphy_get_stats()
2193 static int kszphy_update_stats(struct phy_device *phydev) in kszphy_update_stats()
2207 static void kszphy_get_phy_stats(struct phy_device *phydev, in kszphy_get_phy_stats()
2277 static int kszphy_get_sqi(struct phy_device *phydev) in kszphy_get_sqi()
2341 static int kszphy_get_sqi_max(struct phy_device *phydev) in kszphy_get_sqi_max()
2346 static int kszphy_get_mse_capability(struct phy_device *phydev, in kszphy_get_mse_capability()
2386 static int kszphy_get_mse_snapshot(struct phy_device *phydev, in kszphy_get_mse_snapshot()
2446 static void kszphy_enable_clk(struct phy_device *phydev) in kszphy_enable_clk()
2456 static void kszphy_disable_clk(struct phy_device *phydev) in kszphy_disable_clk()
2466 static int kszphy_generic_resume(struct phy_device *phydev) in kszphy_generic_resume()
2473 static int kszphy_generic_suspend(struct phy_device *phydev) in kszphy_generic_suspend()
2486 static int kszphy_suspend(struct phy_device *phydev) in kszphy_suspend()
2498 static void kszphy_parse_led_mode(struct phy_device *phydev) in kszphy_parse_led_mode()
2522 static int kszphy_resume(struct phy_device *phydev) in kszphy_resume()
2554 static int ksz8041_resume(struct phy_device *phydev) in ksz8041_resume()
2561 static int ksz8041_suspend(struct phy_device *phydev) in ksz8041_suspend()
2568 static int ksz9477_resume(struct phy_device *phydev) in ksz9477_resume()
2604 static int ksz8061_resume(struct phy_device *phydev) in ksz8061_resume()
2636 static int ksz8061_suspend(struct phy_device *phydev) in ksz8061_suspend()
2641 static int kszphy_probe(struct phy_device *phydev) in kszphy_probe()
2710 static int lan8814_cable_test_start(struct phy_device *phydev) in lan8814_cable_test_start()
2721 static int ksz886x_cable_test_start(struct phy_device *phydev) in ksz886x_cable_test_start()
2767 static __always_inline int ksz886x_cable_test_fault_length(struct phy_device *phydev, in ksz886x_cable_test_fault_length()
2784 static int ksz886x_cable_test_wait_for_completion(struct phy_device *phydev) in ksz886x_cable_test_wait_for_completion()
2796 static int lan8814_cable_test_one_pair(struct phy_device *phydev, int pair) in lan8814_cable_test_one_pair()
2841 static int ksz886x_cable_test_one_pair(struct phy_device *phydev, int pair) in ksz886x_cable_test_one_pair()
2903 static int ksz886x_cable_test_get_status(struct phy_device *phydev, in ksz886x_cable_test_get_status()
3028 static int lanphy_read_page_reg(struct phy_device *phydev, int page, u32 addr) in lanphy_read_page_reg()
3043 static int lanphy_write_page_reg(struct phy_device *phydev, int page, u16 addr, in lanphy_write_page_reg()
3060 static int lanphy_modify_page_reg(struct phy_device *phydev, int page, u16 addr, in lanphy_modify_page_reg()
3081 static int lan8814_config_ts_intr(struct phy_device *phydev, bool enable) in lan8814_config_ts_intr()
3095 static void lan8814_ptp_rx_ts_get(struct phy_device *phydev, in lan8814_ptp_rx_ts_get()
3114 static void lan8814_ptp_tx_ts_get(struct phy_device *phydev, in lan8814_ptp_tx_ts_get()
3159 static void lan8814_flush_fifo(struct phy_device *phydev, bool egress) in lan8814_flush_fifo()
3379 static void lan8814_ptp_clock_set(struct phy_device *phydev, in lan8814_ptp_clock_set()
3397 static void lan8814_ptp_clock_get(struct phy_device *phydev, in lan8814_ptp_clock_get()
3424 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_gettime64()
3442 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_settime64()
3451 static void lan8814_ptp_set_target(struct phy_device *phydev, int event, in lan8814_ptp_set_target()
3470 static void lan8814_ptp_update_target(struct phy_device *phydev, time64_t sec) in lan8814_ptp_update_target()
3478 static void lan8814_ptp_clock_step(struct phy_device *phydev, in lan8814_ptp_clock_step()
3624 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjtime()
3637 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjfine()
3666 static void lan8814_ptp_set_reload(struct phy_device *phydev, int event, in lan8814_ptp_set_reload()
3684 static void lan8814_ptp_enable_event(struct phy_device *phydev, int event, in lan8814_ptp_enable_event()
3701 static void lan8814_ptp_disable_event(struct phy_device *phydev, int event) in lan8814_ptp_disable_event()
3712 static void lan8814_ptp_perout_off(struct phy_device *phydev, int pin) in lan8814_ptp_perout_off()
3734 static void lan8814_ptp_perout_on(struct phy_device *phydev, int pin) in lan8814_ptp_perout_on()
3760 struct phy_device *phydev = shared->phydev; in lan8814_ptp_perout()
3865 static void lan8814_ptp_extts_on(struct phy_device *phydev, int pin, u32 flags) in lan8814_ptp_extts_on()
3895 static void lan8814_ptp_extts_off(struct phy_device *phydev, int pin) in lan8814_ptp_extts_off()
3932 struct phy_device *phydev = shared->phydev; in lan8814_ptp_extts()
4035 struct phy_device *phydev = ptp_priv->phydev; in lan8814_dequeue_tx_skb()
4045 struct phy_device *phydev = ptp_priv->phydev; in lan8814_get_tx_ts()
4112 struct phy_device *phydev = ptp_priv->phydev; in lan8814_get_rx_ts()
4133 static void lan8814_handle_ptp_interrupt(struct phy_device *phydev, u16 status) in lan8814_handle_ptp_interrupt()
4157 struct phy_device *phydev = shared->phydev; in lan8814_gpio_process_cap()
4210 static int lan8814_handle_gpio_interrupt(struct phy_device *phydev, u16 status) in lan8814_handle_gpio_interrupt()
4222 static int lan8804_config_init(struct phy_device *phydev) in lan8804_config_init()
4239 static irqreturn_t lan8804_handle_interrupt(struct phy_device *phydev) in lan8804_handle_interrupt()
4260 static int lan8804_config_intr(struct phy_device *phydev) in lan8804_config_intr()
4303 static bool lan8814_has_ptp(struct phy_device *phydev) in lan8814_has_ptp()
4310 static irqreturn_t lan8814_handle_interrupt(struct phy_device *phydev) in lan8814_handle_interrupt()
4345 static int lan8814_ack_interrupt(struct phy_device *phydev) in lan8814_ack_interrupt()
4355 static int lan8814_config_intr(struct phy_device *phydev) in lan8814_config_intr()
4381 static void lan8814_ptp_init(struct phy_device *phydev) in lan8814_ptp_init()
4444 static int __lan8814_ptp_probe_once(struct phy_device *phydev, char *pin_name, in __lan8814_ptp_probe_once()
4521 static int lan8814_ptp_probe_once(struct phy_device *phydev) in lan8814_ptp_probe_once()
4530 static void lan8814_setup_led(struct phy_device *phydev, int val) in lan8814_setup_led()
4546 static int lan8814_config_init(struct phy_device *phydev) in lan8814_config_init()
4584 static int lan8814_release_coma_mode(struct phy_device *phydev) in lan8814_release_coma_mode()
4600 static void lan8814_clear_2psp_bit(struct phy_device *phydev) in lan8814_clear_2psp_bit()
4611 static void lan8814_update_meas_time(struct phy_device *phydev) in lan8814_update_meas_time()
4622 static int lan8814_probe(struct phy_device *phydev) in lan8814_probe()
4722 static int lan8841_config_init(struct phy_device *phydev) in lan8841_config_init()
4808 static int lan8841_config_intr(struct phy_device *phydev) in lan8841_config_intr()
4856 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_get_tx_ts()
4890 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_flush_fifo()
4913 struct phy_device *phydev = ptp_priv->phydev; in lan8841_gpio_process_cap()
4960 static void lan8841_handle_ptp_interrupt(struct phy_device *phydev) in lan8841_handle_ptp_interrupt()
4987 static irqreturn_t lan8841_handle_interrupt(struct phy_device *phydev) in lan8841_handle_interrupt()
5046 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_enable_processing()
5093 struct phy_device *phydev = ptp_priv->phydev; in lan8841_hwtstamp_set()
5227 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_set_target()
5266 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_set_reload()
5300 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_settime64()
5337 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_gettime64()
5367 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_getseconds()
5396 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_adjtime()
5482 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_adjfine()
5529 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout_off()
5545 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout_on()
5575 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_remove_event()
5606 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_enable_event()
5665 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout()
5786 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_extts_on()
5816 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_extts_off()
5921 static int lan8841_probe(struct phy_device *phydev) in lan8841_probe()
5991 static int lan8804_resume(struct phy_device *phydev) in lan8804_resume()
5996 static int lan8804_suspend(struct phy_device *phydev) in lan8804_suspend()
6001 static int lan8841_resume(struct phy_device *phydev) in lan8841_resume()
6006 static int lan8841_suspend(struct phy_device *phydev) in lan8841_suspend()
6017 static int ksz9131_resume(struct phy_device *phydev) in ksz9131_resume()
6027 static int lan8842_ptp_probe_once(struct phy_device *phydev) in lan8842_ptp_probe_once()
6040 static int lan8842_probe(struct phy_device *phydev) in lan8842_probe()
6217 static int lanphy_write_reg_data(struct phy_device *phydev, in lanphy_write_reg_data()
6233 static int lan8842_erratas(struct phy_device *phydev) in lan8842_erratas()
6246 static int lan8842_config_init(struct phy_device *phydev) in lan8842_config_init()
6291 static int lan8842_config_intr(struct phy_device *phydev) in lan8842_config_intr()
6318 static unsigned int lan8842_inband_caps(struct phy_device *phydev, in lan8842_inband_caps()
6327 static int lan8842_config_inband(struct phy_device *phydev, unsigned int modes) in lan8842_config_inband()
6345 static void lan8842_handle_ptp_interrupt(struct phy_device *phydev, u16 status) in lan8842_handle_ptp_interrupt()
6370 static irqreturn_t lan8842_handle_interrupt(struct phy_device *phydev) in lan8842_handle_interrupt()
6410 static u64 lan8842_get_stat(struct phy_device *phydev, int count, int *regs) in lan8842_get_stat()
6427 static int lan8842_update_stats(struct phy_device *phydev) in lan8842_update_stats()
6455 static int lan8842_get_fast_down(struct phy_device *phydev, u8 *msecs) in lan8842_get_fast_down()
6471 static int lan8842_set_fast_down(struct phy_device *phydev, const u8 *msecs) in lan8842_set_fast_down()
6492 static int lan8842_get_tunable(struct phy_device *phydev, in lan8842_get_tunable()
6503 static int lan8842_set_tunable(struct phy_device *phydev, in lan8842_set_tunable()
6514 static void lan8842_get_phy_stats(struct phy_device *phydev, in lan8842_get_phy_stats()