/linux-6.12.1/include/linux/phy/ |
D | phy.h | 23 struct phy; 85 int (*init)(struct phy *phy); 86 int (*exit)(struct phy *phy); 87 int (*power_on)(struct phy *phy); 88 int (*power_off)(struct phy *phy); 89 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode); 90 int (*set_media)(struct phy *phy, enum phy_media media); 91 int (*set_speed)(struct phy *phy, int speed); 103 int (*configure)(struct phy *phy, union phy_configure_opts *opts); 121 int (*validate)(struct phy *phy, enum phy_mode mode, int submode, [all …]
|
/linux-6.12.1/drivers/phy/ |
D | phy-core.c | 37 struct phy *phy = *(struct phy **)res; in devm_phy_release() local 39 phy_put(dev, phy); in devm_phy_release() 51 struct phy *phy = *(struct phy **)res; in devm_phy_consume() local 53 phy_destroy(phy); in devm_phy_consume() 58 struct phy **phy = res; in devm_phy_match() local 60 return *phy == match_data; in devm_phy_match() 71 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup() argument 75 if (!phy || !dev_id || !con_id) in phy_create_lookup() 84 pl->phy = phy; in phy_create_lookup() 103 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_remove_lookup() argument [all …]
|
/linux-6.12.1/drivers/scsi/libsas/ |
D | sas_phy.c | 20 struct asd_sas_phy *phy = ev->phy; in sas_phye_loss_of_signal() local 22 phy->error = 0; in sas_phye_loss_of_signal() 23 sas_deform_port(phy, 1); in sas_phye_loss_of_signal() 29 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_done() local 31 phy->error = 0; in sas_phye_oob_done() 37 struct asd_sas_phy *phy = ev->phy; in sas_phye_oob_error() local 38 struct sas_ha_struct *sas_ha = phy->ha; in sas_phye_oob_error() 39 struct asd_sas_port *port = phy->port; in sas_phye_oob_error() 43 sas_deform_port(phy, 1); in sas_phye_oob_error() 45 if (!port && phy->enabled && i->dft->lldd_control_phy) { in sas_phye_oob_error() [all …]
|
/linux-6.12.1/drivers/net/ |
D | sungem_phy.c | 47 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read() argument 49 return phy->mdio_read(phy->dev, id, reg); in __sungem_phy_read() 52 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write() argument 54 phy->mdio_write(phy->dev, id, reg, val); in __sungem_phy_write() 57 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read() argument 59 return phy->mdio_read(phy->dev, phy->mii_id, reg); in sungem_phy_read() 62 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write() argument 64 phy->mdio_write(phy->dev, phy->mii_id, reg, val); in sungem_phy_write() 67 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy() argument 72 val = __sungem_phy_read(phy, phy_id, MII_BMCR); in reset_one_mii_phy() [all …]
|
/linux-6.12.1/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 35 static inline int _phy_read(struct mii_phy *phy, int reg) in _phy_read() argument 37 return phy->mdio_read(phy->dev, phy->address, reg); in _phy_read() 40 static inline void _phy_write(struct mii_phy *phy, int reg, int val) in _phy_write() argument 42 phy->mdio_write(phy->dev, phy->address, reg, val); in _phy_write() 45 static inline int gpcs_phy_read(struct mii_phy *phy, int reg) in gpcs_phy_read() argument 47 return phy->mdio_read(phy->dev, phy->gpcs_address, reg); in gpcs_phy_read() 50 static inline void gpcs_phy_write(struct mii_phy *phy, int reg, int val) in gpcs_phy_write() argument 52 phy->mdio_write(phy->dev, phy->gpcs_address, reg, val); in gpcs_phy_write() 55 int emac_mii_reset_phy(struct mii_phy *phy) in emac_mii_reset_phy() argument 60 val = phy_read(phy, MII_BMCR); in emac_mii_reset_phy() [all …]
|
/linux-6.12.1/drivers/phy/hisilicon/ |
D | phy-hi3670-pcie.c | 168 static inline void hi3670_apb_phy_writel(struct hi3670_pcie_phy *phy, u32 val, in hi3670_apb_phy_writel() argument 171 writel(val, phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_writel() 174 static inline u32 hi3670_apb_phy_readl(struct hi3670_pcie_phy *phy, u32 reg) in hi3670_apb_phy_readl() argument 176 return readl(phy->base + APB_PHY_START_ADDR + reg); in hi3670_apb_phy_readl() 179 static inline void hi3670_apb_phy_updatel(struct hi3670_pcie_phy *phy, in hi3670_apb_phy_updatel() argument 184 regval = hi3670_apb_phy_readl(phy, reg); in hi3670_apb_phy_updatel() 187 hi3670_apb_phy_writel(phy, regval, reg); in hi3670_apb_phy_updatel() 190 static inline void kirin_apb_natural_phy_writel(struct hi3670_pcie_phy *phy, in kirin_apb_natural_phy_writel() argument 193 writel(val, phy->base + reg); in kirin_apb_natural_phy_writel() 196 static inline u32 kirin_apb_natural_phy_readl(struct hi3670_pcie_phy *phy, in kirin_apb_natural_phy_readl() argument [all …]
|
/linux-6.12.1/drivers/media/platform/ti/cal/ |
D | cal-camerarx.c | 33 static inline u32 camerarx_read(struct cal_camerarx *phy, u32 offset) in camerarx_read() argument 35 return ioread32(phy->base + offset); in camerarx_read() 38 static inline void camerarx_write(struct cal_camerarx *phy, u32 offset, u32 val) in camerarx_write() argument 40 iowrite32(val, phy->base + offset); in camerarx_write() 48 static s64 cal_camerarx_get_ext_link_freq(struct cal_camerarx *phy) in cal_camerarx_get_ext_link_freq() argument 50 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2 = &phy->endpoint.bus.mipi_csi2; in cal_camerarx_get_ext_link_freq() 58 state = v4l2_subdev_get_locked_active_state(&phy->subdev); in cal_camerarx_get_ext_link_freq() 68 freq = v4l2_get_link_freq(phy->source->ctrl_handler, bpp, 2 * num_lanes); in cal_camerarx_get_ext_link_freq() 70 phy_err(phy, "failed to get link freq for subdev '%s'\n", in cal_camerarx_get_ext_link_freq() 71 phy->source->name); in cal_camerarx_get_ext_link_freq() [all …]
|
/linux-6.12.1/drivers/phy/ralink/ |
D | phy-ralink-usb.c | 56 struct phy *phy; member 61 static void u2_phy_w32(struct ralink_usb_phy *phy, u32 val, u32 reg) in u2_phy_w32() argument 63 writel(val, phy->base + reg); in u2_phy_w32() 66 static u32 u2_phy_r32(struct ralink_usb_phy *phy, u32 reg) in u2_phy_r32() argument 68 return readl(phy->base + reg); in u2_phy_r32() 71 static void ralink_usb_phy_init(struct ralink_usb_phy *phy) in ralink_usb_phy_init() argument 73 u2_phy_r32(phy, OFS_U2_PHY_AC2); in ralink_usb_phy_init() 74 u2_phy_r32(phy, OFS_U2_PHY_ACR0); in ralink_usb_phy_init() 75 u2_phy_r32(phy, OFS_U2_PHY_DCR0); in ralink_usb_phy_init() 77 u2_phy_w32(phy, 0x00ffff02, OFS_U2_PHY_DCR0); in ralink_usb_phy_init() [all …]
|
D | phy-mt7621-pci.c | 79 struct phy *phy; member 86 static inline void mt7621_phy_rmw(struct mt7621_pci_phy *phy, in mt7621_phy_rmw() argument 98 regmap_read(phy->regmap, reg, &val); in mt7621_phy_rmw() 101 regmap_write(phy->regmap, reg, val); in mt7621_phy_rmw() 104 static void mt7621_bypass_pipe_rst(struct mt7621_pci_phy *phy) in mt7621_bypass_pipe_rst() argument 106 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG, 0, RG_PE1_PIPE_RST); in mt7621_bypass_pipe_rst() 107 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG, 0, RG_PE1_PIPE_CMD_FRC); in mt7621_bypass_pipe_rst() 109 if (phy->has_dual_port) { in mt7621_bypass_pipe_rst() 110 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG + RG_P0_TO_P1_WIDTH, in mt7621_bypass_pipe_rst() 112 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG + RG_P0_TO_P1_WIDTH, in mt7621_bypass_pipe_rst() [all …]
|
/linux-6.12.1/drivers/phy/ti/ |
D | phy-dm816x-usb.c | 47 struct usb_phy phy; member 71 static int dm816x_usb_phy_init(struct phy *x) in dm816x_usb_phy_init() 73 struct dm816x_usb_phy *phy = phy_get_drvdata(x); in dm816x_usb_phy_init() local 76 if (clk_get_rate(phy->refclk) != 24000000) in dm816x_usb_phy_init() 77 dev_warn(phy->dev, "nonstandard phy refclk\n"); in dm816x_usb_phy_init() 80 regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_init() 85 regmap_read(phy->syscon, phy->usb_ctrl, &val); in dm816x_usb_phy_init() 87 dev_info(phy->dev, in dm816x_usb_phy_init() 96 regmap_read(phy->syscon, phy->usbphy_ctrl, &val); in dm816x_usb_phy_init() 100 regmap_write(phy->syscon, phy->usbphy_ctrl, val); in dm816x_usb_phy_init() [all …]
|
D | phy-ti-pipe3.c | 300 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) in ti_pipe3_get_dpll_params() argument 303 struct pipe3_dpll_map *dpll_map = phy->dpll_map; in ti_pipe3_get_dpll_params() 305 rate = clk_get_rate(phy->sys_clk); in ti_pipe3_get_dpll_params() 312 dev_err(phy->dev, "No DPLL configuration for %lu Hz SYS CLK\n", rate); in ti_pipe3_get_dpll_params() 317 static int ti_pipe3_enable_clocks(struct ti_pipe3 *phy); 318 static void ti_pipe3_disable_clocks(struct ti_pipe3 *phy); 320 static int ti_pipe3_power_off(struct phy *x) in ti_pipe3_power_off() 323 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_power_off() local 325 if (!phy->phy_power_syscon) { in ti_pipe3_power_off() 326 omap_control_phy_power(phy->control_dev, 0); in ti_pipe3_power_off() [all …]
|
D | phy-omap-usb2.c | 55 struct usb_phy phy; member 71 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy) 104 struct omap_usb *phy; in omap_usb2_set_comparator() local 110 phy = phy_to_omapusb(x); in omap_usb2_set_comparator() 111 phy->comparator = comparator; in omap_usb2_set_comparator() 118 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus() local 120 if (!phy->comparator || !phy->comparator->set_vbus) in omap_usb_set_vbus() 123 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus() 128 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp() local 130 if (!phy->comparator || !phy->comparator->start_srp) in omap_usb_start_srp() [all …]
|
/linux-6.12.1/drivers/net/phy/ |
D | phy_led_triggers.c | 8 static struct phy_led_trigger *phy_speed_to_led_trigger(struct phy_device *phy, in phy_speed_to_led_trigger() argument 13 for (i = 0; i < phy->phy_num_led_triggers; i++) { in phy_speed_to_led_trigger() 14 if (phy->phy_led_triggers[i].speed == speed) in phy_speed_to_led_trigger() 15 return &phy->phy_led_triggers[i]; in phy_speed_to_led_trigger() 20 static void phy_led_trigger_no_link(struct phy_device *phy) in phy_led_trigger_no_link() argument 22 if (phy->last_triggered) { in phy_led_trigger_no_link() 23 led_trigger_event(&phy->last_triggered->trigger, LED_OFF); in phy_led_trigger_no_link() 24 led_trigger_event(&phy->led_link_trigger->trigger, LED_OFF); in phy_led_trigger_no_link() 25 phy->last_triggered = NULL; in phy_led_trigger_no_link() 29 void phy_led_trigger_change_speed(struct phy_device *phy) in phy_led_trigger_change_speed() argument [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_combo_phy_regs.h | 17 #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 46 #define ICL_PORT_CL_DW12(phy) _MMIO(_ICL_PORT_CL_DW(12, phy)) argument 51 #define _ICL_PORT_COMP_DW(dw, phy) (_ICL_COMBOPHY(phy) + \ argument 54 #define ICL_PORT_COMP_DW0(phy) _MMIO(_ICL_PORT_COMP_DW(0, phy)) argument 57 #define ICL_PORT_COMP_DW1(phy) _MMIO(_ICL_PORT_COMP_DW(1, phy)) argument 59 #define ICL_PORT_COMP_DW3(phy) _MMIO(_ICL_PORT_COMP_DW(3, phy)) argument 69 #define ICL_PORT_COMP_DW8(phy) _MMIO(_ICL_PORT_COMP_DW(8, phy)) argument [all …]
|
D | intel_combo_phy.c | 55 icl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) in icl_get_procmon_ref_values() argument 59 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW3(phy)); in icl_get_procmon_ref_values() 78 enum phy phy) in icl_set_procmon_ref_values() argument 82 procmon = icl_get_procmon_ref_values(dev_priv, phy); in icl_set_procmon_ref_values() 84 intel_de_rmw(dev_priv, ICL_PORT_COMP_DW1(phy), in icl_set_procmon_ref_values() 87 intel_de_write(dev_priv, ICL_PORT_COMP_DW9(phy), procmon->dw9); in icl_set_procmon_ref_values() 88 intel_de_write(dev_priv, ICL_PORT_COMP_DW10(phy), procmon->dw10); in icl_set_procmon_ref_values() 92 enum phy phy, i915_reg_t reg, u32 mask, in check_phy_reg() argument 101 phy_name(phy), in check_phy_reg() 110 enum phy phy) in icl_verify_procmon_ref_values() argument [all …]
|
/linux-6.12.1/drivers/nfc/pn544/ |
D | i2c.c | 186 static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy) in pn544_hci_i2c_platform_init() argument 192 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init() 195 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init() 198 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init() 202 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 206 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 210 dev_dbg(&phy->i2c_dev->dev, "Sending reset cmd\n"); in pn544_hci_i2c_platform_init() 211 ret = i2c_master_send(phy->i2c_dev, rset_cmd, count); in pn544_hci_i2c_platform_init() 213 nfc_info(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init() 221 nfc_err(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init() [all …]
|
/linux-6.12.1/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() argument 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 93 err = t3_mdio_change_bits(phy, rv->mmd_addr, in set_phy_regs() 100 static void ael100x_txon(struct cphy *phy) in ael100x_txon() argument 103 phy->mdio.prtad == 0 ? F_GPIO7_OUT_VAL : F_GPIO2_OUT_VAL; in ael100x_txon() 106 t3_set_reg_field(phy->adapter, A_T3DBG_GPIO_EN, 0, tx_on_gpio); in ael100x_txon() 113 static int ael_i2c_rd(struct cphy *phy, int dev_addr, int word_addr) in ael_i2c_rd() argument 118 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL_I2C_CTRL, in ael_i2c_rd() 125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); in ael_i2c_rd() 129 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_DATA, in ael_i2c_rd() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | e1000_phy.c | 56 struct e1000_phy_info *phy = &hw->phy; in igb_get_phy_id() local 62 phy->ops.write_reg(hw, I347AT4_PAGE_SELECT, 0); in igb_get_phy_id() 64 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); in igb_get_phy_id() 68 phy->id = (u32)(phy_id << 16); in igb_get_phy_id() 70 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); in igb_get_phy_id() 74 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in igb_get_phy_id() 75 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in igb_get_phy_id() 91 if (!(hw->phy.ops.write_reg)) in igb_phy_reset_dsp() 94 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0xC1); in igb_phy_reset_dsp() 98 ret_val = hw->phy.ops.write_reg(hw, M88E1000_PHY_GEN_CONTROL, 0); in igb_phy_reset_dsp() [all …]
|
/linux-6.12.1/drivers/phy/allwinner/ |
D | phy-sun9i-usb.c | 36 struct phy *phy; member 44 static void sun9i_usb_phy_passby(struct sun9i_usb_phy *phy, int enable) in sun9i_usb_phy_passby() argument 52 if (phy->type == USBPHY_INTERFACE_MODE_HSIC) in sun9i_usb_phy_passby() 56 reg_value = readl(phy->pmu); in sun9i_usb_phy_passby() 63 writel(reg_value, phy->pmu); in sun9i_usb_phy_passby() 66 static int sun9i_usb_phy_init(struct phy *_phy) in sun9i_usb_phy_init() 68 struct sun9i_usb_phy *phy = phy_get_drvdata(_phy); in sun9i_usb_phy_init() local 71 ret = clk_prepare_enable(phy->clk); in sun9i_usb_phy_init() 75 ret = clk_prepare_enable(phy->hsic_clk); in sun9i_usb_phy_init() 79 ret = reset_control_deassert(phy->reset); in sun9i_usb_phy_init() [all …]
|
/linux-6.12.1/drivers/usb/phy/ |
D | phy-ulpi.c | 42 static int ulpi_set_otg_flags(struct usb_phy *phy) in ulpi_set_otg_flags() argument 47 if (phy->flags & ULPI_OTG_ID_PULLUP) in ulpi_set_otg_flags() 54 if (phy->flags & ULPI_OTG_DP_PULLDOWN_DIS) in ulpi_set_otg_flags() 57 if (phy->flags & ULPI_OTG_DM_PULLDOWN_DIS) in ulpi_set_otg_flags() 60 if (phy->flags & ULPI_OTG_EXTVBUSIND) in ulpi_set_otg_flags() 63 return usb_phy_io_write(phy, flags, ULPI_OTG_CTRL); in ulpi_set_otg_flags() 66 static int ulpi_set_fc_flags(struct usb_phy *phy) in ulpi_set_fc_flags() argument 74 if (phy->flags & ULPI_FC_HS) in ulpi_set_fc_flags() 76 else if (phy->flags & ULPI_FC_LS) in ulpi_set_fc_flags() 78 else if (phy->flags & ULPI_FC_FS4LS) in ulpi_set_fc_flags() [all …]
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun8i_hdmi_phy.c | 127 static void sun8i_hdmi_phy_set_polarity(struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_set_polarity() argument 138 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_DBG_CTRL_REG, in sun8i_hdmi_phy_set_polarity() 147 struct sun8i_hdmi_phy *phy = data; in sun8i_a83t_hdmi_phy_config() local 149 sun8i_hdmi_phy_set_polarity(phy, mode); in sun8i_a83t_hdmi_phy_config() 151 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG, in sun8i_a83t_hdmi_phy_config() 211 struct sun8i_hdmi_phy *phy = data; in sun8i_a83t_hdmi_phy_disable() local 216 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG, in sun8i_a83t_hdmi_phy_disable() 233 struct sun8i_hdmi_phy *phy = data; in sun8i_h3_hdmi_phy_config() local 242 if (phy->variant->has_phy_clk) in sun8i_h3_hdmi_phy_config() 243 clk_set_rate(phy->clk_phy, clk_rate); in sun8i_h3_hdmi_phy_config() [all …]
|
/linux-6.12.1/drivers/phy/qualcomm/ |
D | phy-qcom-snps-eusb2.c | 125 struct phy *phy; member 135 struct phy *repeater; 138 static int qcom_snps_eusb2_hsphy_set_mode(struct phy *p, enum phy_mode mode, int submode) in qcom_snps_eusb2_hsphy_set_mode() 140 struct qcom_snps_eusb2_hsphy *phy = phy_get_drvdata(p); in qcom_snps_eusb2_hsphy_set_mode() local 142 phy->mode = mode; in qcom_snps_eusb2_hsphy_set_mode() 144 return phy_set_mode_ext(phy->repeater, mode, submode); in qcom_snps_eusb2_hsphy_set_mode() 161 static void qcom_eusb2_default_parameters(struct qcom_snps_eusb2_hsphy *phy) in qcom_eusb2_default_parameters() argument 164 qcom_snps_eusb2_hsphy_write_mask(phy->base, USB_PHY_CFG_CTRL_9, in qcom_eusb2_default_parameters() 169 qcom_snps_eusb2_hsphy_write_mask(phy->base, USB_PHY_CFG_CTRL_9, in qcom_eusb2_default_parameters() 174 qcom_snps_eusb2_hsphy_write_mask(phy->base, USB_PHY_CFG_CTRL_9, in qcom_eusb2_default_parameters() [all …]
|
D | phy-qcom-ipq4019-usb.c | 23 struct phy *phy; member 29 static int ipq4019_ss_phy_power_off(struct phy *_phy) in ipq4019_ss_phy_power_off() 31 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_off() local 33 reset_control_assert(phy->por_rst); in ipq4019_ss_phy_power_off() 39 static int ipq4019_ss_phy_power_on(struct phy *_phy) in ipq4019_ss_phy_power_on() 41 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_ss_phy_power_on() local 45 reset_control_deassert(phy->por_rst); in ipq4019_ss_phy_power_on() 55 static int ipq4019_hs_phy_power_off(struct phy *_phy) in ipq4019_hs_phy_power_off() 57 struct ipq4019_usb_phy *phy = phy_get_drvdata(_phy); in ipq4019_hs_phy_power_off() local 59 reset_control_assert(phy->por_rst); in ipq4019_hs_phy_power_off() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/microchip/ |
D | sparx5_pcb135_board.dtsi | 202 phy0: ethernet-phy@0 { 205 phy1: ethernet-phy@1 { 208 phy2: ethernet-phy@2 { 211 phy3: ethernet-phy@3 { 214 phy4: ethernet-phy@4 { 217 phy5: ethernet-phy@5 { 220 phy6: ethernet-phy@6 { 223 phy7: ethernet-phy@7 { 226 phy8: ethernet-phy@8 { 229 phy9: ethernet-phy@9 { [all …]
|
/linux-6.12.1/drivers/nfc/s3fwrn5/ |
D | i2c.c | 33 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_mode() local 35 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 37 if (s3fwrn5_phy_power_ctrl(&phy->common, mode) == false) in s3fwrn5_i2c_set_mode() 40 phy->irq_skip = true; in s3fwrn5_i2c_set_mode() 43 mutex_unlock(&phy->common.mutex); in s3fwrn5_i2c_set_mode() 48 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_write() local 51 mutex_lock(&phy->common.mutex); in s3fwrn5_i2c_write() 53 phy->irq_skip = false; in s3fwrn5_i2c_write() 55 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write() 59 ret = i2c_master_send(phy->i2c_dev, skb->data, skb->len); in s3fwrn5_i2c_write() [all …]
|