Lines Matching defs:phydev

396 	struct phy_device *phydev;  member
414 struct phy_device *phydev; member
534 static int kszphy_extended_write(struct phy_device *phydev, in kszphy_extended_write()
541 static int kszphy_extended_read(struct phy_device *phydev, in kszphy_extended_read()
548 static int kszphy_ack_interrupt(struct phy_device *phydev) in kszphy_ack_interrupt()
558 static int kszphy_config_intr(struct phy_device *phydev) in kszphy_config_intr()
594 static irqreturn_t kszphy_handle_interrupt(struct phy_device *phydev) in kszphy_handle_interrupt()
612 static int kszphy_rmii_clk_sel(struct phy_device *phydev, bool val) in kszphy_rmii_clk_sel()
628 static int kszphy_setup_led(struct phy_device *phydev, u32 reg, int val) in kszphy_setup_led()
662 static int kszphy_broadcast_disable(struct phy_device *phydev) in kszphy_broadcast_disable()
678 static int kszphy_nand_tree_disable(struct phy_device *phydev) in kszphy_nand_tree_disable()
699 static int kszphy_config_reset(struct phy_device *phydev) in kszphy_config_reset()
719 static int kszphy_config_init(struct phy_device *phydev) in kszphy_config_init()
738 static int ksz8041_fiber_mode(struct phy_device *phydev) in ksz8041_fiber_mode()
745 static int ksz8041_config_init(struct phy_device *phydev) in ksz8041_config_init()
767 static int ksz8041_config_aneg(struct phy_device *phydev) in ksz8041_config_aneg()
778 static int ksz8051_ksz8795_match_phy_device(struct phy_device *phydev, in ksz8051_ksz8795_match_phy_device()
802 static int ksz8051_match_phy_device(struct phy_device *phydev, in ksz8051_match_phy_device()
808 static int ksz8081_config_init(struct phy_device *phydev) in ksz8081_config_init()
820 static int ksz8081_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz8081_config_mdix()
846 static int ksz8081_config_aneg(struct phy_device *phydev) in ksz8081_config_aneg()
861 static int ksz8081_mdix_update(struct phy_device *phydev) in ksz8081_mdix_update()
890 static int ksz8081_read_status(struct phy_device *phydev) in ksz8081_read_status()
901 static int ksz8061_config_init(struct phy_device *phydev) in ksz8061_config_init()
923 static int ksz8795_match_phy_device(struct phy_device *phydev, in ksz8795_match_phy_device()
929 static int ksz9021_load_values_from_of(struct phy_device *phydev, in ksz9021_load_values_from_of()
977 static int ksz9021_config_init(struct phy_device *phydev) in ksz9021_config_init()
1068 static int ksz9031_set_loopback(struct phy_device *phydev, bool enable, in ksz9031_set_loopback()
1091 static int ksz9031_of_load_skew_values(struct phy_device *phydev, in ksz9031_of_load_skew_values()
1132 static int ksz9031_center_flp_timing(struct phy_device *phydev) in ksz9031_center_flp_timing()
1150 static int ksz9031_enable_edpd(struct phy_device *phydev) in ksz9031_enable_edpd()
1161 static int ksz9031_config_rgmii_delay(struct phy_device *phydev) in ksz9031_config_rgmii_delay()
1222 static int ksz9031_config_init(struct phy_device *phydev) in ksz9031_config_init()
1321 static int ksz9131_of_load_skew_values(struct phy_device *phydev, in ksz9131_of_load_skew_values()
1378 static int ksz9131_config_rgmii_delay(struct phy_device *phydev) in ksz9131_config_rgmii_delay()
1422 static int ksz9131_led_errata(struct phy_device *phydev) in ksz9131_led_errata()
1436 static int ksz9131_config_init(struct phy_device *phydev) in ksz9131_config_init()
1507 static int ksz9131_mdix_update(struct phy_device *phydev) in ksz9131_mdix_update()
1531 static int ksz9131_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz9131_config_mdix()
1555 static int ksz9131_read_status(struct phy_device *phydev) in ksz9131_read_status()
1566 static int ksz9131_config_aneg(struct phy_device *phydev) in ksz9131_config_aneg()
1577 static int ksz9477_get_features(struct phy_device *phydev) in ksz9477_get_features()
1600 static int ksz8873mll_read_status(struct phy_device *phydev) in ksz8873mll_read_status()
1625 static int ksz9031_get_features(struct phy_device *phydev) in ksz9031_get_features()
1652 static int ksz9031_read_status(struct phy_device *phydev) in ksz9031_read_status()
1676 static int ksz9x31_cable_test_start(struct phy_device *phydev) in ksz9x31_cable_test_start()
1744 static int ksz9x31_cable_test_fault_length(struct phy_device *phydev, u16 stat) in ksz9x31_cable_test_fault_length()
1759 static int ksz9x31_cable_test_wait_for_completion(struct phy_device *phydev) in ksz9x31_cable_test_wait_for_completion()
1782 static int ksz9x31_cable_test_one_pair(struct phy_device *phydev, int pair) in ksz9x31_cable_test_one_pair()
1823 static int ksz9x31_cable_test_get_status(struct phy_device *phydev, in ksz9x31_cable_test_get_status()
1878 static int ksz8873mll_config_aneg(struct phy_device *phydev) in ksz8873mll_config_aneg()
1883 static int ksz886x_config_mdix(struct phy_device *phydev, u8 ctrl) in ksz886x_config_mdix()
1913 static int ksz886x_config_aneg(struct phy_device *phydev) in ksz886x_config_aneg()
1950 static int ksz886x_mdix_update(struct phy_device *phydev) in ksz886x_mdix_update()
1980 static int ksz886x_read_status(struct phy_device *phydev) in ksz886x_read_status()
1991 static int ksz9477_mdix_update(struct phy_device *phydev) in ksz9477_mdix_update()
2001 static int ksz9477_read_mdix_ctrl(struct phy_device *phydev) in ksz9477_read_mdix_ctrl()
2019 static int ksz9477_read_status(struct phy_device *phydev) in ksz9477_read_status()
2030 static int ksz9477_config_aneg(struct phy_device *phydev) in ksz9477_config_aneg()
2076 static int ksz9477_phy_errata(struct phy_device *phydev) in ksz9477_phy_errata()
2111 static int ksz9477_config_init(struct phy_device *phydev) in ksz9477_config_init()
2132 static int kszphy_get_sset_count(struct phy_device *phydev) in kszphy_get_sset_count()
2137 static void kszphy_get_strings(struct phy_device *phydev, u8 *data) in kszphy_get_strings()
2145 static u64 kszphy_get_stat(struct phy_device *phydev, int i) in kszphy_get_stat()
2164 static void kszphy_get_stats(struct phy_device *phydev, in kszphy_get_stats()
2179 static int kszphy_update_stats(struct phy_device *phydev) in kszphy_update_stats()
2193 static void kszphy_get_phy_stats(struct phy_device *phydev, in kszphy_get_phy_stats()
2263 static int kszphy_get_sqi(struct phy_device *phydev) in kszphy_get_sqi()
2327 static int kszphy_get_sqi_max(struct phy_device *phydev) in kszphy_get_sqi_max()
2332 static void kszphy_enable_clk(struct phy_device *phydev) in kszphy_enable_clk()
2342 static void kszphy_disable_clk(struct phy_device *phydev) in kszphy_disable_clk()
2352 static int kszphy_generic_resume(struct phy_device *phydev) in kszphy_generic_resume()
2359 static int kszphy_generic_suspend(struct phy_device *phydev) in kszphy_generic_suspend()
2372 static int kszphy_suspend(struct phy_device *phydev) in kszphy_suspend()
2384 static void kszphy_parse_led_mode(struct phy_device *phydev) in kszphy_parse_led_mode()
2408 static int kszphy_resume(struct phy_device *phydev) in kszphy_resume()
2440 static int ksz8041_resume(struct phy_device *phydev) in ksz8041_resume()
2447 static int ksz8041_suspend(struct phy_device *phydev) in ksz8041_suspend()
2454 static int ksz9477_resume(struct phy_device *phydev) in ksz9477_resume()
2490 static int ksz8061_resume(struct phy_device *phydev) in ksz8061_resume()
2522 static int ksz8061_suspend(struct phy_device *phydev) in ksz8061_suspend()
2527 static int kszphy_probe(struct phy_device *phydev) in kszphy_probe()
2587 static int lan8814_cable_test_start(struct phy_device *phydev) in lan8814_cable_test_start()
2598 static int ksz886x_cable_test_start(struct phy_device *phydev) in ksz886x_cable_test_start()
2644 static __always_inline int ksz886x_cable_test_fault_length(struct phy_device *phydev, in ksz886x_cable_test_fault_length()
2661 static int ksz886x_cable_test_wait_for_completion(struct phy_device *phydev) in ksz886x_cable_test_wait_for_completion()
2673 static int lan8814_cable_test_one_pair(struct phy_device *phydev, int pair) in lan8814_cable_test_one_pair()
2718 static int ksz886x_cable_test_one_pair(struct phy_device *phydev, int pair) in ksz886x_cable_test_one_pair()
2780 static int ksz886x_cable_test_get_status(struct phy_device *phydev, in ksz886x_cable_test_get_status()
2903 static int lanphy_read_page_reg(struct phy_device *phydev, int page, u32 addr) in lanphy_read_page_reg()
2918 static int lanphy_write_page_reg(struct phy_device *phydev, int page, u16 addr, in lanphy_write_page_reg()
2935 static int lanphy_modify_page_reg(struct phy_device *phydev, int page, u16 addr, in lanphy_modify_page_reg()
2956 static int lan8814_config_ts_intr(struct phy_device *phydev, bool enable) in lan8814_config_ts_intr()
2970 static void lan8814_ptp_rx_ts_get(struct phy_device *phydev, in lan8814_ptp_rx_ts_get()
2989 static void lan8814_ptp_tx_ts_get(struct phy_device *phydev, in lan8814_ptp_tx_ts_get()
3034 static void lan8814_flush_fifo(struct phy_device *phydev, bool egress) in lan8814_flush_fifo()
3233 static void lan8814_ptp_clock_set(struct phy_device *phydev, in lan8814_ptp_clock_set()
3251 static void lan8814_ptp_clock_get(struct phy_device *phydev, in lan8814_ptp_clock_get()
3278 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_gettime64() local
3296 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_settime64() local
3305 static void lan8814_ptp_set_target(struct phy_device *phydev, int event, in lan8814_ptp_set_target()
3324 static void lan8814_ptp_update_target(struct phy_device *phydev, time64_t sec) in lan8814_ptp_update_target()
3332 static void lan8814_ptp_clock_step(struct phy_device *phydev, in lan8814_ptp_clock_step()
3478 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjtime() local
3491 struct phy_device *phydev = shared->phydev; in lan8814_ptpci_adjfine() local
3520 static void lan8814_ptp_set_reload(struct phy_device *phydev, int event, in lan8814_ptp_set_reload()
3538 static void lan8814_ptp_enable_event(struct phy_device *phydev, int event, in lan8814_ptp_enable_event()
3555 static void lan8814_ptp_disable_event(struct phy_device *phydev, int event) in lan8814_ptp_disable_event()
3566 static void lan8814_ptp_perout_off(struct phy_device *phydev, int pin) in lan8814_ptp_perout_off()
3588 static void lan8814_ptp_perout_on(struct phy_device *phydev, int pin) in lan8814_ptp_perout_on()
3614 struct phy_device *phydev = shared->phydev; in lan8814_ptp_perout() local
3719 static void lan8814_ptp_extts_on(struct phy_device *phydev, int pin, u32 flags) in lan8814_ptp_extts_on()
3749 static void lan8814_ptp_extts_off(struct phy_device *phydev, int pin) in lan8814_ptp_extts_off()
3786 struct phy_device *phydev = shared->phydev; in lan8814_ptp_extts() local
3889 struct phy_device *phydev = ptp_priv->phydev; in lan8814_dequeue_tx_skb() local
3899 struct phy_device *phydev = ptp_priv->phydev; in lan8814_get_tx_ts() local
3966 struct phy_device *phydev = ptp_priv->phydev; in lan8814_get_rx_ts() local
3987 static void lan8814_handle_ptp_interrupt(struct phy_device *phydev, u16 status) in lan8814_handle_ptp_interrupt()
4011 struct phy_device *phydev = shared->phydev; in lan8814_gpio_process_cap() local
4064 static int lan8814_handle_gpio_interrupt(struct phy_device *phydev, u16 status) in lan8814_handle_gpio_interrupt()
4076 static int lan8804_config_init(struct phy_device *phydev) in lan8804_config_init()
4093 static irqreturn_t lan8804_handle_interrupt(struct phy_device *phydev) in lan8804_handle_interrupt()
4114 static int lan8804_config_intr(struct phy_device *phydev) in lan8804_config_intr()
4153 static irqreturn_t lan8814_handle_interrupt(struct phy_device *phydev) in lan8814_handle_interrupt()
4185 static int lan8814_ack_interrupt(struct phy_device *phydev) in lan8814_ack_interrupt()
4195 static int lan8814_config_intr(struct phy_device *phydev) in lan8814_config_intr()
4221 static void lan8814_ptp_init(struct phy_device *phydev) in lan8814_ptp_init()
4280 static int __lan8814_ptp_probe_once(struct phy_device *phydev, char *pin_name, in __lan8814_ptp_probe_once()
4357 static int lan8814_ptp_probe_once(struct phy_device *phydev) in lan8814_ptp_probe_once()
4363 static void lan8814_setup_led(struct phy_device *phydev, int val) in lan8814_setup_led()
4379 static int lan8814_config_init(struct phy_device *phydev) in lan8814_config_init()
4405 static int lan8814_release_coma_mode(struct phy_device *phydev) in lan8814_release_coma_mode()
4421 static void lan8814_clear_2psp_bit(struct phy_device *phydev) in lan8814_clear_2psp_bit()
4432 static void lan8814_update_meas_time(struct phy_device *phydev) in lan8814_update_meas_time()
4443 static int lan8814_probe(struct phy_device *phydev) in lan8814_probe()
4531 static int lan8841_config_init(struct phy_device *phydev) in lan8841_config_init()
4617 static int lan8841_config_intr(struct phy_device *phydev) in lan8841_config_intr()
4665 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_get_tx_ts() local
4699 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_flush_fifo() local
4722 struct phy_device *phydev = ptp_priv->phydev; in lan8841_gpio_process_cap() local
4769 static void lan8841_handle_ptp_interrupt(struct phy_device *phydev) in lan8841_handle_ptp_interrupt()
4796 static irqreturn_t lan8841_handle_interrupt(struct phy_device *phydev) in lan8841_handle_interrupt()
4855 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_enable_processing() local
4902 struct phy_device *phydev = ptp_priv->phydev; in lan8841_hwtstamp() local
5027 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_set_target() local
5066 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_set_reload() local
5100 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_settime64() local
5137 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_gettime64() local
5167 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_getseconds() local
5196 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_adjtime() local
5282 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_adjfine() local
5329 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout_off() local
5345 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout_on() local
5375 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_remove_event() local
5406 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_enable_event() local
5465 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_perout() local
5586 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_extts_on() local
5616 struct phy_device *phydev = ptp_priv->phydev; in lan8841_ptp_extts_off() local
5721 static int lan8841_probe(struct phy_device *phydev) in lan8841_probe()
5790 static int lan8804_resume(struct phy_device *phydev) in lan8804_resume()
5795 static int lan8804_suspend(struct phy_device *phydev) in lan8804_suspend()
5800 static int lan8841_resume(struct phy_device *phydev) in lan8841_resume()
5805 static int lan8841_suspend(struct phy_device *phydev) in lan8841_suspend()
5816 static int ksz9131_resume(struct phy_device *phydev) in ksz9131_resume()
5826 static int lan8842_ptp_probe_once(struct phy_device *phydev) in lan8842_ptp_probe_once()
5839 static int lan8842_probe(struct phy_device *phydev) in lan8842_probe()
6016 static int lanphy_write_reg_data(struct phy_device *phydev, in lanphy_write_reg_data()
6032 static int lan8842_erratas(struct phy_device *phydev) in lan8842_erratas()
6045 static int lan8842_config_init(struct phy_device *phydev) in lan8842_config_init()
6090 static int lan8842_config_intr(struct phy_device *phydev) in lan8842_config_intr()
6117 static unsigned int lan8842_inband_caps(struct phy_device *phydev, in lan8842_inband_caps()
6126 static int lan8842_config_inband(struct phy_device *phydev, unsigned int modes) in lan8842_config_inband()
6144 static void lan8842_handle_ptp_interrupt(struct phy_device *phydev, u16 status) in lan8842_handle_ptp_interrupt()
6169 static irqreturn_t lan8842_handle_interrupt(struct phy_device *phydev) in lan8842_handle_interrupt()
6209 static u64 lan8842_get_stat(struct phy_device *phydev, int count, int *regs) in lan8842_get_stat()
6226 static int lan8842_update_stats(struct phy_device *phydev) in lan8842_update_stats()
6254 static int lan8842_get_fast_down(struct phy_device *phydev, u8 *msecs) in lan8842_get_fast_down()
6270 static int lan8842_set_fast_down(struct phy_device *phydev, const u8 *msecs) in lan8842_set_fast_down()
6291 static int lan8842_get_tunable(struct phy_device *phydev, in lan8842_get_tunable()
6302 static int lan8842_set_tunable(struct phy_device *phydev, in lan8842_set_tunable()
6313 static void lan8842_get_phy_stats(struct phy_device *phydev, in lan8842_get_phy_stats()