/linux-master/drivers/phy/cadence/ |
H A D | cdns-dphy.c | 17 #include <linux/phy/phy-mipi-dphy.h> 94 int (*probe)(struct cdns_dphy *dphy); 95 void (*remove)(struct cdns_dphy *dphy); 96 void (*set_psm_div)(struct cdns_dphy *dphy, u8 div); 97 void (*set_clk_lane_cfg)(struct cdns_dphy *dphy, 99 void (*set_pll_cfg)(struct cdns_dphy *dphy, 101 unsigned long (*get_wakeup_time_ns)(struct cdns_dphy *dphy); 119 static int cdns_dsi_get_dphy_pll_cfg(struct cdns_dphy *dphy, argument 124 unsigned long pll_ref_hz = clk_get_rate(dphy->pll_ref_clk); 160 static int cdns_dphy_setup_psm(struct cdns_dphy *dphy) argument 175 cdns_dphy_set_clk_lane_cfg(struct cdns_dphy *dphy, enum cdns_dphy_clk_lane_cfg cfg) argument 182 cdns_dphy_set_pll_cfg(struct cdns_dphy *dphy, const struct cdns_dphy_cfg *cfg) argument 189 cdns_dphy_get_wakeup_time_ns(struct cdns_dphy *dphy) argument 194 cdns_dphy_ref_get_wakeup_time_ns(struct cdns_dphy *dphy) argument 200 cdns_dphy_ref_set_pll_cfg(struct cdns_dphy *dphy, const struct cdns_dphy_cfg *cfg) argument 220 cdns_dphy_ref_set_psm_div(struct cdns_dphy *dphy, u8 div) argument 226 cdns_dphy_j721e_get_wakeup_time_ns(struct cdns_dphy *dphy) argument 232 cdns_dphy_j721e_set_pll_cfg(struct cdns_dphy *dphy, const struct cdns_dphy_cfg *cfg) argument 261 cdns_dphy_j721e_set_psm_div(struct cdns_dphy *dphy, u8 div) argument 287 struct cdns_dphy *dphy = phy_get_drvdata(phy); local 336 struct cdns_dphy *dphy = phy_get_drvdata(phy); local 381 struct cdns_dphy *dphy = phy_get_drvdata(phy); local 395 struct cdns_dphy *dphy = phy_get_drvdata(phy); local 413 struct cdns_dphy *dphy; local 460 struct cdns_dphy *dphy = dev_get_drvdata(&pdev->dev); local [all...] |
H A D | cdns-dphy-rx.c | 13 #include <linux/phy/phy-mipi-dphy.h> 81 struct cdns_dphy_rx *dphy = phy_get_drvdata(phy); local 87 dphy->regs + DPHY_CMN_SSM); 94 struct cdns_dphy_rx *dphy = phy_get_drvdata(phy); local 96 writel(0, dphy->regs + DPHY_CMN_SSM); 128 static int cdns_dphy_rx_wait_lane_ready(struct cdns_dphy_rx *dphy, argument 135 void __iomem *reg = dphy->regs; 171 struct cdns_dphy_rx *dphy = phy_get_drvdata(phy); local 182 writel(reg, dphy->regs + DPHY_LANE); 195 writel(reg, dphy 241 struct cdns_dphy_rx *dphy; local [all...] |
H A D | Makefile | 3 obj-$(CONFIG_PHY_CADENCE_DPHY) += cdns-dphy.o 4 obj-$(CONFIG_PHY_CADENCE_DPHY_RX) += cdns-dphy-rx.o
|
/linux-master/drivers/phy/starfive/ |
H A D | phy-jh7110-dphy-rx.c | 80 struct stf_dphy *dphy = phy_get_drvdata(phy); local 81 const struct stf_dphy_info *info = dphy->info; 93 dphy->regs + STF_DPHY_APBCFGSAIF_SYSCFG(188)); 98 dphy->regs + STF_DPHY_APBCFGSAIF_SYSCFG(192)); 104 dphy->regs + STF_DPHY_APBCFGSAIF_SYSCFG(196)); 107 dphy->regs + STF_DPHY_APBCFGSAIF_SYSCFG(200)); 114 struct stf_dphy *dphy = phy_get_drvdata(phy); local 117 ret = pm_runtime_resume_and_get(dphy->dev); 121 ret = regulator_enable(dphy->mipi_0p9); 123 pm_runtime_put(dphy 137 struct stf_dphy *dphy = phy_get_drvdata(phy); local 157 struct stf_dphy *dphy; local [all...] |
H A D | Makefile | 2 obj-$(CONFIG_PHY_STARFIVE_JH7110_DPHY_RX) += phy-jh7110-dphy-rx.o
|
/linux-master/drivers/phy/allwinner/ |
H A D | phy-sun6i-mipi-dphy.c | 18 #include <linux/phy/phy-mipi-dphy.h> 183 void (*tx_power_on)(struct sun6i_dphy *dphy); 202 struct sun6i_dphy *dphy = phy_get_drvdata(phy); local 204 reset_control_deassert(dphy->reset); 205 clk_prepare_enable(dphy->mod_clk); 206 clk_set_rate_exclusive(dphy->mod_clk, 150000000); 213 struct sun6i_dphy *dphy = phy_get_drvdata(phy); local 220 memcpy(&dphy->config, opts, sizeof(dphy->config)); 225 static void sun6i_a31_mipi_dphy_tx_power_on(struct sun6i_dphy *dphy) argument 262 sun50i_a100_mipi_dphy_tx_power_on(struct sun6i_dphy *dphy) argument 332 sun6i_dphy_tx_power_on(struct sun6i_dphy *dphy) argument 393 sun6i_dphy_rx_power_on(struct sun6i_dphy *dphy) argument 493 struct sun6i_dphy *dphy = phy_get_drvdata(phy); local 507 struct sun6i_dphy *dphy = phy_get_drvdata(phy); local 522 struct sun6i_dphy *dphy = phy_get_drvdata(phy); local 551 struct sun6i_dphy *dphy; local [all...] |
H A D | Makefile | 3 obj-$(CONFIG_PHY_SUN6I_MIPI_DPHY) += phy-sun6i-mipi-dphy.o
|
/linux-master/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | sun8i_a83t_dphy.c | 13 static int sun8i_a83t_dphy_configure(struct phy *dphy, argument 19 static int sun8i_a83t_dphy_power_on(struct phy *dphy) argument 21 struct sun8i_a83t_mipi_csi2_device *csi2_dev = phy_get_drvdata(dphy); 36 static int sun8i_a83t_dphy_power_off(struct phy *dphy) argument 38 struct sun8i_a83t_mipi_csi2_device *csi2_dev = phy_get_drvdata(dphy); 57 csi2_dev->dphy = devm_phy_create(dev, NULL, &sun8i_a83t_dphy_ops); 58 if (IS_ERR(csi2_dev->dphy)) { 60 return PTR_ERR(csi2_dev->dphy); 63 phy_set_drvdata(csi2_dev->dphy, csi2_dev);
|
H A D | sun8i_a83t_mipi_csi2.h | 50 struct phy *dphy; member in struct:sun8i_a83t_mipi_csi2_device
|
H A D | sun8i_a83t_mipi_csi2.c | 210 struct phy *dphy = csi2_dev->dphy; local 281 ret = phy_reset(dphy); 287 ret = phy_configure(dphy, &dphy_opts); 300 ret = phy_power_on(dphy); 315 phy_power_off(dphy); 777 phy_exit(csi2_dev->dphy);
|
/linux-master/include/linux/platform_data/media/ |
H A D | mmp-camera.h | 21 int dphy[3]; /* DPHY: CSI2_DPHY3, CSI2_DPHY5, CSI2_DPHY6 */ member in struct:mmp_camera_platform_data
|
/linux-master/drivers/phy/freescale/ |
H A D | Makefile | 4 obj-$(CONFIG_PHY_MIXEL_MIPI_DPHY) += phy-fsl-imx8-mipi-dphy.o
|
/linux-master/drivers/phy/amlogic/ |
H A D | Makefile | 7 obj-$(CONFIG_PHY_MESON_G12A_MIPI_DPHY_ANALOG) += phy-meson-g12a-mipi-dphy-analog.o 10 obj-$(CONFIG_PHY_MESON_AXG_MIPI_DPHY) += phy-meson-axg-mipi-dphy.o
|
/linux-master/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.h | 38 struct iss_csiphy_dphy_cfg dphy; member in struct:iss_csiphy
|
H A D | iss_csiphy.c | 94 reg = phy->dphy.ths_term << REGISTER0_THS_TERM_SHIFT; 95 reg |= phy->dphy.ths_settle << REGISTER0_THS_SETTLE_SHIFT; 100 reg = phy->dphy.tclk_term << REGISTER1_TCLK_TERM_SHIFT; 101 reg |= phy->dphy.tclk_miss << REGISTER1_CTRLCLK_DIV_FACTOR_SHIFT; 102 reg |= phy->dphy.tclk_settle << REGISTER1_TCLK_SETTLE_SHIFT; 211 csi2->phy->dphy = csi2phy;
|
/linux-master/drivers/gpu/drm/kmb/ |
H A D | kmb_regs.h | 647 #define SET_DPHY_INIT_CTRL0(dev, dphy, offset) \ 649 ((dphy) + (offset))) 650 #define CLR_DPHY_INIT_CTRL0(dev, dphy, offset) \ 652 ((dphy) + (offset))) 659 #define SET_DPHY_FREQ_CTRL0_3(dev, dphy, val) \ 661 + (((dphy) / 4) * 4), (dphy % 4) * 8, 6, val) 667 #define GET_STOPSTATE_DATA(dev, dphy) \ 669 ((dphy) / 4) * 4)) >> \ 670 (((dphy [all...] |
/linux-master/drivers/media/platform/marvell/ |
H A D | mmp-driver.c | 51 * calc the dphy register values 52 * There are three dphy registers being used. 53 * dphy[0] - CSI2_DPHY3 54 * dphy[1] - CSI2_DPHY5 55 * dphy[2] - CSI2_DPHY6 73 * dphy[0] - CSI2_DPHY3: 99 pdata->dphy[0] = 107 pdata->dphy[0] = 129 * dphy[2] - CSI2_DPHY6: 139 pdata->dphy[ [all...] |
/linux-master/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | sun6i_mipi_csi2.h | 47 struct phy *dphy; member in struct:sun6i_mipi_csi2_device
|
H A D | sun6i_mipi_csi2.c | 178 struct phy *dphy = csi2_dev->dphy; local 249 ret = phy_reset(dphy); 255 ret = phy_configure(dphy, &dphy_opts); 268 ret = phy_power_on(dphy); 283 phy_power_off(dphy); 681 csi2_dev->dphy = devm_phy_get(dev, "dphy"); 682 if (IS_ERR(csi2_dev->dphy)) { 684 ret = PTR_ERR(csi2_dev->dphy); [all...] |
/linux-master/drivers/gpu/drm/sun4i/ |
H A D | sun6i_mipi_dsi.h | 33 struct phy *dphy; member in struct:sun6i_dsi
|
/linux-master/drivers/phy/ |
H A D | Makefile | 7 obj-$(CONFIG_GENERIC_PHY_MIPI_DPHY) += phy-core-mipi-dphy.o
|
/linux-master/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-csi.c | 16 #include <linux/phy/phy-mipi-dphy.h> 171 phy_set_mode(csi->dphy, PHY_MODE_MIPI_DPHY); 172 phy_configure(csi->dphy, &opts); 173 phy_power_on(csi->dphy); 190 phy_power_off(csi->dphy); 209 * Disable DPHY errctrl interrupt, because this dphy 502 csi->dphy = devm_phy_get(rkisp1->dev, "dphy"); 503 if (IS_ERR(csi->dphy)) 504 return dev_err_probe(rkisp1->dev, PTR_ERR(csi->dphy), [all...] |
/linux-master/drivers/media/platform/cadence/ |
H A D | cdns-csi2rx.c | 91 struct phy *dphy; member in struct:csi2rx_priv 194 ret = phy_power_on(csi2rx->dphy); 198 ret = phy_configure(csi2rx->dphy, &opts); 200 phy_power_off(csi2rx->dphy); 247 if (csi2rx->dphy) { 294 if (csi2rx->dphy) { 354 if (csi2rx->dphy) { 357 if (phy_power_off(csi2rx->dphy)) 545 csi2rx->dphy = devm_phy_optional_get(&pdev->dev, "dphy"); [all...] |
/linux-master/drivers/phy/rockchip/ |
H A D | Makefile | 3 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
|
/linux-master/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-dsi-core.h | 81 struct phy *dphy; member in struct:cdns_dsi
|