Lines Matching defs:ctx
137 static int sii8620_clear_error(struct sii8620 *ctx) in sii8620_clear_error()
145 static void sii8620_read_buf(struct sii8620 *ctx, u16 addr, u8 *buf, int len) in sii8620_read_buf()
179 static u8 sii8620_readb(struct sii8620 *ctx, u16 addr) in sii8620_readb()
187 static void sii8620_write_buf(struct sii8620 *ctx, u16 addr, const u8 *buf, in sii8620_write_buf()
230 #define sii8620_write(ctx, addr, arr...) \ argument
236 static void __sii8620_write_seq(struct sii8620 *ctx, const u16 *seq, int len) in __sii8620_write_seq()
244 #define sii8620_write_seq(ctx, seq...) \ argument
250 #define sii8620_write_seq_static(ctx, seq...) \ argument
256 static void sii8620_setbits(struct sii8620 *ctx, u16 addr, u8 mask, u8 val) in sii8620_setbits()
262 static inline bool sii8620_is_mhl3(struct sii8620 *ctx) in sii8620_is_mhl3()
267 static void sii8620_mt_cleanup(struct sii8620 *ctx) in sii8620_mt_cleanup()
278 static void sii8620_mt_work(struct sii8620 *ctx) in sii8620_mt_work()
308 static void sii8620_enable_gen2_write_burst(struct sii8620 *ctx) in sii8620_enable_gen2_write_burst()
325 static void sii8620_disable_gen2_write_burst(struct sii8620 *ctx) in sii8620_disable_gen2_write_burst()
337 static void sii8620_start_gen2_write_burst(struct sii8620 *ctx) in sii8620_start_gen2_write_burst()
351 static void sii8620_mt_msc_cmd_send(struct sii8620 *ctx, in sii8620_mt_msc_cmd_send()
385 static struct sii8620_mt_msg *sii8620_mt_msg_new(struct sii8620 *ctx) in sii8620_mt_msg_new()
397 static void sii8620_mt_set_cont(struct sii8620 *ctx, sii8620_cb cont) in sii8620_mt_set_cont()
412 static void sii8620_mt_msc_cmd(struct sii8620 *ctx, u8 cmd, u8 arg1, u8 arg2) in sii8620_mt_msc_cmd()
425 static void sii8620_mt_write_stat(struct sii8620 *ctx, u8 reg, u8 val) in sii8620_mt_write_stat()
430 static inline void sii8620_mt_set_int(struct sii8620 *ctx, u8 irq, u8 mask) in sii8620_mt_set_int()
435 static void sii8620_mt_msc_msg(struct sii8620 *ctx, u8 cmd, u8 data) in sii8620_mt_msc_msg()
440 static void sii8620_mt_rap(struct sii8620 *ctx, u8 code) in sii8620_mt_rap()
445 static void sii8620_mt_rcpk(struct sii8620 *ctx, u8 code) in sii8620_mt_rcpk()
450 static void sii8620_mt_rcpe(struct sii8620 *ctx, u8 code) in sii8620_mt_rcpe()
455 static void sii8620_mt_read_devcap_send(struct sii8620 *ctx, in sii8620_mt_read_devcap_send()
481 static void sii8620_identify_sink(struct sii8620 *ctx) in sii8620_identify_sink()
514 static void sii8620_mr_devcap(struct sii8620 *ctx) in sii8620_mr_devcap()
533 static void sii8620_mr_xdevcap(struct sii8620 *ctx) in sii8620_mr_xdevcap()
539 static void sii8620_mt_read_devcap_recv(struct sii8620 *ctx, in sii8620_mt_read_devcap_recv()
562 static void sii8620_mt_read_devcap(struct sii8620 *ctx, bool xdevcap) in sii8620_mt_read_devcap()
574 static void sii8620_mt_read_devcap_reg_recv(struct sii8620 *ctx, in sii8620_mt_read_devcap_reg_recv()
585 static void sii8620_mt_read_devcap_reg(struct sii8620 *ctx, u8 reg) in sii8620_mt_read_devcap_reg()
598 static inline void sii8620_mt_read_xdevcap_reg(struct sii8620 *ctx, u8 reg) in sii8620_mt_read_xdevcap_reg()
603 static void *sii8620_burst_get_tx_buf(struct sii8620 *ctx, int len) in sii8620_burst_get_tx_buf()
620 static u8 *sii8620_burst_get_rx_buf(struct sii8620 *ctx, int len) in sii8620_burst_get_rx_buf()
637 static void sii8620_burst_send(struct sii8620 *ctx) in sii8620_burst_send()
668 static void sii8620_burst_receive(struct sii8620 *ctx) in sii8620_burst_receive()
698 static void sii8620_burst_tx_rbuf_info(struct sii8620 *ctx, int size) in sii8620_burst_tx_rbuf_info()
727 static void sii8620_burst_tx_bits_per_pixel_fmt(struct sii8620 *ctx, u8 fmt) in sii8620_burst_tx_bits_per_pixel_fmt()
743 static void sii8620_burst_rx_all(struct sii8620 *ctx) in sii8620_burst_rx_all()
765 static void sii8620_fetch_edid(struct sii8620 *ctx) in sii8620_fetch_edid()
873 static void sii8620_set_upstream_edid(struct sii8620 *ctx) in sii8620_set_upstream_edid()
906 static void sii8620_xtal_set_rate(struct sii8620 *ctx) in sii8620_xtal_set_rate()
934 static int sii8620_hw_on(struct sii8620 *ctx) in sii8620_hw_on()
954 static int sii8620_hw_off(struct sii8620 *ctx) in sii8620_hw_off()
961 static void sii8620_cbus_reset(struct sii8620 *ctx) in sii8620_cbus_reset()
969 static void sii8620_set_auto_zone(struct sii8620 *ctx) in sii8620_set_auto_zone()
987 static void sii8620_stop_video(struct sii8620 *ctx) in sii8620_stop_video()
1014 static void sii8620_set_format(struct sii8620 *ctx) in sii8620_set_format()
1096 static void sii8620_set_infoframes(struct sii8620 *ctx, in sii8620_set_infoframes()
1142 static void sii8620_start_video(struct sii8620 *ctx) in sii8620_start_video()
1221 static void sii8620_disable_hpd(struct sii8620 *ctx) in sii8620_disable_hpd()
1230 static void sii8620_enable_hpd(struct sii8620 *ctx) in sii8620_enable_hpd()
1241 static void sii8620_mhl_discover(struct sii8620 *ctx) in sii8620_mhl_discover()
1282 static void sii8620_peer_specific_init(struct sii8620 *ctx) in sii8620_peer_specific_init()
1305 static void sii8620_set_dev_cap(struct sii8620 *ctx) in sii8620_set_dev_cap()
1338 static void sii8620_mhl_init(struct sii8620 *ctx) in sii8620_mhl_init()
1401 static void sii8620_emsc_enable(struct sii8620 *ctx) in sii8620_emsc_enable()
1416 static int sii8620_wait_for_fsm_state(struct sii8620 *ctx, u8 state) in sii8620_wait_for_fsm_state()
1432 static void sii8620_set_mode(struct sii8620 *ctx, enum sii8620_mode mode) in sii8620_set_mode()
1510 static void sii8620_hpd_unplugged(struct sii8620 *ctx) in sii8620_hpd_unplugged()
1520 static void sii8620_disconnect(struct sii8620 *ctx) in sii8620_disconnect()
1600 static void sii8620_mhl_disconnected(struct sii8620 *ctx) in sii8620_mhl_disconnected()
1610 static void sii8620_irq_disc(struct sii8620 *ctx) in sii8620_irq_disc()
1640 static void sii8620_read_burst(struct sii8620 *ctx) in sii8620_read_burst()
1651 static void sii8620_irq_g2wb(struct sii8620 *ctx) in sii8620_irq_g2wb()
1669 static void sii8620_status_dcap_ready(struct sii8620 *ctx) in sii8620_status_dcap_ready()
1681 static void sii8620_status_changed_path(struct sii8620 *ctx) in sii8620_status_changed_path()
1697 static void sii8620_msc_mr_write_stat(struct sii8620 *ctx) in sii8620_msc_mr_write_stat()
1719 static void sii8620_ecbus_up(struct sii8620 *ctx, int ret) in sii8620_ecbus_up()
1727 static void sii8620_got_ecbus_speed(struct sii8620 *ctx, int ret) in sii8620_got_ecbus_speed()
1746 static void sii8620_send_features(struct sii8620 *ctx) in sii8620_send_features()
1757 static bool sii8620_rcp_consume(struct sii8620 *ctx, u8 scancode) in sii8620_rcp_consume()
1774 static void sii8620_msc_mr_set_int(struct sii8620 *ctx) in sii8620_msc_mr_set_int()
1803 static struct sii8620_mt_msg *sii8620_msc_msg_first(struct sii8620 *ctx) in sii8620_msc_msg_first()
1815 static void sii8620_msc_mt_done(struct sii8620 *ctx) in sii8620_msc_mt_done()
1826 static void sii8620_msc_mr_msc_msg(struct sii8620 *ctx) in sii8620_msc_mr_msc_msg()
1853 static void sii8620_irq_msc(struct sii8620 *ctx) in sii8620_irq_msc()
1894 static void sii8620_irq_coc(struct sii8620 *ctx) in sii8620_irq_coc()
1914 static void sii8620_irq_merr(struct sii8620 *ctx) in sii8620_irq_merr()
1921 static void sii8620_irq_edid(struct sii8620 *ctx) in sii8620_irq_edid()
1931 static void sii8620_irq_scdt(struct sii8620 *ctx) in sii8620_irq_scdt()
1945 static void sii8620_got_xdevcap(struct sii8620 *ctx, int ret) in sii8620_got_xdevcap()
1953 static void sii8620_irq_tdm(struct sii8620 *ctx) in sii8620_irq_tdm()
1975 static void sii8620_irq_block(struct sii8620 *ctx) in sii8620_irq_block()
1989 static void sii8620_irq_ddc(struct sii8620 *ctx) in sii8620_irq_ddc()
2027 struct sii8620 *ctx = data; in sii8620_irq_thread() local
2052 static void sii8620_cable_in(struct sii8620 *ctx) in sii8620_cable_in()
2096 static void sii8620_init_rcp_input_dev(struct sii8620 *ctx) in sii8620_init_rcp_input_dev()
2129 static void sii8620_cable_out(struct sii8620 *ctx) in sii8620_cable_out()
2137 struct sii8620 *ctx = in sii8620_extcon_work() local
2155 struct sii8620 *ctx = in sii8620_extcon_notifier() local
2163 static int sii8620_extcon_init(struct sii8620 *ctx) in sii8620_extcon_init()
2208 struct sii8620 *ctx = bridge_to_sii8620(bridge); in sii8620_attach() local
2217 struct sii8620 *ctx = bridge_to_sii8620(bridge); in sii8620_detach() local
2225 static int sii8620_is_packing_required(struct sii8620 *ctx, in sii8620_is_packing_required()
2250 struct sii8620 *ctx = bridge_to_sii8620(bridge); in sii8620_mode_valid() local
2269 struct sii8620 *ctx = bridge_to_sii8620(bridge); in sii8620_mode_fixup() local
2291 struct sii8620 *ctx; in sii8620_probe() local
2351 struct sii8620 *ctx = i2c_get_clientdata(client); in sii8620_remove() local