Home
last modified time | relevance | path

Searched refs:phy (Results 1 – 25 of 3204) sorted by relevance

12345678910>>...129

/OK3568_Linux_fs/kernel/include/linux/phy/
H A Dphy.h22 struct phy;
73 int (*init)(struct phy *phy);
74 int (*exit)(struct phy *phy);
75 int (*power_on)(struct phy *phy);
76 int (*power_off)(struct phy *phy);
77 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
89 int (*configure)(struct phy *phy, union phy_configure_opts *opts);
107 int (*validate)(struct phy *phy, enum phy_mode mode, int submode,
109 int (*reset)(struct phy *phy);
110 int (*calibrate)(struct phy *phy);
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/
H A Dphy-core.c30 struct phy *phy = *(struct phy **)res; in devm_phy_release() local
32 phy_put(dev, phy); in devm_phy_release()
44 struct phy *phy = *(struct phy **)res; in devm_phy_consume() local
46 phy_destroy(phy); in devm_phy_consume()
51 struct phy **phy = res; in devm_phy_match() local
53 return *phy == match_data; in devm_phy_match()
64 int phy_create_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_create_lookup() argument
68 if (!phy || !dev_id || !con_id) in phy_create_lookup()
77 pl->phy = phy; in phy_create_lookup()
96 void phy_remove_lookup(struct phy *phy, const char *con_id, const char *dev_id) in phy_remove_lookup() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/
H A Dcal-camerarx.c33 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_external_rate(struct cal_camerarx *phy) in cal_camerarx_get_external_rate() argument
53 ctrl = v4l2_ctrl_find(phy->sensor->ctrl_handler, V4L2_CID_PIXEL_RATE); in cal_camerarx_get_external_rate()
55 phy_err(phy, "no pixel rate control in subdev: %s\n", in cal_camerarx_get_external_rate()
56 phy->sensor->name); in cal_camerarx_get_external_rate()
61 phy_dbg(3, phy, "sensor Pixel Rate: %llu\n", rate); in cal_camerarx_get_external_rate()
66 static void cal_camerarx_lane_config(struct cal_camerarx *phy) in cal_camerarx_lane_config() argument
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dgeneric-phy.h58 struct phy { struct
89 int (*of_xlate)(struct phy *phy, struct ofnode_phandle_args *args);
103 int (*init)(struct phy *phy);
118 int (*exit)(struct phy *phy);
130 int (*reset)(struct phy *phy);
142 int (*configure)(struct phy *phy, union phy_configure_opts *opts);
160 int (*validate)(struct phy *phy, enum phy_mode mode, int submode,
175 int (*power_on)(struct phy *phy);
189 int (*power_off)(struct phy *phy);
191 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/
H A Dsungem_phy.c51 static inline int __sungem_phy_read(struct mii_phy* phy, int id, int reg) in __sungem_phy_read() argument
53 return phy->mdio_read(phy->dev, id, reg); in __sungem_phy_read()
56 static inline void __sungem_phy_write(struct mii_phy* phy, int id, int reg, int val) in __sungem_phy_write() argument
58 phy->mdio_write(phy->dev, id, reg, val); in __sungem_phy_write()
61 static inline int sungem_phy_read(struct mii_phy* phy, int reg) in sungem_phy_read() argument
63 return phy->mdio_read(phy->dev, phy->mii_id, reg); in sungem_phy_read()
66 static inline void sungem_phy_write(struct mii_phy* phy, int reg, int val) in sungem_phy_write() argument
68 phy->mdio_write(phy->dev, phy->mii_id, reg, val); in sungem_phy_write()
71 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) in reset_one_mii_phy() argument
76 val = __sungem_phy_read(phy, phy_id, MII_BMCR); in reset_one_mii_phy()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/emac/
H A Dphy.c35 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 …]
/OK3568_Linux_fs/kernel/drivers/scsi/libsas/
H A Dsas_phy.c20 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 …]
/OK3568_Linux_fs/kernel/drivers/phy/ti/
H A Dphy-ti-pipe3.c299 static struct pipe3_dpll_params *ti_pipe3_get_dpll_params(struct ti_pipe3 *phy) in ti_pipe3_get_dpll_params() argument
302 struct pipe3_dpll_map *dpll_map = phy->dpll_map; in ti_pipe3_get_dpll_params()
304 rate = clk_get_rate(phy->sys_clk); in ti_pipe3_get_dpll_params()
311 dev_err(phy->dev, "No DPLL configuration for %lu Hz SYS CLK\n", rate); in ti_pipe3_get_dpll_params()
316 static int ti_pipe3_enable_clocks(struct ti_pipe3 *phy);
317 static void ti_pipe3_disable_clocks(struct ti_pipe3 *phy);
319 static int ti_pipe3_power_off(struct phy *x) in ti_pipe3_power_off()
322 struct ti_pipe3 *phy = phy_get_drvdata(x); in ti_pipe3_power_off() local
324 if (!phy->phy_power_syscon) { in ti_pipe3_power_off()
325 omap_control_phy_power(phy->control_dev, 0); in ti_pipe3_power_off()
[all …]
H A Dphy-omap-usb2.c54 struct usb_phy phy; member
70 #define phy_to_omapusb(x) container_of((x), struct omap_usb, phy)
103 struct omap_usb *phy; in omap_usb2_set_comparator() local
109 phy = phy_to_omapusb(x); in omap_usb2_set_comparator()
110 phy->comparator = comparator; in omap_usb2_set_comparator()
117 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_set_vbus() local
119 if (!phy->comparator) in omap_usb_set_vbus()
122 return phy->comparator->set_vbus(phy->comparator, enabled); in omap_usb_set_vbus()
127 struct omap_usb *phy = phy_to_omapusb(otg->usb_phy); in omap_usb_start_srp() local
129 if (!phy->comparator) in omap_usb_start_srp()
[all …]
H A Dphy-dm816x-usb.c57 struct usb_phy phy; member
81 static int dm816x_usb_phy_init(struct phy *x) in dm816x_usb_phy_init()
83 struct dm816x_usb_phy *phy = phy_get_drvdata(x); in dm816x_usb_phy_init() local
86 if (clk_get_rate(phy->refclk) != 24000000) in dm816x_usb_phy_init()
87 dev_warn(phy->dev, "nonstandard phy refclk\n"); in dm816x_usb_phy_init()
90 regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_init()
95 regmap_read(phy->syscon, phy->usb_ctrl, &val); in dm816x_usb_phy_init()
97 dev_info(phy->dev, in dm816x_usb_phy_init()
106 regmap_read(phy->syscon, phy->usbphy_ctrl, &val); in dm816x_usb_phy_init()
110 regmap_write(phy->syscon, phy->usbphy_ctrl, val); in dm816x_usb_phy_init()
[all …]
/OK3568_Linux_fs/kernel/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() 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 …]
/OK3568_Linux_fs/kernel/drivers/phy/ralink/
H A Dphy-ralink-usb.c56 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 …]
/OK3568_Linux_fs/kernel/drivers/nfc/pn544/
H A Di2c.c188 static void pn544_hci_i2c_platform_init(struct pn544_i2c_phy *phy) in pn544_hci_i2c_platform_init() argument
194 nfc_info(&phy->i2c_dev->dev, "Detecting nfc_en polarity\n"); in pn544_hci_i2c_platform_init()
197 gpiod_set_value_cansleep(phy->gpiod_fw, 0); in pn544_hci_i2c_platform_init()
200 phy->en_polarity = polarity; in pn544_hci_i2c_platform_init()
204 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init()
208 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init()
212 dev_dbg(&phy->i2c_dev->dev, "Sending reset cmd\n"); in pn544_hci_i2c_platform_init()
213 ret = i2c_master_send(phy->i2c_dev, rset_cmd, count); in pn544_hci_i2c_platform_init()
215 nfc_info(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init()
223 nfc_err(&phy->i2c_dev->dev, in pn544_hci_i2c_platform_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A De1000_phy.c56 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A Dael1002.c84 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 …]
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-uclass.c19 static int generic_phy_xlate_offs_flags(struct phy *phy, in generic_phy_xlate_offs_flags() argument
22 debug("%s(phy=%p)\n", __func__, phy); in generic_phy_xlate_offs_flags()
30 phy->id = args->args[0]; in generic_phy_xlate_offs_flags()
32 phy->id = 0; in generic_phy_xlate_offs_flags()
38 struct phy *phy) in generic_phy_get_by_index() argument
45 debug("%s(dev=%p, index=%d, phy=%p)\n", __func__, dev, index, phy); in generic_phy_get_by_index()
47 assert(phy); in generic_phy_get_by_index()
48 phy->dev = NULL; in generic_phy_get_by_index()
64 phy->dev = phydev; in generic_phy_get_by_index()
69 ret = ops->of_xlate(phy, &args); in generic_phy_get_by_index()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun8i_hdmi_phy.c127 struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_config_a83t() argument
130 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_REXT_CTRL_REG, in sun8i_hdmi_phy_config_a83t()
189 struct sun8i_hdmi_phy *phy, in sun8i_hdmi_phy_config_h3() argument
257 SUN8I_HDMI_PHY_ANA_CFG2_REG_RESDI(phy->rcal); in sun8i_hdmi_phy_config_h3()
267 SUN8I_HDMI_PHY_ANA_CFG2_REG_RESDI(phy->rcal); in sun8i_hdmi_phy_config_h3()
293 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_ANA_CFG1_REG, in sun8i_hdmi_phy_config_h3()
300 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, in sun8i_hdmi_phy_config_h3()
303 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG2_REG, in sun8i_hdmi_phy_config_h3()
307 regmap_write(phy->regs, SUN8I_HDMI_PHY_PLL_CFG3_REG, in sun8i_hdmi_phy_config_h3()
309 regmap_update_bits(phy->regs, SUN8I_HDMI_PHY_PLL_CFG1_REG, in sun8i_hdmi_phy_config_h3()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/mediatek/
H A Dphy-mtk-ufs.c41 static inline u32 mphy_readl(struct ufs_mtk_phy *phy, u32 reg) in mphy_readl() argument
43 return readl(phy->mmio + reg); in mphy_readl()
46 static inline void mphy_writel(struct ufs_mtk_phy *phy, u32 val, u32 reg) in mphy_writel() argument
48 writel(val, phy->mmio + reg); in mphy_writel()
51 static void mphy_set_bit(struct ufs_mtk_phy *phy, u32 reg, u32 bit) in mphy_set_bit() argument
55 val = mphy_readl(phy, reg); in mphy_set_bit()
57 mphy_writel(phy, val, reg); in mphy_set_bit()
60 static void mphy_clr_bit(struct ufs_mtk_phy *phy, u32 reg, u32 bit) in mphy_clr_bit() argument
64 val = mphy_readl(phy, reg); in mphy_clr_bit()
66 mphy_writel(phy, val, reg); in mphy_clr_bit()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_phy.c10 int rockchip_phy_init(struct rockchip_phy *phy) in rockchip_phy_init() argument
12 if (!phy) in rockchip_phy_init()
15 if (phy->funcs && phy->funcs->init) in rockchip_phy_init()
16 return phy->funcs->init(phy); in rockchip_phy_init()
21 int rockchip_phy_power_on(struct rockchip_phy *phy) in rockchip_phy_power_on() argument
23 if (!phy) in rockchip_phy_power_on()
26 if (phy->funcs && phy->funcs->power_on) in rockchip_phy_power_on()
27 return phy->funcs->power_on(phy); in rockchip_phy_power_on()
32 int rockchip_phy_power_off(struct rockchip_phy *phy) in rockchip_phy_power_off() argument
34 if (!phy) in rockchip_phy_power_off()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-sunxi/
H A Dusb_phy.c117 __maybe_unused static void usb_phy_write(struct sunxi_usb_phy *phy, int addr, in usb_phy_write() argument
128 usbc_bit = 1 << (phy->id * 2); in usb_phy_write()
150 static void sunxi_usb_phy_config(struct sunxi_usb_phy *phy) in sunxi_usb_phy_config() argument
153 if (phy->id == 0) in sunxi_usb_phy_config()
156 clrbits_le32(phy->base + REG_PMU_UNK_H3, 0x02); in sunxi_usb_phy_config()
159 static void sunxi_usb_phy_config(struct sunxi_usb_phy *phy) in sunxi_usb_phy_config() argument
163 static void sunxi_usb_phy_config(struct sunxi_usb_phy *phy) in sunxi_usb_phy_config() argument
170 if (phy->id == 0) in sunxi_usb_phy_config()
171 usb_phy_write(phy, 0x0c, 0x01, 1); in sunxi_usb_phy_config()
174 usb_phy_write(phy, 0x20, 0x14, 5); in sunxi_usb_phy_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/nfc/s3fwrn5/
H A Di2c.c40 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_wake() local
42 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_wake()
43 gpio_set_value(phy->gpio_fw_wake, wake); in s3fwrn5_i2c_set_wake()
45 mutex_unlock(&phy->mutex); in s3fwrn5_i2c_set_wake()
50 struct s3fwrn5_i2c_phy *phy = phy_id; in s3fwrn5_i2c_set_mode() local
52 mutex_lock(&phy->mutex); in s3fwrn5_i2c_set_mode()
54 if (phy->mode == mode) in s3fwrn5_i2c_set_mode()
57 phy->mode = mode; in s3fwrn5_i2c_set_mode()
59 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_i2c_set_mode()
60 gpio_set_value(phy->gpio_fw_wake, 0); in s3fwrn5_i2c_set_mode()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A Dphy.su
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-ulpi.c42 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 …]
/OK3568_Linux_fs/kernel/drivers/phy/allwinner/
H A Dphy-sun9i-usb.c36 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_combo_phy.c46 cnl_get_procmon_ref_values(struct drm_i915_private *dev_priv, enum phy phy) in cnl_get_procmon_ref_values() argument
51 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW3(phy)); in cnl_get_procmon_ref_values()
77 enum phy phy) in cnl_set_procmon_ref_values() argument
82 procmon = cnl_get_procmon_ref_values(dev_priv, phy); in cnl_set_procmon_ref_values()
84 val = intel_de_read(dev_priv, ICL_PORT_COMP_DW1(phy)); in cnl_set_procmon_ref_values()
87 intel_de_write(dev_priv, ICL_PORT_COMP_DW1(phy), val); in cnl_set_procmon_ref_values()
89 intel_de_write(dev_priv, ICL_PORT_COMP_DW9(phy), procmon->dw9); in cnl_set_procmon_ref_values()
90 intel_de_write(dev_priv, ICL_PORT_COMP_DW10(phy), procmon->dw10); in cnl_set_procmon_ref_values()
94 enum phy phy, i915_reg_t reg, u32 mask, in check_phy_reg() argument
103 phy_name(phy), in check_phy_reg()
[all …]

12345678910>>...129