Home
last modified time | relevance | path

Searched refs:PHY_CLK_CTRL (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/scsi/ufs/
Dufs-hisi.c71 ufs_sys_ctrl_clr_bits(host, BIT_SYSCTRL_REF_CLOCK_EN, PHY_CLK_CTRL); in ufs_hisi_clk_init()
72 if (ufs_sys_ctrl_readl(host, PHY_CLK_CTRL) & BIT_SYSCTRL_REF_CLOCK_EN) in ufs_hisi_clk_init()
78 ufs_sys_ctrl_set_bits(host, BIT_SYSCTRL_REF_CLOCK_EN, PHY_CLK_CTRL); in ufs_hisi_clk_init()
97 reg = ufs_sys_ctrl_readl(host, PHY_CLK_CTRL); in ufs_hisi_soc_init()
100 ufs_sys_ctrl_writel(host, reg, PHY_CLK_CTRL); in ufs_hisi_soc_init()
102 ufs_sys_ctrl_clr_bits(host, MASK_SYSCTRL_REF_CLOCK_SEL, PHY_CLK_CTRL); in ufs_hisi_soc_init()
411 ufs_sys_ctrl_clr_bits(host, BIT_SYSCTRL_REF_CLOCK_EN, PHY_CLK_CTRL); in ufs_hisi_suspend()
431 ufs_sys_ctrl_set_bits(host, BIT_SYSCTRL_REF_CLOCK_EN, PHY_CLK_CTRL); in ufs_hisi_resume()
Dufs-hisi.h17 #define PHY_CLK_CTRL (0x10) macro
/Linux-v5.15/drivers/phy/ti/
Dphy-twl4030-usb.c107 #define PHY_CLK_CTRL 0xFE macro
350 int val = twl4030_usb_read(twl, PHY_CLK_CTRL); in twl4030_i2c_access()
356 WARN_ON(twl4030_usb_write_verify(twl, PHY_CLK_CTRL, in twl4030_i2c_access()
371 WARN_ON(twl4030_usb_write_verify(twl, PHY_CLK_CTRL, in twl4030_i2c_access()
472 twl4030_usb_write(twl, PHY_CLK_CTRL, in twl4030_usb_runtime_resume()
473 twl4030_usb_read(twl, PHY_CLK_CTRL) | in twl4030_usb_runtime_resume()
815 val = twl4030_usb_read(twl, PHY_CLK_CTRL); in twl4030_usb_remove()
819 twl4030_usb_write(twl, PHY_CLK_CTRL, (u8)val); in twl4030_usb_remove()