old_state 4606 arch/ia64/kernel/perfmon.c int state, old_state; old_state 4684 arch/ia64/kernel/perfmon.c old_state = state; old_state 4695 arch/ia64/kernel/perfmon.c if (ctx->ctx_state != old_state) { old_state 4696 arch/ia64/kernel/perfmon.c DPRINT(("old_state=%d new_state=%d\n", old_state, ctx->ctx_state)); old_state 32 arch/mips/alchemy/common/platform.c unsigned int old_state) old_state 38 arch/mips/alchemy/common/platform.c serial8250_do_pm(port, state, old_state); old_state 41 arch/mips/alchemy/common/platform.c serial8250_do_pm(port, state, old_state); old_state 45 arch/mips/alchemy/common/platform.c serial8250_do_pm(port, state, old_state); old_state 249 arch/powerpc/kvm/book3s_hv_rm_xics.c union kvmppc_icp_state old_state, new_state; old_state 253 arch/powerpc/kvm/book3s_hv_rm_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 279 arch/powerpc/kvm/book3s_hv_rm_xics.c } while (!icp_rm_try_update(icp, old_state, new_state)); old_state 419 arch/powerpc/kvm/book3s_hv_rm_xics.c union kvmppc_icp_state old_state, new_state; old_state 452 arch/powerpc/kvm/book3s_hv_rm_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 476 arch/powerpc/kvm/book3s_hv_rm_xics.c } while (!icp_rm_try_update(icp, old_state, new_state)); old_state 492 arch/powerpc/kvm/book3s_hv_rm_xics.c union kvmppc_icp_state old_state, new_state; old_state 511 arch/powerpc/kvm/book3s_hv_rm_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 513 arch/powerpc/kvm/book3s_hv_rm_xics.c xirr = old_state.xisr | (((u32)old_state.cppr) << 24); old_state 514 arch/powerpc/kvm/book3s_hv_rm_xics.c if (!old_state.xisr) old_state 520 arch/powerpc/kvm/book3s_hv_rm_xics.c } while (!icp_rm_try_update(icp, old_state, new_state)); old_state 531 arch/powerpc/kvm/book3s_hv_rm_xics.c union kvmppc_icp_state old_state, new_state; old_state 577 arch/powerpc/kvm/book3s_hv_rm_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 594 arch/powerpc/kvm/book3s_hv_rm_xics.c if (mfrr > old_state.mfrr) { old_state 598 arch/powerpc/kvm/book3s_hv_rm_xics.c } while (!icp_rm_try_update(icp, old_state, new_state)); old_state 617 arch/powerpc/kvm/book3s_hv_rm_xics.c union kvmppc_icp_state old_state, new_state; old_state 652 arch/powerpc/kvm/book3s_hv_rm_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 663 arch/powerpc/kvm/book3s_hv_rm_xics.c } while (!icp_rm_try_update(icp, old_state, new_state)); old_state 339 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 346 arch/powerpc/kvm/book3s_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 372 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, false)); old_state 516 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 549 arch/powerpc/kvm/book3s_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 575 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, true)); old_state 588 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 603 arch/powerpc/kvm/book3s_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 605 arch/powerpc/kvm/book3s_xics.c xirr = old_state.xisr | (((u32)old_state.cppr) << 24); old_state 606 arch/powerpc/kvm/book3s_xics.c if (!old_state.xisr) old_state 612 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, true)); old_state 622 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 670 arch/powerpc/kvm/book3s_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 687 arch/powerpc/kvm/book3s_xics.c if (mfrr > old_state.mfrr) { old_state 691 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, local)); old_state 723 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 756 arch/powerpc/kvm/book3s_xics.c old_state = new_state = READ_ONCE(icp->state); old_state 767 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, true)); old_state 1114 arch/powerpc/kvm/book3s_xics.c union kvmppc_icp_state old_state, new_state; old_state 1168 arch/powerpc/kvm/book3s_xics.c old_state = READ_ONCE(icp->state); old_state 1170 arch/powerpc/kvm/book3s_xics.c if (new_state.mfrr <= old_state.mfrr) { old_state 1172 arch/powerpc/kvm/book3s_xics.c new_state.need_resend = old_state.need_resend; old_state 1174 arch/powerpc/kvm/book3s_xics.c resend = old_state.need_resend; old_state 1177 arch/powerpc/kvm/book3s_xics.c } while (!icp_try_update(icp, old_state, new_state, false)); old_state 1031 arch/powerpc/platforms/cell/spufs/sched.c enum spu_utilization_state old_state; old_state 1041 arch/powerpc/platforms/cell/spufs/sched.c old_state = ctx->stats.util_state; old_state 1049 arch/powerpc/platforms/cell/spufs/sched.c ctx->stats.times[old_state] += delta; old_state 1050 arch/powerpc/platforms/cell/spufs/sched.c spu->stats.times[old_state] += delta; old_state 1054 arch/powerpc/platforms/cell/spufs/sched.c if (old_state == SPU_UTIL_USER) old_state 387 drivers/acpi/ac.c unsigned old_state; old_state 396 drivers/acpi/ac.c old_state = ac->state; old_state 399 drivers/acpi/ac.c if (old_state != ac->state) old_state 1150 drivers/block/pktcdvd.c enum packet_data_state old_state = pkt->state; old_state 1153 drivers/block/pktcdvd.c state_name[old_state], state_name[state]); old_state 1968 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dm_atomic_state *old_state, *new_state; old_state 1976 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c old_state = to_dm_atomic_state(obj->state); old_state 1978 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (old_state && old_state->context) old_state 1979 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c new_state->context = dc_copy_state(old_state->context); old_state 4211 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c is_hdr_metadata_different(const struct drm_connector_state *old_state, old_state 4214 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_property_blob *old_blob = old_state->hdr_output_metadata; old_state 4572 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_state) old_state 4577 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c if (!old_state->fb) old_state 4580 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c rbo = gem_to_amdgpu_bo(old_state->fb->obj[0]); old_state 4629 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct drm_plane_state *old_state = old_state 4643 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c handle_cursor_update(plane, old_state); old_state 5622 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c static void amdgpu_dm_handle_vrr_transition(struct dm_crtc_state *old_state, old_state 5625 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bool old_vrr_active = amdgpu_dm_vrr_active(old_state); old_state 117 drivers/gpu/drm/arc/arcpgu_crtc.c struct drm_crtc_state *old_state) old_state 128 drivers/gpu/drm/arc/arcpgu_crtc.c struct drm_crtc_state *old_state) old_state 79 drivers/gpu/drm/arm/display/komeda/komeda_kms.c static void komeda_kms_commit_tail(struct drm_atomic_state *old_state) old_state 81 drivers/gpu/drm/arm/display/komeda/komeda_kms.c struct drm_device *dev = old_state->dev; old_state 83 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 85 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_commit_planes(dev, old_state, old_state 88 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 90 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_wait_for_flip_done(dev, old_state); old_state 92 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_commit_hw_done(old_state); old_state 94 drivers/gpu/drm/arm/display/komeda/komeda_kms.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 539 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h struct drm_atomic_state *old_state); old_state 541 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.h struct drm_atomic_state *old_state); old_state 1222 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct drm_atomic_state *old_state) old_state 1229 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c old = komeda_pipeline_get_old_state(pipe, old_state); old_state 1254 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c struct drm_atomic_state *old_state) old_state 1261 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c old = komeda_pipeline_get_old_state(pipe, old_state); old_state 118 drivers/gpu/drm/arm/display/komeda/komeda_plane.c struct drm_plane_state *old_state) old_state 171 drivers/gpu/drm/arm/hdlcd_crtc.c struct drm_crtc_state *old_state) old_state 182 drivers/gpu/drm/arm/hdlcd_crtc.c struct drm_crtc_state *old_state) old_state 49 drivers/gpu/drm/arm/malidp_crtc.c struct drm_crtc_state *old_state) old_state 73 drivers/gpu/drm/arm/malidp_crtc.c struct drm_crtc_state *old_state) old_state 80 drivers/gpu/drm/arm/malidp_crtc.c drm_atomic_helper_disable_planes_on_crtc(old_state, false); old_state 443 drivers/gpu/drm/arm/malidp_crtc.c struct malidp_crtc_state *state, *old_state; old_state 448 drivers/gpu/drm/arm/malidp_crtc.c old_state = to_malidp_crtc_state(crtc->state); old_state 454 drivers/gpu/drm/arm/malidp_crtc.c memcpy(state->gamma_coeffs, old_state->gamma_coeffs, old_state 456 drivers/gpu/drm/arm/malidp_crtc.c memcpy(state->coloradj_coeffs, old_state->coloradj_coeffs, old_state 458 drivers/gpu/drm/arm/malidp_crtc.c memcpy(&state->scaler_config, &old_state->scaler_config, old_state 61 drivers/gpu/drm/arm/malidp_drv.c struct drm_crtc_state *old_state) old_state 77 drivers/gpu/drm/arm/malidp_drv.c if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id != old_state 78 drivers/gpu/drm/arm/malidp_drv.c old_state->gamma_lut->base.id)) old_state 88 drivers/gpu/drm/arm/malidp_drv.c struct drm_crtc_state *old_state) old_state 104 drivers/gpu/drm/arm/malidp_drv.c if (!old_state->ctm || (crtc->state->ctm->base.id != old_state 105 drivers/gpu/drm/arm/malidp_drv.c old_state->ctm->base.id)) old_state 118 drivers/gpu/drm/arm/malidp_drv.c struct drm_crtc_state *old_state) old_state 121 drivers/gpu/drm/arm/malidp_drv.c struct malidp_crtc_state *old_cs = to_malidp_crtc_state(old_state); old_state 238 drivers/gpu/drm/arm/malidp_mw.c struct drm_atomic_state *old_state) old_state 13 drivers/gpu/drm/arm/malidp_mw.h struct drm_atomic_state *old_state); old_state 792 drivers/gpu/drm/arm/malidp_planes.c struct drm_plane_state *old_state) old_state 833 drivers/gpu/drm/arm/malidp_planes.c if ((plane->state->color_encoding != old_state->color_encoding) || old_state 834 drivers/gpu/drm/arm/malidp_planes.c (plane->state->color_range != old_state->color_range)) old_state 470 drivers/gpu/drm/armada/armada_crtc.c struct drm_crtc_state *old_state) old_state 477 drivers/gpu/drm/armada/armada_crtc.c if (old_state->adjusted_mode.flags & DRM_MODE_FLAG_INTERLACE) old_state 506 drivers/gpu/drm/armada/armada_crtc.c struct drm_crtc_state *old_state) old_state 512 drivers/gpu/drm/armada/armada_crtc.c if (!old_state->active) { old_state 69 drivers/gpu/drm/armada/armada_overlay.c struct drm_plane_state *old_state) old_state 86 drivers/gpu/drm/armada/armada_overlay.c old_state->visible, state->visible); old_state 92 drivers/gpu/drm/armada/armada_overlay.c if (!old_state->visible && state->visible) old_state 97 drivers/gpu/drm/armada/armada_overlay.c if (armada_src_hw(old_state) != val) old_state 100 drivers/gpu/drm/armada/armada_overlay.c if (armada_dst_yx(old_state) != val) old_state 103 drivers/gpu/drm/armada/armada_overlay.c if (armada_dst_hw(old_state) != val) old_state 106 drivers/gpu/drm/armada/armada_overlay.c if (old_state->src.x1 != state->src.x1 || old_state 107 drivers/gpu/drm/armada/armada_overlay.c old_state->src.y1 != state->src.y1 || old_state 108 drivers/gpu/drm/armada/armada_overlay.c old_state->fb != state->fb || old_state 153 drivers/gpu/drm/armada/armada_overlay.c } else if (old_state->visible != state->visible) { old_state 159 drivers/gpu/drm/armada/armada_overlay.c if (drm_rect_width(&old_state->src) != drm_rect_width(&state->src) || old_state 160 drivers/gpu/drm/armada/armada_overlay.c drm_rect_width(&old_state->dst) != drm_rect_width(&state->dst)) { old_state 172 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 173 drivers/gpu/drm/armada/armada_overlay.c armada_spu_contrast(old_state) != val) old_state 176 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 177 drivers/gpu/drm/armada/armada_overlay.c armada_spu_saturation(old_state) != val) old_state 179 drivers/gpu/drm/armada/armada_overlay.c if (!old_state->visible && state->visible) old_state 182 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 183 drivers/gpu/drm/armada/armada_overlay.c armada_csc(old_state) != val) old_state 187 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 188 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_yr != val) old_state 191 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 192 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_ug != val) old_state 195 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 196 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_vb != val) old_state 199 drivers/gpu/drm/armada/armada_overlay.c if ((!old_state->visible && state->visible) || old_state 200 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_mode != val) old_state 205 drivers/gpu/drm/armada/armada_overlay.c if (((!old_state->visible && state->visible) || old_state 206 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_enable != val) && old_state 215 drivers/gpu/drm/armada/armada_overlay.c struct drm_plane_state *old_state) old_state 223 drivers/gpu/drm/armada/armada_overlay.c if (!old_state->crtc) old_state 228 drivers/gpu/drm/armada/armada_overlay.c old_state->crtc->base.id, old_state->crtc->name, old_state 229 drivers/gpu/drm/armada/armada_overlay.c old_state->fb->base.id); old_state 231 drivers/gpu/drm/armada/armada_overlay.c dcrtc = drm_to_armada_crtc(old_state->crtc); old_state 98 drivers/gpu/drm/armada/armada_plane.c struct drm_plane_state *old_state) old_state 102 drivers/gpu/drm/armada/armada_plane.c old_state->fb ? old_state->fb->base.id : 0); old_state 104 drivers/gpu/drm/armada/armada_plane.c if (old_state->fb) old_state 105 drivers/gpu/drm/armada/armada_plane.c drm_framebuffer_put(old_state->fb); old_state 159 drivers/gpu/drm/armada/armada_plane.c struct drm_plane_state *old_state) old_state 176 drivers/gpu/drm/armada/armada_plane.c old_state->visible, state->visible); old_state 182 drivers/gpu/drm/armada/armada_plane.c if (!old_state->visible && state->visible) { old_state 189 drivers/gpu/drm/armada/armada_plane.c if (armada_src_hw(old_state) != val) old_state 192 drivers/gpu/drm/armada/armada_plane.c if (armada_dst_yx(old_state) != val) old_state 195 drivers/gpu/drm/armada/armada_plane.c if (armada_dst_hw(old_state) != val) old_state 197 drivers/gpu/drm/armada/armada_plane.c if (old_state->src.x1 != state->src.x1 || old_state 198 drivers/gpu/drm/armada/armada_plane.c old_state->src.y1 != state->src.y1 || old_state 199 drivers/gpu/drm/armada/armada_plane.c old_state->fb != state->fb || old_state 208 drivers/gpu/drm/armada/armada_plane.c if (old_state->fb != state->fb || old_state 223 drivers/gpu/drm/armada/armada_plane.c } else if (old_state->visible != state->visible) { old_state 229 drivers/gpu/drm/armada/armada_plane.c if (drm_rect_width(&old_state->src) != drm_rect_width(&state->src) || old_state 230 drivers/gpu/drm/armada/armada_plane.c drm_rect_width(&old_state->dst) != drm_rect_width(&state->dst)) { old_state 245 drivers/gpu/drm/armada/armada_plane.c struct drm_plane_state *old_state) old_state 253 drivers/gpu/drm/armada/armada_plane.c if (!old_state->crtc) old_state 258 drivers/gpu/drm/armada/armada_plane.c old_state->crtc->base.id, old_state->crtc->name, old_state 259 drivers/gpu/drm/armada/armada_plane.c old_state->fb->base.id); old_state 261 drivers/gpu/drm/armada/armada_plane.c dcrtc = drm_to_armada_crtc(old_state->crtc); old_state 27 drivers/gpu/drm/armada/armada_plane.h struct drm_plane_state *old_state); old_state 168 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c struct drm_crtc_state *old_state) old_state 203 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c struct drm_crtc_state *old_state) old_state 577 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c struct drm_atomic_state *old_state = commit->state; old_state 580 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 581 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_helper_commit_planes(dev, old_state, 0); old_state 582 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 584 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_helper_wait_for_vblanks(dev, old_state); old_state 586 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 588 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c drm_atomic_state_put(old_state); old_state 716 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c struct drm_plane_state *old_state) old_state 57 drivers/gpu/drm/bochs/bochs_kms.c struct drm_plane_state *old_state) old_state 84 drivers/gpu/drm/bochs/bochs_kms.c struct drm_plane_state *old_state) old_state 88 drivers/gpu/drm/bochs/bochs_kms.c if (!old_state->fb) old_state 90 drivers/gpu/drm/bochs/bochs_kms.c gbo = drm_gem_vram_of_gem(old_state->fb->obj[0]); old_state 423 drivers/gpu/drm/cirrus/cirrus.c struct drm_plane_state *old_state) old_state 435 drivers/gpu/drm/cirrus/cirrus.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 165 drivers/gpu/drm/drm_atomic.c state->connectors[i].old_state = NULL; old_state 181 drivers/gpu/drm/drm_atomic.c state->crtcs[i].old_state = NULL; old_state 200 drivers/gpu/drm/drm_atomic.c state->planes[i].old_state = NULL; old_state 211 drivers/gpu/drm/drm_atomic.c state->private_objs[i].old_state = NULL; old_state 311 drivers/gpu/drm/drm_atomic.c state->crtcs[index].old_state = crtc->state; old_state 490 drivers/gpu/drm/drm_atomic.c state->planes[index].old_state = plane->state; old_state 797 drivers/gpu/drm/drm_atomic.c state->private_objs[index].old_state = obj->state; old_state 827 drivers/gpu/drm/drm_atomic.c return state->private_objs[i].old_state; old_state 979 drivers/gpu/drm/drm_atomic.c state->connectors[index].old_state = connector->state; old_state 965 drivers/gpu/drm/drm_atomic_helper.c crtc_needs_disable(struct drm_crtc_state *old_state, old_state 973 drivers/gpu/drm/drm_atomic_helper.c return drm_atomic_crtc_effectively_active(old_state); old_state 980 drivers/gpu/drm/drm_atomic_helper.c return old_state->active || old_state 981 drivers/gpu/drm/drm_atomic_helper.c (old_state->self_refresh_active && !new_state->enable) || old_state 986 drivers/gpu/drm/drm_atomic_helper.c disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) old_state 994 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { old_state 1003 drivers/gpu/drm/drm_atomic_helper.c old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); old_state 1007 drivers/gpu/drm/drm_atomic_helper.c old_state, old_state 1033 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_bridge_disable(encoder->bridge, old_state); old_state 1038 drivers/gpu/drm/drm_atomic_helper.c funcs->atomic_disable(encoder, old_state); old_state 1047 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_bridge_post_disable(encoder->bridge, old_state); old_state 1050 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 1108 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1117 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { old_state 1138 drivers/gpu/drm/drm_atomic_helper.c for_each_new_connector_in_state(old_state, connector, new_conn_state, i) { old_state 1150 drivers/gpu/drm/drm_atomic_helper.c for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { old_state 1158 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_get_new_plane_state(old_state, primary); old_state 1173 drivers/gpu/drm/drm_atomic_helper.c crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) old_state 1181 drivers/gpu/drm/drm_atomic_helper.c for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { old_state 1197 drivers/gpu/drm/drm_atomic_helper.c for_each_new_connector_in_state(old_state, connector, new_conn_state, i) { old_state 1247 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1249 drivers/gpu/drm/drm_atomic_helper.c disable_outputs(dev, old_state); old_state 1251 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_update_legacy_modeset_state(dev, old_state); old_state 1253 drivers/gpu/drm/drm_atomic_helper.c crtc_set_mode(dev, old_state); old_state 1258 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1264 drivers/gpu/drm/drm_atomic_helper.c for_each_new_connector_in_state(old_state, connector, new_conn_state, i) { old_state 1293 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1302 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 1324 drivers/gpu/drm/drm_atomic_helper.c for_each_new_connector_in_state(old_state, connector, new_conn_state, i) { old_state 1345 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_bridge_pre_enable(encoder->bridge, old_state); old_state 1349 drivers/gpu/drm/drm_atomic_helper.c funcs->atomic_enable(encoder, old_state); old_state 1356 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_bridge_enable(encoder->bridge, old_state); old_state 1359 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_writebacks(dev, old_state); old_state 1432 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1443 drivers/gpu/drm/drm_atomic_helper.c if (old_state->legacy_cursor_update) old_state 1446 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 1455 drivers/gpu/drm/drm_atomic_helper.c old_state->crtcs[i].last_vblank_count = drm_crtc_vblank_count(crtc); old_state 1458 drivers/gpu/drm/drm_atomic_helper.c for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { old_state 1463 drivers/gpu/drm/drm_atomic_helper.c old_state->crtcs[i].last_vblank_count != old_state 1491 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 1497 drivers/gpu/drm/drm_atomic_helper.c struct drm_crtc_commit *commit = old_state->crtcs[i].commit; old_state 1500 drivers/gpu/drm/drm_atomic_helper.c crtc = old_state->crtcs[i].ptr; old_state 1511 drivers/gpu/drm/drm_atomic_helper.c if (old_state->fake_commit) old_state 1512 drivers/gpu/drm/drm_atomic_helper.c complete_all(&old_state->fake_commit->flip_done); old_state 1529 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_commit_tail(struct drm_atomic_state *old_state) old_state 1531 drivers/gpu/drm/drm_atomic_helper.c struct drm_device *dev = old_state->dev; old_state 1533 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 1535 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_planes(dev, old_state, 0); old_state 1537 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 1539 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_fake_vblank(old_state); old_state 1541 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_hw_done(old_state); old_state 1543 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_wait_for_vblanks(dev, old_state); old_state 1545 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 1559 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_commit_tail_rpm(struct drm_atomic_state *old_state) old_state 1561 drivers/gpu/drm/drm_atomic_helper.c struct drm_device *dev = old_state->dev; old_state 1563 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 1565 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 1567 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_planes(dev, old_state, old_state 1570 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_fake_vblank(old_state); old_state 1572 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_hw_done(old_state); old_state 1574 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_wait_for_vblanks(dev, old_state); old_state 1576 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 1580 drivers/gpu/drm/drm_atomic_helper.c static void commit_tail(struct drm_atomic_state *old_state) old_state 1582 drivers/gpu/drm/drm_atomic_helper.c struct drm_device *dev = old_state->dev; old_state 1604 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_wait_for_fences(dev, old_state, false); old_state 1606 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_wait_for_dependencies(old_state); old_state 1613 drivers/gpu/drm/drm_atomic_helper.c for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) old_state 1618 drivers/gpu/drm/drm_atomic_helper.c funcs->atomic_commit_tail(old_state); old_state 1620 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_tail(old_state); old_state 1624 drivers/gpu/drm/drm_atomic_helper.c drm_self_refresh_helper_update_avg_times(old_state, old_state 1628 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_commit_cleanup_done(old_state); old_state 1630 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_state_put(old_state); old_state 2117 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_wait_for_dependencies(struct drm_atomic_state *old_state) old_state 2129 drivers/gpu/drm/drm_atomic_helper.c for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { old_state 2150 drivers/gpu/drm/drm_atomic_helper.c for_each_old_connector_in_state(old_state, conn, old_conn_state, i) { old_state 2171 drivers/gpu/drm/drm_atomic_helper.c for_each_old_plane_in_state(old_state, plane, old_plane_state, i) { old_state 2210 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_fake_vblank(struct drm_atomic_state *old_state) old_state 2216 drivers/gpu/drm/drm_atomic_helper.c for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { old_state 2222 drivers/gpu/drm/drm_atomic_helper.c spin_lock_irqsave(&old_state->dev->event_lock, flags); old_state 2228 drivers/gpu/drm/drm_atomic_helper.c spin_unlock_irqrestore(&old_state->dev->event_lock, flags); old_state 2248 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_commit_hw_done(struct drm_atomic_state *old_state) old_state 2255 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 2275 drivers/gpu/drm/drm_atomic_helper.c if (old_state->fake_commit) { old_state 2276 drivers/gpu/drm/drm_atomic_helper.c complete_all(&old_state->fake_commit->hw_done); old_state 2277 drivers/gpu/drm/drm_atomic_helper.c complete_all(&old_state->fake_commit->flip_done); old_state 2293 drivers/gpu/drm/drm_atomic_helper.c void drm_atomic_helper_commit_cleanup_done(struct drm_atomic_state *old_state) old_state 2300 drivers/gpu/drm/drm_atomic_helper.c for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { old_state 2313 drivers/gpu/drm/drm_atomic_helper.c if (old_state->fake_commit) { old_state 2314 drivers/gpu/drm/drm_atomic_helper.c complete_all(&old_state->fake_commit->cleanup_done); old_state 2315 drivers/gpu/drm/drm_atomic_helper.c WARN_ON(!try_wait_for_completion(&old_state->fake_commit->hw_done)); old_state 2429 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state, old_state 2440 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 2454 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { old_state 2498 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { old_state 2536 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state = old_crtc_state->state; old_state 2538 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_get_new_crtc_state(old_state, crtc); old_state 2551 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_get_old_plane_state(old_state, plane); old_state 2553 drivers/gpu/drm/drm_atomic_helper.c drm_atomic_get_new_plane_state(old_state, plane); old_state 2635 drivers/gpu/drm/drm_atomic_helper.c struct drm_atomic_state *old_state) old_state 2641 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { old_state 3244 drivers/gpu/drm/drm_atomic_helper.c state->planes[i].old_state = plane->state; old_state 3247 drivers/gpu/drm/drm_atomic_helper.c state->crtcs[i].old_state = crtc->state; old_state 3250 drivers/gpu/drm/drm_atomic_helper.c state->connectors[i].old_state = connector->state; old_state 277 drivers/gpu/drm/drm_damage_helper.c const struct drm_plane_state *old_state, old_state 294 drivers/gpu/drm/drm_damage_helper.c if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) { old_state 359 drivers/gpu/drm/drm_damage_helper.c bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, old_state 372 drivers/gpu/drm/drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, old_state, state); old_state 3776 drivers/gpu/drm/drm_dp_mst_topology.c struct drm_dp_mst_topology_state *state, *old_state = old_state 3780 drivers/gpu/drm/drm_dp_mst_topology.c state = kmemdup(old_state, sizeof(*state), GFP_KERNEL); old_state 3788 drivers/gpu/drm/drm_dp_mst_topology.c list_for_each_entry(pos, &old_state->vcpis, next) { old_state 299 drivers/gpu/drm/drm_mipi_dbi.c struct drm_plane_state *old_state) old_state 305 drivers/gpu/drm/drm_mipi_dbi.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 62 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_crtc_state *old_state) old_state 76 drivers/gpu/drm/drm_simple_kms_helper.c struct drm_crtc_state *old_state) old_state 22 drivers/gpu/drm/exynos/exynos_drm_crtc.c struct drm_crtc_state *old_state) old_state 33 drivers/gpu/drm/exynos/exynos_drm_crtc.c struct drm_crtc_state *old_state) old_state 158 drivers/gpu/drm/exynos/exynos_drm_plane.c struct drm_plane_state *old_state) old_state 161 drivers/gpu/drm/exynos/exynos_drm_plane.c to_exynos_plane_state(old_state); old_state 162 drivers/gpu/drm/exynos/exynos_drm_plane.c __drm_atomic_helper_plane_destroy_state(old_state); old_state 253 drivers/gpu/drm/exynos/exynos_drm_plane.c struct drm_plane_state *old_state) old_state 267 drivers/gpu/drm/exynos/exynos_drm_plane.c struct drm_plane_state *old_state) old_state 270 drivers/gpu/drm/exynos/exynos_drm_plane.c struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(old_state->crtc); old_state 272 drivers/gpu/drm/exynos/exynos_drm_plane.c if (!old_state->crtc) old_state 65 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c struct drm_crtc_state *old_state) old_state 60 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c struct drm_plane_state *old_state) old_state 76 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c struct drm_plane_state *old_state) old_state 95 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c struct drm_plane_state *old_state) old_state 196 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c struct drm_crtc_state *old_state) old_state 214 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c struct drm_crtc_state *old_state) old_state 396 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c struct drm_crtc_state *old_state) old_state 416 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c struct drm_crtc_state *old_state) old_state 439 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_crtc_state *old_state) old_state 462 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_crtc_state *old_state) old_state 488 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_crtc_state *old_state) old_state 501 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_crtc_state *old_state) old_state 806 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_plane_state *old_state) old_state 818 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c struct drm_plane_state *old_state) old_state 125 drivers/gpu/drm/i915/display/intel_atomic.c struct drm_connector_state *old_state = old_state 128 drivers/gpu/drm/i915/display/intel_atomic.c to_intel_digital_connector_state(old_state); old_state 131 drivers/gpu/drm/i915/display/intel_atomic.c intel_hdcp_atomic_check(conn, old_state, new_state); old_state 2175 drivers/gpu/drm/i915/display/intel_cdclk.c const struct intel_cdclk_state *old_state, old_state 2179 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe == INVALID_PIPE || old_state->cdclk <= new_state->cdclk) old_state 2195 drivers/gpu/drm/i915/display/intel_cdclk.c const struct intel_cdclk_state *old_state, old_state 2199 drivers/gpu/drm/i915/display/intel_cdclk.c if (pipe != INVALID_PIPE && old_state->cdclk > new_state->cdclk) old_state 35 drivers/gpu/drm/i915/display/intel_cdclk.h const struct intel_cdclk_state *old_state, old_state 40 drivers/gpu/drm/i915/display/intel_cdclk.h const struct intel_cdclk_state *old_state, old_state 14480 drivers/gpu/drm/i915/display/intel_display.c struct drm_plane_state *old_state) old_state 14483 drivers/gpu/drm/i915/display/intel_display.c to_intel_atomic_state(old_state->state); old_state 14493 drivers/gpu/drm/i915/display/intel_display.c intel_plane_unpin_fb(to_intel_plane_state(old_state)); old_state 376 drivers/gpu/drm/i915/display/intel_display.h (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ old_state 400 drivers/gpu/drm/i915/display/intel_display.h (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), \ old_state 409 drivers/gpu/drm/i915/display/intel_display.h (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \ old_state 485 drivers/gpu/drm/i915/display/intel_display.h struct drm_plane_state *old_state); old_state 1946 drivers/gpu/drm/i915/display/intel_hdcp.c struct drm_connector_state *old_state, old_state 1949 drivers/gpu/drm/i915/display/intel_hdcp.c u64 old_cp = old_state->content_protection; old_state 1971 drivers/gpu/drm/i915/display/intel_hdcp.c if (old_state->hdcp_content_type == old_state 20 drivers/gpu/drm/i915/display/intel_hdcp.h struct drm_connector_state *old_state, old_state 2436 drivers/gpu/drm/i915/display/intel_sdvo.c struct intel_sdvo_connector_state *old_state = old_state 2442 drivers/gpu/drm/i915/display/intel_sdvo.c (memcmp(&old_state->tv, &new_state->tv, sizeof(old_state->tv)) || old_state 1828 drivers/gpu/drm/i915/display/intel_tv.c struct drm_connector_state *old_state; old_state 1834 drivers/gpu/drm/i915/display/intel_tv.c old_state = drm_atomic_get_old_connector_state(state, connector); old_state 1837 drivers/gpu/drm/i915/display/intel_tv.c if (old_state->tv.mode != new_state->tv.mode || old_state 1838 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.left != new_state->tv.margins.left || old_state 1839 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.right != new_state->tv.margins.right || old_state 1840 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.top != new_state->tv.margins.top || old_state 1841 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.bottom != new_state->tv.margins.bottom) { old_state 284 drivers/gpu/drm/i915/i915_drv.h struct intel_atomic_state *old_state); old_state 286 drivers/gpu/drm/i915/i915_drv.h struct intel_atomic_state *old_state); old_state 50 drivers/gpu/drm/imx/ipuv3-crtc.c struct drm_crtc_state *old_state) old_state 349 drivers/gpu/drm/imx/ipuv3-plane.c struct drm_plane_state *old_state = plane->state; old_state 353 drivers/gpu/drm/imx/ipuv3-plane.c struct drm_framebuffer *old_fb = old_state->fb; old_state 405 drivers/gpu/drm/imx/ipuv3-plane.c (drm_rect_width(&state->dst) != drm_rect_width(&old_state->dst) || old_state 406 drivers/gpu/drm/imx/ipuv3-plane.c drm_rect_height(&state->dst) != drm_rect_height(&old_state->dst) || old_state 442 drivers/gpu/drm/imx/ipuv3-plane.c old_vbo = drm_plane_state_to_vbo(old_state); old_state 459 drivers/gpu/drm/imx/ipuv3-plane.c old_ubo = drm_plane_state_to_ubo(old_state); old_state 500 drivers/gpu/drm/imx/ipuv3-plane.c struct drm_plane_state *old_state) old_state 545 drivers/gpu/drm/imx/ipuv3-plane.c struct drm_plane_state *old_state) old_state 599 drivers/gpu/drm/imx/ipuv3-plane.c if (old_state->fb && !drm_atomic_crtc_needs_modeset(crtc_state)) { old_state 369 drivers/gpu/drm/mediatek/mtk_drm_crtc.c struct drm_crtc_state *old_state) old_state 394 drivers/gpu/drm/mediatek/mtk_drm_crtc.c struct drm_crtc_state *old_state) old_state 50 drivers/gpu/drm/mediatek/mtk_drm_plane.c struct mtk_plane_state *old_state = to_mtk_plane_state(plane->state); old_state 61 drivers/gpu/drm/mediatek/mtk_drm_plane.c state->pending = old_state->pending; old_state 105 drivers/gpu/drm/mediatek/mtk_drm_plane.c struct drm_plane_state *old_state) old_state 140 drivers/gpu/drm/mediatek/mtk_drm_plane.c struct drm_plane_state *old_state) old_state 75 drivers/gpu/drm/meson/meson_crtc.c struct drm_crtc_state *old_state) old_state 111 drivers/gpu/drm/meson/meson_crtc.c struct drm_crtc_state *old_state) old_state 139 drivers/gpu/drm/meson/meson_crtc.c struct drm_crtc_state *old_state) old_state 164 drivers/gpu/drm/meson/meson_crtc.c struct drm_crtc_state *old_state) old_state 337 drivers/gpu/drm/meson/meson_overlay.c struct drm_plane_state *old_state) old_state 506 drivers/gpu/drm/meson/meson_overlay.c struct drm_plane_state *old_state) old_state 102 drivers/gpu/drm/meson/meson_plane.c struct drm_plane_state *old_state) old_state 324 drivers/gpu/drm/meson/meson_plane.c struct drm_plane_state *old_state) old_state 421 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct drm_crtc_state *old_state) old_state 808 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c struct drm_plane_state *old_state) old_state 813 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (!old_state || !old_state->fb) old_state 816 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c old_pstate = to_dpu_plane_state(old_state); old_state 818 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c DPU_DEBUG_PLANE(pdpu, "FB[%u]\n", old_state->fb->base.id); old_state 820 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c msm_framebuffer_cleanup(old_state->fb, old_pstate->aspace); old_state 1112 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c struct drm_plane_state *old_state) old_state 1177 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c struct dpu_plane_state *old_state; old_state 1187 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c old_state = to_dpu_plane_state(plane->state); old_state 1189 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c pstate = kmemdup(old_state, sizeof(*old_state), GFP_KERNEL); old_state 267 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c struct drm_crtc_state *old_state) old_state 287 drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c struct drm_crtc_state *old_state) old_state 93 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c struct drm_plane_state *old_state) old_state 98 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c struct drm_framebuffer *fb = old_state->fb; old_state 115 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c struct drm_plane_state *old_state) old_state 412 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct drm_crtc_state *old_state) old_state 458 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c struct drm_crtc_state *old_state) old_state 17 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c struct mdp5_hw_pipe_state *old_state, *new_state; old_state 27 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c old_state = &old_global_state->hwpipe; old_state 41 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c old_state->hwpipe_to_plane[cur->idx]) old_state 240 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct drm_plane_state *old_state) old_state 244 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct drm_framebuffer *fb = old_state->fb; old_state 258 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct drm_plane_state *old_state = plane->state; old_state 269 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c plane_enabled(old_state), plane_enabled(state)); old_state 423 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c struct drm_plane_state *old_state) old_state 1278 drivers/gpu/drm/nouveau/dispnv50/disp.c bool old_state, new_state; old_state 1286 drivers/gpu/drm/nouveau/dispnv50/disp.c old_state = mstm->mgr.mst_state; old_state 1287 drivers/gpu/drm/nouveau/dispnv50/disp.c new_state = old_state; old_state 1290 drivers/gpu/drm/nouveau/dispnv50/disp.c if (old_state) { old_state 1308 drivers/gpu/drm/nouveau/dispnv50/disp.c if (new_state == old_state) { old_state 465 drivers/gpu/drm/nouveau/dispnv50/wndw.c nv50_wndw_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) old_state 467 drivers/gpu/drm/nouveau/dispnv50/wndw.c struct nouveau_framebuffer *fb = nouveau_framebuffer(old_state->fb); old_state 470 drivers/gpu/drm/nouveau/dispnv50/wndw.c NV_ATOMIC(drm, "%s cleanup: %p\n", plane->name, old_state->fb); old_state 471 drivers/gpu/drm/nouveau/dispnv50/wndw.c if (!old_state->fb) old_state 439 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc_state *old_state) old_state 464 drivers/gpu/drm/omapdrm/omap_crtc.c struct drm_crtc_state *old_state) old_state 46 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_atomic_state *old_state) old_state 53 drivers/gpu/drm/omapdrm/omap_drv.c for_each_new_crtc_in_state(old_state, crtc, new_crtc_state, i) { old_state 65 drivers/gpu/drm/omapdrm/omap_drv.c static void omap_atomic_commit_tail(struct drm_atomic_state *old_state) old_state 67 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_device *dev = old_state->dev; old_state 73 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 87 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 88 drivers/gpu/drm/omapdrm/omap_drv.c omap_atomic_wait_for_completion(dev, old_state); old_state 90 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_planes(dev, old_state, 0); old_state 92 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_hw_done(old_state); old_state 99 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_planes(dev, old_state, 0); old_state 101 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 103 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_commit_hw_done(old_state); old_state 110 drivers/gpu/drm/omapdrm/omap_drv.c omap_atomic_wait_for_completion(dev, old_state); old_state 112 drivers/gpu/drm/omapdrm/omap_drv.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 36 drivers/gpu/drm/omapdrm/omap_plane.c struct drm_plane_state *old_state) old_state 38 drivers/gpu/drm/omapdrm/omap_plane.c if (old_state->fb) old_state 39 drivers/gpu/drm/omapdrm/omap_plane.c omap_framebuffer_unpin(old_state->fb); old_state 43 drivers/gpu/drm/omapdrm/omap_plane.c struct drm_plane_state *old_state) old_state 87 drivers/gpu/drm/omapdrm/omap_plane.c struct drm_plane_state *old_state) old_state 458 drivers/gpu/drm/qxl/qxl_display.c struct drm_crtc_state *old_state) old_state 464 drivers/gpu/drm/qxl/qxl_display.c struct drm_crtc_state *old_state) old_state 537 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane_state *old_state) old_state 568 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane_state *old_state) old_state 572 drivers/gpu/drm/qxl/qxl_display.c if (old_state->fb) { old_state 573 drivers/gpu/drm/qxl/qxl_display.c struct qxl_bo *bo = gem_to_qxl_bo(old_state->fb->obj[0]); old_state 583 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane_state *old_state) old_state 604 drivers/gpu/drm/qxl/qxl_display.c if (fb != old_state->fb) { old_state 693 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane_state *old_state) old_state 826 drivers/gpu/drm/qxl/qxl_display.c struct drm_plane_state *old_state) old_state 831 drivers/gpu/drm/qxl/qxl_display.c if (!old_state->fb) { old_state 839 drivers/gpu/drm/qxl/qxl_display.c obj = old_state->fb->obj[0]; old_state 843 drivers/gpu/drm/qxl/qxl_display.c if (old_state->fb != plane->state->fb && user_bo->shadow) { old_state 433 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *old_state = rs780_get_ps(old_ps); old_state 436 drivers/gpu/drm/radeon/rs780_dpm.c if ((new_state->sclk_high == old_state->sclk_high) && old_state 437 drivers/gpu/drm/radeon/rs780_dpm.c (new_state->sclk_low == old_state->sclk_low)) old_state 451 drivers/gpu/drm/radeon/rs780_dpm.c old_state->sclk_high, false, ¤t_max_dividers); old_state 480 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *old_state = rs780_get_ps(old_ps); old_state 483 drivers/gpu/drm/radeon/rs780_dpm.c if ((new_state->sclk_high == old_state->sclk_high) && old_state 484 drivers/gpu/drm/radeon/rs780_dpm.c (new_state->sclk_low == old_state->sclk_low)) old_state 499 drivers/gpu/drm/radeon/rs780_dpm.c struct igp_ps *old_state = rs780_get_ps(old_ps); old_state 501 drivers/gpu/drm/radeon/rs780_dpm.c if ((new_state->sclk_high == old_state->sclk_high) && old_state 502 drivers/gpu/drm/radeon/rs780_dpm.c (new_state->sclk_low == old_state->sclk_low)) old_state 1203 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1206 drivers/gpu/drm/radeon/rv6xx_dpm.c safe_voltage = (new_state->low.vddc >= old_state->low.vddc) ? old_state 1207 drivers/gpu/drm/radeon/rv6xx_dpm.c new_state->low.vddc : old_state->low.vddc; old_state 1219 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1222 drivers/gpu/drm/radeon/rv6xx_dpm.c old_state->low.vddc); old_state 1233 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1236 drivers/gpu/drm/radeon/rv6xx_dpm.c (old_state->low.flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE)) old_state 1247 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1250 drivers/gpu/drm/radeon/rv6xx_dpm.c (old_state->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2)) old_state 1309 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1311 drivers/gpu/drm/radeon/rv6xx_dpm.c if (new_state->low.vddc > old_state->low.vddc) old_state 1313 drivers/gpu/drm/radeon/rv6xx_dpm.c old_state->low.vddc, old_state 1324 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1326 drivers/gpu/drm/radeon/rv6xx_dpm.c if (new_state->low.vddc < old_state->low.vddc) old_state 1328 drivers/gpu/drm/radeon/rv6xx_dpm.c old_state->low.vddc, old_state 1422 drivers/gpu/drm/radeon/rv6xx_dpm.c struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); old_state 1426 drivers/gpu/drm/radeon/rv6xx_dpm.c old_state->low.sclk, old_state 664 drivers/gpu/drm/rcar-du/rcar_du_crtc.c struct drm_crtc_state *old_state) old_state 692 drivers/gpu/drm/rcar-du/rcar_du_crtc.c struct drm_crtc_state *old_state) old_state 695 drivers/gpu/drm/rcar-du/rcar_du_crtc.c struct rcar_du_crtc_state *rstate = to_rcar_crtc_state(old_state); old_state 385 drivers/gpu/drm/rcar-du/rcar_du_kms.c static void rcar_du_atomic_commit_tail(struct drm_atomic_state *old_state) old_state 387 drivers/gpu/drm/rcar-du/rcar_du_kms.c struct drm_device *dev = old_state->dev; old_state 399 drivers/gpu/drm/rcar-du/rcar_du_kms.c for_each_new_crtc_in_state(old_state, crtc, crtc_state, i) { old_state 412 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 413 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_commit_planes(dev, old_state, old_state 415 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 417 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_commit_hw_done(old_state); old_state 418 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_wait_for_flip_done(dev, old_state); old_state 420 drivers/gpu/drm/rcar-du/rcar_du_kms.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 50 drivers/gpu/drm/rcar-du/rcar_du_plane.c const struct rcar_du_plane_state *old_state, old_state 58 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (!old_state->format || old_state 59 drivers/gpu/drm/rcar-du/rcar_du_plane.c old_state->format->planes != new_state->format->planes) old_state 63 drivers/gpu/drm/rcar-du/rcar_du_plane.c if (old_state->source != new_state->source) old_state 618 drivers/gpu/drm/rcar-du/rcar_du_plane.c struct drm_plane_state *old_state) old_state 637 drivers/gpu/drm/rcar-du/rcar_du_plane.c old_rstate = to_rcar_plane_state(old_state); old_state 275 drivers/gpu/drm/rcar-du/rcar_du_vsp.c struct drm_plane_state *old_state) old_state 278 drivers/gpu/drm/rcar-du/rcar_du_vsp.c struct rcar_du_crtc *crtc = to_rcar_crtc(old_state->crtc); old_state 548 drivers/gpu/drm/rockchip/rockchip_drm_vop.c static int vop_enable(struct drm_crtc *crtc, struct drm_crtc_state *old_state) old_state 593 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (!old_state || !old_state->self_refresh_active) { old_state 648 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_crtc_state *old_state) old_state 764 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane_state *old_state) old_state 767 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct vop *vop = to_vop(old_state->crtc); old_state 769 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (!old_state->crtc) old_state 780 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_plane_state *old_state) old_state 815 drivers/gpu/drm/rockchip/rockchip_drm_vop.c vop_plane_atomic_disable(plane, old_state); old_state 1083 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_crtc_state *old_state) old_state 1103 drivers/gpu/drm/rockchip/rockchip_drm_vop.c if (old_state && old_state->self_refresh_active) { old_state 1113 drivers/gpu/drm/rockchip/rockchip_drm_vop.c ret = vop_enable(crtc, old_state); old_state 1228 drivers/gpu/drm/rockchip/rockchip_drm_vop.c struct drm_atomic_state *old_state = old_crtc_state->state; old_state 1260 drivers/gpu/drm/rockchip/rockchip_drm_vop.c for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, old_state 76 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 92 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, fb.width << 16, fb.height << 16); old_state 94 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 107 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 123 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x3fffe, 0x3fffe, old_state 127 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 140 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 156 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 159 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 172 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 188 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x3fffe, 0x3fffe, old_state 192 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 205 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 220 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 222 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 234 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 248 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 250 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 262 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 271 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 273 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 285 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 302 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 308 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 321 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 338 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 343 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 356 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 373 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 379 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 392 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 409 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 415 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 427 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 445 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 452 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 465 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 483 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 491 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 504 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 522 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 530 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 542 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 560 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 566 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 579 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 597 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x3fffe, 0x3fffe, old_state 605 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 618 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 635 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 642 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 659 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 676 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 685 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 702 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 719 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0, 0, 1024 << 16, 768 << 16); old_state 726 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 739 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 756 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 765 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 778 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_plane_state old_state; old_state 795 drivers/gpu/drm/selftests/test-drm_damage_helper.c set_plane_src(&old_state, 0x40002, 0x40002, old_state 804 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_helper_damage_iter_init(&iter, &old_state, &state); old_state 26 drivers/gpu/drm/sti/sti_crtc.c struct drm_crtc_state *old_state) old_state 38 drivers/gpu/drm/sti/sti_crtc.c struct drm_crtc_state *old_state) old_state 424 drivers/gpu/drm/stm/ltdc.c struct drm_crtc_state *old_state) old_state 446 drivers/gpu/drm/stm/ltdc.c struct drm_crtc_state *old_state) old_state 475 drivers/gpu/drm/sun4i/sun4i_backend.c struct drm_crtc_state *old_state) old_state 61 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_crtc_state *old_state) old_state 78 drivers/gpu/drm/sun4i/sun4i_crtc.c engine->ops->atomic_begin(engine, old_state); old_state 82 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_crtc_state *old_state) old_state 104 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_crtc_state *old_state) old_state 125 drivers/gpu/drm/sun4i/sun4i_crtc.c struct drm_crtc_state *old_state) old_state 66 drivers/gpu/drm/sun4i/sun4i_layer.c struct drm_plane_state *old_state) old_state 68 drivers/gpu/drm/sun4i/sun4i_layer.c struct sun4i_layer_state *layer_state = state_to_sun4i_layer_state(old_state); old_state 84 drivers/gpu/drm/sun4i/sun4i_layer.c struct drm_plane_state *old_state) old_state 265 drivers/gpu/drm/sun4i/sun8i_ui_layer.c struct drm_plane_state *old_state) old_state 268 drivers/gpu/drm/sun4i/sun8i_ui_layer.c unsigned int old_zpos = old_state->normalized_zpos; old_state 276 drivers/gpu/drm/sun4i/sun8i_ui_layer.c struct drm_plane_state *old_state) old_state 280 drivers/gpu/drm/sun4i/sun8i_ui_layer.c unsigned int old_zpos = old_state->normalized_zpos; old_state 350 drivers/gpu/drm/sun4i/sun8i_vi_layer.c struct drm_plane_state *old_state) old_state 353 drivers/gpu/drm/sun4i/sun8i_vi_layer.c unsigned int old_zpos = old_state->normalized_zpos; old_state 361 drivers/gpu/drm/sun4i/sun8i_vi_layer.c struct drm_plane_state *old_state) old_state 365 drivers/gpu/drm/sun4i/sun8i_vi_layer.c unsigned int old_zpos = old_state->normalized_zpos; old_state 33 drivers/gpu/drm/sun4i/sunxi_engine.h struct drm_crtc_state *old_state); old_state 669 drivers/gpu/drm/tegra/dc.c struct drm_plane_state *old_state) old_state 675 drivers/gpu/drm/tegra/dc.c if (!old_state || !old_state->crtc) old_state 684 drivers/gpu/drm/tegra/dc.c struct drm_plane_state *old_state) old_state 697 drivers/gpu/drm/tegra/dc.c return tegra_plane_atomic_disable(plane, old_state); old_state 838 drivers/gpu/drm/tegra/dc.c struct drm_plane_state *old_state) old_state 900 drivers/gpu/drm/tegra/dc.c struct drm_plane_state *old_state) old_state 906 drivers/gpu/drm/tegra/dc.c if (!old_state || !old_state->crtc) old_state 909 drivers/gpu/drm/tegra/dc.c dc = to_tegra_dc(old_state->crtc); old_state 1724 drivers/gpu/drm/tegra/dc.c struct drm_crtc_state *old_state) old_state 1778 drivers/gpu/drm/tegra/dc.c struct drm_crtc_state *old_state) old_state 66 drivers/gpu/drm/tegra/drm.c static void tegra_atomic_commit_tail(struct drm_atomic_state *old_state) old_state 68 drivers/gpu/drm/tegra/drm.c struct drm_device *drm = old_state->dev; old_state 72 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_commit_modeset_disables(drm, old_state); old_state 73 drivers/gpu/drm/tegra/drm.c tegra_display_hub_atomic_commit(drm, old_state); old_state 74 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_commit_planes(drm, old_state, 0); old_state 75 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_commit_modeset_enables(drm, old_state); old_state 76 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_commit_hw_done(old_state); old_state 77 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_wait_for_vblanks(drm, old_state); old_state 78 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_cleanup_planes(drm, old_state); old_state 80 drivers/gpu/drm/tegra/drm.c drm_atomic_helper_commit_tail_rpm(old_state); old_state 377 drivers/gpu/drm/tegra/hub.c struct drm_plane_state *old_state) old_state 384 drivers/gpu/drm/tegra/hub.c if (!old_state || !old_state->crtc) old_state 387 drivers/gpu/drm/tegra/hub.c dc = to_tegra_dc(old_state->crtc); old_state 409 drivers/gpu/drm/tegra/hub.c struct drm_plane_state *old_state) old_state 425 drivers/gpu/drm/tegra/hub.c tegra_shared_plane_atomic_disable(plane, old_state); old_state 487 drivers/gpu/drm/tilcdc/tilcdc_crtc.c struct drm_crtc_state *old_state) old_state 535 drivers/gpu/drm/tilcdc/tilcdc_crtc.c struct drm_crtc_state *old_state) old_state 27 drivers/gpu/drm/tilcdc/tilcdc_plane.c struct drm_plane_state *old_state = plane->state; old_state 65 drivers/gpu/drm/tilcdc/tilcdc_plane.c if (state->fb && old_state->fb && old_state 66 drivers/gpu/drm/tilcdc/tilcdc_plane.c state->fb->format != old_state->fb->format) { old_state 77 drivers/gpu/drm/tilcdc/tilcdc_plane.c struct drm_plane_state *old_state) old_state 610 drivers/gpu/drm/tiny/gm12u320.c struct drm_plane_state *old_state) old_state 616 drivers/gpu/drm/tiny/gm12u320.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 165 drivers/gpu/drm/tiny/ili9225.c struct drm_plane_state *old_state) old_state 171 drivers/gpu/drm/tiny/ili9225.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 856 drivers/gpu/drm/tiny/repaper.c struct drm_plane_state *old_state) old_state 862 drivers/gpu/drm/tiny/repaper.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 159 drivers/gpu/drm/tiny/st7586.c struct drm_plane_state *old_state) old_state 165 drivers/gpu/drm/tiny/st7586.c if (drm_atomic_helper_damage_merged(old_state, state, &rect)) old_state 282 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 293 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 295 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_crtc *crtc = old_state->crtc; old_state 298 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc_set_base_and_mode(crtc, old_state->fb, old_state 299 drivers/gpu/drm/vboxvideo/vbox_mode.c old_state->src_x >> 16, old_state 300 drivers/gpu/drm/vboxvideo/vbox_mode.c old_state->src_y >> 16); old_state 321 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 325 drivers/gpu/drm/vboxvideo/vbox_mode.c if (!old_state->fb) old_state 328 drivers/gpu/drm/vboxvideo/vbox_mode.c gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(old_state->fb)->obj); old_state 383 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 401 drivers/gpu/drm/vboxvideo/vbox_mode.c if (fb == old_state->fb) old_state 438 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 442 drivers/gpu/drm/vboxvideo/vbox_mode.c struct vbox_crtc *vbox_crtc = to_vbox_crtc(old_state->crtc); old_state 475 drivers/gpu/drm/vboxvideo/vbox_mode.c struct drm_plane_state *old_state) old_state 453 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_crtc_state *old_state) old_state 546 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_crtc_state *old_state) old_state 683 drivers/gpu/drm/vc4/vc4_crtc.c struct drm_crtc_state *old_state) old_state 740 drivers/gpu/drm/vc4/vc4_crtc.c if (crtc->state->active && old_state->active) old_state 959 drivers/gpu/drm/vc4/vc4_plane.c struct drm_plane_state *old_state) old_state 94 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_crtc_state *old_state) old_state 102 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_crtc_state *old_state) old_state 119 drivers/gpu/drm/virtio/virtgpu_display.c struct drm_crtc_state *old_state) old_state 91 drivers/gpu/drm/virtio/virtgpu_plane.c struct drm_plane_state *old_state) old_state 102 drivers/gpu/drm/virtio/virtgpu_plane.c if (old_state->crtc) old_state 103 drivers/gpu/drm/virtio/virtgpu_plane.c output = drm_crtc_to_virtio_gpu_output(old_state->crtc); old_state 166 drivers/gpu/drm/virtio/virtgpu_plane.c struct drm_plane_state *old_state) old_state 181 drivers/gpu/drm/virtio/virtgpu_plane.c struct drm_plane_state *old_state) old_state 193 drivers/gpu/drm/virtio/virtgpu_plane.c if (old_state->crtc) old_state 194 drivers/gpu/drm/virtio/virtgpu_plane.c output = drm_crtc_to_virtio_gpu_output(old_state->crtc); old_state 206 drivers/gpu/drm/virtio/virtgpu_plane.c if (bo && bo->dumb && (plane->state->fb != old_state->fb)) { old_state 224 drivers/gpu/drm/virtio/virtgpu_plane.c if (plane->state->fb != old_state->fb) { old_state 210 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_crtc_state *old_state) old_state 216 drivers/gpu/drm/vkms/vkms_crtc.c struct drm_crtc_state *old_state) old_state 69 drivers/gpu/drm/vkms/vkms_drv.c static void vkms_atomic_commit_tail(struct drm_atomic_state *old_state) old_state 71 drivers/gpu/drm/vkms/vkms_drv.c struct drm_device *dev = old_state->dev; old_state 76 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_commit_modeset_disables(dev, old_state); old_state 78 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_commit_planes(dev, old_state, 0); old_state 80 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_commit_modeset_enables(dev, old_state); old_state 82 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_fake_vblank(old_state); old_state 84 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_commit_hw_done(old_state); old_state 86 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_wait_for_vblanks(dev, old_state); old_state 88 drivers/gpu/drm/vkms/vkms_drv.c for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { old_state 95 drivers/gpu/drm/vkms/vkms_drv.c drm_atomic_helper_cleanup_planes(dev, old_state); old_state 45 drivers/gpu/drm/vkms/vkms_plane.c struct drm_plane_state *old_state) old_state 47 drivers/gpu/drm/vkms/vkms_plane.c struct vkms_plane_state *vkms_state = to_vkms_plane_state(old_state); old_state 61 drivers/gpu/drm/vkms/vkms_plane.c __drm_atomic_helper_plane_destroy_state(old_state); old_state 92 drivers/gpu/drm/vkms/vkms_plane.c struct drm_plane_state *old_state) old_state 162 drivers/gpu/drm/vkms/vkms_plane.c struct drm_plane_state *old_state) old_state 166 drivers/gpu/drm/vkms/vkms_plane.c if (!old_state->fb) old_state 169 drivers/gpu/drm/vkms/vkms_plane.c gem_obj = drm_gem_fb_get_obj(old_state->fb, 0); old_state 331 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_plane_state *old_state) old_state 333 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state); old_state 377 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_plane_state *old_state) old_state 379 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_crtc *crtc = plane->state->crtc ?: old_state->crtc; old_state 2797 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_plane_state *old_state = update->old_state; old_state 2814 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_atomic_helper_damage_iter_init(&iter, old_state, state); old_state 2869 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_atomic_helper_damage_iter_init(&iter, old_state, state); old_state 122 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_plane_state *old_state; old_state 463 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_plane_state *old_state); old_state 467 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_plane_state *old_state); old_state 218 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_crtc_state *old_state) old_state 228 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_crtc_state *old_state) old_state 284 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_plane_state *old_state) old_state 290 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c struct drm_crtc *crtc = plane->state->crtc ?: old_state->crtc; old_state 282 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_crtc_state *old_state) old_state 292 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_crtc_state *old_state) old_state 379 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane_state *old_state) old_state 381 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state); old_state 383 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c plane->state->crtc : old_state->crtc; old_state 390 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c vmw_du_plane_cleanup_fb(plane, old_state); old_state 539 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane_state *old_state, old_state 547 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c bo_update.base.old_state = old_state; old_state 700 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane_state *old_state, old_state 708 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c srf_update.base.old_state = old_state; old_state 728 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c struct drm_plane_state *old_state) old_state 743 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c old_state, vfb, &fence); old_state 746 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c old_state, vfb, old_state 411 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_crtc_state *old_state) old_state 416 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_crtc_state *old_state) old_state 1004 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane_state *old_state) old_state 1006 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct vmw_plane_state *vps = vmw_plane_state_to_vps(old_state); old_state 1011 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c vmw_du_plane_cleanup_fb(plane, old_state); old_state 1364 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane_state *old_state, old_state 1372 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c bo_update.base.old_state = old_state; old_state 1439 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane_state *old_state = update->old_state; old_state 1451 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_atomic_helper_damage_iter_init(&iter, old_state, state); old_state 1539 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane_state *old_state, old_state 1552 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c srf_update.old_state = old_state; old_state 1590 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_plane_state *old_state) old_state 1617 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c old_state, vfb, &fence); old_state 1620 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c old_state, vfb, old_state 1625 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c crtc = old_state->crtc; old_state 182 drivers/gpu/drm/zte/zx_plane.c struct drm_plane_state *old_state) old_state 260 drivers/gpu/drm/zte/zx_plane.c struct drm_plane_state *old_state) old_state 265 drivers/gpu/drm/zte/zx_plane.c zx_vou_layer_disable(plane, old_state); old_state 350 drivers/gpu/drm/zte/zx_plane.c struct drm_plane_state *old_state) old_state 353 drivers/gpu/drm/zte/zx_vou.c struct drm_crtc_state *old_state) old_state 458 drivers/gpu/drm/zte/zx_vou.c struct drm_crtc_state *old_state) old_state 476 drivers/gpu/drm/zte/zx_vou.c struct drm_crtc_state *old_state) old_state 630 drivers/gpu/drm/zte/zx_vou.c struct drm_plane_state *old_state) old_state 632 drivers/gpu/drm/zte/zx_vou.c struct zx_crtc *zcrtc = to_zx_crtc(old_state->crtc); old_state 62 drivers/gpu/drm/zte/zx_vou.h struct drm_plane_state *old_state); old_state 915 drivers/hsi/clients/cmt_speech.c static void cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) old_state 917 drivers/hsi/clients/cmt_speech.c if (old_state == CS_STATE_CONFIGURED) { old_state 928 drivers/hsi/clients/cmt_speech.c unsigned int old_state = hi->iface_state; old_state 932 drivers/hsi/clients/cmt_speech.c if (old_state == CS_STATE_CONFIGURED) old_state 962 drivers/hsi/clients/cmt_speech.c cs_hsi_data_disable(hi, old_state); old_state 966 drivers/hsi/clients/cmt_speech.c if (old_state != hi->iface_state) { old_state 974 drivers/hsi/clients/cmt_speech.c } else if (old_state == CS_STATE_CONFIGURED) { old_state 376 drivers/infiniband/core/cma.c enum rdma_cm_state old_state; old_state 2565 drivers/infiniband/core/cma.c work->old_state = RDMA_CM_ROUTE_QUERY; old_state 2636 drivers/infiniband/core/cma.c if (!cma_comp_exch(id_priv, work->old_state, work->new_state)) old_state 2680 drivers/infiniband/core/cma.c work->old_state = RDMA_CM_ROUTE_QUERY; old_state 2690 drivers/infiniband/core/cma.c work->old_state = RDMA_CM_ADDR_QUERY; old_state 1852 drivers/infiniband/hw/i40iw/i40iw_cm.c enum i40iw_cm_node_state old_state; old_state 1884 drivers/infiniband/hw/i40iw/i40iw_cm.c old_state = cm_node->state; old_state 1886 drivers/infiniband/hw/i40iw/i40iw_cm.c if (old_state != I40IW_CM_STATE_MPAREQ_RCVD) old_state 396 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c enum ib_qp_state old_state; old_state 400 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c old_state = qp_grp->state; old_state 406 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c switch (old_state) { old_state 425 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c switch (old_state) { old_state 468 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c switch (old_state) { old_state 477 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c switch (old_state) { old_state 490 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c switch (old_state) { old_state 520 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_ib_qp_grp_state_to_string(old_state), old_state 525 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c usnic_ib_qp_grp_state_to_string(old_state), old_state 162 drivers/input/keyboard/cros_ec_keyb.c int old_state; old_state 180 drivers/input/keyboard/cros_ec_keyb.c old_state = ckdev->old_kb_state[col] & (1 << row); old_state 181 drivers/input/keyboard/cros_ec_keyb.c if (new_state != old_state) { old_state 172 drivers/input/keyboard/pmic8xxx-keypad.c u16 *old_state) old_state 184 drivers/input/keyboard/pmic8xxx-keypad.c if (old_state) { old_state 185 drivers/input/keyboard/pmic8xxx-keypad.c rc = pmic8xxx_kp_read_data(kp, old_state, KEYP_OLD_DATA, old_state 220 drivers/input/keyboard/pmic8xxx-keypad.c u16 *old_state) old_state 225 drivers/input/keyboard/pmic8xxx-keypad.c int bits_changed = new_state[row] ^ old_state[row]; old_state 277 drivers/input/keyboard/pmic8xxx-keypad.c u16 old_state[PM8XXX_MAX_ROWS]; old_state 293 drivers/input/keyboard/pmic8xxx-keypad.c rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); old_state 297 drivers/input/keyboard/pmic8xxx-keypad.c __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); old_state 298 drivers/input/keyboard/pmic8xxx-keypad.c __pmic8xxx_kp_scan_matrix(kp, new_state, old_state); old_state 303 drivers/input/keyboard/pmic8xxx-keypad.c rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); old_state 306 drivers/input/keyboard/pmic8xxx-keypad.c __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); old_state 307 drivers/input/keyboard/pmic8xxx-keypad.c __pmic8xxx_kp_scan_matrix(kp, new_state, old_state); old_state 330 drivers/input/keyboard/pmic8xxx-keypad.c u16 old_state[PM8XXX_MAX_ROWS]; old_state 334 drivers/input/keyboard/pmic8xxx-keypad.c rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); old_state 289 drivers/input/misc/uinput.c enum uinput_state old_state = udev->state; old_state 296 drivers/input/misc/uinput.c if (old_state == UIST_CREATED) { old_state 104 drivers/input/mouse/cypress_ps2.c enum psmouse_state old_state; old_state 109 drivers/input/mouse/cypress_ps2.c old_state = psmouse->state; old_state 130 drivers/input/mouse/cypress_ps2.c psmouse->state = old_state; old_state 781 drivers/media/dvb-frontends/stb0899_drv.c u8 reg, old_state; old_state 788 drivers/media/dvb-frontends/stb0899_drv.c old_state = reg; old_state 811 drivers/media/dvb-frontends/stb0899_drv.c stb0899_write_reg(state, STB0899_DISCNTRL1, old_state); old_state 86 drivers/mtd/tests/pagetest.c struct rnd_state old_state = rnd_state; old_state 106 drivers/mtd/tests/pagetest.c rnd_state = old_state; old_state 1250 drivers/net/can/kvaser_pciefd.c enum can_state old_state, new_state, tx_state, rx_state; old_state 1257 drivers/net/can/kvaser_pciefd.c old_state = can->can.state; old_state 1267 drivers/net/can/kvaser_pciefd.c if (new_state != old_state) { old_state 1271 drivers/net/can/kvaser_pciefd.c if (old_state == CAN_STATE_BUS_OFF && old_state 1332 drivers/net/can/kvaser_pciefd.c enum can_state old_state, new_state, tx_state, rx_state; old_state 1334 drivers/net/can/kvaser_pciefd.c old_state = can->can.state; old_state 1342 drivers/net/can/kvaser_pciefd.c if (new_state != old_state) { old_state 1359 drivers/net/can/kvaser_pciefd.c if (old_state == CAN_STATE_BUS_OFF && old_state 210 drivers/net/can/usb/esd_usb2.c u8 old_state; old_state 234 drivers/net/can/usb/esd_usb2.c if (state != priv->old_state) { old_state 235 drivers/net/can/usb/esd_usb2.c priv->old_state = state; old_state 847 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state new_state, old_state; old_state 849 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c old_state = priv->can.state; old_state 854 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (new_state == old_state) old_state 861 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (old_state == CAN_STATE_STOPPED && new_state == CAN_STATE_BUS_OFF) old_state 875 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (new_state == CAN_STATE_BUS_OFF && old_state < CAN_STATE_BUS_OFF) { old_state 889 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c old_state >= CAN_STATE_BUS_OFF && old_state 996 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c enum can_state new_state, old_state; old_state 1006 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c old_state = priv->can.state; old_state 1012 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (new_state != old_state) { old_state 1024 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c old_state >= CAN_STATE_BUS_OFF && old_state 701 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c enum can_state old_state, new_state; old_state 722 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c old_state = priv->can.state; old_state 733 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c if (new_state != old_state) { old_state 743 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c old_state >= CAN_STATE_BUS_OFF && old_state 943 drivers/net/can/xilinx_can.c enum can_state old_state = priv->can.state; old_state 949 drivers/net/can/xilinx_can.c if (old_state != CAN_STATE_ERROR_WARNING && old_state 950 drivers/net/can/xilinx_can.c old_state != CAN_STATE_ERROR_PASSIVE) old_state 955 drivers/net/can/xilinx_can.c if (new_state != old_state) { old_state 1471 drivers/net/ethernet/sfc/falcon/falcon.c struct ef4_link_state old_state = efx->link_state; old_state 1481 drivers/net/ethernet/sfc/falcon/falcon.c return !ef4_link_state_equal(&efx->link_state, &old_state); old_state 354 drivers/net/ethernet/sfc/falcon/tenxpress.c struct ef4_link_state old_state = efx->link_state; old_state 363 drivers/net/ethernet/sfc/falcon/tenxpress.c return !ef4_link_state_equal(&efx->link_state, &old_state); old_state 560 drivers/net/ethernet/sfc/mcdi_port.c struct efx_link_state old_state = efx->link_state; old_state 579 drivers/net/ethernet/sfc/mcdi_port.c return !efx_link_state_equal(&efx->link_state, &old_state); old_state 900 drivers/net/phy/phy.c enum phy_state old_state; old_state 905 drivers/net/phy/phy.c old_state = phydev->state; old_state 938 drivers/net/phy/phy.c if (old_state != phydev->state) { old_state 940 drivers/net/phy/phy.c phy_state_to_str(old_state), old_state 2774 drivers/net/usb/lan78xx.c enum skb_state old_state; old_state 2778 drivers/net/usb/lan78xx.c old_state = entry->state; old_state 2790 drivers/net/usb/lan78xx.c return old_state; old_state 427 drivers/net/usb/usbnet.c enum skb_state old_state; old_state 431 drivers/net/usb/usbnet.c old_state = entry->state; old_state 446 drivers/net/usb/usbnet.c return old_state; old_state 304 drivers/net/wan/hdlc_ppp.c int old_state, action; old_state 308 drivers/net/wan/hdlc_ppp.c old_state = proto->state; old_state 309 drivers/net/wan/hdlc_ppp.c BUG_ON(old_state >= STATES); old_state 317 drivers/net/wan/hdlc_ppp.c action = cp_table[event][old_state]; old_state 343 drivers/net/wan/hdlc_ppp.c if (old_state != OPENED && proto->state == OPENED) { old_state 354 drivers/net/wan/hdlc_ppp.c if (old_state == OPENED && proto->state != OPENED) { old_state 362 drivers/net/wan/hdlc_ppp.c if (old_state != CLOSED && proto->state == CLOSED) old_state 6454 drivers/net/wireless/ath/ath10k/mac.c enum ieee80211_sta_state old_state, old_state 6464 drivers/net/wireless/ath/ath10k/mac.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 6476 drivers/net/wireless/ath/ath10k/mac.c if ((old_state == IEEE80211_STA_NONE && old_state 6482 drivers/net/wireless/ath/ath10k/mac.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 6584 drivers/net/wireless/ath/ath10k/mac.c } else if ((old_state == IEEE80211_STA_NONE && old_state 6653 drivers/net/wireless/ath/ath10k/mac.c } else if (old_state == IEEE80211_STA_AUTH && old_state 6668 drivers/net/wireless/ath/ath10k/mac.c } else if (old_state == IEEE80211_STA_ASSOC && old_state 6689 drivers/net/wireless/ath/ath10k/mac.c } else if (old_state == IEEE80211_STA_ASSOC && old_state 1564 drivers/net/wireless/ath/ath9k/main.c enum ieee80211_sta_state old_state, old_state 1571 drivers/net/wireless/ath/ath9k/main.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 1576 drivers/net/wireless/ath/ath9k/main.c } else if (old_state == IEEE80211_STA_NONE && old_state 1585 drivers/net/wireless/ath/ath9k/main.c if (old_state == IEEE80211_STA_ASSOC && old_state 2706 drivers/net/wireless/atmel/atmel.c int old_state = priv->station_state; old_state 2708 drivers/net/wireless/atmel/atmel.c if (new_state == old_state) old_state 2718 drivers/net/wireless/atmel/atmel.c if (old_state == STATION_STATE_READY) { old_state 3860 drivers/net/wireless/atmel/atmel.c int old_state = priv->station_state; old_state 4022 drivers/net/wireless/atmel/atmel.c if (old_state == STATION_STATE_READY) { old_state 840 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c enum ieee80211_sta_state old_state, old_state 851 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c sta->addr, old_state, new_state); old_state 855 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 858 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c else if (old_state == IEEE80211_STA_NONE && old_state 861 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c else if (old_state == IEEE80211_STA_AUTH && old_state 865 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c if (old_state == IEEE80211_STA_AUTH && old_state 868 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c else if (old_state == IEEE80211_STA_ASSOC && old_state 249 drivers/net/wireless/intel/iwlwifi/dvm/tt.c enum iwl_tt_state old_state; old_state 261 drivers/net/wireless/intel/iwlwifi/dvm/tt.c old_state = tt->state; old_state 277 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (tt->state != old_state) { old_state 297 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state == IWL_TI_CT_KILL) old_state 304 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state == IWL_TI_CT_KILL) old_state 306 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->state = old_state; old_state 316 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->state = old_state; old_state 318 drivers/net/wireless/intel/iwlwifi/dvm/tt.c } else if (old_state == IWL_TI_CT_KILL) { old_state 356 drivers/net/wireless/intel/iwlwifi/dvm/tt.c enum iwl_tt_state old_state; old_state 359 drivers/net/wireless/intel/iwlwifi/dvm/tt.c old_state = tt->state; old_state 372 drivers/net/wireless/intel/iwlwifi/dvm/tt.c ((old_state * (IWL_TI_STATE_MAX - 1)) + i); old_state 387 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state != old_state 437 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state == IWL_TI_CT_KILL) old_state 446 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state == IWL_TI_CT_KILL) old_state 448 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->state = old_state; old_state 453 drivers/net/wireless/intel/iwlwifi/dvm/tt.c if (old_state != IWL_TI_CT_KILL && old_state 461 drivers/net/wireless/intel/iwlwifi/dvm/tt.c tt->state = old_state; old_state 464 drivers/net/wireless/intel/iwlwifi/dvm/tt.c } else if (old_state == IWL_TI_CT_KILL && old_state 3013 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c enum ieee80211_sta_state old_state, old_state 3022 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c sta->addr, old_state, new_state); old_state 3041 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (old_state == IEEE80211_STA_NONE && old_state 3055 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 3091 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_NONE && old_state 3100 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_AUTH && old_state 3122 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_ASSOC && old_state 3146 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_AUTHORIZED && old_state 3157 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_ASSOC && old_state 3164 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_AUTH && old_state 3167 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c } else if (old_state == IEEE80211_STA_NONE && old_state 3187 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 3190 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c else if (old_state == IEEE80211_STA_NONE && old_state 3094 drivers/net/wireless/intel/iwlwifi/mvm/sta.c enum iwl_mvm_agg_state old_state; old_state 3104 drivers/net/wireless/intel/iwlwifi/mvm/sta.c old_state = tid_data->state; old_state 3111 drivers/net/wireless/intel/iwlwifi/mvm/sta.c if (old_state >= IWL_AGG_ON) { old_state 450 drivers/net/wireless/intersil/prism54/islpci_dev.c islpci_state_t old_state; old_state 453 drivers/net/wireless/intersil/prism54/islpci_dev.c old_state = islpci_set_state(priv, PRV_STATE_BOOT); old_state 463 drivers/net/wireless/intersil/prism54/islpci_dev.c islpci_set_state(priv, old_state); old_state 913 drivers/net/wireless/intersil/prism54/islpci_dev.c islpci_state_t old_state; old_state 916 drivers/net/wireless/intersil/prism54/islpci_dev.c old_state = priv->state; old_state 931 drivers/net/wireless/intersil/prism54/islpci_dev.c if (old_state == PRV_STATE_OFF) old_state 943 drivers/net/wireless/intersil/prism54/islpci_dev.c priv->ndev->name, old_state, new_state, priv->state_off); old_state 952 drivers/net/wireless/intersil/prism54/islpci_dev.c return old_state; old_state 729 drivers/net/wireless/mediatek/mt76/mac80211.c enum ieee80211_sta_state old_state, old_state 734 drivers/net/wireless/mediatek/mt76/mac80211.c if (old_state == IEEE80211_STA_NOTEXIST && old_state 738 drivers/net/wireless/mediatek/mt76/mac80211.c if (old_state == IEEE80211_STA_AUTH && old_state 743 drivers/net/wireless/mediatek/mt76/mac80211.c if (old_state == IEEE80211_STA_NONE && old_state 749 drivers/net/wireless/mediatek/mt76/mt76.h enum ieee80211_sta_state old_state, old_state 5181 drivers/net/wireless/ti/wlcore/main.c enum ieee80211_sta_state old_state, old_state 5193 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_NOTEXIST && old_state 5204 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_NONE && old_state 5242 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_AUTHORIZED && old_state 5250 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_ASSOC && old_state 5258 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_AUTH && old_state 5272 drivers/net/wireless/ti/wlcore/main.c old_state == IEEE80211_STA_NOTEXIST && old_state 5287 drivers/net/wireless/ti/wlcore/main.c enum ieee80211_sta_state old_state, old_state 5295 drivers/net/wireless/ti/wlcore/main.c sta->aid, old_state, new_state); old_state 5310 drivers/net/wireless/ti/wlcore/main.c ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state); old_state 5316 drivers/net/wireless/ti/wlcore/main.c if (new_state < old_state) old_state 326 drivers/nvme/host/core.c enum nvme_ctrl_state old_state; old_state 332 drivers/nvme/host/core.c old_state = ctrl->state; old_state 335 drivers/nvme/host/core.c switch (old_state) { old_state 346 drivers/nvme/host/core.c switch (old_state) { old_state 356 drivers/nvme/host/core.c switch (old_state) { old_state 366 drivers/nvme/host/core.c switch (old_state) { old_state 377 drivers/nvme/host/core.c switch (old_state) { old_state 1240 drivers/pinctrl/core.c struct pinctrl_state *old_state = p->state; old_state 1305 drivers/pinctrl/core.c if (old_state) old_state 1306 drivers/pinctrl/core.c pinctrl_select_state(p, old_state); old_state 603 drivers/power/supply/bq24257_charger.c struct bq24257_state old_state; old_state 606 drivers/power/supply/bq24257_charger.c old_state = bq->state; old_state 630 drivers/power/supply/bq24257_charger.c } else if (!old_state.power_good) { old_state 508 drivers/power/supply/bq25890_charger.c struct bq25890_state old_state; old_state 511 drivers/power/supply/bq25890_charger.c old_state = bq->state; old_state 514 drivers/power/supply/bq25890_charger.c return (old_state.chrg_status != new_state->chrg_status || old_state 515 drivers/power/supply/bq25890_charger.c old_state.chrg_fault != new_state->chrg_fault || old_state 516 drivers/power/supply/bq25890_charger.c old_state.online != new_state->online || old_state 517 drivers/power/supply/bq25890_charger.c old_state.bat_fault != new_state->bat_fault || old_state 518 drivers/power/supply/bq25890_charger.c old_state.boost_fault != new_state->boost_fault || old_state 519 drivers/power/supply/bq25890_charger.c old_state.vsys_status != new_state->vsys_status); old_state 526 drivers/power/supply/bq25890_charger.c struct bq25890_state old_state; old_state 529 drivers/power/supply/bq25890_charger.c old_state = bq->state; old_state 537 drivers/power/supply/bq25890_charger.c } else if (!old_state.online) { /* power inserted */ old_state 51 drivers/rtc/rtc-bd70528.c int enable, int *old_state) old_state 60 drivers/rtc/rtc-bd70528.c if (old_state) { old_state 62 drivers/rtc/rtc-bd70528.c *old_state |= BD70528_WAKE_STATE_BIT; old_state 64 drivers/rtc/rtc-bd70528.c *old_state &= ~BD70528_WAKE_STATE_BIT; old_state 66 drivers/rtc/rtc-bd70528.c if (!enable == !(*old_state & BD70528_WAKE_STATE_BIT)) old_state 80 drivers/rtc/rtc-bd70528.c int enable, int *old_state) old_state 102 drivers/rtc/rtc-bd70528.c if (old_state) { old_state 104 drivers/rtc/rtc-bd70528.c *old_state |= BD70528_ELAPSED_STATE_BIT; old_state 106 drivers/rtc/rtc-bd70528.c *old_state &= ~BD70528_ELAPSED_STATE_BIT; old_state 108 drivers/rtc/rtc-bd70528.c if ((!enable) == (!(*old_state & BD70528_ELAPSED_STATE_BIT))) old_state 122 drivers/rtc/rtc-bd70528.c int *old_state) old_state 127 drivers/rtc/rtc-bd70528.c old_state); old_state 135 drivers/rtc/rtc-bd70528.c old_state); old_state 142 drivers/rtc/rtc-bd70528.c old_state); old_state 153 drivers/rtc/rtc-bd70528.c int old_state) old_state 155 drivers/rtc/rtc-bd70528.c return bd70528_set_rtc_based_timers(r, old_state, NULL); old_state 159 drivers/rtc/rtc-bd70528.c int *old_state) old_state 161 drivers/rtc/rtc-bd70528.c return bd70528_set_rtc_based_timers(r, 0, old_state); old_state 404 drivers/scsi/be2iscsi/be_cmds.c u8 evt_type, state, old_state, le; old_state 421 drivers/scsi/be2iscsi/be_cmds.c old_state = phba->optic_state; old_state 446 drivers/scsi/be2iscsi/be_cmds.c if (old_state != phba->optic_state) old_state 2643 drivers/scsi/bnx2i/bnx2i_hwi.c u32 old_state = ep->state; old_state 2646 drivers/scsi/bnx2i/bnx2i_hwi.c if (old_state == EP_STATE_DISCONN_START) old_state 686 drivers/scsi/dpt_i2o.c int old_state; old_state 703 drivers/scsi/dpt_i2o.c old_state = d->state; old_state 706 drivers/scsi/dpt_i2o.c d->state = old_state; old_state 1224 drivers/scsi/fnic/fnic_fcs.c enum fnic_state old_state; old_state 1229 drivers/scsi/fnic/fnic_fcs.c old_state = fnic->state; old_state 1230 drivers/scsi/fnic/fnic_fcs.c switch (old_state) { old_state 1243 drivers/scsi/fnic/fnic_fcs.c fnic->state = old_state; old_state 2668 drivers/scsi/fnic/fnic_scsi.c enum fnic_state old_state; old_state 2683 drivers/scsi/fnic/fnic_scsi.c old_state = fnic->state; old_state 2692 drivers/scsi/fnic/fnic_scsi.c fnic->state = old_state; old_state 2718 drivers/scsi/fnic/fnic_scsi.c enum fnic_state old_state; old_state 2730 drivers/scsi/fnic/fnic_scsi.c old_state = fnic->state; old_state 2738 drivers/scsi/fnic/fnic_scsi.c fnic->state = old_state; old_state 298 drivers/scsi/isci/port.c enum sci_port_states old_state = sm->current_state_id; old_state 300 drivers/scsi/isci/port.c if (is_port_ready_state(old_state) && !is_port_ready_state(state)) old_state 4262 drivers/scsi/lpfc/lpfc_hbadisc.c int old_state, int new_state) old_state 4276 drivers/scsi/lpfc/lpfc_hbadisc.c if ((old_state == NLP_STE_MAPPED_NODE || old_state 4277 drivers/scsi/lpfc/lpfc_hbadisc.c old_state == NLP_STE_UNMAPPED_NODE)) { old_state 4393 drivers/scsi/lpfc/lpfc_hbadisc.c int old_state = ndlp->nlp_state; old_state 4399 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_nlp_state_name(name1, sizeof(name1), old_state), old_state 4404 drivers/scsi/lpfc/lpfc_hbadisc.c ndlp->nlp_DID, old_state, state); old_state 4406 drivers/scsi/lpfc/lpfc_hbadisc.c if (old_state == NLP_STE_NPR_NODE && old_state 4409 drivers/scsi/lpfc/lpfc_hbadisc.c if (old_state == NLP_STE_UNMAPPED_NODE) { old_state 4418 drivers/scsi/lpfc/lpfc_hbadisc.c } else if (old_state) old_state 4419 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_nlp_counters(vport, old_state, -1); old_state 4423 drivers/scsi/lpfc/lpfc_hbadisc.c lpfc_nlp_state_cleanup(vport, ndlp, old_state, state); old_state 4805 drivers/scsi/qla2xxx/qla_init.c int old_state; old_state 4807 drivers/scsi/qla2xxx/qla_init.c old_state = atomic_read(&fcport->state); old_state 4811 drivers/scsi/qla2xxx/qla_init.c if (old_state && old_state != state) { old_state 4814 drivers/scsi/qla2xxx/qla_init.c fcport->port_name, port_state_str[old_state], old_state 335 drivers/scsi/scsi_transport_srp.c enum srp_rport_state old_state = rport->state; old_state 341 drivers/scsi/scsi_transport_srp.c switch (old_state) { old_state 349 drivers/scsi/scsi_transport_srp.c switch (old_state) { old_state 357 drivers/scsi/scsi_transport_srp.c switch (old_state) { old_state 82 drivers/staging/iio/cdc/ad7150.c int old_state; old_state 500 drivers/staging/iio/cdc/ad7150.c !(chip->old_state & AD7150_STATUS_OUT1)) old_state 508 drivers/staging/iio/cdc/ad7150.c (chip->old_state & AD7150_STATUS_OUT1)) old_state 517 drivers/staging/iio/cdc/ad7150.c !(chip->old_state & AD7150_STATUS_OUT2)) old_state 525 drivers/staging/iio/cdc/ad7150.c (chip->old_state & AD7150_STATUS_OUT2)) old_state 533 drivers/staging/iio/cdc/ad7150.c chip->old_state = int_status; old_state 304 drivers/staging/isdn/gigaset/bas-gigaset.c static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, old_state 599 drivers/staging/isdn/gigaset/gigaset.h int (*set_modem_ctrl)(struct cardstate *cs, unsigned old_state, old_state 416 drivers/staging/isdn/gigaset/ser-gigaset.c static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, old_state 426 drivers/staging/isdn/gigaset/ser-gigaset.c set = new_state & ~old_state; old_state 427 drivers/staging/isdn/gigaset/ser-gigaset.c clear = old_state & ~new_state; old_state 151 drivers/staging/isdn/gigaset/usb-gigaset.c static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, old_state 158 drivers/staging/isdn/gigaset/usb-gigaset.c mask = tiocm_to_gigaset(old_state ^ new_state); old_state 267 drivers/target/iscsi/iscsi_target_tpg.c u8 old_state = tpg->tpg_state; old_state 277 drivers/target/iscsi/iscsi_target_tpg.c tpg->tpg_state = old_state; old_state 355 drivers/target/iscsi/iscsi_target_tpg.c u8 old_state = tpg->tpg_state; old_state 371 drivers/target/iscsi/iscsi_target_tpg.c tpg->tpg_state = old_state; old_state 1207 drivers/tty/serial/qcom_geni_serial.c unsigned int new_state, unsigned int old_state) old_state 1212 drivers/tty/serial/qcom_geni_serial.c if (old_state == UART_PM_STATE_UNDEFINED) old_state 1213 drivers/tty/serial/qcom_geni_serial.c old_state = UART_PM_STATE_OFF; old_state 1215 drivers/tty/serial/qcom_geni_serial.c if (new_state == UART_PM_STATE_ON && old_state == UART_PM_STATE_OFF) old_state 1218 drivers/tty/serial/qcom_geni_serial.c old_state == UART_PM_STATE_ON) old_state 822 drivers/tty/vt/keyboard.c int old_state = shift_state; old_state 852 drivers/tty/vt/keyboard.c if (up_flag && shift_state != old_state && npadch_active) { old_state 1039 drivers/tty/vt/keyboard.c static void kbd_propagate_led_state(unsigned int old_state, old_state 1043 drivers/tty/vt/keyboard.c unsigned int changed = old_state ^ new_state; old_state 1095 drivers/tty/vt/keyboard.c static void kbd_propagate_led_state(unsigned int old_state, old_state 60 drivers/usb/common/usb-otg-fsm.c static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) old_state 62 drivers/usb/common/usb-otg-fsm.c switch (old_state) { old_state 2114 drivers/usb/core/hcd.c int old_state = hcd->state; old_state 2154 drivers/usb/core/hcd.c hcd->state = old_state; old_state 2167 drivers/usb/core/hcd.c int old_state = hcd->state; old_state 2222 drivers/usb/core/hcd.c hcd->state = old_state; old_state 2314 drivers/usb/gadget/function/f_mass_storage.c enum fsg_state old_state; old_state 2372 drivers/usb/gadget/function/f_mass_storage.c old_state = common->state; old_state 2375 drivers/usb/gadget/function/f_mass_storage.c if (old_state != FSG_STATE_ABORT_BULK_OUT) { old_state 2390 drivers/usb/gadget/function/f_mass_storage.c switch (old_state) { old_state 332 drivers/usb/phy/phy-mv-usb.c int old_state = mvotg->phy.otg->state; old_state 334 drivers/usb/phy/phy-mv-usb.c switch (old_state) { old_state 405 drivers/usb/phy/phy-mv-usb.c int old_state; old_state 412 drivers/usb/phy/phy-mv-usb.c old_state = otg->state; old_state 420 drivers/usb/phy/phy-mv-usb.c if (old_state != mvotg->phy.otg->state) { old_state 422 drivers/usb/phy/phy-mv-usb.c state_string[old_state], old_state 428 drivers/usb/phy/phy-mv-usb.c if (old_state == OTG_STATE_B_PERIPHERAL) old_state 442 drivers/usb/phy/phy-mv-usb.c if (old_state == OTG_STATE_A_WAIT_VFALL) old_state 450 drivers/usb/phy/phy-mv-usb.c if (old_state != OTG_STATE_A_HOST) old_state 226 drivers/usb/typec/altmodes/displayport.c u8 old_state; old_state 230 drivers/usb/typec/altmodes/displayport.c old_state = dp->state; old_state 233 drivers/usb/typec/altmodes/displayport.c if (old_state != DP_STATE_IDLE) old_state 235 drivers/usb/typec/altmodes/displayport.c old_state); old_state 243 drivers/usb/typec/altmodes/displayport.c if (old_state == DP_STATE_IDLE && dp->state != DP_STATE_IDLE) old_state 36 drivers/video/backlight/pandora_bl.c unsigned old_state; old_state 57 drivers/video/backlight/pandora_bl.c if (priv->old_state == PANDORABL_WAS_OFF) old_state 70 drivers/video/backlight/pandora_bl.c if (priv->old_state == PANDORABL_WAS_OFF) { old_state 97 drivers/video/backlight/pandora_bl.c priv->old_state = 0; old_state 99 drivers/video/backlight/pandora_bl.c priv->old_state = PANDORABL_WAS_OFF; old_state 137 drivers/video/backlight/pandora_bl.c priv->old_state = PANDORABL_WAS_OFF; old_state 1544 drivers/video/fbdev/pxafb.c u_int old_state; old_state 1548 drivers/video/fbdev/pxafb.c old_state = fbi->state; old_state 1553 drivers/video/fbdev/pxafb.c if (old_state == C_STARTUP && state == C_REENABLE) old_state 1562 drivers/video/fbdev/pxafb.c if (old_state != C_DISABLE && old_state != C_DISABLE_PM) { old_state 1574 drivers/video/fbdev/pxafb.c if (old_state != C_DISABLE) { old_state 1578 drivers/video/fbdev/pxafb.c if (old_state != C_DISABLE_CLKCHANGE) old_state 1588 drivers/video/fbdev/pxafb.c if (old_state == C_DISABLE_CLKCHANGE) { old_state 1601 drivers/video/fbdev/pxafb.c if (old_state == C_ENABLE) { old_state 1615 drivers/video/fbdev/pxafb.c if (old_state != C_DISABLE_PM) old_state 1624 drivers/video/fbdev/pxafb.c if (old_state != C_ENABLE) { old_state 867 drivers/video/fbdev/sa1100fb.c u_int old_state; old_state 871 drivers/video/fbdev/sa1100fb.c old_state = fbi->state; old_state 876 drivers/video/fbdev/sa1100fb.c if (old_state == C_STARTUP && state == C_REENABLE) old_state 885 drivers/video/fbdev/sa1100fb.c if (old_state != C_DISABLE && old_state != C_DISABLE_PM) { old_state 896 drivers/video/fbdev/sa1100fb.c if (old_state != C_DISABLE) { old_state 900 drivers/video/fbdev/sa1100fb.c if (old_state != C_DISABLE_CLKCHANGE) old_state 911 drivers/video/fbdev/sa1100fb.c if (old_state == C_DISABLE_CLKCHANGE) { old_state 923 drivers/video/fbdev/sa1100fb.c if (old_state == C_ENABLE) { old_state 936 drivers/video/fbdev/sa1100fb.c if (old_state != C_DISABLE_PM) old_state 945 drivers/video/fbdev/sa1100fb.c if (old_state != C_ENABLE) { old_state 43 drivers/watchdog/bd70528_wdt.c int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, int *old_state) old_state 58 drivers/watchdog/bd70528_wdt.c if (old_state) { old_state 60 drivers/watchdog/bd70528_wdt.c *old_state |= BD70528_WDT_STATE_BIT; old_state 62 drivers/watchdog/bd70528_wdt.c *old_state &= ~BD70528_WDT_STATE_BIT; old_state 63 drivers/watchdog/bd70528_wdt.c if ((!enable) == (!(*old_state & BD70528_WDT_STATE_BIT))) old_state 766 fs/ext4/inode.c unsigned long old_state; old_state 782 fs/ext4/inode.c old_state = READ_ONCE(bh->b_state); old_state 783 fs/ext4/inode.c new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; old_state 785 fs/ext4/inode.c cmpxchg(&bh->b_state, old_state, new_state) != old_state)); old_state 133 fs/hfsplus/xattr.c int old_state = HFSPLUS_EMPTY_ATTR_TREE; old_state 140 fs/hfsplus/xattr.c if (old_state != atomic_cmpxchg(&sbi->attr_tree_state, old_state 141 fs/hfsplus/xattr.c old_state, old_state 151 include/drm/drm_atomic.h struct drm_plane_state *state, *old_state, *new_state; old_state 156 include/drm/drm_atomic.h struct drm_crtc_state *state, *old_state, *new_state; old_state 174 include/drm/drm_atomic.h struct drm_connector_state *state, *old_state, *new_state; old_state 295 include/drm/drm_atomic.h struct drm_private_state *state, *old_state, *new_state; old_state 499 include/drm/drm_atomic.h return state->crtcs[drm_crtc_index(crtc)].old_state; old_state 546 include/drm/drm_atomic.h return state->planes[drm_plane_index(plane)].old_state; old_state 604 include/drm/drm_atomic.h return state->connectors[index].old_state; old_state 696 include/drm/drm_atomic.h (old_connector_state) = (__state)->connectors[__i].old_state, \ old_state 717 include/drm/drm_atomic.h (old_connector_state) = (__state)->connectors[__i].old_state, 1)) old_state 757 include/drm/drm_atomic.h (old_crtc_state) = (__state)->crtcs[__i].old_state, \ old_state 777 include/drm/drm_atomic.h (old_crtc_state) = (__state)->crtcs[__i].old_state, 1)) old_state 816 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state,\ old_state 838 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state,\ old_state 858 include/drm/drm_atomic.h (old_plane_state) = (__state)->planes[__i].old_state, 1)) old_state 894 include/drm/drm_atomic.h (old_obj_state) = (__state)->private_objs[__i].old_state, \ old_state 913 include/drm/drm_atomic.h (old_obj_state) = (__state)->private_objs[__i].old_state, 1); \ old_state 68 include/drm/drm_atomic_helper.h struct drm_atomic_state *old_state); old_state 71 include/drm/drm_atomic_helper.h struct drm_atomic_state *old_state); old_state 75 include/drm/drm_atomic_helper.h struct drm_atomic_state *old_state); old_state 80 include/drm/drm_atomic_helper.h struct drm_atomic_state *old_state); old_state 92 include/drm/drm_atomic_helper.h struct drm_atomic_state *old_state); old_state 76 include/drm/drm_damage_helper.h const struct drm_plane_state *old_state, old_state 81 include/drm/drm_damage_helper.h bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, old_state 698 include/drm/drm_dp_mst_helper.h struct drm_dp_mst_topology_state **old_state, old_state 708 include/drm/drm_dp_mst_helper.h if (old_state) old_state 709 include/drm/drm_dp_mst_helper.h *old_state = to_dp_mst_topology_state(objs_state->old_state); old_state 731 include/drm/drm_dp_mst_helper.h #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ old_state 733 include/drm/drm_dp_mst_helper.h for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i))) old_state 748 include/drm/drm_dp_mst_helper.h #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ old_state 750 include/drm/drm_dp_mst_helper.h for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i))) old_state 145 include/drm/drm_mipi_dbi.h struct drm_plane_state *old_state); old_state 1115 include/drm/drm_modeset_helper_vtables.h struct drm_plane_state *old_state); old_state 1172 include/drm/drm_modeset_helper_vtables.h struct drm_plane_state *old_state); old_state 1196 include/drm/drm_modeset_helper_vtables.h struct drm_plane_state *old_state); old_state 386 include/linux/mfd/rohm-bd70528.h int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, int *old_state); old_state 393 include/linux/mfd/rohm-bd70528.h int *old_state) old_state 527 include/net/ip_vs.h volatile __u16 old_state; /* old state, to be used for old_state 3847 include/net/mac80211.h enum ieee80211_sta_state old_state, old_state 763 net/batman-adv/multicast.c struct batadv_mcast_querier_state *old_state, old_state 766 net/batman-adv/multicast.c if (!old_state->exists && new_state->exists) old_state 769 net/batman-adv/multicast.c else if (old_state->exists && !new_state->exists) old_state 779 net/batman-adv/multicast.c if ((!old_state->shadowing && new_state->shadowing) || old_state 780 net/batman-adv/multicast.c (!old_state->exists && new_state->shadowing)) old_state 784 net/batman-adv/multicast.c else if (old_state->shadowing && !new_state->shadowing) old_state 1042 net/bluetooth/hci_core.c int old_state = hdev->discovery.state; old_state 1046 net/bluetooth/hci_core.c if (old_state == state) old_state 1055 net/bluetooth/hci_core.c if (old_state != DISCOVERY_STARTING) old_state 304 net/ceph/messenger.c int old_state; old_state 306 net/ceph/messenger.c old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); old_state 307 net/ceph/messenger.c if (WARN_ON(old_state != CON_SOCK_STATE_NEW)) old_state 308 net/ceph/messenger.c printk("%s: unexpected old state %d\n", __func__, old_state); old_state 309 net/ceph/messenger.c dout("%s con %p sock %d -> %d\n", __func__, con, old_state, old_state 315 net/ceph/messenger.c int old_state; old_state 317 net/ceph/messenger.c old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); old_state 318 net/ceph/messenger.c if (WARN_ON(old_state != CON_SOCK_STATE_CLOSED)) old_state 319 net/ceph/messenger.c printk("%s: unexpected old state %d\n", __func__, old_state); old_state 320 net/ceph/messenger.c dout("%s con %p sock %d -> %d\n", __func__, con, old_state, old_state 326 net/ceph/messenger.c int old_state; old_state 328 net/ceph/messenger.c old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTED); old_state 329 net/ceph/messenger.c if (WARN_ON(old_state != CON_SOCK_STATE_CONNECTING)) old_state 330 net/ceph/messenger.c printk("%s: unexpected old state %d\n", __func__, old_state); old_state 331 net/ceph/messenger.c dout("%s con %p sock %d -> %d\n", __func__, con, old_state, old_state 337 net/ceph/messenger.c int old_state; old_state 339 net/ceph/messenger.c old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSING); old_state 340 net/ceph/messenger.c if (WARN_ON(old_state != CON_SOCK_STATE_CONNECTING && old_state 341 net/ceph/messenger.c old_state != CON_SOCK_STATE_CONNECTED && old_state 342 net/ceph/messenger.c old_state != CON_SOCK_STATE_CLOSING)) old_state 343 net/ceph/messenger.c printk("%s: unexpected old state %d\n", __func__, old_state); old_state 344 net/ceph/messenger.c dout("%s con %p sock %d -> %d\n", __func__, con, old_state, old_state 350 net/ceph/messenger.c int old_state; old_state 352 net/ceph/messenger.c old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); old_state 353 net/ceph/messenger.c if (WARN_ON(old_state != CON_SOCK_STATE_CONNECTED && old_state 354 net/ceph/messenger.c old_state != CON_SOCK_STATE_CLOSING && old_state 355 net/ceph/messenger.c old_state != CON_SOCK_STATE_CONNECTING && old_state 356 net/ceph/messenger.c old_state != CON_SOCK_STATE_CLOSED)) old_state 357 net/ceph/messenger.c printk("%s: unexpected old state %d\n", __func__, old_state); old_state 358 net/ceph/messenger.c dout("%s con %p sock %d -> %d\n", __func__, con, old_state, old_state 576 net/dccp/input.c const int old_state = sk->sk_state; old_state 696 net/dccp/input.c switch (old_state) { old_state 263 net/dccp/proto.c const int old_state = sk->sk_state; old_state 265 net/dccp/proto.c if (old_state != DCCP_CLOSED) old_state 272 net/dccp/proto.c if (old_state == DCCP_LISTEN) { old_state 274 net/dccp/proto.c } else if (dccp_need_reset(old_state)) { old_state 277 net/dccp/proto.c } else if (old_state == DCCP_REQUESTING) old_state 934 net/dccp/proto.c unsigned char old_state; old_state 943 net/dccp/proto.c old_state = sk->sk_state; old_state 944 net/dccp/proto.c if (!((1 << old_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) old_state 951 net/dccp/proto.c if (old_state != DCCP_LISTEN) { old_state 198 net/ipv4/af_inet.c unsigned char old_state; old_state 207 net/ipv4/af_inet.c old_state = sk->sk_state; old_state 208 net/ipv4/af_inet.c if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) old_state 215 net/ipv4/af_inet.c if (old_state != TCP_LISTEN) { old_state 2574 net/ipv4/tcp.c int old_state = sk->sk_state; old_state 2577 net/ipv4/tcp.c if (old_state != TCP_CLOSE) old_state 2581 net/ipv4/tcp.c if (old_state == TCP_LISTEN) { old_state 2585 net/ipv4/tcp.c } else if (tcp_need_reset(old_state) || old_state 2587 net/ipv4/tcp.c (1 << old_state) & (TCPF_CLOSING | TCPF_LAST_ACK))) { old_state 2593 net/ipv4/tcp.c } else if (old_state == TCP_SYN_SENT) old_state 110 net/mac80211/driver-ops.c enum ieee80211_sta_state old_state, old_state 121 net/mac80211/driver-ops.c trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); old_state 124 net/mac80211/driver-ops.c old_state, new_state); old_state 125 net/mac80211/driver-ops.c } else if (old_state == IEEE80211_STA_AUTH && old_state 130 net/mac80211/driver-ops.c } else if (old_state == IEEE80211_STA_ASSOC && old_state 529 net/mac80211/driver-ops.h enum ieee80211_sta_state old_state, old_state 803 net/mac80211/trace.h enum ieee80211_sta_state old_state, old_state 806 net/mac80211/trace.h TP_ARGS(local, sdata, sta, old_state, new_state), old_state 812 net/mac80211/trace.h __field(u32, old_state) old_state 820 net/mac80211/trace.h __entry->old_state = old_state; old_state 827 net/mac80211/trace.h __entry->old_state, __entry->new_state old_state 1427 net/ncsi/ncsi-manage.c int old_state; old_state 1442 net/ncsi/ncsi-manage.c old_state = nc->state; old_state 1449 net/ncsi/ncsi-manage.c switch (old_state) { old_state 1464 net/ncsi/ncsi-manage.c old_state, nc->package->id, nc->id); old_state 1702 net/ncsi/ncsi-manage.c int old_state; old_state 1715 net/ncsi/ncsi-manage.c old_state = nc->state; old_state 1719 net/ncsi/ncsi-manage.c old_state == NCSI_CHANNEL_INVISIBLE); old_state 972 net/netfilter/ipvs/ip_vs_conn.c cp->old_state = 0; old_state 486 net/netfilter/ipvs/ip_vs_sync.c force = cp->state != cp->old_state; old_state 497 net/netfilter/ipvs/ip_vs_sync.c force = cp->state != cp->old_state; old_state 534 net/netfilter/ipvs/ip_vs_sync.c cp->old_state = cp->state; old_state 933 net/netfilter/ipvs/ip_vs_sync.c cp->old_state = cp->state; old_state 478 net/netfilter/nf_conntrack_proto_dccp.c u_int8_t type, old_state, new_state; old_state 503 net/netfilter/nf_conntrack_proto_dccp.c old_state = ct->proto.dccp.state; old_state 504 net/netfilter/nf_conntrack_proto_dccp.c new_state = dccp_state_table[role][type][old_state]; old_state 508 net/netfilter/nf_conntrack_proto_dccp.c if (old_state == CT_DCCP_TIMEWAIT && old_state 517 net/netfilter/nf_conntrack_proto_dccp.c if (old_state == CT_DCCP_REQUEST) old_state 521 net/netfilter/nf_conntrack_proto_dccp.c if (old_state == CT_DCCP_RESPOND && old_state 558 net/netfilter/nf_conntrack_proto_dccp.c if (new_state != old_state) old_state 363 net/netfilter/nf_conntrack_proto_sctp.c enum sctp_conntrack new_state, old_state; old_state 407 net/netfilter/nf_conntrack_proto_sctp.c old_state = new_state = SCTP_CONNTRACK_NONE; old_state 442 net/netfilter/nf_conntrack_proto_sctp.c old_state = ct->proto.sctp.state; old_state 443 net/netfilter/nf_conntrack_proto_sctp.c new_state = sctp_new_state(dir, old_state, sch->type); old_state 449 net/netfilter/nf_conntrack_proto_sctp.c dir, sch->type, old_state); old_state 468 net/netfilter/nf_conntrack_proto_sctp.c if (old_state != new_state) old_state 479 net/netfilter/nf_conntrack_proto_sctp.c if (old_state == SCTP_CONNTRACK_COOKIE_ECHOED && old_state 846 net/netfilter/nf_conntrack_proto_tcp.c enum tcp_conntrack new_state, old_state; old_state 864 net/netfilter/nf_conntrack_proto_tcp.c old_state = ct->proto.tcp.state; old_state 867 net/netfilter/nf_conntrack_proto_tcp.c new_state = tcp_conntracks[dir][index][old_state]; old_state 872 net/netfilter/nf_conntrack_proto_tcp.c if (old_state < TCP_CONNTRACK_TIME_WAIT) old_state 928 net/netfilter/nf_conntrack_proto_tcp.c old_state = TCP_CONNTRACK_SYN_SENT; old_state 979 net/netfilter/nf_conntrack_proto_tcp.c if (old_state == TCP_CONNTRACK_LAST_ACK) old_state 985 net/netfilter/nf_conntrack_proto_tcp.c "state %s ", tcp_conntrack_names[old_state]); old_state 994 net/netfilter/nf_conntrack_proto_tcp.c if (nfct_synproxy(ct) && old_state == TCP_CONNTRACK_SYN_SENT && old_state 1005 net/netfilter/nf_conntrack_proto_tcp.c dir, get_conntrack_index(th), old_state); old_state 1014 net/netfilter/nf_conntrack_proto_tcp.c if (old_state == TCP_CONNTRACK_LAST_ACK && old_state 1067 net/netfilter/nf_conntrack_proto_tcp.c new_state = old_state; old_state 1106 net/netfilter/nf_conntrack_proto_tcp.c old_state, new_state); old_state 1109 net/netfilter/nf_conntrack_proto_tcp.c if (old_state != new_state old_state 1133 net/netfilter/nf_conntrack_proto_tcp.c if (new_state != old_state) old_state 1152 net/netfilter/nf_conntrack_proto_tcp.c && (old_state == TCP_CONNTRACK_SYN_RECV old_state 1153 net/netfilter/nf_conntrack_proto_tcp.c || old_state == TCP_CONNTRACK_ESTABLISHED) old_state 37 net/rds/ib_frmr.c enum rds_ib_fr_state old_state, old_state 41 net/rds/ib_frmr.c old_state, new_state) == old_state && old_state 42 net/rds/ib_frmr.c old_state == FRMR_IS_INUSE) { old_state 183 net/smc/smc_close.c int old_state; old_state 191 net/smc/smc_close.c old_state = sk->sk_state; old_state 284 net/smc/smc_close.c if (old_state != sk->sk_state) old_state 342 net/smc/smc_close.c int old_state; old_state 345 net/smc/smc_close.c old_state = sk->sk_state; old_state 415 net/smc/smc_close.c if (old_state != sk->sk_state) { old_state 434 net/smc/smc_close.c int old_state; old_state 442 net/smc/smc_close.c old_state = sk->sk_state; old_state 484 net/smc/smc_close.c if (old_state != sk->sk_state) old_state 556 net/tipc/link.c int old_state = l->state; old_state 703 net/tipc/link.c trace_tipc_link_fsm(l->name, old_state, l->state, evt); old_state 708 net/tipc/link.c trace_tipc_link_fsm(l->name, old_state, l->state, evt); old_state 88 net/wimax/stack.c enum wimax_st new_state, enum wimax_st old_state, old_state 97 net/wimax/stack.c wimax_dev, new_state, old_state); old_state 113 net/wimax/stack.c result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); old_state 130 net/wimax/stack.c wimax_dev, new_state, old_state, report_skb); old_state 137 net/wimax/stack.c wimax_dev, new_state, old_state, result); old_state 175 net/wimax/stack.c void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, old_state 180 net/wimax/stack.c old_state, new_state); old_state 192 net/wimax/stack.c enum wimax_st old_state = wimax_dev->state; old_state 197 net/wimax/stack.c wimax_dev, new_state, old_state); old_state 204 net/wimax/stack.c if (old_state == new_state) old_state 208 net/wimax/stack.c wimax_dev, new_state, old_state, &header); old_state 211 net/wimax/stack.c switch (old_state) { old_state 213 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 217 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 223 net/wimax/stack.c __check_new_state(old_state, new_state, 1 << WIMAX_ST_DOWN); old_state 226 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 231 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 236 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 244 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 252 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 260 net/wimax/stack.c __check_new_state(old_state, new_state, old_state 309 net/wimax/stack.c wimax_dev, new_state, old_state); old_state 1561 tools/perf/util/evlist.c enum bkw_mmap_state old_state = evlist->bkw_mmap_state; old_state 1571 tools/perf/util/evlist.c switch (old_state) { old_state 141 tools/testing/nvdimm/test/nfit.c u8 old_state; old_state 1095 tools/testing/nvdimm/test/nfit.c sec->old_state = sec->state; old_state 1117 tools/testing/nvdimm/test/nfit.c sec->state = sec->old_state; old_state 1118 tools/testing/nvdimm/test/nfit.c sec->old_state = 0;