/Linux-v4.19/drivers/net/ |
D | sungem_phy.c | 50 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read() 55 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write() 60 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read() 65 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write() 70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy() 94 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init() 107 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend() 115 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init() 138 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend() 153 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init() [all …]
|
/Linux-v4.19/drivers/phy/ |
D | phy-core.c | 34 struct phy *phy = *(struct phy **)res; in devm_phy_release() local 48 struct phy *phy = *(struct phy **)res; in devm_phy_consume() local 55 struct phy **phy = res; in devm_phy_match() local 68 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup() 100 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_remove_lookup() 152 int phy_pm_runtime_get(struct phy *phy) in phy_pm_runtime_get() 170 int phy_pm_runtime_get_sync(struct phy *phy) in phy_pm_runtime_get_sync() 188 int phy_pm_runtime_put(struct phy *phy) in phy_pm_runtime_put() 200 int phy_pm_runtime_put_sync(struct phy *phy) in phy_pm_runtime_put_sync() 212 void phy_pm_runtime_allow(struct phy *phy) in phy_pm_runtime_allow() [all …]
|
/Linux-v4.19/include/linux/phy/ |
D | phy.h | 88 struct phy { struct 91 const struct phy_ops *ops; argument 95 struct phy_attrs attrs; argument 100 * struct phy_provider - represents the phy provider argument 127 struct phy *phy; member 144 static inline void phy_set_drvdata(struct phy *phy, void *data) in phy_set_drvdata() 149 static inline void *phy_get_drvdata(struct phy *phy) in phy_get_drvdata() 166 static inline enum phy_mode phy_get_mode(struct phy *phy) in phy_get_mode() 172 static inline int phy_get_bus_width(struct phy *phy) in phy_get_bus_width() 176 static inline void phy_set_bus_width(struct phy *phy, int bus_width) in phy_set_bus_width() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 84 static int set_phy_regs(struct cphy *phy, const struct reg_val *rv) in set_phy_regs() 100 static void ael100x_txon(struct cphy *phy) in ael100x_txon() 113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd() 141 static int ael1002_power_down(struct cphy *phy, int enable) in ael1002_power_down() 153 static int ael1002_reset(struct cphy *phy, int wait) in ael1002_reset() 168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop() 176 static int get_link_status_r(struct cphy *phy, int *link_ok, int *speed, in get_link_status_r() 212 int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1002_phy_prep() 222 static int ael1006_reset(struct cphy *phy, int wait) in ael1006_reset() 238 int t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, in t3_ael1006_phy_prep() [all …]
|
D | aq100x.c | 65 static int aq100x_reset(struct cphy *phy, int wait) in aq100x_reset() 80 static int aq100x_intr_enable(struct cphy *phy) in aq100x_intr_enable() 90 static int aq100x_intr_disable(struct cphy *phy) in aq100x_intr_disable() 95 static int aq100x_intr_clear(struct cphy *phy) in aq100x_intr_clear() 105 static int aq100x_intr_handler(struct cphy *phy) in aq100x_intr_handler() 120 static int aq100x_power_down(struct cphy *phy, int off) in aq100x_power_down() 127 static int aq100x_autoneg_enable(struct cphy *phy) in aq100x_autoneg_enable() 140 static int aq100x_autoneg_restart(struct cphy *phy) in aq100x_autoneg_restart() 153 static int aq100x_advertise(struct cphy *phy, unsigned int advertise_map) in aq100x_advertise() 194 static int aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) in aq100x_set_loopback() [all …]
|
/Linux-v4.19/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 34 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() 39 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() 44 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read() 49 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write() 54 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy() 78 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs() 109 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() 168 static int genmii_setup_forced(struct mii_phy *phy, int speed, int fd) in genmii_setup_forced() 205 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link() 219 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link() [all …]
|
/Linux-v4.19/drivers/phy/ti/ |
D | phy-omap-usb2.c | 51 struct omap_usb *phy; in omap_usb2_set_comparator() local 65 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus() local 75 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp() local 102 static int omap_usb_phy_power(struct omap_usb *phy, int on) in omap_usb_phy_power() 124 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_power_off() local 131 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_power_on() local 136 static int omap_usb2_disable_clocks(struct omap_usb *phy) in omap_usb2_disable_clocks() 145 static int omap_usb2_enable_clocks(struct omap_usb *phy) in omap_usb2_enable_clocks() 174 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_init() local 198 struct omap_usb *phy = phy_get_drvdata(x); in omap_usb_exit() local [all …]
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun8i_hdmi_phy.c | 18 struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_config_a83t() 80 struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_config_h3() 229 struct sun8i_hdmi_phy *phy = (struct sun8i_hdmi_phy *)data; in sun8i_hdmi_phy_config() local 248 struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_disable_a83t() 258 struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_disable_h3() 269 struct sun8i_hdmi_phy *phy = (struct sun8i_hdmi_phy *)data; in sun8i_hdmi_phy_disable() local 282 static void sun8i_hdmi_phy_init_a83t(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_init_a83t() 297 static void sun8i_hdmi_phy_init_h3(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_init_h3() 373 void sun8i_hdmi_phy_init(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_init() 439 struct sun8i_hdmi_phy *phy; in sun8i_hdmi_phy_probe() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 56 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() local 115 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_mdic() local 171 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_mdic() local 228 struct e1000_phy_info *phy = &hw->phy; in igb_read_phy_reg_i2c() local 273 struct e1000_phy_info *phy = &hw->phy; in igb_write_phy_reg_i2c() local 457 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_82580() local 524 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88() local 628 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_m88_gen2() local 724 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_setup_igp() local 862 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_autoneg() local [all …]
|
/Linux-v4.19/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_28nm_8960.c | 17 static void dsi_28nm_dphy_set_timing(struct msm_dsi_phy *phy, in dsi_28nm_dphy_set_timing() 48 static void dsi_28nm_phy_regulator_init(struct msm_dsi_phy *phy) in dsi_28nm_phy_regulator_init() 60 static void dsi_28nm_phy_regulator_ctrl(struct msm_dsi_phy *phy) in dsi_28nm_phy_regulator_ctrl() 71 static void dsi_28nm_phy_calibration(struct msm_dsi_phy *phy) in dsi_28nm_phy_calibration() 101 static void dsi_28nm_phy_lane_config(struct msm_dsi_phy *phy) in dsi_28nm_phy_lane_config() 126 static int dsi_28nm_phy_enable(struct msm_dsi_phy *phy, int src_pll_id, in dsi_28nm_phy_enable() 171 static void dsi_28nm_phy_disable(struct msm_dsi_phy *phy) in dsi_28nm_phy_disable()
|
D | dsi_phy_10nm.c | 11 static int dsi_phy_hw_v3_0_is_pll_on(struct msm_dsi_phy *phy) in dsi_phy_hw_v3_0_is_pll_on() 22 static void dsi_phy_hw_v3_0_config_lpcdrx(struct msm_dsi_phy *phy, bool enable) in dsi_phy_hw_v3_0_config_lpcdrx() 39 static void dsi_phy_hw_v3_0_lane_settings(struct msm_dsi_phy *phy) in dsi_phy_hw_v3_0_lane_settings() 82 static int dsi_10nm_phy_enable(struct msm_dsi_phy *phy, int src_pll_id, in dsi_10nm_phy_enable() 188 static void dsi_10nm_phy_disable(struct msm_dsi_phy *phy) in dsi_10nm_phy_disable() 192 static int dsi_10nm_phy_init(struct msm_dsi_phy *phy) in dsi_10nm_phy_init()
|
/Linux-v4.19/drivers/scsi/libsas/ |
D | sas_port.c | 31 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) in phy_is_wideport_member() 42 static void sas_resume_port(struct asd_sas_phy *phy) in sas_resume_port() 76 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port() local 93 static void sas_form_port(struct asd_sas_phy *phy) in sas_form_port() 207 void sas_deform_port(struct asd_sas_phy *phy, int gone) in sas_deform_port() 266 struct asd_sas_phy *phy = ev->phy; in sas_porte_bytes_dmaed() local 274 struct asd_sas_phy *phy = ev->phy; in sas_porte_broadcast_rcvd() local 292 struct asd_sas_phy *phy = ev->phy; in sas_porte_link_reset_err() local 300 struct asd_sas_phy *phy = ev->phy; in sas_porte_timer_event() local 308 struct asd_sas_phy *phy = ev->phy; in sas_porte_hard_reset() local
|
D | sas_phy.c | 36 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local 46 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local 55 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local 84 struct asd_sas_phy *phy = ev->phy; in sas_phye_spinup_hold() local 96 struct asd_sas_phy *phy = ev->phy; in sas_phye_resume_timeout() local 113 struct asd_sas_phy *phy = ev->phy; in sas_phye_shutdown() local 140 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; in sas_register_phys() local
|
/Linux-v4.19/drivers/net/phy/ |
D | phy_led_triggers.c | 18 static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, in phy_speed_to_led_trigger() 30 static void phy_led_trigger_no_link(struct phy_device *phy) in phy_led_trigger_no_link() 39 void phy_led_trigger_change_speed(struct phy_device *phy) in phy_led_trigger_change_speed() 69 static void phy_led_trigger_format_name(struct phy_device *phy, char *buf, in phy_led_trigger_format_name() 76 static int phy_led_trigger_register(struct phy_device *phy, in phy_led_trigger_register() 104 int phy_led_triggers_register(struct phy_device *phy) in phy_led_triggers_register() 166 void phy_led_triggers_unregister(struct phy_device *phy) in phy_led_triggers_unregister()
|
/Linux-v4.19/drivers/usb/phy/ |
D | phy-ulpi.c | 42 static int ulpi_set_otg_flags(struct usb_phy *phy) in ulpi_set_otg_flags() 66 static int ulpi_set_fc_flags(struct usb_phy *phy) in ulpi_set_fc_flags() 108 static int ulpi_set_ic_flags(struct usb_phy *phy) in ulpi_set_ic_flags() 127 static int ulpi_set_flags(struct usb_phy *phy) in ulpi_set_flags() 142 static int ulpi_check_integrity(struct usb_phy *phy) in ulpi_check_integrity() 168 static int ulpi_init(struct usb_phy *phy) in ulpi_init() 201 struct usb_phy *phy = otg->usb_phy; in ulpi_set_host() local 227 struct usb_phy *phy = otg->usb_phy; in ulpi_set_vbus() local 247 struct usb_phy *phy; in otg_ulpi_create() local
|
D | phy-tegra-usb.c | 197 static void set_pts(struct tegra_usb_phy *phy, u8 pts_val) in set_pts() 215 static void set_phcd(struct tegra_usb_phy *phy, bool enable) in set_phcd() 237 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open() 295 static int utmip_pad_close(struct tegra_usb_phy *phy) in utmip_pad_close() 318 static void utmip_pad_power_on(struct tegra_usb_phy *phy) in utmip_pad_power_on() 349 static int utmip_pad_power_off(struct tegra_usb_phy *phy) in utmip_pad_power_off() 384 static void utmi_phy_clk_disable(struct tegra_usb_phy *phy) in utmi_phy_clk_disable() 415 static void utmi_phy_clk_enable(struct tegra_usb_phy *phy) in utmi_phy_clk_enable() 448 static int utmi_phy_power_on(struct tegra_usb_phy *phy) in utmi_phy_power_on() 597 static int utmi_phy_power_off(struct tegra_usb_phy *phy) in utmi_phy_power_off() [all …]
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | radio.c | 116 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() local 151 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() local 187 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_original_gains() local 227 struct b43legacy_phy *phy = &dev->phy; in b43legacy_synth_pu_workaround() local 248 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_detect() local 282 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_scan() local 368 struct b43legacy_phy *phy = &dev->phy; in b43legacy_nrssi_mem_update() local 385 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_offset() local 555 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_slope() local 820 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_threshold() local [all …]
|
D | phy.c | 143 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_calibrate() local 161 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_init_pctl() local 220 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_agcsetup() local 336 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_setupg() local 448 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb2() local 497 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb4() local 553 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb5() local 668 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb6() local 811 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_loopback_gain() local 1010 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initg() local [all …]
|
/Linux-v4.19/drivers/nfc/s3fwrn5/ |
D | i2c.c | 51 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_wake() local 61 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_mode() local 89 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_get_mode() local 103 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_write() local 135 static int s3fwrn5_i2c_read(struct s3fwrn5_i2c_phy *phy) in s3fwrn5_i2c_read() 177 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_irq_thread_fn() local 208 struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client); in s3fwrn5_i2c_parse_dt() local 228 struct s3fwrn5_i2c_phy *phy; in s3fwrn5_i2c_probe() local 272 struct s3fwrn5_i2c_phy *phy = i2c_get_clientdata(client); in s3fwrn5_i2c_remove() local
|
/Linux-v4.19/drivers/gpu/drm/msm/edp/ |
D | edp_phy.c | 23 bool msm_edp_phy_ready(struct edp_phy *phy) in msm_edp_phy_ready() 44 void msm_edp_phy_ctrl(struct edp_phy *phy, int enable) in msm_edp_phy_ctrl() 63 void msm_edp_phy_vm_pe_init(struct edp_phy *phy) in msm_edp_phy_vm_pe_init() 70 void msm_edp_phy_vm_pe_cfg(struct edp_phy *phy, u32 v0, u32 v1) in msm_edp_phy_vm_pe_cfg() 76 void msm_edp_phy_lane_power_ctrl(struct edp_phy *phy, bool up, u32 max_lane) in msm_edp_phy_lane_power_ctrl() 97 struct edp_phy *phy = NULL; in msm_edp_phy_init() local
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispcsiphy.c | 26 static void csiphy_routing_cfg_3630(struct isp_csiphy *phy, in csiphy_routing_cfg_3630() 71 static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on, in csiphy_routing_cfg_3430() 104 static void csiphy_routing_cfg(struct isp_csiphy *phy, in csiphy_routing_cfg() 118 static void csiphy_power_autoswitch_enable(struct isp_csiphy *phy, bool enable) in csiphy_power_autoswitch_enable() 131 static int csiphy_set_power(struct isp_csiphy *phy, u32 power) in csiphy_set_power() 165 static int omap3isp_csiphy_config(struct isp_csiphy *phy) in omap3isp_csiphy_config() 263 int omap3isp_csiphy_acquire(struct isp_csiphy *phy, struct media_entity *entity) in omap3isp_csiphy_acquire() 306 void omap3isp_csiphy_release(struct isp_csiphy *phy) in omap3isp_csiphy_release()
|
/Linux-v4.19/drivers/nfc/nxp-nci/ |
D | i2c.c | 64 struct nxp_nci_i2c_phy *phy = (struct nxp_nci_i2c_phy *) phy_id; in nxp_nci_i2c_set_mode() local 79 struct nxp_nci_i2c_phy *phy = phy_id; in nxp_nci_i2c_write() local 112 static int nxp_nci_i2c_fw_read(struct nxp_nci_i2c_phy *phy, in nxp_nci_i2c_fw_read() 157 static int nxp_nci_i2c_nci_read(struct nxp_nci_i2c_phy *phy, in nxp_nci_i2c_nci_read() 200 struct nxp_nci_i2c_phy *phy = phy_id; in nxp_nci_i2c_irq_thread_fn() local 266 struct nxp_nci_i2c_phy *phy = i2c_get_clientdata(client); in nxp_nci_i2c_parse_devtree() local 295 static int nxp_nci_i2c_acpi_config(struct nxp_nci_i2c_phy *phy) in nxp_nci_i2c_acpi_config() 317 struct nxp_nci_i2c_phy *phy; in nxp_nci_i2c_probe() local 388 struct nxp_nci_i2c_phy *phy = i2c_get_clientdata(client); in nxp_nci_i2c_remove() local
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | phy_g.c | 84 struct b43_phy *phy = &dev->phy; in generate_rfatt_list() local 179 struct b43_phy *phy = &dev->phy; in b43_synth_pu_workaround() local 202 struct b43_phy *phy = &dev->phy; in b43_gphy_set_baseband_attenuation() local 220 struct b43_phy *phy = &dev->phy; in b43_set_txpower_g() local 285 struct b43_phy *phy = &dev->phy; in b43_gphy_gain_lt_init() local 312 struct b43_phy *phy = &dev->phy; in b43_set_all_gains() local 343 struct b43_phy *phy = &dev->phy; in b43_set_original_gains() local 424 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_offset() local 571 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_slope() local 713 struct b43_phy *phy = &dev->phy; in b43_calc_nrssi_threshold() local [all …]
|
D | wa.c | 35 struct b43_phy *phy = &dev->phy; in b43_wa_initgains() local 97 struct b43_phy *phy = &dev->phy; in b43_wa_nft() local 128 struct b43_phy *phy = &dev->phy; in b43_wa_nst() local 151 struct b43_phy *phy = &dev->phy; in b43_wa_msst() local 170 struct b43_phy *phy = &dev->phy; in b43_wa_crs_ed() local 226 struct b43_phy *phy = &dev->phy; in b43_wa_altagc() local 316 struct b43_phy *phy = &dev->phy; in b43_wa_boards_g() local 347 struct b43_phy *phy = &dev->phy; in b43_wa_all() local
|
/Linux-v4.19/drivers/net/ieee802154/ |
D | fakelb.c | 60 struct fakelb_phy *phy = hw->priv; in fakelb_hw_channel() local 71 struct fakelb_phy *current_phy = hw->priv, *phy; in fakelb_hw_xmit() local 95 struct fakelb_phy *phy = hw->priv; in fakelb_hw_start() local 107 struct fakelb_phy *phy = hw->priv; in fakelb_hw_stop() local 138 struct fakelb_phy *phy; in fakelb_add_one() local 202 static void fakelb_del(struct fakelb_phy *phy) in fakelb_del() 212 struct fakelb_phy *phy, *tmp; in fakelb_probe() local 234 struct fakelb_phy *phy, *tmp; in fakelb_remove() local
|