Lines Matching refs:rcar_csi2
26 struct rcar_csi2;
588 int (*init_phtw)(struct rcar_csi2 *priv, unsigned int mbps);
589 int (*phy_post_init)(struct rcar_csi2 *priv);
590 int (*start_receiver)(struct rcar_csi2 *priv,
592 void (*enter_standby)(struct rcar_csi2 *priv);
602 struct rcar_csi2 { struct
624 static inline struct rcar_csi2 *sd_to_csi2(struct v4l2_subdev *sd) in sd_to_csi2() argument
626 return container_of(sd, struct rcar_csi2, subdev); in sd_to_csi2()
629 static inline struct rcar_csi2 *notifier_to_csi2(struct v4l2_async_notifier *n) in notifier_to_csi2()
631 return container_of(n, struct rcar_csi2, notifier); in notifier_to_csi2()
634 static unsigned int rcsi2_num_pads(const struct rcar_csi2 *priv) in rcsi2_num_pads()
644 static u32 rcsi2_read(struct rcar_csi2 *priv, unsigned int reg) in rcsi2_read()
649 static void rcsi2_write(struct rcar_csi2 *priv, unsigned int reg, u32 data) in rcsi2_write()
654 static void rcsi2_write16(struct rcar_csi2 *priv, unsigned int reg, u16 data) in rcsi2_write16()
659 static void rcsi2_enter_standby_gen3(struct rcar_csi2 *priv) in rcsi2_enter_standby_gen3()
665 static void rcsi2_enter_standby(struct rcar_csi2 *priv) in rcsi2_enter_standby()
675 static int rcsi2_exit_standby(struct rcar_csi2 *priv) in rcsi2_exit_standby()
688 static int rcsi2_wait_phy_start(struct rcar_csi2 *priv, in rcsi2_wait_phy_start()
709 static int rcsi2_set_phypll(struct rcar_csi2 *priv, unsigned int mbps) in rcsi2_set_phypll()
738 static int rcsi2_calc_mbps(struct rcar_csi2 *priv, unsigned int bpp, in rcsi2_calc_mbps()
773 static int rcsi2_get_active_lanes(struct rcar_csi2 *priv, in rcsi2_get_active_lanes()
820 static int rcsi2_start_receiver_gen3(struct rcar_csi2 *priv, in rcsi2_start_receiver_gen3()
964 static int rcsi2_wait_phy_start_v4h(struct rcar_csi2 *priv, u32 match) in rcsi2_wait_phy_start_v4h()
980 static int rcsi2_c_phy_setting_v4h(struct rcar_csi2 *priv, int msps) in rcsi2_c_phy_setting_v4h()
1066 static int rcsi2_start_receiver_v4h(struct rcar_csi2 *priv, in rcsi2_start_receiver_v4h()
1134 static int rcsi2_start(struct rcar_csi2 *priv, struct v4l2_subdev_state *state) in rcsi2_start()
1157 static void rcsi2_stop(struct rcar_csi2 *priv) in rcsi2_stop()
1165 struct rcar_csi2 *priv = sd_to_csi2(sd); in rcsi2_s_stream()
1193 struct rcar_csi2 *priv = sd_to_csi2(sd); in rcsi2_set_pad_format()
1228 struct rcar_csi2 *priv = sd_to_csi2(sd); in rcsi2_init_state()
1254 struct rcar_csi2 *priv = data; in rcsi2_irq()
1278 struct rcar_csi2 *priv = data; in rcsi2_irq_thread()
1300 struct rcar_csi2 *priv = notifier_to_csi2(notifier); in rcsi2_notify_bound()
1325 struct rcar_csi2 *priv = notifier_to_csi2(notifier); in rcsi2_notify_unbind()
1337 static int rcsi2_parse_v4l2(struct rcar_csi2 *priv, in rcsi2_parse_v4l2()
1398 static int rcsi2_parse_dt(struct rcar_csi2 *priv) in rcsi2_parse_dt()
1454 static int rcsi2_phtw_write(struct rcar_csi2 *priv, u16 data, u16 code) in rcsi2_phtw_write()
1475 static int rcsi2_phtw_write_array(struct rcar_csi2 *priv, in rcsi2_phtw_write_array()
1490 static int rcsi2_phtw_write_mbps(struct rcar_csi2 *priv, unsigned int mbps, in rcsi2_phtw_write_mbps()
1514 static int __rcsi2_init_phtw_h3_v3h_m3n(struct rcar_csi2 *priv, in __rcsi2_init_phtw_h3_v3h_m3n()
1555 static int rcsi2_init_phtw_h3_v3h_m3n(struct rcar_csi2 *priv, unsigned int mbps) in rcsi2_init_phtw_h3_v3h_m3n()
1560 static int rcsi2_init_phtw_h3es2(struct rcar_csi2 *priv, unsigned int mbps) in rcsi2_init_phtw_h3es2()
1565 static int rcsi2_init_phtw_v3m_e3(struct rcar_csi2 *priv, unsigned int mbps) in rcsi2_init_phtw_v3m_e3()
1570 static int rcsi2_phy_post_init_v3m_e3(struct rcar_csi2 *priv) in rcsi2_phy_post_init_v3m_e3()
1584 static int rcsi2_init_phtw_v3u(struct rcar_csi2 *priv, in rcsi2_init_phtw_v3u()
1649 struct rcar_csi2 *priv = sd_to_csi2(sd); in rcsi2_link_setup()
1693 static int rcsi2_probe_resources(struct rcar_csi2 *priv, in rcsi2_probe_resources()
1879 struct rcar_csi2 *priv; in rcsi2_probe()
1966 struct rcar_csi2 *priv = platform_get_drvdata(pdev); in rcsi2_remove()