sii8620 105 drivers/gpu/drm/bridge/sil-sii8620.c typedef void (*sii8620_mt_msg_cb)(struct sii8620 *ctx, sii8620 108 drivers/gpu/drm/bridge/sil-sii8620.c typedef void (*sii8620_cb)(struct sii8620 *ctx, int ret); sii8620 130 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_fetch_edid(struct sii8620 *ctx); sii8620 131 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_upstream_edid(struct sii8620 *ctx); sii8620 132 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_enable_hpd(struct sii8620 *ctx); sii8620 133 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mhl_disconnected(struct sii8620 *ctx); sii8620 134 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_disconnect(struct sii8620 *ctx); sii8620 136 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_clear_error(struct sii8620 *ctx) sii8620 144 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) sii8620 178 drivers/gpu/drm/bridge/sil-sii8620.c static u8 sii8620_readb(struct sii8620 *ctx, u16 addr) sii8620 186 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, sii8620 235 drivers/gpu/drm/bridge/sil-sii8620.c static void __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) sii8620 255 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) sii8620 261 drivers/gpu/drm/bridge/sil-sii8620.c static inline bool sii8620_is_mhl3(struct sii8620 *ctx) sii8620 266 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_cleanup(struct sii8620 *ctx) sii8620 277 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_work(struct sii8620 *ctx) sii8620 307 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_enable_gen2_write_burst(struct sii8620 *ctx) sii8620 324 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_disable_gen2_write_burst(struct sii8620 *ctx) sii8620 336 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_start_gen2_write_burst(struct sii8620 *ctx) sii8620 350 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_msc_cmd_send(struct sii8620 *ctx, sii8620 384 drivers/gpu/drm/bridge/sil-sii8620.c static struct sii8620_mt_msg *sii8620_mt_msg_new(struct sii8620 *ctx) sii8620 396 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_set_cont(struct sii8620 *ctx, sii8620_cb cont) sii8620 411 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_msc_cmd(struct sii8620 *ctx, u8 cmd, u8 arg1, u8 arg2) sii8620 424 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_write_stat(struct sii8620 *ctx, u8 reg, u8 val) sii8620 429 drivers/gpu/drm/bridge/sil-sii8620.c static inline void sii8620_mt_set_int(struct sii8620 *ctx, u8 irq, u8 mask) sii8620 434 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_msc_msg(struct sii8620 *ctx, u8 cmd, u8 data) sii8620 439 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_rap(struct sii8620 *ctx, u8 code) sii8620 444 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_rcpk(struct sii8620 *ctx, u8 code) sii8620 449 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_rcpe(struct sii8620 *ctx, u8 code) sii8620 454 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_read_devcap_send(struct sii8620 *ctx, sii8620 480 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_identify_sink(struct sii8620 *ctx) sii8620 513 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mr_devcap(struct sii8620 *ctx) sii8620 532 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mr_xdevcap(struct sii8620 *ctx) sii8620 538 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_read_devcap_recv(struct sii8620 *ctx, sii8620 561 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_read_devcap(struct sii8620 *ctx, bool xdevcap) sii8620 573 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_read_devcap_reg_recv(struct sii8620 *ctx, sii8620 584 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mt_read_devcap_reg(struct sii8620 *ctx, u8 reg) sii8620 597 drivers/gpu/drm/bridge/sil-sii8620.c static inline void sii8620_mt_read_xdevcap_reg(struct sii8620 *ctx, u8 reg) sii8620 602 drivers/gpu/drm/bridge/sil-sii8620.c static void *sii8620_burst_get_tx_buf(struct sii8620 *ctx, int len) sii8620 619 drivers/gpu/drm/bridge/sil-sii8620.c static u8 *sii8620_burst_get_rx_buf(struct sii8620 *ctx, int len) sii8620 636 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_burst_send(struct sii8620 *ctx) sii8620 667 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_burst_receive(struct sii8620 *ctx) sii8620 697 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_burst_tx_rbuf_info(struct sii8620 *ctx, int size) sii8620 726 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_burst_tx_bits_per_pixel_fmt(struct sii8620 *ctx, u8 fmt) sii8620 742 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_burst_rx_all(struct sii8620 *ctx) sii8620 764 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_fetch_edid(struct sii8620 *ctx) sii8620 872 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_upstream_edid(struct sii8620 *ctx) sii8620 905 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_xtal_set_rate(struct sii8620 *ctx) sii8620 933 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_hw_on(struct sii8620 *ctx) sii8620 953 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_hw_off(struct sii8620 *ctx) sii8620 960 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_cbus_reset(struct sii8620 *ctx) sii8620 968 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_auto_zone(struct sii8620 *ctx) sii8620 986 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_stop_video(struct sii8620 *ctx) sii8620 1013 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_format(struct sii8620 *ctx) sii8620 1095 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_infoframes(struct sii8620 *ctx, sii8620 1141 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_start_video(struct sii8620 *ctx) sii8620 1220 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_disable_hpd(struct sii8620 *ctx) sii8620 1229 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_enable_hpd(struct sii8620 *ctx) sii8620 1240 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mhl_discover(struct sii8620 *ctx) sii8620 1281 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_peer_specific_init(struct sii8620 *ctx) sii8620 1304 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_dev_cap(struct sii8620 *ctx) sii8620 1337 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mhl_init(struct sii8620 *ctx) sii8620 1400 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_emsc_enable(struct sii8620 *ctx) sii8620 1415 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_wait_for_fsm_state(struct sii8620 *ctx, u8 state) sii8620 1431 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_set_mode(struct sii8620 *ctx, enum sii8620_mode mode) sii8620 1509 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_hpd_unplugged(struct sii8620 *ctx) sii8620 1519 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_disconnect(struct sii8620 *ctx) sii8620 1599 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_mhl_disconnected(struct sii8620 *ctx) sii8620 1609 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_disc(struct sii8620 *ctx) sii8620 1639 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_read_burst(struct sii8620 *ctx) sii8620 1650 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_g2wb(struct sii8620 *ctx) sii8620 1668 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_status_dcap_ready(struct sii8620 *ctx) sii8620 1680 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_status_changed_path(struct sii8620 *ctx) sii8620 1696 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_msc_mr_write_stat(struct sii8620 *ctx) sii8620 1718 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_ecbus_up(struct sii8620 *ctx, int ret) sii8620 1726 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_got_ecbus_speed(struct sii8620 *ctx, int ret) sii8620 1745 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_send_features(struct sii8620 *ctx) sii8620 1756 drivers/gpu/drm/bridge/sil-sii8620.c static bool sii8620_rcp_consume(struct sii8620 *ctx, u8 scancode) sii8620 1775 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_msc_mr_set_int(struct sii8620 *ctx) sii8620 1804 drivers/gpu/drm/bridge/sil-sii8620.c static struct sii8620_mt_msg *sii8620_msc_msg_first(struct sii8620 *ctx) sii8620 1816 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_msc_mt_done(struct sii8620 *ctx) sii8620 1827 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_msc_mr_msc_msg(struct sii8620 *ctx) sii8620 1854 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_msc(struct sii8620 *ctx) sii8620 1895 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_coc(struct sii8620 *ctx) sii8620 1915 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_merr(struct sii8620 *ctx) sii8620 1922 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_edid(struct sii8620 *ctx) sii8620 1932 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_scdt(struct sii8620 *ctx) sii8620 1946 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_got_xdevcap(struct sii8620 *ctx, int ret) sii8620 1954 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_tdm(struct sii8620 *ctx) sii8620 1976 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_block(struct sii8620 *ctx) sii8620 1990 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_irq_ddc(struct sii8620 *ctx) sii8620 2015 drivers/gpu/drm/bridge/sil-sii8620.c void (*handler)(struct sii8620 *ctx); sii8620 2028 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = data; sii8620 2053 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_cable_in(struct sii8620 *ctx) sii8620 2097 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_init_rcp_input_dev(struct sii8620 *ctx) sii8620 2127 drivers/gpu/drm/bridge/sil-sii8620.c static void sii8620_cable_out(struct sii8620 *ctx) sii8620 2135 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = sii8620 2136 drivers/gpu/drm/bridge/sil-sii8620.c container_of(work, struct sii8620, extcon_wq); sii8620 2153 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = sii8620 2154 drivers/gpu/drm/bridge/sil-sii8620.c container_of(self, struct sii8620, extcon_nb); sii8620 2161 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_extcon_init(struct sii8620 *ctx) sii8620 2198 drivers/gpu/drm/bridge/sil-sii8620.c static inline struct sii8620 *bridge_to_sii8620(struct drm_bridge *bridge) sii8620 2200 drivers/gpu/drm/bridge/sil-sii8620.c return container_of(bridge, struct sii8620, bridge); sii8620 2205 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620 2214 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620 2219 drivers/gpu/drm/bridge/sil-sii8620.c static int sii8620_is_packing_required(struct sii8620 *ctx, sii8620 2243 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620 2262 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = bridge_to_sii8620(bridge); sii8620 2284 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx; sii8620 2347 drivers/gpu/drm/bridge/sil-sii8620.c struct sii8620 *ctx = i2c_get_clientdata(client);