Lines Matching refs:csi2_dphy

47 static inline struct csi2_dphy *to_csi2_dphy(struct v4l2_subdev *subdev)  in to_csi2_dphy()
49 return container_of(subdev, struct csi2_dphy, sd); in to_csi2_dphy()
56 struct csi2_dphy *dphy = to_csi2_dphy(sd); in get_remote_sensor()
71 static struct csi2_sensor *sd_to_sensor(struct csi2_dphy *dphy, in sd_to_sensor()
85 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_get_sensor_data_rate()
118 static int rockchip_csi2_dphy_attach_hw(struct csi2_dphy *dphy, int csi_idx, int index) in rockchip_csi2_dphy_attach_hw()
255 static int rockchip_csi2_dphy_detach_hw(struct csi2_dphy *dphy, int csi_idx, int index) in rockchip_csi2_dphy_detach_hw()
259 struct csi2_dphy *csi2_dphy = NULL; in rockchip_csi2_dphy_detach_hw() local
272 csi2_dphy = dphy_hw->dphy_dev[i]; in rockchip_csi2_dphy_detach_hw()
273 if (csi2_dphy && in rockchip_csi2_dphy_detach_hw()
274 csi2_dphy->phy_index == dphy->phy_index) { in rockchip_csi2_dphy_detach_hw()
320 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_update_sensor_mbus()
359 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_update_config()
417 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_s_stream_start()
439 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_s_stream_stop()
465 static int csi2_dphy_enable_clk(struct csi2_dphy *dphy) in csi2_dphy_enable_clk()
491 static void csi2_dphy_disable_clk(struct csi2_dphy *dphy) in csi2_dphy_disable_clk()
512 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_s_stream()
572 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_g_mbus_config()
589 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_s_power()
601 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_runtime_suspend()
621 struct csi2_dphy *dphy = to_csi2_dphy(sd); in csi2_dphy_get_set_fmt()
651 struct csi2_dphy *dphy = to_csi2_dphy(sd); in rkcif_csi2_dphy_ioctl()
724 struct csi2_dphy *dphy = container_of(notifier, in rockchip_csi2_dphy_notifier_bound()
725 struct csi2_dphy, in rockchip_csi2_dphy_notifier_bound()
775 struct csi2_dphy *dphy = container_of(notifier, in rockchip_csi2_dphy_notifier_unbind()
776 struct csi2_dphy, in rockchip_csi2_dphy_notifier_unbind()
836 static int rockchip_csi2dphy_media_init(struct csi2_dphy *dphy) in rockchip_csi2dphy_media_init()
921 static int rockchip_csi2_dphy_get_samsung_phy_hw(struct csi2_dphy *dphy) in rockchip_csi2_dphy_get_samsung_phy_hw()
944 static int rockchip_csi2_dphy_get_inno_phy_hw(struct csi2_dphy *dphy) in rockchip_csi2_dphy_get_inno_phy_hw()
979 static int rockchip_csi2_dphy_get_hw(struct csi2_dphy *dphy) in rockchip_csi2_dphy_get_hw()
998 struct csi2_dphy *csi2dphy; in rockchip_csi2_dphy_probe()
1058 struct csi2_dphy *dphy = to_csi2_dphy(sd); in rockchip_csi2_dphy_remove()