Home
last modified time | relevance | path

Searched defs:phy (Results 1 – 25 of 878) sorted by relevance

12345678910>>...36

/openbmc/linux/drivers/net/
H A Dsungem_phy.c91 static int bcm5201_init(struct mii_phy* phy) in bcm5201_init()
104 static int bcm5201_suspend(struct mii_phy* phy) in bcm5201_suspend()
112 static int bcm5221_init(struct mii_phy* phy) in bcm5221_init()
135 static int bcm5221_suspend(struct mii_phy* phy) in bcm5221_suspend()
150 static int bcm5241_init(struct mii_phy* phy) in bcm5241_init()
173 static int bcm5241_suspend(struct mii_phy* phy) in bcm5241_suspend()
188 static int bcm5400_init(struct mii_phy* phy) in bcm5400_init()
217 static int bcm5400_suspend(struct mii_phy* phy) in bcm5400_suspend()
225 static int bcm5401_init(struct mii_phy* phy) in bcm5401_init()
281 static int bcm5411_init(struct mii_phy* phy) in bcm5411_init()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_combo_phy_regs.h17 #define _ICL_COMBOPHY(phy) _PICK(phy, _ICL_COMBOPHY_A, \ argument
24 #define _ICL_PORT_CL_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument
27 #define ICL_PORT_CL_DW5(phy) _MMIO(_ICL_PORT_CL_DW(5, phy)) argument
31 #define ICL_PORT_CL_DW10(phy) _MMIO(_ICL_PORT_CL_DW(10, phy)) argument
48 #define ICL_PORT_CL_DW12(phy) _MMIO(_ICL_PORT_CL_DW(12, phy)) argument
53 #define _ICL_PORT_COMP_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument
56 #define ICL_PORT_COMP_DW0(phy) _MMIO(_ICL_PORT_COMP_DW(0, phy)) argument
84 #define _ICL_PORT_PCS_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument
86 #define _ICL_PORT_PCS_DW_GRP(dw, phy) (_ICL_COMBOPHY(phy) + \ argument
104 #define _ICL_PORT_TX_DW_AUX(dw, phy) (_ICL_COMBOPHY(phy) + \ argument
[all …]
H A Dintel_snps_phy_regs.h13 #define _SNPS_PHY(phy) _PHY(phy, \ argument
16 #define _SNPS2(phy, reg) (_SNPS_PHY(phy) - \ argument
18 #define _MMIO_SNPS(phy, reg) _MMIO(_SNPS2(phy, reg)) argument
19 #define _MMIO_SNPS_LN(ln, phy, reg) _MMIO(_SNPS2(phy, \ argument
22 #define SNPS_PHY_MPLLB_CP(phy) _MMIO_SNPS(phy, 0x168000) argument
28 #define SNPS_PHY_MPLLB_DIV(phy) _MMIO_SNPS(phy, 0x168004) argument
41 #define SNPS_PHY_MPLLB_FRACN1(phy) _MMIO_SNPS(phy, 0x168008) argument
46 #define SNPS_PHY_MPLLB_FRACN2(phy) _MMIO_SNPS(phy, 0x16800C) argument
50 #define SNPS_PHY_MPLLB_SSCEN(phy) _MMIO_SNPS(phy, 0x168014) argument
58 #define SNPS_PHY_MPLLB_DIV2(phy) _MMIO_SNPS(phy, 0x16801C) argument
[all …]
H A Dintel_combo_phy.c55 icl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) in icl_get_procmon_ref_values()
78 enum phy phy) in icl_set_procmon_ref_values()
92 enum phy phy, i915_reg_t reg, u32 mask, in check_phy_reg()
110 enum phy phy) in icl_verify_procmon_ref_values()
131 static bool has_phy_misc(struct drm_i915_private *i915, enum phy phy) in has_phy_misc()
153 enum phy phy) in icl_combo_phy_enabled()
191 static bool phy_is_master(struct drm_i915_private *dev_priv, enum phy phy) in phy_is_master()
220 enum phy phy) in icl_combo_phy_verify_state()
262 enum phy phy, bool is_dsi, in intel_combo_phy_power_up_lanes()
312 enum phy phy; in icl_combo_phys_init() local
[all …]
/openbmc/linux/drivers/phy/
H A Dphy-core.c53 struct phy **phy = res; in devm_phy_match() local
571 struct phy *phy = NULL; in _of_phy_get() local
619 struct phy *phy = NULL; in of_phy_get() local
706 struct phy *phy; in of_phy_simple_xlate() local
737 struct phy *phy; in phy_get() local
783 struct phy **ptr, *phy; in devm_phy_get() local
838 struct phy **ptr, *phy; in devm_of_phy_get() local
908 struct phy **ptr, *phy; in devm_of_phy_get_by_index() local
953 struct phy *phy; in phy_create() local
1029 struct phy **ptr, *phy; in devm_phy_create() local
[all …]
/openbmc/linux/include/linux/phy/
H A Dphy.h153 struct phy { struct
156 const struct phy_ops *ops; argument
160 struct phy_attrs attrs; argument
166 * struct phy_provider - represents the phy provider argument
193 struct phy *phy; member
232 #define phy_set_mode(phy, mode) \ argument
327 static inline int phy_init(struct phy *phy) in phy_init()
334 static inline int phy_exit(struct phy *phy) in phy_exit()
363 #define phy_set_mode(phy, mode) \ argument
385 static inline int phy_reset(struct phy *phy) in phy_reset()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dael1002.c100 static void ael100x_txon(struct cphy *phy) in ael100x_txon()
168 static int ael1002_intr_noop(struct cphy *phy) in ael1002_intr_noop()
293 static int ael2005_setup_sr_edc(struct cphy *phy) in ael2005_setup_sr_edc()
376 static int ael2005_intr_enable(struct cphy *phy) in ael2005_intr_enable()
382 static int ael2005_intr_disable(struct cphy *phy) in ael2005_intr_disable()
388 static int ael2005_intr_clear(struct cphy *phy) in ael2005_intr_clear()
454 static int ael2005_intr_handler(struct cphy *phy) in ael2005_intr_handler()
523 static int ael2020_setup_sr_edc(struct cphy *phy) in ael2020_setup_sr_edc()
625 static int ael2020_intr_enable(struct cphy *phy) in ael2020_intr_enable()
665 static int ael2020_intr_disable(struct cphy *phy) in ael2020_intr_disable()
[all …]
H A Daq100x.c65 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()
201 static int aq100x_set_speed_duplex(struct cphy *phy, int speed, int duplex) in aq100x_set_speed_duplex()
[all …]
/openbmc/linux/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c108 static void cal_camerarx_enable(struct cal_camerarx *phy) in cal_camerarx_enable()
121 void cal_camerarx_disable(struct cal_camerarx *phy) in cal_camerarx_disable()
287 static int cal_camerarx_start(struct cal_camerarx *phy) in cal_camerarx_start()
428 static void cal_camerarx_stop(struct cal_camerarx *phy) in cal_camerarx_stop()
480 void cal_camerarx_i913_errata(struct cal_camerarx *phy) in cal_camerarx_i913_errata()
491 struct cal_camerarx *phy) in cal_camerarx_regmap_init()
604 struct cal_camerarx *phy = to_cal_camerarx(sd); in cal_camerarx_sd_s_stream() local
624 struct cal_camerarx *phy = to_cal_camerarx(sd); in cal_camerarx_sd_enum_mbus_code() local
751 struct cal_camerarx *phy = to_cal_camerarx(sd); in cal_camerarx_get_frame_desc() local
813 struct cal_camerarx *phy; in cal_camerarx_create() local
[all …]
/openbmc/u-boot/include/
H A Dgeneric-phy.h24 struct phy { struct
30 * struct udevice_ops - set of function pointers for phy operations argument
226 static inline int generic_phy_init(struct phy *phy) in generic_phy_init()
231 static inline int generic_phy_exit(struct phy *phy) in generic_phy_exit()
236 static inline int generic_phy_reset(struct phy *phy) in generic_phy_reset()
241 static inline int generic_phy_power_on(struct phy *phy) in generic_phy_power_on()
246 static inline int generic_phy_power_off(struct phy *phy) in generic_phy_power_off()
252 struct phy *phy) in generic_phy_get_by_index()
258 struct phy *phy) in generic_phy_get_by_name()
271 static inline bool generic_phy_valid(struct phy *phy) in generic_phy_valid()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H A Dphy.c35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read()
45 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read()
55 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy()
79 int emac_mii_reset_gpcs(struct mii_phy *phy) in emac_mii_reset_gpcs()
206 static int genmii_poll_link(struct mii_phy *phy) in genmii_poll_link()
220 static int genmii_read_link(struct mii_phy *phy) in genmii_read_link()
306 static int cis8201_init(struct mii_phy *phy) in cis8201_init()
367 static int m88e1111_init(struct mii_phy *phy) in m88e1111_init()
380 static int m88e1112_init(struct mii_phy *phy) in m88e1112_init()
407 static int et1011c_init(struct mii_phy *phy) in et1011c_init()
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_hdmi_phy.c147 struct sun8i_hdmi_phy *phy = data; in sun8i_a83t_hdmi_phy_config() local
211 struct sun8i_hdmi_phy *phy = data; in sun8i_a83t_hdmi_phy_disable() local
233 struct sun8i_hdmi_phy *phy = data; in sun8i_h3_hdmi_phy_config() local
385 struct sun8i_hdmi_phy *phy = data; in sun8i_h3_hdmi_phy_disable() local
402 static void sun8i_hdmi_phy_unlock(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_unlock()
440 static void sun8i_hdmi_phy_init_h3(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_init_h3()
518 int sun8i_hdmi_phy_init(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_init()
565 void sun8i_hdmi_phy_deinit(struct sun8i_hdmi_phy *phy) in sun8i_hdmi_phy_deinit()
574 void sun8i_hdmi_phy_set_ops(struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_set_ops()
656 struct sun8i_hdmi_phy *phy; in sun8i_hdmi_phy_get() local
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c56 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
863 struct e1000_phy_info *phy = &hw->phy; in igb_copper_link_autoneg() local
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-ulpi.c42 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
243 static void otg_ulpi_init(struct usb_phy *phy, struct usb_otg *otg, in otg_ulpi_init()
262 struct usb_phy *phy; in otg_ulpi_create() local
[all …]
H A Dphy-tegra-usb.c262 static int utmip_pad_open(struct tegra_usb_phy *phy) in utmip_pad_open()
303 static int utmip_pad_close(struct tegra_usb_phy *phy) in utmip_pad_close()
901 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_shutdown() local
921 struct tegra_usb_phy *phy = data; in tegra_usb_phy_isr() local
937 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_set_wakeup() local
987 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_set_suspend() local
1062 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_init() local
1128 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_preresume() local
1137 struct tegra_usb_phy *phy = to_tegra_usb_phy(u_phy); in tegra_usb_phy_postresume() local
1279 struct tegra_usb_phy *phy) in tegra_usb_phy_parse_pmc()
[all …]
/openbmc/u-boot/drivers/phy/
H A Dphy-uclass.c16 static int generic_phy_xlate_offs_flags(struct phy *phy, in generic_phy_xlate_offs_flags()
35 struct phy *phy) in generic_phy_get_by_index()
94 struct phy *phy) in generic_phy_get_by_name()
109 int generic_phy_init(struct phy *phy) in generic_phy_init()
116 int generic_phy_reset(struct phy *phy) in generic_phy_reset()
123 int generic_phy_exit(struct phy *phy) in generic_phy_exit()
130 int generic_phy_power_on(struct phy *phy) in generic_phy_power_on()
137 int generic_phy_power_off(struct phy *phy) in generic_phy_power_off()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_port.c15 static bool phy_is_wideport_member(struct asd_sas_port *port, struct asd_sas_phy *phy) in phy_is_wideport_member()
26 static void sas_resume_port(struct asd_sas_phy *phy) in sas_resume_port()
60 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port() local
71 struct asd_sas_phy *phy, bool wideport) in sas_form_port_add_phy()
104 static void sas_form_port(struct asd_sas_phy *phy) in sas_form_port()
209 void sas_deform_port(struct asd_sas_phy *phy, int gone) in sas_deform_port()
276 struct asd_sas_phy *phy = ev->phy; in sas_porte_bytes_dmaed() local
284 struct asd_sas_phy *phy = ev->phy; in sas_porte_broadcast_rcvd() local
302 struct asd_sas_phy *phy = ev->phy; in sas_porte_link_reset_err() local
310 struct asd_sas_phy *phy = ev->phy; in sas_porte_timer_event() local
[all …]
H A Dsas_phy.c20 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local
29 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local
37 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local
66 struct asd_sas_phy *phy = ev->phy; in sas_phye_spinup_hold() local
78 struct asd_sas_phy *phy = ev->phy; in sas_phye_resume_timeout() local
95 struct asd_sas_phy *phy = ev->phy; in sas_phye_shutdown() local
122 struct asd_sas_phy *phy = sas_ha->sas_phy[i]; in sas_register_phys() local
/openbmc/linux/drivers/net/phy/
H A Dphy_led_triggers.c8 static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, in phy_speed_to_led_trigger()
20 static void phy_led_trigger_no_link(struct phy_device *phy) in phy_led_trigger_no_link()
29 void phy_led_trigger_change_speed(struct phy_device *phy) in phy_led_trigger_change_speed()
60 static void phy_led_trigger_format_name(struct phy_device *phy, char *buf, in phy_led_trigger_format_name()
67 static int phy_led_trigger_register(struct phy_device *phy, in phy_led_trigger_register()
84 int phy_led_triggers_register(struct phy_device *phy) in phy_led_triggers_register()
142 void phy_led_triggers_unregister(struct phy_device *phy) in phy_led_triggers_unregister()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dradio.c101 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_read16() local
135 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_all_gains() local
171 struct b43legacy_phy *phy = &dev->phy; in b43legacy_set_original_gains() local
211 struct b43legacy_phy *phy = &dev->phy; in b43legacy_synth_pu_workaround() local
232 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_detect() local
266 struct b43legacy_phy *phy = &dev->phy; in b43legacy_radio_aci_scan() local
351 struct b43legacy_phy *phy = &dev->phy; in b43legacy_nrssi_mem_update() local
368 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_offset() local
538 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_slope() local
803 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_nrssi_threshold() local
[all …]
H A Dphy.c118 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_calibrate() local
136 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_init_pctl() local
195 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_agcsetup() local
311 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_setupg() local
423 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb2() local
472 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb4() local
528 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb5() local
643 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initb6() local
786 struct b43legacy_phy *phy = &dev->phy; in b43legacy_calc_loopback_gain() local
985 struct b43legacy_phy *phy = &dev->phy; in b43legacy_phy_initg() local
[all …]
/openbmc/linux/drivers/phy/samsung/
H A Dphy-samsung-ufs.c24 #define for_each_phy_lane(phy, i) \ argument
31 static void samsung_ufs_phy_config(struct samsung_ufs_phy *phy, in samsung_ufs_phy_config()
48 static int samsung_ufs_phy_wait_for_lock_acq(struct phy *phy) in samsung_ufs_phy_wait_for_lock_acq()
76 static int samsung_ufs_phy_calibrate(struct phy *phy) in samsung_ufs_phy_calibrate()
134 static int samsung_ufs_phy_clks_init(struct samsung_ufs_phy *phy) in samsung_ufs_phy_clks_init()
151 static int samsung_ufs_phy_init(struct phy *phy) in samsung_ufs_phy_init()
161 static int samsung_ufs_phy_power_on(struct phy *phy) in samsung_ufs_phy_power_on()
183 static int samsung_ufs_phy_power_off(struct phy *phy) in samsung_ufs_phy_power_off()
207 static int samsung_ufs_phy_exit(struct phy *phy) in samsung_ufs_phy_exit()
232 struct samsung_ufs_phy *phy; in samsung_ufs_phy_probe() local
/openbmc/phosphor-led-sysfs/test/
H A Dphysical.cpp81 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
93 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
105 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
117 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
129 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
140 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
153 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
168 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
181 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
192 phosphor::led::Physical phy(bus, ledObj, led); in TEST() local
[all …]
/openbmc/linux/drivers/phy/hisilicon/
H A Dphy-hi3670-pcie.c179 static inline void hi3670_apb_phy_updatel(struct hi3670_pcie_phy *phy, in hi3670_apb_phy_updatel()
215 static void hi3670_pcie_get_eyeparam(struct hi3670_pcie_phy *phy) in hi3670_pcie_get_eyeparam()
233 static void hi3670_pcie_set_eyeparam(struct hi3670_pcie_phy *phy) in hi3670_pcie_set_eyeparam()
278 static void hi3670_pcie_natural_cfg(struct hi3670_pcie_phy *phy) in hi3670_pcie_natural_cfg()
306 static void hi3670_pcie_pll_init(struct hi3670_pcie_phy *phy) in hi3670_pcie_pll_init()
503 static bool is_pipe_clk_stable(struct hi3670_pcie_phy *phy) in is_pipe_clk_stable()
639 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_init() local
662 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_power_on() local
717 struct hi3670_pcie_phy *phy = phy_get_drvdata(generic_phy); in hi3670_pcie_phy_power_off() local
745 static int hi3670_pcie_phy_get_resources(struct hi3670_pcie_phy *phy, in hi3670_pcie_phy_get_resources()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c473 struct mt76_phy *phy; in mt76_alloc_phy() local
612 struct mt76_phy *phy; in mt76_alloc_device() local
687 struct mt76_phy *phy = &dev->phy; in mt76_register_device() local
935 struct mt76_phy *phy = hw->priv; in mt76_get_survey() local
1454 struct mt76_phy *phy = hw->priv; in mt76_sta_state() local
1477 struct mt76_phy *phy = hw->priv; in mt76_sta_pre_rcu_remove() local
1492 struct mt76_phy *phy = hw->priv; in mt76_get_txpower() local
1505 struct mt76_phy *phy = hw->priv; in mt76_init_sar_power() local
1651 struct mt76_phy *phy = hw->priv; in mt76_sw_scan() local
1659 struct mt76_phy *phy = hw->priv; in mt76_sw_scan_complete() local
[all …]

12345678910>>...36