Lines Matching refs:dispc_device
50 struct dispc_device;
111 int (*calc_scaling)(struct dispc_device *dispc,
169 struct dispc_device { struct
355 static unsigned long dispc_fclk_rate(struct dispc_device *dispc);
356 static unsigned long dispc_core_clk_rate(struct dispc_device *dispc);
357 static unsigned long dispc_mgr_lclk_rate(struct dispc_device *dispc,
359 static unsigned long dispc_mgr_pclk_rate(struct dispc_device *dispc,
362 static unsigned long dispc_plane_pclk_rate(struct dispc_device *dispc,
364 static unsigned long dispc_plane_lclk_rate(struct dispc_device *dispc,
367 static void dispc_clear_irqstatus(struct dispc_device *dispc, u32 mask);
369 static inline void dispc_write_reg(struct dispc_device *dispc, u16 idx, u32 val) in dispc_write_reg()
374 static inline u32 dispc_read_reg(struct dispc_device *dispc, u16 idx) in dispc_read_reg()
379 static u32 mgr_fld_read(struct dispc_device *dispc, enum omap_channel channel, in mgr_fld_read()
387 static void mgr_fld_write(struct dispc_device *dispc, enum omap_channel channel, in mgr_fld_write()
403 static int dispc_get_num_ovls(struct dispc_device *dispc) in dispc_get_num_ovls()
408 static int dispc_get_num_mgrs(struct dispc_device *dispc) in dispc_get_num_mgrs()
413 static void dispc_get_reg_field(struct dispc_device *dispc, in dispc_get_reg_field()
424 static bool dispc_has_feature(struct dispc_device *dispc, in dispc_has_feature()
442 static void dispc_save_context(struct dispc_device *dispc) in dispc_save_context()
549 static void dispc_restore_context(struct dispc_device *dispc) in dispc_restore_context()
671 int dispc_runtime_get(struct dispc_device *dispc) in dispc_runtime_get()
682 void dispc_runtime_put(struct dispc_device *dispc) in dispc_runtime_put()
692 static u32 dispc_mgr_get_vsync_irq(struct dispc_device *dispc, in dispc_mgr_get_vsync_irq()
698 static u32 dispc_mgr_get_framedone_irq(struct dispc_device *dispc, in dispc_mgr_get_framedone_irq()
707 static u32 dispc_mgr_get_sync_lost_irq(struct dispc_device *dispc, in dispc_mgr_get_sync_lost_irq()
713 static u32 dispc_wb_get_framedone_irq(struct dispc_device *dispc) in dispc_wb_get_framedone_irq()
718 static void dispc_mgr_enable(struct dispc_device *dispc, in dispc_mgr_enable()
726 static bool dispc_mgr_is_enabled(struct dispc_device *dispc, in dispc_mgr_is_enabled()
732 static bool dispc_mgr_go_busy(struct dispc_device *dispc, in dispc_mgr_go_busy()
738 static void dispc_mgr_go(struct dispc_device *dispc, enum omap_channel channel) in dispc_mgr_go()
748 static bool dispc_wb_go_busy(struct dispc_device *dispc) in dispc_wb_go_busy()
753 static void dispc_wb_go(struct dispc_device *dispc) in dispc_wb_go()
772 static void dispc_ovl_write_firh_reg(struct dispc_device *dispc, in dispc_ovl_write_firh_reg()
779 static void dispc_ovl_write_firhv_reg(struct dispc_device *dispc, in dispc_ovl_write_firhv_reg()
786 static void dispc_ovl_write_firv_reg(struct dispc_device *dispc, in dispc_ovl_write_firv_reg()
793 static void dispc_ovl_write_firh2_reg(struct dispc_device *dispc, in dispc_ovl_write_firh2_reg()
802 static void dispc_ovl_write_firhv2_reg(struct dispc_device *dispc, in dispc_ovl_write_firhv2_reg()
811 static void dispc_ovl_write_firv2_reg(struct dispc_device *dispc, in dispc_ovl_write_firv2_reg()
820 static void dispc_ovl_set_scale_coef(struct dispc_device *dispc, in dispc_ovl_set_scale_coef()
882 static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc, in dispc_ovl_write_color_conv_coef()
899 static void dispc_wb_write_color_conv_coef(struct dispc_device *dispc, in dispc_wb_write_color_conv_coef()
917 static void dispc_setup_color_conv_coef(struct dispc_device *dispc) in dispc_setup_color_conv_coef()
945 static void dispc_ovl_set_ba0(struct dispc_device *dispc, in dispc_ovl_set_ba0()
951 static void dispc_ovl_set_ba1(struct dispc_device *dispc, in dispc_ovl_set_ba1()
957 static void dispc_ovl_set_ba0_uv(struct dispc_device *dispc, in dispc_ovl_set_ba0_uv()
963 static void dispc_ovl_set_ba1_uv(struct dispc_device *dispc, in dispc_ovl_set_ba1_uv()
969 static void dispc_ovl_set_pos(struct dispc_device *dispc, in dispc_ovl_set_pos()
983 static void dispc_ovl_set_input_size(struct dispc_device *dispc, in dispc_ovl_set_input_size()
995 static void dispc_ovl_set_output_size(struct dispc_device *dispc, in dispc_ovl_set_output_size()
1011 static void dispc_ovl_set_zorder(struct dispc_device *dispc, in dispc_ovl_set_zorder()
1021 static void dispc_ovl_enable_zorder_planes(struct dispc_device *dispc) in dispc_ovl_enable_zorder_planes()
1032 static void dispc_ovl_set_pre_mult_alpha(struct dispc_device *dispc, in dispc_ovl_set_pre_mult_alpha()
1043 static void dispc_ovl_setup_global_alpha(struct dispc_device *dispc, in dispc_ovl_setup_global_alpha()
1058 static void dispc_ovl_set_pix_inc(struct dispc_device *dispc, in dispc_ovl_set_pix_inc()
1064 static void dispc_ovl_set_row_inc(struct dispc_device *dispc, in dispc_ovl_set_row_inc()
1070 static void dispc_ovl_set_color_mode(struct dispc_device *dispc, in dispc_ovl_set_color_mode()
1155 static void dispc_ovl_configure_burst_type(struct dispc_device *dispc, in dispc_ovl_configure_burst_type()
1168 static void dispc_ovl_set_channel_out(struct dispc_device *dispc, in dispc_ovl_set_channel_out()
1231 static enum omap_channel dispc_ovl_get_channel_out(struct dispc_device *dispc, in dispc_ovl_get_channel_out()
1272 static void dispc_ovl_set_burst_size(struct dispc_device *dispc, in dispc_ovl_set_burst_size()
1284 static void dispc_configure_burst_sizes(struct dispc_device *dispc) in dispc_configure_burst_sizes()
1296 static u32 dispc_ovl_get_burst_size(struct dispc_device *dispc, in dispc_ovl_get_burst_size()
1303 static bool dispc_ovl_color_mode_supported(struct dispc_device *dispc, in dispc_ovl_color_mode_supported()
1319 static const u32 *dispc_ovl_get_color_modes(struct dispc_device *dispc, in dispc_ovl_get_color_modes()
1325 static void dispc_mgr_enable_cpr(struct dispc_device *dispc, in dispc_mgr_enable_cpr()
1334 static void dispc_mgr_set_cpr_coef(struct dispc_device *dispc, in dispc_mgr_set_cpr_coef()
1355 static void dispc_ovl_set_vid_color_conv(struct dispc_device *dispc, in dispc_ovl_set_vid_color_conv()
1367 static void dispc_ovl_enable_replication(struct dispc_device *dispc, in dispc_ovl_enable_replication()
1382 static void dispc_mgr_set_size(struct dispc_device *dispc, in dispc_mgr_set_size()
1393 static void dispc_init_fifos(struct dispc_device *dispc) in dispc_init_fifos()
1468 static u32 dispc_ovl_get_fifo_size(struct dispc_device *dispc, in dispc_ovl_get_fifo_size()
1482 void dispc_ovl_set_fifo_threshold(struct dispc_device *dispc, in dispc_ovl_set_fifo_threshold()
1525 void dispc_enable_fifomerge(struct dispc_device *dispc, bool enable) in dispc_enable_fifomerge()
1536 void dispc_ovl_compute_fifo_thresholds(struct dispc_device *dispc, in dispc_ovl_compute_fifo_thresholds()
1583 static void dispc_ovl_set_mflag(struct dispc_device *dispc, in dispc_ovl_set_mflag()
1596 static void dispc_ovl_set_mflag_threshold(struct dispc_device *dispc, in dispc_ovl_set_mflag_threshold()
1604 static void dispc_init_mflag(struct dispc_device *dispc) in dispc_init_mflag()
1661 static void dispc_ovl_set_fir(struct dispc_device *dispc, in dispc_ovl_set_fir()
1685 static void dispc_ovl_set_vid_accu0(struct dispc_device *dispc, in dispc_ovl_set_vid_accu0()
1703 static void dispc_ovl_set_vid_accu1(struct dispc_device *dispc, in dispc_ovl_set_vid_accu1()
1721 static void dispc_ovl_set_vid_accu2_0(struct dispc_device *dispc, in dispc_ovl_set_vid_accu2_0()
1731 static void dispc_ovl_set_vid_accu2_1(struct dispc_device *dispc, in dispc_ovl_set_vid_accu2_1()
1741 static void dispc_ovl_set_scale_param(struct dispc_device *dispc, in dispc_ovl_set_scale_param()
1758 static void dispc_ovl_set_accu_uv(struct dispc_device *dispc, in dispc_ovl_set_accu_uv()
1847 static void dispc_ovl_set_scaling_common(struct dispc_device *dispc, in dispc_ovl_set_scaling_common()
1902 static void dispc_ovl_set_scaling_uv(struct dispc_device *dispc, in dispc_ovl_set_scaling_uv()
1982 static void dispc_ovl_set_scaling(struct dispc_device *dispc, in dispc_ovl_set_scaling()
2001 static void dispc_ovl_set_rotation_attrs(struct dispc_device *dispc, in dispc_ovl_set_rotation_attrs()
2308 static int dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc, in dispc_ovl_calc_scaling_24xx()
2357 static int dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc, in dispc_ovl_calc_scaling_34xx()
2445 static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, in dispc_ovl_calc_scaling_44xx()
2512 static int dispc_ovl_calc_scaling(struct dispc_device *dispc, in dispc_ovl_calc_scaling()
2608 static int dispc_ovl_setup_common(struct dispc_device *dispc, in dispc_ovl_setup_common()
2782 static int dispc_ovl_setup(struct dispc_device *dispc, in dispc_ovl_setup()
2809 static int dispc_wb_setup(struct dispc_device *dispc, in dispc_wb_setup()
2892 static bool dispc_has_writeback(struct dispc_device *dispc) in dispc_has_writeback()
2897 static int dispc_ovl_enable(struct dispc_device *dispc, in dispc_ovl_enable()
2908 dispc_mgr_get_supported_outputs(struct dispc_device *dispc, in dispc_mgr_get_supported_outputs()
2914 static void dispc_lcd_enable_signal_polarity(struct dispc_device *dispc, in dispc_lcd_enable_signal_polarity()
2923 void dispc_lcd_enable_signal(struct dispc_device *dispc, bool enable) in dispc_lcd_enable_signal()
2931 void dispc_pck_free_enable(struct dispc_device *dispc, bool enable) in dispc_pck_free_enable()
2939 static void dispc_mgr_enable_fifohandcheck(struct dispc_device *dispc, in dispc_mgr_enable_fifohandcheck()
2947 static void dispc_mgr_set_lcd_type_tft(struct dispc_device *dispc, in dispc_mgr_set_lcd_type_tft()
2953 static void dispc_set_loadmode(struct dispc_device *dispc, in dispc_set_loadmode()
2960 static void dispc_mgr_set_default_color(struct dispc_device *dispc, in dispc_mgr_set_default_color()
2966 static void dispc_mgr_set_trans_key(struct dispc_device *dispc, in dispc_mgr_set_trans_key()
2976 static void dispc_mgr_enable_trans_key(struct dispc_device *dispc, in dispc_mgr_enable_trans_key()
2982 static void dispc_mgr_enable_alpha_fixed_zorder(struct dispc_device *dispc, in dispc_mgr_enable_alpha_fixed_zorder()
2995 static void dispc_mgr_setup(struct dispc_device *dispc, in dispc_mgr_setup()
3011 static void dispc_mgr_set_tft_data_lines(struct dispc_device *dispc, in dispc_mgr_set_tft_data_lines()
3038 static void dispc_mgr_set_io_pad_mode(struct dispc_device *dispc, in dispc_mgr_set_io_pad_mode()
3068 static void dispc_mgr_enable_stallmode(struct dispc_device *dispc, in dispc_mgr_enable_stallmode()
3074 static void dispc_mgr_set_lcd_config(struct dispc_device *dispc, in dispc_mgr_set_lcd_config()
3092 static bool _dispc_mgr_size_ok(struct dispc_device *dispc, in _dispc_mgr_size_ok()
3099 static bool _dispc_lcd_timings_ok(struct dispc_device *dispc, in _dispc_lcd_timings_ok()
3113 static bool _dispc_mgr_pclk_ok(struct dispc_device *dispc, in _dispc_mgr_pclk_ok()
3123 bool dispc_mgr_timings_ok(struct dispc_device *dispc, enum omap_channel channel, in dispc_mgr_timings_ok()
3147 static void _dispc_mgr_set_lcd_timings(struct dispc_device *dispc, in _dispc_mgr_set_lcd_timings()
3236 static void dispc_mgr_set_timings(struct dispc_device *dispc, in dispc_mgr_set_timings()
3285 static void dispc_mgr_set_lcd_divisor(struct dispc_device *dispc, in dispc_mgr_set_lcd_divisor()
3300 static void dispc_mgr_get_lcd_divisor(struct dispc_device *dispc, in dispc_mgr_get_lcd_divisor()
3310 static unsigned long dispc_fclk_rate(struct dispc_device *dispc) in dispc_fclk_rate()
3332 static unsigned long dispc_mgr_lclk_rate(struct dispc_device *dispc, in dispc_mgr_lclk_rate()
3362 static unsigned long dispc_mgr_pclk_rate(struct dispc_device *dispc, in dispc_mgr_pclk_rate()
3383 void dispc_set_tv_pclk(struct dispc_device *dispc, unsigned long pclk) in dispc_set_tv_pclk()
3388 static unsigned long dispc_core_clk_rate(struct dispc_device *dispc) in dispc_core_clk_rate()
3393 static unsigned long dispc_plane_pclk_rate(struct dispc_device *dispc, in dispc_plane_pclk_rate()
3406 static unsigned long dispc_plane_lclk_rate(struct dispc_device *dispc, in dispc_plane_lclk_rate()
3419 static void dispc_dump_clocks_channel(struct dispc_device *dispc, in dispc_dump_clocks_channel()
3441 void dispc_dump_clocks(struct dispc_device *dispc, struct seq_file *s) in dispc_dump_clocks()
3479 struct dispc_device *dispc = s->private; in dispc_dump_regs()
3677 int dispc_calc_clock_rates(struct dispc_device *dispc, in dispc_calc_clock_rates()
3692 bool dispc_div_calc(struct dispc_device *dispc, unsigned long dispc_freq, in dispc_div_calc()
3752 void dispc_mgr_set_clock_div(struct dispc_device *dispc, in dispc_mgr_set_clock_div()
3763 int dispc_mgr_get_clock_div(struct dispc_device *dispc, in dispc_mgr_get_clock_div()
3780 static u32 dispc_read_irqstatus(struct dispc_device *dispc) in dispc_read_irqstatus()
3785 static void dispc_clear_irqstatus(struct dispc_device *dispc, u32 mask) in dispc_clear_irqstatus()
3790 static void dispc_write_irqenable(struct dispc_device *dispc, u32 mask) in dispc_write_irqenable()
3803 void dispc_enable_sidle(struct dispc_device *dispc) in dispc_enable_sidle()
3809 void dispc_disable_sidle(struct dispc_device *dispc) in dispc_disable_sidle()
3814 static u32 dispc_mgr_gamma_size(struct dispc_device *dispc, in dispc_mgr_gamma_size()
3825 static void dispc_mgr_write_gamma_table(struct dispc_device *dispc, in dispc_mgr_write_gamma_table()
3846 static void dispc_restore_gamma_tables(struct dispc_device *dispc) in dispc_restore_gamma_tables()
3869 static void dispc_mgr_set_gamma(struct dispc_device *dispc, in dispc_mgr_set_gamma()
3917 static int dispc_init_gamma_tables(struct dispc_device *dispc) in dispc_init_gamma_tables()
3948 static void _omap_dispc_initial_config(struct dispc_device *dispc) in _omap_dispc_initial_config()
4508 struct dispc_device *dispc = arg; in dispc_irq_handler()
4516 static int dispc_request_irq(struct dispc_device *dispc, irq_handler_t handler, in dispc_request_irq()
4540 static void dispc_free_irq(struct dispc_device *dispc, void *dev_id) in dispc_free_irq()
4548 static u32 dispc_get_memory_bandwidth_limit(struct dispc_device *dispc) in dispc_get_memory_bandwidth_limit()
4630 static int dispc_errata_i734_wa_init(struct dispc_device *dispc) in dispc_errata_i734_wa_init()
4650 static void dispc_errata_i734_wa_fini(struct dispc_device *dispc) in dispc_errata_i734_wa_fini()
4659 static void dispc_errata_i734_wa(struct dispc_device *dispc) in dispc_errata_i734_wa()
4784 struct dispc_device *dispc; in dispc_bind()
4879 struct dispc_device *dispc = dev_get_drvdata(dev); in dispc_unbind()
4912 struct dispc_device *dispc = dev_get_drvdata(dev); in dispc_runtime_suspend()
4927 struct dispc_device *dispc = dev_get_drvdata(dev); in dispc_runtime_resume()