/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_damage_helper.c | 76 struct drm_plane_state old_state; in igt_damage_iter_no_damage() local 92 set_plane_src(&old_state, 0, 0, fb.width << 16, fb.height << 16); in igt_damage_iter_no_damage() 94 drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); in igt_damage_iter_no_damage() 107 struct drm_plane_state old_state; in igt_damage_iter_no_damage_fractional_src() local 123 set_plane_src(&old_state, 0x3fffe, 0x3fffe, in igt_damage_iter_no_damage_fractional_src() 127 drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); in igt_damage_iter_no_damage_fractional_src() 140 struct drm_plane_state old_state; in igt_damage_iter_no_damage_src_moved() local 156 set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); in igt_damage_iter_no_damage_src_moved() 159 drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); in igt_damage_iter_no_damage_src_moved() 172 struct drm_plane_state old_state; in igt_damage_iter_no_damage_fractional_src_moved() local 205 struct drm_plane_state old_state; igt_damage_iter_no_damage_not_visible() local 234 struct drm_plane_state old_state; igt_damage_iter_no_damage_no_crtc() local 262 struct drm_plane_state old_state; igt_damage_iter_no_damage_no_fb() local 285 struct drm_plane_state old_state; igt_damage_iter_simple_damage() local 321 struct drm_plane_state old_state; igt_damage_iter_single_damage() local 356 struct drm_plane_state old_state; igt_damage_iter_single_damage_intersect_src() local 392 struct drm_plane_state old_state; igt_damage_iter_single_damage_outside_src() local 427 struct drm_plane_state old_state; igt_damage_iter_single_damage_fractional_src() local 465 struct drm_plane_state old_state; igt_damage_iter_single_damage_intersect_fractional_src() local 504 struct drm_plane_state old_state; igt_damage_iter_single_damage_outside_fractional_src() local 542 struct drm_plane_state old_state; igt_damage_iter_single_damage_src_moved() local 579 struct drm_plane_state old_state; igt_damage_iter_single_damage_fractional_src_moved() local 618 struct drm_plane_state old_state; igt_damage_iter_damage() local 659 struct drm_plane_state old_state; igt_damage_iter_damage_one_intersect() local 702 struct drm_plane_state old_state; igt_damage_iter_damage_one_outside() local 739 struct drm_plane_state old_state; igt_damage_iter_damage_src_moved() local 778 struct drm_plane_state old_state; igt_damage_iter_damage_not_visible() local [all...] |
/kernel/linux/linux-5.10/net/wimax/ |
H A D | stack.c | 88 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc() 96 d_fnstart(3, dev, "(wimax_dev %p new_state %u old_state %u)\n", in wimax_gnl_re_state_change_alloc() 97 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc() 113 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc() 129 d_fnend(3, dev, "(wimax_dev %p new_state %u old_state %u) = %p\n", in wimax_gnl_re_state_change_alloc() 130 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc() 136 d_fnend(3, dev, "(wimax_dev %p new_state %u old_state %u) = %d\n", in wimax_gnl_re_state_change_alloc() 137 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc() 175 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument 180 old_state, new_stat in __check_new_state() 86 wimax_gnl_re_state_change_alloc( struct wimax_dev *wimax_dev, enum wimax_st new_state, enum wimax_st old_state, void **header) wimax_gnl_re_state_change_alloc() argument 192 enum wimax_st old_state = wimax_dev->state; __wimax_state_change() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 1091 crtc_needs_disable(struct drm_crtc_state *old_state, in crtc_needs_disable() argument 1099 return drm_atomic_crtc_effectively_active(old_state); in crtc_needs_disable() 1106 if (old_state->self_refresh_active && in crtc_needs_disable() 1107 old_state->crtc != new_state->crtc) in crtc_needs_disable() 1116 return old_state->active || in crtc_needs_disable() 1117 (old_state->self_refresh_active && !new_state->active) || in crtc_needs_disable() 1122 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument 1130 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs() 1142 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs() 1146 old_state, in disable_outputs() 1254 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_update_legacy_modeset_state() argument 1337 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) crtc_set_mode() argument 1412 drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_disables() argument 1424 drm_atomic_helper_commit_writebacks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_writebacks() argument 1459 drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_enables() argument 1643 drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_vblanks() argument 1702 drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_flip_done() argument 1741 drm_atomic_helper_commit_tail(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail() argument 1771 drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail_rpm() argument 1792 commit_tail(struct drm_atomic_state *old_state) commit_tail() argument 2396 drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_dependencies() argument 2451 drm_atomic_helper_fake_vblank(struct drm_atomic_state *old_state) drm_atomic_helper_fake_vblank() argument 2489 drm_atomic_helper_commit_hw_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_hw_done() argument 2534 drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_cleanup_done() argument 2732 drm_atomic_helper_commit_planes(struct drm_device *dev, struct drm_atomic_state *old_state, uint32_t flags) drm_atomic_helper_commit_planes() argument 2856 struct drm_atomic_state *old_state = old_crtc_state->state; drm_atomic_helper_commit_planes_on_crtc() local 2962 drm_atomic_helper_cleanup_planes(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_cleanup_planes() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_damage_helper_test.c | 23 struct drm_plane_state old_state; member 40 mock->old_state.plane = &mock->plane; in drm_damage_helper_init() 127 set_plane_src(&mock->old_state, 0, 0, mock->fb.width << 16, mock->fb.height << 16); in drm_test_damage_iter_no_damage() 129 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state); in drm_test_damage_iter_no_damage() 145 set_plane_src(&mock->old_state, 0x3fffe, 0x3fffe, in drm_test_damage_iter_no_damage_fractional_src() 149 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state); in drm_test_damage_iter_no_damage_fractional_src() 166 set_plane_src(&mock->old_state, 0, 0, 1024 << 16, 768 << 16); in drm_test_damage_iter_no_damage_src_moved() 169 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, &mock->state); in drm_test_damage_iter_no_damage_src_moved() 185 set_plane_src(&mock->old_state, 0x3fffe, 0x3fffe, in drm_test_damage_iter_no_damage_fractional_src_moved() 189 drm_atomic_helper_damage_iter_init(&iter, &mock->old_state, in drm_test_damage_iter_no_damage_fractional_src_moved() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/armada/ |
H A D | armada_plane.c | 139 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_primary_plane_atomic_update() local 157 old_state->visible, new_state->visible); in armada_drm_primary_plane_atomic_update() 163 if (!old_state->visible && new_state->visible) { in armada_drm_primary_plane_atomic_update() 170 if (armada_src_hw(old_state) != val) in armada_drm_primary_plane_atomic_update() 173 if (armada_dst_yx(old_state) != val) in armada_drm_primary_plane_atomic_update() 176 if (armada_dst_hw(old_state) != val) in armada_drm_primary_plane_atomic_update() 178 if (old_state->src.x1 != new_state->src.x1 || in armada_drm_primary_plane_atomic_update() 179 old_state->src.y1 != new_state->src.y1 || in armada_drm_primary_plane_atomic_update() 180 old_state->fb != new_state->fb || in armada_drm_primary_plane_atomic_update() 190 if (old_state in armada_drm_primary_plane_atomic_update() 229 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, armada_drm_primary_plane_atomic_disable() local [all...] |
H A D | armada_overlay.c | 73 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_overlay_plane_atomic_update() local 91 old_state->visible, new_state->visible); in armada_drm_overlay_plane_atomic_update() 97 if (!old_state->visible && new_state->visible) in armada_drm_overlay_plane_atomic_update() 102 if (armada_src_hw(old_state) != val) in armada_drm_overlay_plane_atomic_update() 105 if (armada_dst_yx(old_state) != val) in armada_drm_overlay_plane_atomic_update() 108 if (armada_dst_hw(old_state) != val) in armada_drm_overlay_plane_atomic_update() 111 if (old_state->src.x1 != new_state->src.x1 || in armada_drm_overlay_plane_atomic_update() 112 old_state->src.y1 != new_state->src.y1 || in armada_drm_overlay_plane_atomic_update() 113 old_state->fb != new_state->fb || in armada_drm_overlay_plane_atomic_update() 160 } else if (old_state in armada_drm_overlay_plane_atomic_update() 224 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, armada_drm_overlay_plane_atomic_disable() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_atomic_helper.c | 988 crtc_needs_disable(struct drm_crtc_state *old_state, in crtc_needs_disable() argument 996 return drm_atomic_crtc_effectively_active(old_state); in crtc_needs_disable() 1003 if (old_state->self_refresh_active && in crtc_needs_disable() 1004 old_state->crtc != new_state->crtc) in crtc_needs_disable() 1013 return old_state->active || in crtc_needs_disable() 1014 (old_state->self_refresh_active && !new_state->enable) || in crtc_needs_disable() 1019 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument 1027 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs() 1037 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs() 1041 old_state, in disable_outputs() 1149 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_update_legacy_modeset_state() argument 1232 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) crtc_set_mode() argument 1307 drm_atomic_helper_commit_modeset_disables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_disables() argument 1319 drm_atomic_helper_commit_writebacks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_writebacks() argument 1354 drm_atomic_helper_commit_modeset_enables(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_commit_modeset_enables() argument 1495 drm_atomic_helper_wait_for_vblanks(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_vblanks() argument 1554 drm_atomic_helper_wait_for_flip_done(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_flip_done() argument 1593 drm_atomic_helper_commit_tail(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail() argument 1623 drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) drm_atomic_helper_commit_tail_rpm() argument 1644 commit_tail(struct drm_atomic_state *old_state) commit_tail() argument 2193 drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state) drm_atomic_helper_wait_for_dependencies() argument 2288 drm_atomic_helper_fake_vblank(struct drm_atomic_state *old_state) drm_atomic_helper_fake_vblank() argument 2326 drm_atomic_helper_commit_hw_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_hw_done() argument 2371 drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *old_state) drm_atomic_helper_commit_cleanup_done() argument 2506 drm_atomic_helper_commit_planes(struct drm_device *dev, struct drm_atomic_state *old_state, uint32_t flags) drm_atomic_helper_commit_planes() argument 2614 struct drm_atomic_state *old_state = old_crtc_state->state; drm_atomic_helper_commit_planes_on_crtc() local 2712 drm_atomic_helper_cleanup_planes(struct drm_device *dev, struct drm_atomic_state *old_state) drm_atomic_helper_cleanup_planes() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/armada/ |
H A D | armada_plane.c | 98 struct drm_plane_state *old_state) in armada_drm_plane_cleanup_fb() 102 old_state->fb ? old_state->fb->base.id : 0); in armada_drm_plane_cleanup_fb() 104 if (old_state->fb) in armada_drm_plane_cleanup_fb() 105 drm_framebuffer_put(old_state->fb); in armada_drm_plane_cleanup_fb() 159 struct drm_plane_state *old_state) in armada_drm_primary_plane_atomic_update() 176 old_state->visible, state->visible); in armada_drm_primary_plane_atomic_update() 182 if (!old_state->visible && state->visible) { in armada_drm_primary_plane_atomic_update() 189 if (armada_src_hw(old_state) != val) in armada_drm_primary_plane_atomic_update() 192 if (armada_dst_yx(old_state) ! in armada_drm_primary_plane_atomic_update() 97 armada_drm_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) armada_drm_plane_cleanup_fb() argument 158 armada_drm_primary_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) armada_drm_primary_plane_atomic_update() argument 244 armada_drm_primary_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) armada_drm_primary_plane_atomic_disable() argument [all...] |
H A D | armada_overlay.c | 71 struct drm_plane_state *old_state) in armada_drm_overlay_plane_atomic_update() 88 old_state->visible, state->visible); in armada_drm_overlay_plane_atomic_update() 94 if (!old_state->visible && state->visible) in armada_drm_overlay_plane_atomic_update() 99 if (armada_src_hw(old_state) != val) in armada_drm_overlay_plane_atomic_update() 102 if (armada_dst_yx(old_state) != val) in armada_drm_overlay_plane_atomic_update() 105 if (armada_dst_hw(old_state) != val) in armada_drm_overlay_plane_atomic_update() 108 if (old_state->src.x1 != state->src.x1 || in armada_drm_overlay_plane_atomic_update() 109 old_state->src.y1 != state->src.y1 || in armada_drm_overlay_plane_atomic_update() 110 old_state->fb != state->fb || in armada_drm_overlay_plane_atomic_update() 155 } else if (old_state in armada_drm_overlay_plane_atomic_update() 70 armada_drm_overlay_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) armada_drm_overlay_plane_atomic_update() argument 216 armada_drm_overlay_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) armada_drm_overlay_plane_atomic_disable() argument [all...] |
/kernel/linux/linux-5.10/kernel/livepatch/ |
H A D | state.c | 88 struct klp_state *old_state) in klp_is_state_compatible() 92 state = klp_get_state(patch, old_state->id); in klp_is_state_compatible() 98 return state->version >= old_state->version; in klp_is_state_compatible() 109 struct klp_state *old_state; in klp_is_patch_compatible() local 112 klp_for_each_state(old_patch, old_state) { in klp_is_patch_compatible() 113 if (!klp_is_state_compatible(patch, old_state)) in klp_is_patch_compatible() 87 klp_is_state_compatible(struct klp_patch *patch, struct klp_state *old_state) klp_is_state_compatible() argument
|
/kernel/linux/linux-6.6/kernel/livepatch/ |
H A D | state.c | 88 struct klp_state *old_state) in klp_is_state_compatible() 92 state = klp_get_state(patch, old_state->id); in klp_is_state_compatible() 98 return state->version >= old_state->version; in klp_is_state_compatible() 109 struct klp_state *old_state; in klp_is_patch_compatible() local 112 klp_for_each_state(old_patch, old_state) { in klp_is_patch_compatible() 113 if (!klp_is_state_compatible(patch, old_state)) in klp_is_patch_compatible() 87 klp_is_state_compatible(struct klp_patch *patch, struct klp_state *old_state) klp_is_state_compatible() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tt.c | 249 enum iwl_tt_state old_state; in iwl_legacy_tt_handler() local 261 old_state = tt->state; in iwl_legacy_tt_handler() 277 if (tt->state != old_state) { in iwl_legacy_tt_handler() 297 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler() 304 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler() 306 tt->state = old_state; in iwl_legacy_tt_handler() 316 tt->state = old_state; in iwl_legacy_tt_handler() 318 } else if (old_state == IWL_TI_CT_KILL) { in iwl_legacy_tt_handler() 356 enum iwl_tt_state old_state; in iwl_advance_tt_handler() local 359 old_state in iwl_advance_tt_handler() [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-bd70528.c | 61 int enable, int *old_state) in bd70528_set_wake() 70 if (old_state) { in bd70528_set_wake() 72 *old_state |= BD70528_WAKE_STATE_BIT; in bd70528_set_wake() 74 *old_state &= ~BD70528_WAKE_STATE_BIT; in bd70528_set_wake() 76 if (!enable == !(*old_state & BD70528_WAKE_STATE_BIT)) in bd70528_set_wake() 90 int enable, int *old_state) in bd70528_set_elapsed_tmr() 112 if (old_state) { in bd70528_set_elapsed_tmr() 114 *old_state |= BD70528_ELAPSED_STATE_BIT; in bd70528_set_elapsed_tmr() 116 *old_state &= ~BD70528_ELAPSED_STATE_BIT; in bd70528_set_elapsed_tmr() 118 if ((!enable) == (!(*old_state in bd70528_set_elapsed_tmr() 60 bd70528_set_wake(struct rohm_regmap_dev *bd70528, int enable, int *old_state) bd70528_set_wake() argument 89 bd70528_set_elapsed_tmr(struct rohm_regmap_dev *bd70528, int enable, int *old_state) bd70528_set_elapsed_tmr() argument 131 bd70528_set_rtc_based_timers(struct bd70528_rtc *r, int new_state, int *old_state) bd70528_set_rtc_based_timers() argument 162 bd70528_re_enable_rtc_based_timers(struct bd70528_rtc *r, int old_state) bd70528_re_enable_rtc_based_timers() argument 171 bd70528_disable_rtc_based_timers(struct bd70528_rtc *r, int *old_state) bd70528_disable_rtc_based_timers() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tt.c | 244 enum iwl_tt_state old_state; in iwl_legacy_tt_handler() local 256 old_state = tt->state; in iwl_legacy_tt_handler() 272 if (tt->state != old_state) { in iwl_legacy_tt_handler() 292 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler() 299 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler() 301 tt->state = old_state; in iwl_legacy_tt_handler() 311 tt->state = old_state; in iwl_legacy_tt_handler() 313 } else if (old_state == IWL_TI_CT_KILL) { in iwl_legacy_tt_handler() 351 enum iwl_tt_state old_state; in iwl_advance_tt_handler() local 354 old_state in iwl_advance_tt_handler() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
H A D | vkms_drv.c | 68 static void vkms_atomic_commit_tail(struct drm_atomic_state *old_state) in vkms_atomic_commit_tail() argument 70 struct drm_device *dev = old_state->dev; in vkms_atomic_commit_tail() 75 drm_atomic_helper_commit_modeset_disables(dev, old_state); in vkms_atomic_commit_tail() 77 drm_atomic_helper_commit_planes(dev, old_state, 0); in vkms_atomic_commit_tail() 79 drm_atomic_helper_commit_modeset_enables(dev, old_state); in vkms_atomic_commit_tail() 81 drm_atomic_helper_fake_vblank(old_state); in vkms_atomic_commit_tail() 83 drm_atomic_helper_commit_hw_done(old_state); in vkms_atomic_commit_tail() 85 drm_atomic_helper_wait_for_flip_done(dev, old_state); in vkms_atomic_commit_tail() 87 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail() 94 drm_atomic_helper_cleanup_planes(dev, old_state); in vkms_atomic_commit_tail() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vkms/ |
H A D | vkms_drv.c | 64 static void vkms_atomic_commit_tail(struct drm_atomic_state *old_state) in vkms_atomic_commit_tail() argument 66 struct drm_device *dev = old_state->dev; in vkms_atomic_commit_tail() 71 drm_atomic_helper_commit_modeset_disables(dev, old_state); in vkms_atomic_commit_tail() 73 drm_atomic_helper_commit_planes(dev, old_state, 0); in vkms_atomic_commit_tail() 75 drm_atomic_helper_commit_modeset_enables(dev, old_state); in vkms_atomic_commit_tail() 77 drm_atomic_helper_fake_vblank(old_state); in vkms_atomic_commit_tail() 79 drm_atomic_helper_commit_hw_done(old_state); in vkms_atomic_commit_tail() 81 drm_atomic_helper_wait_for_flip_done(dev, old_state); in vkms_atomic_commit_tail() 83 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail() 90 drm_atomic_helper_cleanup_planes(dev, old_state); in vkms_atomic_commit_tail() [all...] |
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_atomic.h | 160 struct drm_plane_state *state, *old_state, *new_state; member 165 struct drm_crtc_state *state, *old_state, *new_state; member 183 struct drm_connector_state *state, *old_state, *new_state; member 304 struct drm_private_state *state, *old_state, *new_state; member 508 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state() 555 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state() 613 return state->connectors[index].old_state; in drm_atomic_get_old_connector_state() 709 (old_connector_state) = (__state)->connectors[__i].old_state, \ 731 (old_connector_state) = (__state)->connectors[__i].old_state, 1)) 774 (old_crtc_state) = (__state)->crtcs[__i].old_state, \ [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_atomic.h | 162 struct drm_plane_state *state, *old_state, *new_state; member 167 struct drm_crtc_state *state, *old_state, *new_state; member 185 struct drm_connector_state *state, *old_state, *new_state; member 345 struct drm_private_state *state, *old_state, *new_state; member 568 return state->crtcs[drm_crtc_index(crtc)].old_state; in drm_atomic_get_old_crtc_state() 615 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state() 673 return state->connectors[index].old_state; in drm_atomic_get_old_connector_state() 769 (old_connector_state) = (__state)->connectors[__i].old_state, \ 791 (old_connector_state) = (__state)->connectors[__i].old_state, 1)) 834 (old_crtc_state) = (__state)->crtcs[__i].old_state, \ [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_xics.c | 249 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 253 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 279 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() 419 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local 452 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr() 476 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr() 492 union kvmppc_icp_state old_state, new_state; in xics_rm_h_xirr() local 511 old_state = new_state = READ_ONCE(icp->state); in xics_rm_h_xirr() 513 xirr = old_state.xisr | (((u32)old_state in xics_rm_h_xirr() 531 union kvmppc_icp_state old_state, new_state; xics_rm_h_ipi() local 617 union kvmppc_icp_state old_state, new_state; xics_rm_h_cppr() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_rm_xics.c | 242 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 246 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 272 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() 412 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local 445 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr() 469 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr() 490 union kvmppc_icp_state old_state, new_state; in xics_rm_h_xirr() local 509 old_state = new_state = READ_ONCE(icp->state); in xics_rm_h_xirr() 511 xirr = old_state.xisr | (((u32)old_state in xics_rm_h_xirr() 529 union kvmppc_icp_state old_state, new_state; xics_rm_h_ipi() local 615 union kvmppc_icp_state old_state, new_state; xics_rm_h_cppr() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 246 struct drm_plane_state *old_state) in dcss_plane_needs_setup() 249 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() 251 return state->crtc_x != old_state->crtc_x || in dcss_plane_needs_setup() 252 state->crtc_y != old_state->crtc_y || in dcss_plane_needs_setup() 253 state->crtc_w != old_state->crtc_w || in dcss_plane_needs_setup() 254 state->crtc_h != old_state->crtc_h || in dcss_plane_needs_setup() 255 state->src_x != old_state->src_x || in dcss_plane_needs_setup() 256 state->src_y != old_state->src_y || in dcss_plane_needs_setup() 257 state->src_w != old_state->src_w || in dcss_plane_needs_setup() 258 state->src_h != old_state in dcss_plane_needs_setup() 245 dcss_plane_needs_setup(struct drm_plane_state *state, struct drm_plane_state *old_state) dcss_plane_needs_setup() argument 264 dcss_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) dcss_plane_atomic_update() argument 342 dcss_plane_atomic_disable(struct drm_plane *plane, struct drm_plane_state *old_state) dcss_plane_atomic_disable() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 249 struct drm_plane_state *old_state) in dcss_plane_needs_setup() 252 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() 254 return state->crtc_x != old_state->crtc_x || in dcss_plane_needs_setup() 255 state->crtc_y != old_state->crtc_y || in dcss_plane_needs_setup() 256 state->crtc_w != old_state->crtc_w || in dcss_plane_needs_setup() 257 state->crtc_h != old_state->crtc_h || in dcss_plane_needs_setup() 258 state->src_x != old_state->src_x || in dcss_plane_needs_setup() 259 state->src_y != old_state->src_y || in dcss_plane_needs_setup() 260 state->src_w != old_state->src_w || in dcss_plane_needs_setup() 261 state->src_h != old_state in dcss_plane_needs_setup() 248 dcss_plane_needs_setup(struct drm_plane_state *state, struct drm_plane_state *old_state) dcss_plane_needs_setup() argument 271 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, dcss_plane_atomic_update() local [all...] |
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | pandora_bl.c | 36 unsigned old_state; member 57 if (priv->old_state == PANDORABL_WAS_OFF) in pandora_backlight_update_status() 70 if (priv->old_state == PANDORABL_WAS_OFF) { in pandora_backlight_update_status() 97 priv->old_state = 0; in pandora_backlight_update_status() 99 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_update_status() 137 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_probe()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | pandora_bl.c | 36 unsigned old_state; member 57 if (priv->old_state == PANDORABL_WAS_OFF) in pandora_backlight_update_status() 70 if (priv->old_state == PANDORABL_WAS_OFF) { in pandora_backlight_update_status() 97 priv->old_state = 0; in pandora_backlight_update_status() 99 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_update_status() 137 priv->old_state = PANDORABL_WAS_OFF; in pandora_backlight_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tidss/ |
H A D | tidss_kms.c | 22 static void tidss_atomic_commit_tail(struct drm_atomic_state *old_state) in tidss_atomic_commit_tail() argument 24 struct drm_device *ddev = old_state->dev; in tidss_atomic_commit_tail() 31 drm_atomic_helper_commit_modeset_disables(ddev, old_state); in tidss_atomic_commit_tail() 32 drm_atomic_helper_commit_planes(ddev, old_state, 0); in tidss_atomic_commit_tail() 33 drm_atomic_helper_commit_modeset_enables(ddev, old_state); in tidss_atomic_commit_tail() 35 drm_atomic_helper_commit_hw_done(old_state); in tidss_atomic_commit_tail() 36 drm_atomic_helper_wait_for_flip_done(ddev, old_state); in tidss_atomic_commit_tail() 38 drm_atomic_helper_cleanup_planes(ddev, old_state); in tidss_atomic_commit_tail()
|