Lines Matching full:mp

131 	struct mgr_priv_data *mp;  in apply_init_priv()  local
169 mp = &dss_data.mgr_priv_data_array[OMAP_DSS_CHANNEL_DIGIT]; in apply_init_priv()
171 mp->lcd_config.video_port_width = 24; in apply_init_priv()
172 mp->lcd_config.clock_info.lck_div = 1; in apply_init_priv()
173 mp->lcd_config.clock_info.pck_div = 1; in apply_init_priv()
183 struct mgr_priv_data *mp = get_mgr_priv(ovl->manager); in ovl_manual_update() local
185 return mp->lcd_config.stallmode; in ovl_manual_update()
190 struct mgr_priv_data *mp = get_mgr_priv(mgr); in mgr_manual_update() local
192 return mp->lcd_config.stallmode; in mgr_manual_update()
203 struct mgr_priv_data *mp; in dss_check_settings_low() local
205 mp = get_mgr_priv(mgr); in dss_check_settings_low()
207 if (!mp->enabled) in dss_check_settings_low()
210 if (applying && mp->user_info_dirty) in dss_check_settings_low()
211 mi = &mp->user_info; in dss_check_settings_low()
213 mi = &mp->info; in dss_check_settings_low()
229 return dss_mgr_check(mgr, mi, &mp->timings, &mp->lcd_config, ois); in dss_check_settings_low()
256 struct mgr_priv_data *mp; in need_isr() local
260 mp = get_mgr_priv(mgr); in need_isr()
262 if (!mp->enabled) in need_isr()
267 if (mp->updating) in need_isr()
271 if (mp->busy) in need_isr()
275 if (mp->info_dirty) in need_isr()
279 if (mp->shadow_info_dirty) in need_isr()
289 if (mp->extra_info_dirty) in need_isr()
293 if (mp->shadow_extra_info_dirty) in need_isr()
335 struct mgr_priv_data *mp; in need_go() local
338 mp = get_mgr_priv(mgr); in need_go()
340 if (mp->shadow_info_dirty || mp->shadow_extra_info_dirty) in need_go()
361 struct mgr_priv_data *mp; in extra_info_update_ongoing() local
364 mp = get_mgr_priv(mgr); in extra_info_update_ongoing()
366 if (!mp->enabled) in extra_info_update_ongoing()
369 if (!mp->updating) in extra_info_update_ongoing()
372 if (mp->extra_info_dirty || mp->shadow_extra_info_dirty) in extra_info_update_ongoing()
470 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_wait_for_go() local
483 if (!mp->enabled) { in dss_mgr_wait_for_go()
501 dirty = mp->info_dirty; in dss_mgr_wait_for_go()
502 shadow_dirty = mp->shadow_info_dirty; in dss_mgr_wait_for_go()
541 struct mgr_priv_data *mp; in dss_mgr_wait_for_go_ovl() local
550 mp = get_mgr_priv(ovl->manager); in dss_mgr_wait_for_go_ovl()
559 if (!mp->enabled) { in dss_mgr_wait_for_go_ovl()
619 struct mgr_priv_data *mp; in dss_ovl_write_regs() local
629 mp = get_mgr_priv(ovl->manager); in dss_ovl_write_regs()
631 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); in dss_ovl_write_regs()
633 r = dispc_ovl_setup(ovl->id, oi, replication, &mp->timings, false); in dss_ovl_write_regs()
648 if (mp->updating) in dss_ovl_write_regs()
655 struct mgr_priv_data *mp; in dss_ovl_write_regs_extra() local
668 mp = get_mgr_priv(ovl->manager); in dss_ovl_write_regs_extra()
671 if (mp->updating) in dss_ovl_write_regs_extra()
677 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_write_regs() local
682 if (!mp->enabled) in dss_mgr_write_regs()
685 WARN_ON(mp->busy); in dss_mgr_write_regs()
693 if (mp->info_dirty) { in dss_mgr_write_regs()
694 dispc_mgr_setup(mgr->id, &mp->info); in dss_mgr_write_regs()
696 mp->info_dirty = false; in dss_mgr_write_regs()
697 if (mp->updating) in dss_mgr_write_regs()
698 mp->shadow_info_dirty = true; in dss_mgr_write_regs()
704 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_write_regs_extra() local
708 if (!mp->extra_info_dirty) in dss_mgr_write_regs_extra()
711 dispc_mgr_set_timings(mgr->id, &mp->timings); in dss_mgr_write_regs_extra()
715 dispc_mgr_set_lcd_config(mgr->id, &mp->lcd_config); in dss_mgr_write_regs_extra()
717 mp->extra_info_dirty = false; in dss_mgr_write_regs_extra()
718 if (mp->updating) in dss_mgr_write_regs_extra()
719 mp->shadow_extra_info_dirty = true; in dss_mgr_write_regs_extra()
729 struct mgr_priv_data *mp; in dss_write_regs() local
733 mp = get_mgr_priv(mgr); in dss_write_regs()
735 if (!mp->enabled || mgr_manual_update(mgr) || mp->busy) in dss_write_regs()
757 struct mgr_priv_data *mp; in dss_set_go_bits() local
760 mp = get_mgr_priv(mgr); in dss_set_go_bits()
762 if (!mp->enabled || mgr_manual_update(mgr) || mp->busy) in dss_set_go_bits()
768 mp->busy = true; in dss_set_go_bits()
781 struct mgr_priv_data *mp; in mgr_clear_shadow_dirty() local
784 mp = get_mgr_priv(mgr); in mgr_clear_shadow_dirty()
785 mp->shadow_info_dirty = false; in mgr_clear_shadow_dirty()
786 mp->shadow_extra_info_dirty = false; in mgr_clear_shadow_dirty()
809 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_start_update_compat() local
815 WARN_ON(mp->updating); in dss_mgr_start_update_compat()
827 mp->updating = true; in dss_mgr_start_update_compat()
888 struct mgr_priv_data *mp; in dss_apply_irq_handler() local
891 mp = get_mgr_priv(mgr); in dss_apply_irq_handler()
893 if (!mp->enabled) in dss_apply_irq_handler()
896 mp->updating = dispc_mgr_is_enabled(i); in dss_apply_irq_handler()
899 bool was_busy = mp->busy; in dss_apply_irq_handler()
900 mp->busy = dispc_mgr_go_busy(i); in dss_apply_irq_handler()
902 if (was_busy && !mp->busy) in dss_apply_irq_handler()
917 struct mgr_priv_data *mp; in dss_apply_irq_handler() local
920 mp = get_mgr_priv(mgr); in dss_apply_irq_handler()
922 if (!mgr_manual_update(mgr) || !mp->framedone_handler) in dss_apply_irq_handler()
926 mp->framedone_handler(mp->framedone_handler_data); in dss_apply_irq_handler()
951 struct mgr_priv_data *mp; in omap_dss_mgr_apply_mgr() local
953 mp = get_mgr_priv(mgr); in omap_dss_mgr_apply_mgr()
955 if (!mp->user_info_dirty) in omap_dss_mgr_apply_mgr()
958 mp->user_info_dirty = false; in omap_dss_mgr_apply_mgr()
959 mp->info_dirty = true; in omap_dss_mgr_apply_mgr()
960 mp->info = mp->user_info; in omap_dss_mgr_apply_mgr()
1039 struct mgr_priv_data *mp; in dss_mgr_setup_fifos() local
1041 mp = get_mgr_priv(mgr); in dss_mgr_setup_fifos()
1043 if (!mp->enabled) in dss_mgr_setup_fifos()
1064 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_enable_compat() local
1070 if (mp->enabled) in dss_mgr_enable_compat()
1075 mp->enabled = true; in dss_mgr_enable_compat()
1090 mp->updating = true; in dss_mgr_enable_compat()
1106 mp->enabled = false; in dss_mgr_enable_compat()
1114 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_disable_compat() local
1119 if (!mp->enabled) in dss_mgr_disable_compat()
1129 mp->updating = false; in dss_mgr_disable_compat()
1130 mp->enabled = false; in dss_mgr_disable_compat()
1141 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_set_info() local
1151 mp->user_info = *info; in dss_mgr_set_info()
1152 mp->user_info_dirty = true; in dss_mgr_set_info()
1162 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_get_info() local
1167 *info = mp->user_info; in dss_mgr_get_info()
1207 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_unset_output() local
1220 if (mp->enabled) { in dss_mgr_unset_output()
1245 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_apply_mgr_timings() local
1247 mp->timings = *timings; in dss_apply_mgr_timings()
1248 mp->extra_info_dirty = true; in dss_apply_mgr_timings()
1255 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_set_timings_compat() local
1259 if (mp->updating) { in dss_mgr_set_timings_compat()
1273 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_apply_mgr_lcd_config() local
1275 mp->lcd_config = *config; in dss_apply_mgr_lcd_config()
1276 mp->extra_info_dirty = true; in dss_apply_mgr_lcd_config()
1283 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_set_lcd_config_compat() local
1287 if (mp->enabled) { in dss_mgr_set_lcd_config_compat()
1547 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_register_framedone_handler_compat() local
1549 if (mp->framedone_handler) in dss_mgr_register_framedone_handler_compat()
1552 mp->framedone_handler = handler; in dss_mgr_register_framedone_handler_compat()
1553 mp->framedone_handler_data = data; in dss_mgr_register_framedone_handler_compat()
1561 struct mgr_priv_data *mp = get_mgr_priv(mgr); in dss_mgr_unregister_framedone_handler_compat() local
1563 WARN_ON(mp->framedone_handler != handler || in dss_mgr_unregister_framedone_handler_compat()
1564 mp->framedone_handler_data != data); in dss_mgr_unregister_framedone_handler_compat()
1566 mp->framedone_handler = NULL; in dss_mgr_unregister_framedone_handler_compat()
1567 mp->framedone_handler_data = NULL; in dss_mgr_unregister_framedone_handler_compat()