/device/board/isoftstone/yangfan/kernel/src/driv/phy/ |
D | phy-rockchip-csi2-dphy.c | 55 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, in sd_to_sensor() argument 60 for (i = 0; i < dphy->num_sensors; ++i) in sd_to_sensor() 61 if (dphy->sensors[i].sd == sd) in sd_to_sensor() 62 return &dphy->sensors[i]; in sd_to_sensor() 69 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_get_sensor_data_rate() local 92 dphy->data_rate_mbps = qm.value * 2; in csi2_dphy_get_sensor_data_rate() 93 do_div(dphy->data_rate_mbps, 1000 * 1000); in csi2_dphy_get_sensor_data_rate() 95 dphy->phy_index, dphy->data_rate_mbps); in csi2_dphy_get_sensor_data_rate() 101 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_update_sensor_mbus() local 103 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_update_sensor_mbus() [all …]
|
D | phy-rockchip-csi2-dphy-hw.c | 476 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, in sd_to_sensor() argument 481 for (i = 0; i < dphy->num_sensors; ++i) in sd_to_sensor() 482 if (dphy->sensors[i].sd == sd) in sd_to_sensor() 483 return &dphy->sensors[i]; in sd_to_sensor() 499 static void csi2_dphy_config_dual_mode(struct csi2_dphy *dphy, in csi2_dphy_config_dual_mode() argument 502 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_config_dual_mode() 503 struct v4l2_subdev *sd = &dphy->sd; in csi2_dphy_config_dual_mode() 516 if (dphy->phy_index < 3) { in csi2_dphy_config_dual_mode() 536 switch (dphy->phy_index) { in csi2_dphy_config_dual_mode() 591 static int csi2_dphy_hw_stream_on(struct csi2_dphy *dphy, in csi2_dphy_hw_stream_on() argument [all …]
|
D | phy-rockchip-csi2-dphy-common.h | 85 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 86 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 110 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 111 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
|
/device/soc/rockchip/common/vendor/drivers/phy/ |
D | phy-rockchip-csi2-dphy.c | 55 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, struct v4l2_subdev *sd) in sd_to_sensor() argument 59 for (i = 0; i < dphy->num_sensors; ++i) { in sd_to_sensor() 60 if (dphy->sensors[i].sd == sd) { in sd_to_sensor() 61 return &dphy->sensors[i]; in sd_to_sensor() 70 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_get_sensor_data_rate() local 95 dphy->data_rate_mbps = qm.value * 0x02; in csi2_dphy_get_sensor_data_rate() 96 do_div(dphy->data_rate_mbps, 0x3E8 * 0x3E8); in csi2_dphy_get_sensor_data_rate() 97 v4l2_info(sd, "dphy%d, data_rate_mbps %lld\n", dphy->phy_index, dphy->data_rate_mbps); in csi2_dphy_get_sensor_data_rate() 103 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_update_sensor_mbus() local 105 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_update_sensor_mbus() [all …]
|
D | phy-rockchip-csi2-dphy-hw.c | 461 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, struct v4l2_subdev *sd) in sd_to_sensor() argument 465 for (i = 0; i < dphy->num_sensors; ++i) { in sd_to_sensor() 466 if (dphy->sensors[i].sd == sd) { in sd_to_sensor() 467 return &dphy->sensors[i]; in sd_to_sensor() 487 static void csi2_dphy_config_dual_mode(struct csi2_dphy *dphy, struct csi2_sensor *sensor) in csi2_dphy_config_dual_mode() argument 489 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_config_dual_mode() 490 struct v4l2_subdev *sd = &dphy->sd; in csi2_dphy_config_dual_mode() 504 if (dphy->phy_index < 0X03) { in csi2_dphy_config_dual_mode() 524 switch (dphy->phy_index) { in csi2_dphy_config_dual_mode() 573 static int csi2_dphy_hw_stream_on(struct csi2_dphy *dphy, struct v4l2_subdev *sd) in csi2_dphy_hw_stream_on() argument [all …]
|
D | phy-rockchip-csi2-dphy-common.h | 85 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 86 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 110 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 111 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
|
D | Makefile | 3 obj-$(CONFIG_PHY_ROCKCHIP_CSI2_DPHY) += phy-rockchip-csi2-dphy-hw.o \ 4 phy-rockchip-csi2-dphy.o
|
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
D | phy-rockchip-csi2-dphy.c | 55 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, in sd_to_sensor() argument 60 for (i = 0; i < dphy->num_sensors; ++i) in sd_to_sensor() 61 if (dphy->sensors[i].sd == sd) in sd_to_sensor() 62 return &dphy->sensors[i]; in sd_to_sensor() 69 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_get_sensor_data_rate() local 92 dphy->data_rate_mbps = qm.value * 2; in csi2_dphy_get_sensor_data_rate() 93 do_div(dphy->data_rate_mbps, 1000 * 1000); in csi2_dphy_get_sensor_data_rate() 95 dphy->phy_index, dphy->data_rate_mbps); in csi2_dphy_get_sensor_data_rate() 101 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_update_sensor_mbus() local 103 struct csi2_sensor *sensor = sd_to_sensor(dphy, sensor_sd); in csi2_dphy_update_sensor_mbus() [all …]
|
D | phy-rockchip-csi2-dphy-hw.c | 476 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, in sd_to_sensor() argument 481 for (i = 0; i < dphy->num_sensors; ++i) in sd_to_sensor() 482 if (dphy->sensors[i].sd == sd) in sd_to_sensor() 483 return &dphy->sensors[i]; in sd_to_sensor() 499 static void csi2_dphy_config_dual_mode(struct csi2_dphy *dphy, in csi2_dphy_config_dual_mode() argument 502 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_config_dual_mode() 503 struct v4l2_subdev *sd = &dphy->sd; in csi2_dphy_config_dual_mode() 516 if (dphy->phy_index < 3) { in csi2_dphy_config_dual_mode() 536 switch (dphy->phy_index) { in csi2_dphy_config_dual_mode() 591 static int csi2_dphy_hw_stream_on(struct csi2_dphy *dphy, in csi2_dphy_hw_stream_on() argument [all …]
|
D | phy-rockchip-csi2-dphy-common.h | 85 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 86 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 110 int (*stream_on)(struct csi2_dphy *dphy, struct v4l2_subdev *sd); 111 int (*stream_off)(struct csi2_dphy *dphy, struct v4l2_subdev *sd);
|
D | Makefile | 2 obj-$(CONFIG_PHY_ROCKCHIP_CSI2_DPHY) += phy-rockchip-csi2-dphy-hw.o \ 3 phy-rockchip-csi2-dphy.o 4 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o
|
D | Kconfig | 31 will be called phy-rockchip-dphy-rx0.
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/ |
D | rockchip-mipi-csi-tx.c | 319 if (csi->dphy.phy) in rockchip_mipi_dphy_power_on() 320 phy_power_on(csi->dphy.phy); in rockchip_mipi_dphy_power_on() 329 if (csi->dphy.phy) in rockchip_mipi_dphy_power_off() 330 phy_power_off(csi->dphy.phy); in rockchip_mipi_dphy_power_off() 372 INPUT_DIVIDER(csi->dphy.input_div)); in rockchip_mipi_csi_phy_pll_init() 374 LOOP_DIV_LOW_SEL(csi->dphy.feedback_div) | in rockchip_mipi_csi_phy_pll_init() 379 LOOP_DIV_HIGH_SEL(csi->dphy.feedback_div) | in rockchip_mipi_csi_phy_pll_init() 515 pllref = DIV_ROUND_UP(clk_get_rate(csi->dphy.ref_clk), USEC_PER_SEC); in rockchip_mipi_csi_get_lane_bps() 531 csi->dphy.input_div = n; in rockchip_mipi_csi_get_lane_bps() 532 csi->dphy.feedback_div = m; in rockchip_mipi_csi_get_lane_bps() [all …]
|
D | rockchip-mipi-csi-tx.h | 258 struct mipi_dphy dphy; member
|
/device/soc/amlogic/a311d/soc/amlogic/phy/ |
D | Makefile | 2 obj-$(CONFIG_PHY_MESON_G12A_MIPI_DPHY_ANALOG) += phy-meson-g12a-mipi-dphy-analog.o 3 obj-$(CONFIG_PHY_MESON_AXG_MIPI_DPHY) += phy-meson-axg-mipi-dphy.o
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/ |
D | Makefile | 30 vin-mipi/dphy/dphy_reg.o
|
/device/soc/rockchip/rk3588/kernel/arch/arm64/boot/dts/rockchip/ |
D | rk3588.dtsi | 34 compatible = "rockchip,rk3568-csi2-dphy"; 41 compatible = "rockchip,rk3568-csi2-dphy"; 48 compatible = "rockchip,rk3568-csi2-dphy"; 796 compatible = "rockchip,rk3588-csi2-dphy-hw";
|
D | rk3588s.dtsi | 795 compatible = "rockchip,rk3568-csi2-dphy"; 802 compatible = "rockchip,rk3568-csi2-dphy"; 809 compatible = "rockchip,rk3568-csi2-dphy"; 1514 compatible = "rockchip,mipi-dphy-grf", "syscon"; 1519 compatible = "rockchip,mipi-dphy-grf", "syscon"; 4947 compatible = "rockchip,rk3588-csi2-dphy-hw";
|
D | .rk3588-bearkey-bq3588c1-linux.dtb.dts.tmp | 836 compatible = "rockchip,rk3568-csi2-dphy"; 843 compatible = "rockchip,rk3568-csi2-dphy"; 850 compatible = "rockchip,rk3568-csi2-dphy"; 1555 compatible = "rockchip,mipi-dphy-grf", "syscon"; 1560 compatible = "rockchip,mipi-dphy-grf", "syscon"; 4970 compatible = "rockchip,rk3588-csi2-dphy-hw"; 9802 compatible = "rockchip,rk3568-csi2-dphy"; 9809 compatible = "rockchip,rk3568-csi2-dphy"; 9816 compatible = "rockchip,rk3568-csi2-dphy"; 10564 compatible = "rockchip,rk3588-csi2-dphy-hw";
|
/device/board/kaihong/khdvk_3566b/kernel/ |
D | rk3566-rp-kh.dts | 2159 phy-names = "dphy"; 2265 phy-names = "dphy"; 3740 compatible = "rockchip,rk3568-dsi-dphy\0rockchip,rk3568-video-phy"; 3755 compatible = "rockchip,rk3568-dsi-dphy\0rockchip,rk3568-video-phy"; 3769 csi2-dphy-hw@fe870000 { 3770 compatible = "rockchip,rk3568-csi2-dphy-hw"; 3780 compatible = "rockchip,rk3568-csi2-dphy"; 3816 compatible = "rockchip,rk3568-csi2-dphy"; 3822 compatible = "rockchip,rk3568-csi2-dphy";
|
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/ |
D | meson-g12-common.dtsi | 1712 compatible = "amlogic,g12a-mipi-dphy-analog"; 1720 compatible = "amlogic,axg-mipi-dphy"; 2271 phy-names = "dphy";
|
/device/board/unionman/unionpi_tiger/kernel/build/ |
D | linux-5.10.patch | 4014 + mipi_dsi->phy = devm_phy_get(&pdev->dev, "dphy"); 4017 + dev_err(&pdev->dev, "failed to get mipi dphy: %d\n", ret);
|
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/ |
D | kernel.patch | 15729 /* optional external dphy */ 30021 - struct phy *dphy; 30608 - lvds->dphy = devm_phy_get(&pdev->dev, "dphy"); 30609 - if (IS_ERR(lvds->dphy)) 30610 - return PTR_ERR(lvds->dphy); 30612 - ret = phy_init(lvds->dphy); 30617 - ret = phy_set_mode(lvds->dphy, PHY_MODE_LVDS); 30624 - return phy_power_on(lvds->dphy); 45381 obj-$(CONFIG_PHY_ROCKCHIP_DPHY_RX0) += phy-rockchip-dphy-rx0.o 46051 - { .compatible = "rockchip,px30-dsi-dphy", }, [all …]
|