new_state         249 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         253 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         258 arch/powerpc/kvm/book3s_hv_rm_xics.c 		success = new_state.cppr > priority &&
new_state         259 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.mfrr > priority &&
new_state         260 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.pending_pri > priority;
new_state         267 arch/powerpc/kvm/book3s_hv_rm_xics.c 			*reject = new_state.xisr;
new_state         268 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.xisr = irq;
new_state         269 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.pending_pri = priority;
new_state         276 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.need_resend = true;
new_state         279 arch/powerpc/kvm/book3s_hv_rm_xics.c 	} while (!icp_rm_try_update(icp, old_state, new_state));
new_state         419 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         452 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         455 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.cppr = new_cppr;
new_state         466 arch/powerpc/kvm/book3s_hv_rm_xics.c 		if (new_state.mfrr < new_cppr &&
new_state         467 arch/powerpc/kvm/book3s_hv_rm_xics.c 		    new_state.mfrr <= new_state.pending_pri) {
new_state         468 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.pending_pri = new_state.mfrr;
new_state         469 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.xisr = XICS_IPI;
new_state         473 arch/powerpc/kvm/book3s_hv_rm_xics.c 		resend = new_state.need_resend;
new_state         474 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.need_resend = 0;
new_state         476 arch/powerpc/kvm/book3s_hv_rm_xics.c 	} while (!icp_rm_try_update(icp, old_state, new_state));
new_state         492 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         511 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         516 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.cppr = new_state.pending_pri;
new_state         517 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.pending_pri = 0xff;
new_state         518 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.xisr = 0;
new_state         520 arch/powerpc/kvm/book3s_hv_rm_xics.c 	} while (!icp_rm_try_update(icp, old_state, new_state));
new_state         531 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         577 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         580 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.mfrr = mfrr;
new_state         585 arch/powerpc/kvm/book3s_hv_rm_xics.c 		if (mfrr < new_state.cppr) {
new_state         587 arch/powerpc/kvm/book3s_hv_rm_xics.c 			if (mfrr <= new_state.pending_pri) {
new_state         588 arch/powerpc/kvm/book3s_hv_rm_xics.c 				reject = new_state.xisr;
new_state         589 arch/powerpc/kvm/book3s_hv_rm_xics.c 				new_state.pending_pri = mfrr;
new_state         590 arch/powerpc/kvm/book3s_hv_rm_xics.c 				new_state.xisr = XICS_IPI;
new_state         595 arch/powerpc/kvm/book3s_hv_rm_xics.c 			resend = new_state.need_resend;
new_state         596 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.need_resend = 0;
new_state         598 arch/powerpc/kvm/book3s_hv_rm_xics.c 	} while (!icp_rm_try_update(icp, old_state, new_state));
new_state         617 arch/powerpc/kvm/book3s_hv_rm_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         652 arch/powerpc/kvm/book3s_hv_rm_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         655 arch/powerpc/kvm/book3s_hv_rm_xics.c 		new_state.cppr = cppr;
new_state         657 arch/powerpc/kvm/book3s_hv_rm_xics.c 		if (cppr <= new_state.pending_pri) {
new_state         658 arch/powerpc/kvm/book3s_hv_rm_xics.c 			reject = new_state.xisr;
new_state         659 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.xisr = 0;
new_state         660 arch/powerpc/kvm/book3s_hv_rm_xics.c 			new_state.pending_pri = 0xff;
new_state         663 arch/powerpc/kvm/book3s_hv_rm_xics.c 	} while (!icp_rm_try_update(icp, old_state, new_state));
new_state         339 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         346 arch/powerpc/kvm/book3s_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         351 arch/powerpc/kvm/book3s_xics.c 		success = new_state.cppr > priority &&
new_state         352 arch/powerpc/kvm/book3s_xics.c 			new_state.mfrr > priority &&
new_state         353 arch/powerpc/kvm/book3s_xics.c 			new_state.pending_pri > priority;
new_state         360 arch/powerpc/kvm/book3s_xics.c 			*reject = new_state.xisr;
new_state         361 arch/powerpc/kvm/book3s_xics.c 			new_state.xisr = irq;
new_state         362 arch/powerpc/kvm/book3s_xics.c 			new_state.pending_pri = priority;
new_state         369 arch/powerpc/kvm/book3s_xics.c 			new_state.need_resend = true;
new_state         372 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, false));
new_state         516 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         549 arch/powerpc/kvm/book3s_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         552 arch/powerpc/kvm/book3s_xics.c 		new_state.cppr = new_cppr;
new_state         563 arch/powerpc/kvm/book3s_xics.c 		if (new_state.mfrr < new_cppr &&
new_state         564 arch/powerpc/kvm/book3s_xics.c 		    new_state.mfrr <= new_state.pending_pri) {
new_state         565 arch/powerpc/kvm/book3s_xics.c 			WARN_ON(new_state.xisr != XICS_IPI &&
new_state         566 arch/powerpc/kvm/book3s_xics.c 				new_state.xisr != 0);
new_state         567 arch/powerpc/kvm/book3s_xics.c 			new_state.pending_pri = new_state.mfrr;
new_state         568 arch/powerpc/kvm/book3s_xics.c 			new_state.xisr = XICS_IPI;
new_state         572 arch/powerpc/kvm/book3s_xics.c 		resend = new_state.need_resend;
new_state         573 arch/powerpc/kvm/book3s_xics.c 		new_state.need_resend = 0;
new_state         575 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, true));
new_state         588 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         603 arch/powerpc/kvm/book3s_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         608 arch/powerpc/kvm/book3s_xics.c 		new_state.cppr = new_state.pending_pri;
new_state         609 arch/powerpc/kvm/book3s_xics.c 		new_state.pending_pri = 0xff;
new_state         610 arch/powerpc/kvm/book3s_xics.c 		new_state.xisr = 0;
new_state         612 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, true));
new_state         622 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         670 arch/powerpc/kvm/book3s_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         673 arch/powerpc/kvm/book3s_xics.c 		new_state.mfrr = mfrr;
new_state         678 arch/powerpc/kvm/book3s_xics.c 		if (mfrr < new_state.cppr) {
new_state         680 arch/powerpc/kvm/book3s_xics.c 			if (mfrr <= new_state.pending_pri) {
new_state         681 arch/powerpc/kvm/book3s_xics.c 				reject = new_state.xisr;
new_state         682 arch/powerpc/kvm/book3s_xics.c 				new_state.pending_pri = mfrr;
new_state         683 arch/powerpc/kvm/book3s_xics.c 				new_state.xisr = XICS_IPI;
new_state         688 arch/powerpc/kvm/book3s_xics.c 			resend = new_state.need_resend;
new_state         689 arch/powerpc/kvm/book3s_xics.c 			new_state.need_resend = 0;
new_state         691 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, local));
new_state         723 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state         756 arch/powerpc/kvm/book3s_xics.c 		old_state = new_state = READ_ONCE(icp->state);
new_state         759 arch/powerpc/kvm/book3s_xics.c 		new_state.cppr = cppr;
new_state         761 arch/powerpc/kvm/book3s_xics.c 		if (cppr <= new_state.pending_pri) {
new_state         762 arch/powerpc/kvm/book3s_xics.c 			reject = new_state.xisr;
new_state         763 arch/powerpc/kvm/book3s_xics.c 			new_state.xisr = 0;
new_state         764 arch/powerpc/kvm/book3s_xics.c 			new_state.pending_pri = 0xff;
new_state         767 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, true));
new_state        1114 arch/powerpc/kvm/book3s_xics.c 	union kvmppc_icp_state old_state, new_state;
new_state        1145 arch/powerpc/kvm/book3s_xics.c 	new_state.raw = 0;
new_state        1146 arch/powerpc/kvm/book3s_xics.c 	new_state.cppr = cppr;
new_state        1147 arch/powerpc/kvm/book3s_xics.c 	new_state.xisr = xisr;
new_state        1148 arch/powerpc/kvm/book3s_xics.c 	new_state.mfrr = mfrr;
new_state        1149 arch/powerpc/kvm/book3s_xics.c 	new_state.pending_pri = pending_pri;
new_state        1170 arch/powerpc/kvm/book3s_xics.c 		if (new_state.mfrr <= old_state.mfrr) {
new_state        1172 arch/powerpc/kvm/book3s_xics.c 			new_state.need_resend = old_state.need_resend;
new_state        1175 arch/powerpc/kvm/book3s_xics.c 			new_state.need_resend = 0;
new_state        1177 arch/powerpc/kvm/book3s_xics.c 	} while (!icp_try_update(icp, old_state, new_state, false));
new_state        1026 arch/powerpc/platforms/cell/spufs/sched.c 		enum spu_utilization_state new_state)
new_state        1042 arch/powerpc/platforms/cell/spufs/sched.c 	ctx->stats.util_state = new_state;
new_state        1051 arch/powerpc/platforms/cell/spufs/sched.c 		spu->stats.util_state = new_state;
new_state        1056 arch/powerpc/platforms/cell/spufs/sched.c 		if (new_state == SPU_UTIL_USER)
new_state         358 arch/powerpc/platforms/cell/spufs/spufs.h 		enum spu_utilization_state new_state);
new_state         248 drivers/auxdisplay/ht16k33.c 	u16 new_state[HT16K33_MATRIX_KEYPAD_MAX_COLS];
new_state         264 drivers/auxdisplay/ht16k33.c 		new_state[col] = le16_to_cpu(data[col]);
new_state         265 drivers/auxdisplay/ht16k33.c 		if (new_state[col])
new_state         267 drivers/auxdisplay/ht16k33.c 		bits_changed = keypad->last_key_state[col] ^ new_state[col];
new_state         273 drivers/auxdisplay/ht16k33.c 					 new_state[col] & BIT(row));
new_state         277 drivers/auxdisplay/ht16k33.c 	memcpy(keypad->last_key_state, new_state, sizeof(u16) * keypad->cols);
new_state        2090 drivers/block/rbd.c 	u8 state, new_state, uninitialized_var(current_state);
new_state        2114 drivers/block/rbd.c 	new_state = ceph_decode_8(&p);
new_state        2123 drivers/block/rbd.c 		__rbd_object_map_set(rbd_dev, objno, new_state);
new_state        2141 drivers/block/rbd.c static bool update_needed(struct rbd_device *rbd_dev, u64 objno, u8 new_state)
new_state        2145 drivers/block/rbd.c 	if (state == new_state ||
new_state        2146 drivers/block/rbd.c 	    (new_state == OBJECT_PENDING && state == OBJECT_NONEXISTENT) ||
new_state        2147 drivers/block/rbd.c 	    (new_state == OBJECT_NONEXISTENT && state != OBJECT_PENDING))
new_state        2154 drivers/block/rbd.c 				     int which, u64 objno, u8 new_state,
new_state        2172 drivers/block/rbd.c 	ceph_encode_8(&p, new_state);
new_state        2192 drivers/block/rbd.c 				 u8 new_state, const u8 *current_state)
new_state        2202 drivers/block/rbd.c 		if (!update_needed(rbd_dev, obj_req->ex.oe_objno, new_state))
new_state        2233 drivers/block/rbd.c 					new_state, current_state);
new_state        3084 drivers/block/rbd.c 	u8 new_state;
new_state        3090 drivers/block/rbd.c 		new_state = OBJECT_PENDING;
new_state        3092 drivers/block/rbd.c 		new_state = OBJECT_EXISTS;
new_state        3094 drivers/block/rbd.c 	return rbd_object_map_update(obj_req, CEPH_NOSNAP, new_state, NULL);
new_state        3271 drivers/block/rbd.c 	u8 new_state;
new_state        3286 drivers/block/rbd.c 			new_state = OBJECT_EXISTS_CLEAN;
new_state        3288 drivers/block/rbd.c 			new_state = OBJECT_EXISTS;
new_state        3291 drivers/block/rbd.c 					    new_state, NULL);
new_state         405 drivers/block/rsxx/core.c 			      unsigned int new_state)
new_state         412 drivers/block/rsxx/core.c 		rsxx_card_state_to_str(new_state));
new_state         414 drivers/block/rsxx/core.c 	card->state = new_state;
new_state         420 drivers/block/rsxx/core.c 	switch (new_state) {
new_state         866 drivers/block/sx8.c 	int new_state = HST_DEV_SCAN_START;
new_state         871 drivers/block/sx8.c 		new_state = HST_ERROR;
new_state         887 drivers/block/sx8.c 	host->state = new_state;
new_state        1103 drivers/block/sx8.c 	int new_state = HST_INVALID;
new_state        1113 drivers/block/sx8.c 		new_state = HST_ALLOC_BUF;
new_state        1120 drivers/block/sx8.c 			new_state = HST_ERROR;
new_state        1128 drivers/block/sx8.c 			new_state = HST_ERROR;
new_state        1136 drivers/block/sx8.c 			new_state = HST_ERROR;
new_state        1144 drivers/block/sx8.c 			new_state = HST_ERROR;
new_state        1151 drivers/block/sx8.c 		new_state = HST_DEV_SCAN;
new_state        1167 drivers/block/sx8.c 				new_state = HST_ERROR;
new_state        1171 drivers/block/sx8.c 			new_state = HST_DEV_ACTIVATE;
new_state        1191 drivers/block/sx8.c 		new_state = HST_PROBE_FINISHED;
new_state        1211 drivers/block/sx8.c 	if (new_state != HST_INVALID) {
new_state        1213 drivers/block/sx8.c 		host->state = new_state;
new_state         150 drivers/cpufreq/speedstep-smi.c 	unsigned int result = 0, command, new_state, dummy;
new_state         189 drivers/cpufreq/speedstep-smi.c 			: "=b" (new_state), "=D" (result),
new_state         195 drivers/cpufreq/speedstep-smi.c 	} while ((new_state != state) && (retry <= SMI_TRIES));
new_state         201 drivers/cpufreq/speedstep-smi.c 	if (new_state == state)
new_state         204 drivers/cpufreq/speedstep-smi.c 			(speedstep_freqs[new_state].frequency / 1000),
new_state         208 drivers/cpufreq/speedstep-smi.c 		       state, new_state, result);
new_state          34 drivers/crypto/chelsio/chtls/chtls_cm.c static unsigned char new_state[16] = {
new_state         291 drivers/crypto/chelsio/chtls/chtls_cm.c 	int next = (int)new_state[sk->sk_state];
new_state         308 drivers/crypto/chelsio/chtls/chtls_main.c static int chtls_uld_state_change(void *handle, enum cxgb4_state new_state)
new_state         312 drivers/crypto/chelsio/chtls/chtls_main.c 	switch (new_state) {
new_state         226 drivers/extcon/extcon.c static int check_mutually_exclusive(struct extcon_dev *edev, u32 new_state)
new_state         235 drivers/extcon/extcon.c 		u32 correspondants = new_state & edev->mutually_exclusive[i];
new_state         281 drivers/extcon/extcon.c 				bool new_state)
new_state         284 drivers/extcon/extcon.c 	return (state != new_state);
new_state         302 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			struct dpg_pause_state new_state;
new_state         305 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 				new_state.fw_based = VCN_DPG_STATE__PAUSE;
new_state         307 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 				new_state.fw_based = VCN_DPG_STATE__UNPAUSE;
new_state         310 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 				new_state.jpeg = VCN_DPG_STATE__PAUSE;
new_state         312 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 				new_state.jpeg = VCN_DPG_STATE__UNPAUSE;
new_state         314 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			adev->vcn.pause_dpg_mode(adev, &new_state);
new_state         349 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 		struct dpg_pause_state new_state;
new_state         357 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.fw_based = VCN_DPG_STATE__PAUSE;
new_state         359 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.fw_based = VCN_DPG_STATE__UNPAUSE;
new_state         362 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.jpeg = VCN_DPG_STATE__PAUSE;
new_state         364 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.jpeg = VCN_DPG_STATE__UNPAUSE;
new_state         367 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.fw_based = VCN_DPG_STATE__PAUSE;
new_state         369 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 			new_state.jpeg = VCN_DPG_STATE__PAUSE;
new_state         371 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c 		adev->vcn.pause_dpg_mode(adev, &new_state);
new_state         196 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h 		struct dpg_pause_state *new_state);
new_state        3176 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	struct si_ps *new_state = si_get_ps(new_ps);
new_state        3183 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >=
new_state        3194 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	struct si_ps *new_state = si_get_ps(new_ps);
new_state        3201 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	if (new_state->performance_levels[new_state->performance_level_count - 1].sclk <
new_state        5735 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	struct  si_ps *new_state = si_get_ps(amdgpu_new_state);
new_state        5740 drivers/gpu/drm/amd/amdgpu/si_dpm.c 		((new_state->performance_level_count - 1) *
new_state        6146 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	struct si_ps *new_state = si_get_ps(amdgpu_new_state);
new_state        6159 drivers/gpu/drm/amd/amdgpu/si_dpm.c 					   sizeof(SMC_SIslands_MCRegisterSet) * new_state->performance_level_count,
new_state          53 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 				struct dpg_pause_state *new_state);
new_state        1227 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 				struct dpg_pause_state *new_state)
new_state        1235 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	if (adev->vcn.pause_state.fw_based != new_state->fw_based) {
new_state        1238 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 			new_state->fw_based, new_state->jpeg);
new_state        1243 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		if (new_state->fw_based == VCN_DPG_STATE__PAUSE) {
new_state        1286 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		adev->vcn.pause_state.fw_based = new_state->fw_based;
new_state        1290 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 	if (adev->vcn.pause_state.jpeg != new_state->jpeg) {
new_state        1293 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 			new_state->fw_based, new_state->jpeg);
new_state        1298 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		if (new_state->jpeg == VCN_DPG_STATE__PAUSE) {
new_state        1346 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c 		adev->vcn.pause_state.jpeg = new_state->jpeg;
new_state          82 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 				struct dpg_pause_state *new_state);
new_state        1332 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 				struct dpg_pause_state *new_state)
new_state        1339 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 	if (adev->vcn.pause_state.fw_based != new_state->fw_based) {
new_state        1341 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 			adev->vcn.pause_state.fw_based,	new_state->fw_based);
new_state        1345 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 		if (new_state->fw_based == VCN_DPG_STATE__PAUSE) {
new_state        1387 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c 		adev->vcn.pause_state.fw_based = new_state->fw_based;
new_state        1968 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dm_atomic_state *old_state, *new_state;
new_state        1970 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state = kzalloc(sizeof(*new_state), GFP_KERNEL);
new_state        1971 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!new_state)
new_state        1974 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	__drm_atomic_helper_private_obj_duplicate_state(obj, &new_state->base);
new_state        1979 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		new_state->context = dc_copy_state(old_state->context);
new_state        1981 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!new_state->context) {
new_state        1982 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		kfree(new_state);
new_state        1986 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	return &new_state->base;
new_state        4009 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct dm_connector_state *new_state =
new_state        4012 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!new_state)
new_state        4015 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	__drm_atomic_helper_connector_duplicate_state(connector, &new_state->base);
new_state        4017 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->freesync_capable = state->freesync_capable;
new_state        4018 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->abm_level = state->abm_level;
new_state        4019 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->scaling = state->scaling;
new_state        4020 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->underscan_enable = state->underscan_enable;
new_state        4021 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->underscan_hborder = state->underscan_hborder;
new_state        4022 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	new_state->underscan_vborder = state->underscan_vborder;
new_state        4024 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	return &new_state->base;
new_state        4212 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			  const struct drm_connector_state *new_state)
new_state        4215 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_property_blob *new_blob = new_state->hdr_output_metadata;
new_state        4487 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				      struct drm_plane_state *new_state)
new_state        4503 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dm_plane_state_new = to_dm_plane_state(new_state);
new_state        4505 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (!new_state->fb) {
new_state        4510 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	afb = to_amdgpu_framebuffer(new_state->fb);
new_state        4511 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	obj = new_state->fb->obj[0];
new_state        4627 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 					 struct drm_plane_state *new_state)
new_state        4630 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		drm_atomic_get_old_plane_state(new_state->state, plane);
new_state        4632 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	swap(plane->state->fb, new_state->fb);
new_state        4634 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->src_x = new_state->src_x;
new_state        4635 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->src_y = new_state->src_y;
new_state        4636 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->src_w = new_state->src_w;
new_state        4637 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->src_h = new_state->src_h;
new_state        4638 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->crtc_x = new_state->crtc_x;
new_state        4639 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->crtc_y = new_state->crtc_y;
new_state        4640 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->crtc_w = new_state->crtc_w;
new_state        4641 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	plane->state->crtc_h = new_state->crtc_h;
new_state        5623 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 					    struct dm_crtc_state *new_state)
new_state        5626 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	bool new_vrr_active = amdgpu_dm_vrr_active(new_state);
new_state        5637 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm_set_vupdate_irq(new_state->base.crtc, true);
new_state        5638 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		drm_crtc_vblank_get(new_state->base.crtc);
new_state        5640 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				 __func__, new_state->base.crtc->base.id);
new_state        5645 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		dm_set_vupdate_irq(new_state->base.crtc, false);
new_state        5646 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		drm_crtc_vblank_put(new_state->base.crtc);
new_state        5648 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				 __func__, new_state->base.crtc->base.id);
new_state          73 drivers/gpu/drm/bochs/bochs_kms.c 				 struct drm_plane_state *new_state)
new_state          77 drivers/gpu/drm/bochs/bochs_kms.c 	if (!new_state->fb)
new_state          79 drivers/gpu/drm/bochs/bochs_kms.c 	gbo = drm_gem_vram_of_gem(new_state->fb->obj[0]);
new_state         166 drivers/gpu/drm/drm_atomic.c 		state->connectors[i].new_state = NULL;
new_state         182 drivers/gpu/drm/drm_atomic.c 		state->crtcs[i].new_state = NULL;
new_state         201 drivers/gpu/drm/drm_atomic.c 		state->planes[i].new_state = NULL;
new_state         212 drivers/gpu/drm/drm_atomic.c 		state->private_objs[i].new_state = NULL;
new_state         312 drivers/gpu/drm/drm_atomic.c 	state->crtcs[index].new_state = crtc_state;
new_state         491 drivers/gpu/drm/drm_atomic.c 	state->planes[index].new_state = plane_state;
new_state         798 drivers/gpu/drm/drm_atomic.c 	state->private_objs[index].new_state = obj_state;
new_state         849 drivers/gpu/drm/drm_atomic.c 			return state->private_objs[i].new_state;
new_state         980 drivers/gpu/drm/drm_atomic.c 	state->connectors[index].new_state = connector_state;
new_state         966 drivers/gpu/drm/drm_atomic_helper.c 		   struct drm_crtc_state *new_state)
new_state         972 drivers/gpu/drm/drm_atomic_helper.c 	if (!new_state)
new_state         981 drivers/gpu/drm/drm_atomic_helper.c 	       (old_state->self_refresh_active && !new_state->enable) ||
new_state         982 drivers/gpu/drm/drm_atomic_helper.c 	       new_state->self_refresh_active;
new_state         121 drivers/gpu/drm/i915/display/intel_atomic.c 	struct drm_connector_state *new_state =
new_state         124 drivers/gpu/drm/i915/display/intel_atomic.c 		to_intel_digital_connector_state(new_state);
new_state         131 drivers/gpu/drm/i915/display/intel_atomic.c 	intel_hdcp_atomic_check(conn, old_state, new_state);
new_state         133 drivers/gpu/drm/i915/display/intel_atomic.c 	if (!new_state->crtc)
new_state         136 drivers/gpu/drm/i915/display/intel_atomic.c 	crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc);
new_state        2176 drivers/gpu/drm/i915/display/intel_cdclk.c 				 const struct intel_cdclk_state *new_state,
new_state        2179 drivers/gpu/drm/i915/display/intel_cdclk.c 	if (pipe == INVALID_PIPE || old_state->cdclk <= new_state->cdclk)
new_state        2180 drivers/gpu/drm/i915/display/intel_cdclk.c 		intel_set_cdclk(dev_priv, new_state, pipe);
new_state        2196 drivers/gpu/drm/i915/display/intel_cdclk.c 				  const struct intel_cdclk_state *new_state,
new_state        2199 drivers/gpu/drm/i915/display/intel_cdclk.c 	if (pipe != INVALID_PIPE && old_state->cdclk > new_state->cdclk)
new_state        2200 drivers/gpu/drm/i915/display/intel_cdclk.c 		intel_set_cdclk(dev_priv, new_state, pipe);
new_state          36 drivers/gpu/drm/i915/display/intel_cdclk.h 				 const struct intel_cdclk_state *new_state,
new_state          41 drivers/gpu/drm/i915/display/intel_cdclk.h 				  const struct intel_cdclk_state *new_state,
new_state        14366 drivers/gpu/drm/i915/display/intel_display.c 		       struct drm_plane_state *new_state)
new_state        14369 drivers/gpu/drm/i915/display/intel_display.c 		to_intel_atomic_state(new_state->state);
new_state        14371 drivers/gpu/drm/i915/display/intel_display.c 	struct drm_framebuffer *fb = new_state->fb;
new_state        14402 drivers/gpu/drm/i915/display/intel_display.c 	if (new_state->fence) { /* explicit fencing */
new_state        14404 drivers/gpu/drm/i915/display/intel_display.c 						    new_state->fence,
new_state        14424 drivers/gpu/drm/i915/display/intel_display.c 	ret = intel_plane_pin_fb(to_intel_plane_state(new_state));
new_state        14434 drivers/gpu/drm/i915/display/intel_display.c 	if (!new_state->fence) { /* implicit fencing */
new_state        14446 drivers/gpu/drm/i915/display/intel_display.c 			add_rps_boost_after_vblank(new_state->crtc, fence);
new_state        14450 drivers/gpu/drm/i915/display/intel_display.c 		add_rps_boost_after_vblank(new_state->crtc, new_state->fence);
new_state         384 drivers/gpu/drm/i915/display/intel_display.h 		      (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
new_state         392 drivers/gpu/drm/i915/display/intel_display.h 		      (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
new_state         401 drivers/gpu/drm/i915/display/intel_display.h 		      (new_plane_state) = to_intel_plane_state((__state)->base.planes[__i].new_state), 1); \
new_state         410 drivers/gpu/drm/i915/display/intel_display.h 		      (new_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].new_state), 1); \
new_state         483 drivers/gpu/drm/i915/display/intel_display.h 			   struct drm_plane_state *new_state);
new_state        1947 drivers/gpu/drm/i915/display/intel_hdcp.c 			     struct drm_connector_state *new_state)
new_state        1950 drivers/gpu/drm/i915/display/intel_hdcp.c 	u64 new_cp = new_state->content_protection;
new_state        1953 drivers/gpu/drm/i915/display/intel_hdcp.c 	if (!new_state->crtc) {
new_state        1959 drivers/gpu/drm/i915/display/intel_hdcp.c 			new_state->content_protection =
new_state        1972 drivers/gpu/drm/i915/display/intel_hdcp.c 				new_state->hdcp_content_type)
new_state        1976 drivers/gpu/drm/i915/display/intel_hdcp.c 	crtc_state = drm_atomic_get_new_crtc_state(new_state->state,
new_state        1977 drivers/gpu/drm/i915/display/intel_hdcp.c 						   new_state->crtc);
new_state          21 drivers/gpu/drm/i915/display/intel_hdcp.h 			     struct drm_connector_state *new_state);
new_state        2438 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo_connector_state *new_state =
new_state        2442 drivers/gpu/drm/i915/display/intel_sdvo.c 	    (memcmp(&old_state->tv, &new_state->tv, sizeof(old_state->tv)) ||
new_state        1826 drivers/gpu/drm/i915/display/intel_tv.c 	struct drm_connector_state *new_state;
new_state        1830 drivers/gpu/drm/i915/display/intel_tv.c 	new_state = drm_atomic_get_new_connector_state(state, connector);
new_state        1831 drivers/gpu/drm/i915/display/intel_tv.c 	if (!new_state->crtc)
new_state        1835 drivers/gpu/drm/i915/display/intel_tv.c 	new_crtc_state = drm_atomic_get_new_crtc_state(state, new_state->crtc);
new_state        1837 drivers/gpu/drm/i915/display/intel_tv.c 	if (old_state->tv.mode != new_state->tv.mode ||
new_state        1838 drivers/gpu/drm/i915/display/intel_tv.c 	    old_state->tv.margins.left != new_state->tv.margins.left ||
new_state        1839 drivers/gpu/drm/i915/display/intel_tv.c 	    old_state->tv.margins.right != new_state->tv.margins.right ||
new_state        1840 drivers/gpu/drm/i915/display/intel_tv.c 	    old_state->tv.margins.top != new_state->tv.margins.top ||
new_state        1841 drivers/gpu/drm/i915/display/intel_tv.c 	    old_state->tv.margins.bottom != new_state->tv.margins.bottom) {
new_state        4116 drivers/gpu/drm/i915/i915_debugfs.c 	bool new_state;
new_state        4133 drivers/gpu/drm/i915/i915_debugfs.c 		new_state = !HAS_DP_MST(dev_priv);
new_state        4134 drivers/gpu/drm/i915/i915_debugfs.c 	else if (kstrtobool(tmp, &new_state) != 0)
new_state        4138 drivers/gpu/drm/i915/i915_debugfs.c 		      new_state ? "En" : "Dis");
new_state        4141 drivers/gpu/drm/i915/i915_debugfs.c 	hotplug->hpd_short_storm_enabled = new_state;
new_state         763 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		struct drm_plane_state *new_state)
new_state         765 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	struct drm_framebuffer *fb = new_state->fb;
new_state         767 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	struct dpu_plane_state *pstate = to_dpu_plane_state(new_state);
new_state         772 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	if (!new_state->fb)
new_state         785 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	drm_gem_fb_prepare_fb(plane, new_state);
new_state         788 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		ret = msm_framebuffer_prepare(new_state->fb,
new_state         798 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 			new_state->fb, &layout);
new_state          45 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	struct mdp5_hw_mixer_state *new_state;
new_state          51 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	new_state = &global_state->hwmixer;
new_state          63 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		if (new_state->hwmixer_to_crtc[cur->idx] &&
new_state          64 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		    new_state->hwmixer_to_crtc[cur->idx] != crtc)
new_state          78 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 			if (new_state->hwmixer_to_crtc[pair_idx])
new_state         109 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	new_state->hwmixer_to_crtc[(*mixer)->idx] = crtc;
new_state         113 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 		new_state->hwmixer_to_crtc[(*r_mixer)->idx] = crtc;
new_state         122 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	struct mdp5_hw_mixer_state *new_state = &global_state->hwmixer;
new_state         127 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	if (WARN_ON(!new_state->hwmixer_to_crtc[mixer->idx]))
new_state         131 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	    new_state->hwmixer_to_crtc[mixer->idx]->name);
new_state         133 drivers/gpu/drm/msm/disp/mdp5/mdp5_mixer.c 	new_state->hwmixer_to_crtc[mixer->idx] = NULL;
new_state          17 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	struct mdp5_hw_pipe_state *old_state, *new_state;
new_state          28 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	new_state = &new_global_state->hwpipe;
new_state          40 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		if (new_state->hwpipe_to_plane[cur->idx] ||
new_state         111 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	new_state->hwpipe_to_plane[(*hwpipe)->idx] = plane;
new_state         116 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		new_state->hwpipe_to_plane[(*r_hwpipe)->idx] = plane;
new_state         127 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	struct mdp5_hw_pipe_state *new_state = &state->hwpipe;
new_state         132 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	if (WARN_ON(!new_state->hwpipe_to_plane[hwpipe->idx]))
new_state         136 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 		new_state->hwpipe_to_plane[hwpipe->idx]->name);
new_state         143 drivers/gpu/drm/msm/disp/mdp5/mdp5_pipe.c 	new_state->hwpipe_to_plane[hwpipe->idx] = NULL;
new_state         495 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 					   struct drm_plane_state *new_state)
new_state         499 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	plane->state->src_x = new_state->src_x;
new_state         500 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	plane->state->src_y = new_state->src_y;
new_state         501 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	plane->state->crtc_x = new_state->crtc_x;
new_state         502 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	plane->state->crtc_y = new_state->crtc_y;
new_state         504 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	if (plane_enabled(new_state)) {
new_state         507 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 					mdp5_crtc_get_pipeline(new_state->crtc);
new_state         510 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		ret = mdp5_plane_mode_set(plane, new_state->crtc, new_state->fb,
new_state         511 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 				&new_state->src, &new_state->dst);
new_state         514 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		ctl = mdp5_crtc_get_ctl(new_state->crtc);
new_state         520 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		*to_mdp5_plane_state(new_state);
new_state         522 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	new_state->fb = old_fb;
new_state          17 drivers/gpu/drm/msm/msm_atomic.c 			  struct drm_plane_state *new_state)
new_state          22 drivers/gpu/drm/msm/msm_atomic.c 	if (!new_state->fb)
new_state          25 drivers/gpu/drm/msm/msm_atomic.c 	drm_gem_fb_prepare_fb(plane, new_state);
new_state          27 drivers/gpu/drm/msm/msm_atomic.c 	return msm_framebuffer_prepare(new_state->fb, kms->aspace);
new_state         227 drivers/gpu/drm/msm/msm_drv.h 			  struct drm_plane_state *new_state);
new_state        1278 drivers/gpu/drm/nouveau/dispnv50/disp.c 	bool old_state, new_state;
new_state        1287 drivers/gpu/drm/nouveau/dispnv50/disp.c 	new_state = old_state;
new_state        1295 drivers/gpu/drm/nouveau/dispnv50/disp.c 			new_state = false;
new_state        1305 drivers/gpu/drm/nouveau/dispnv50/disp.c 			new_state = allow;
new_state        1308 drivers/gpu/drm/nouveau/dispnv50/disp.c 	if (new_state == old_state) {
new_state        1310 drivers/gpu/drm/nouveau/dispnv50/disp.c 		return new_state;
new_state        1313 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = nv50_mstm_enable(mstm, dpcd[0], new_state);
new_state        1319 drivers/gpu/drm/nouveau/dispnv50/disp.c 	ret = drm_dp_mst_topology_mgr_set_mst(&mstm->mgr, new_state);
new_state        1323 drivers/gpu/drm/nouveau/dispnv50/disp.c 	return new_state;
new_state         102 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	enum nvkm_therm_thrs_state prev_state, new_state;
new_state         111 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 		new_state = NVKM_THERM_THRS_HIGHER;
new_state         114 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 		new_state = NVKM_THERM_THRS_LOWER;
new_state         119 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	if (new_state == NVKM_THERM_THRS_LOWER && cur > thrs->temp)
new_state         120 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 		new_state = NVKM_THERM_THRS_HIGHER;
new_state         121 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	else if (new_state == NVKM_THERM_THRS_HIGHER &&
new_state         123 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 		new_state = NVKM_THERM_THRS_LOWER;
new_state         124 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	nvkm_therm_sensor_set_threshold_state(therm, thrs_name, new_state);
new_state         127 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	if (prev_state < new_state)
new_state         129 drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c 	else if (prev_state > new_state)
new_state         142 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	enum nvkm_therm_thrs_state prev_state, new_state;
new_state         149 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 		new_state = NVKM_THERM_THRS_HIGHER;
new_state         153 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 		new_state = NVKM_THERM_THRS_LOWER;
new_state         157 drivers/gpu/drm/nouveau/nvkm/subdev/therm/temp.c 	nvkm_therm_sensor_set_threshold_state(therm, thrs_name, new_state);
new_state          27 drivers/gpu/drm/omapdrm/omap_plane.c 				 struct drm_plane_state *new_state)
new_state          29 drivers/gpu/drm/omapdrm/omap_plane.c 	if (!new_state->fb)
new_state          32 drivers/gpu/drm/omapdrm/omap_plane.c 	return omap_framebuffer_pin(new_state->fb);
new_state         776 drivers/gpu/drm/qxl/qxl_display.c 				struct drm_plane_state *new_state)
new_state         784 drivers/gpu/drm/qxl/qxl_display.c 	if (!new_state->fb)
new_state         787 drivers/gpu/drm/qxl/qxl_display.c 	obj = new_state->fb->obj[0];
new_state         792 drivers/gpu/drm/qxl/qxl_display.c 		qxl_update_dumb_head(qdev, new_state->crtc->index,
new_state         928 drivers/gpu/drm/radeon/cypress_dpm.c 	struct rv7xx_ps *new_state = rv770_get_ps(radeon_new_state);
new_state         934 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->low.sclk,
new_state         935 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->low.mclk));
new_state         937 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->medium.sclk,
new_state         938 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->medium.mclk));
new_state         940 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->high.sclk,
new_state         941 drivers/gpu/drm/radeon/cypress_dpm.c 								 new_state->high.mclk));
new_state        3512 drivers/gpu/drm/radeon/ni_dpm.c 	struct ni_ps *new_state = ni_get_ps(new_ps);
new_state        3519 drivers/gpu/drm/radeon/ni_dpm.c 	if (new_state->performance_levels[new_state->performance_level_count - 1].sclk >=
new_state        3530 drivers/gpu/drm/radeon/ni_dpm.c 	struct ni_ps *new_state = ni_get_ps(new_ps);
new_state        3537 drivers/gpu/drm/radeon/ni_dpm.c 	if (new_state->performance_levels[new_state->performance_level_count - 1].sclk <
new_state         432 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         436 drivers/gpu/drm/radeon/rs780_dpm.c 	if ((new_state->sclk_high == old_state->sclk_high) &&
new_state         437 drivers/gpu/drm/radeon/rs780_dpm.c 	    (new_state->sclk_low == old_state->sclk_low))
new_state         441 drivers/gpu/drm/radeon/rs780_dpm.c 					     new_state->sclk_low, false, &min_dividers);
new_state         446 drivers/gpu/drm/radeon/rs780_dpm.c 					     new_state->sclk_high, false, &max_dividers);
new_state         479 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         483 drivers/gpu/drm/radeon/rs780_dpm.c 	if ((new_state->sclk_high == old_state->sclk_high) &&
new_state         484 drivers/gpu/drm/radeon/rs780_dpm.c 	    (new_state->sclk_low == old_state->sclk_low))
new_state         498 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         501 drivers/gpu/drm/radeon/rs780_dpm.c 	if ((new_state->sclk_high == old_state->sclk_high) &&
new_state         502 drivers/gpu/drm/radeon/rs780_dpm.c 	    (new_state->sclk_low == old_state->sclk_low))
new_state         505 drivers/gpu/drm/radeon/rs780_dpm.c 	if (new_state->sclk_high == new_state->sclk_low)
new_state         527 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         533 drivers/gpu/drm/radeon/rs780_dpm.c 	if ((new_state->max_voltage == RS780_VDDC_LEVEL_HIGH) &&
new_state         534 drivers/gpu/drm/radeon/rs780_dpm.c 	    (new_state->min_voltage == RS780_VDDC_LEVEL_HIGH))
new_state         538 drivers/gpu/drm/radeon/rs780_dpm.c 						     new_state->max_voltage);
new_state         540 drivers/gpu/drm/radeon/rs780_dpm.c 						    new_state->min_voltage);
new_state         569 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         576 drivers/gpu/drm/radeon/rs780_dpm.c 	if (new_state->sclk_high >= current_state->sclk_high)
new_state         586 drivers/gpu/drm/radeon/rs780_dpm.c 	struct igp_ps *new_state = rs780_get_ps(new_ps);
new_state         593 drivers/gpu/drm/radeon/rs780_dpm.c 	if (new_state->sclk_high < current_state->sclk_high)
new_state         969 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state         973 drivers/gpu/drm/radeon/rv6xx_dpm.c 					new_state->low.vddc,
new_state        1048 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1050 drivers/gpu/drm/radeon/rv6xx_dpm.c 	rv6xx_calculate_engine_speed_stepping_parameters(rdev, new_state);
new_state        1051 drivers/gpu/drm/radeon/rv6xx_dpm.c 	rv6xx_calculate_memory_clock_stepping_parameters(rdev, new_state);
new_state        1052 drivers/gpu/drm/radeon/rv6xx_dpm.c 	rv6xx_calculate_voltage_stepping_parameters(rdev, new_state);
new_state        1053 drivers/gpu/drm/radeon/rv6xx_dpm.c 	rv6xx_calculate_ap(rdev, new_state);
new_state        1202 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1206 drivers/gpu/drm/radeon/rv6xx_dpm.c 	safe_voltage = (new_state->low.vddc >= old_state->low.vddc) ?
new_state        1207 drivers/gpu/drm/radeon/rv6xx_dpm.c 		new_state->low.vddc : old_state->low.vddc;
new_state        1232 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1235 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if ((new_state->low.flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE) &&
new_state        1246 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1249 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if ((new_state->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2) !=
new_state        1308 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1311 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if (new_state->low.vddc > old_state->low.vddc)
new_state        1314 drivers/gpu/drm/radeon/rv6xx_dpm.c 					     new_state->low.vddc);
new_state        1323 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1326 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if (new_state->low.vddc < old_state->low.vddc)
new_state        1329 drivers/gpu/drm/radeon/rv6xx_dpm.c 					     new_state->low.vddc);
new_state        1421 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1427 drivers/gpu/drm/radeon/rv6xx_dpm.c 			     new_state->low.sclk,
new_state        1434 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1439 drivers/gpu/drm/radeon/rv6xx_dpm.c 				   new_state->low.sclk,
new_state        1454 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1460 drivers/gpu/drm/radeon/rv6xx_dpm.c 			     new_state->low.sclk,
new_state        1461 drivers/gpu/drm/radeon/rv6xx_dpm.c 			     new_state->medium.sclk,
new_state        1465 drivers/gpu/drm/radeon/rv6xx_dpm.c 			     new_state->medium.sclk,
new_state        1466 drivers/gpu/drm/radeon/rv6xx_dpm.c 			     new_state->high.sclk,
new_state        1497 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1504 drivers/gpu/drm/radeon/rv6xx_dpm.c 		if (!(new_state->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2))
new_state        1515 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1522 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if (new_state->high.sclk >= current_state->high.sclk)
new_state        1532 drivers/gpu/drm/radeon/rv6xx_dpm.c 	struct rv6xx_ps *new_state = rv6xx_get_ps(new_ps);
new_state        1539 drivers/gpu/drm/radeon/rv6xx_dpm.c 	if (new_state->high.sclk < current_state->high.sclk)
new_state        1435 drivers/gpu/drm/radeon/rv770_dpm.c 	struct rv7xx_ps *new_state = rv770_get_ps(new_ps);
new_state        1442 drivers/gpu/drm/radeon/rv770_dpm.c 	if (new_state->high.sclk >= current_state->high.sclk)
new_state        1452 drivers/gpu/drm/radeon/rv770_dpm.c 	struct rv7xx_ps *new_state = rv770_get_ps(new_ps);
new_state        1459 drivers/gpu/drm/radeon/rv770_dpm.c 	if (new_state->high.sclk < current_state->high.sclk)
new_state        1748 drivers/gpu/drm/radeon/rv770_dpm.c 	struct rv7xx_ps *new_state = rv770_get_ps(radeon_new_state);
new_state        1759 drivers/gpu/drm/radeon/rv770_dpm.c 	if (new_state->high.mclk <= pi->mclk_odt_threshold)
new_state        1777 drivers/gpu/drm/radeon/rv770_dpm.c 	struct rv7xx_ps *new_state = rv770_get_ps(radeon_new_state);
new_state        1788 drivers/gpu/drm/radeon/rv770_dpm.c 	if (new_state->high.mclk <= pi->mclk_odt_threshold)
new_state        5273 drivers/gpu/drm/radeon/si_dpm.c 	struct ni_ps *new_state = ni_get_ps(radeon_new_state);
new_state        5278 drivers/gpu/drm/radeon/si_dpm.c 		((new_state->performance_level_count - 1) *
new_state        5692 drivers/gpu/drm/radeon/si_dpm.c 	struct ni_ps *new_state = ni_get_ps(radeon_new_state);
new_state        5706 drivers/gpu/drm/radeon/si_dpm.c 				    sizeof(SMC_SIslands_MCRegisterSet) * new_state->performance_level_count,
new_state          51 drivers/gpu/drm/rcar-du/rcar_du_plane.c 				const struct rcar_du_plane_state *new_state)
new_state          59 drivers/gpu/drm/rcar-du/rcar_du_plane.c 	    old_state->format->planes != new_state->format->planes)
new_state          63 drivers/gpu/drm/rcar-du/rcar_du_plane.c 	if (old_state->source != new_state->source)
new_state         949 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 					  struct drm_plane_state *new_state)
new_state         954 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->crtc_x = new_state->crtc_x;
new_state         955 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->crtc_y = new_state->crtc_y;
new_state         956 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->crtc_h = new_state->crtc_h;
new_state         957 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->crtc_w = new_state->crtc_w;
new_state         958 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->src_x = new_state->src_x;
new_state         959 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->src_y = new_state->src_y;
new_state         960 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->src_h = new_state->src_h;
new_state         961 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	plane->state->src_w = new_state->src_w;
new_state         962 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	swap(plane->state->fb, new_state->fb);
new_state         264 drivers/gpu/drm/vboxvideo/vbox_mode.c 				     struct drm_plane_state *new_state)
new_state         268 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if (new_state->crtc) {
new_state         270 drivers/gpu/drm/vboxvideo/vbox_mode.c 					    new_state->state, new_state->crtc);
new_state         275 drivers/gpu/drm/vboxvideo/vbox_mode.c 	return drm_atomic_helper_check_plane_state(new_state, crtc_state,
new_state         304 drivers/gpu/drm/vboxvideo/vbox_mode.c 				   struct drm_plane_state *new_state)
new_state         309 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if (!new_state->fb)
new_state         312 drivers/gpu/drm/vboxvideo/vbox_mode.c 	gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj);
new_state         333 drivers/gpu/drm/vboxvideo/vbox_mode.c 				    struct drm_plane_state *new_state)
new_state         336 drivers/gpu/drm/vboxvideo/vbox_mode.c 	u32 width = new_state->crtc_w;
new_state         337 drivers/gpu/drm/vboxvideo/vbox_mode.c 	u32 height = new_state->crtc_h;
new_state         340 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if (new_state->crtc) {
new_state         342 drivers/gpu/drm/vboxvideo/vbox_mode.c 					    new_state->state, new_state->crtc);
new_state         347 drivers/gpu/drm/vboxvideo/vbox_mode.c 	ret = drm_atomic_helper_check_plane_state(new_state, crtc_state,
new_state         354 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if (!new_state->fb)
new_state         463 drivers/gpu/drm/vboxvideo/vbox_mode.c 				  struct drm_plane_state *new_state)
new_state         467 drivers/gpu/drm/vboxvideo/vbox_mode.c 	if (!new_state->fb)
new_state         470 drivers/gpu/drm/vboxvideo/vbox_mode.c 	gbo = drm_gem_vram_of_gem(to_vbox_framebuffer(new_state->fb)->obj);
new_state         144 drivers/gpu/drm/virtio/virtgpu_plane.c 					struct drm_plane_state *new_state)
new_state         151 drivers/gpu/drm/virtio/virtgpu_plane.c 	if (!new_state->fb)
new_state         154 drivers/gpu/drm/virtio/virtgpu_plane.c 	vgfb = to_virtio_gpu_framebuffer(new_state->fb);
new_state         156 drivers/gpu/drm/virtio/virtgpu_plane.c 	if (bo && bo->dumb && (plane->state->fb != new_state->fb)) {
new_state         349 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 			       struct drm_plane_state *new_state)
new_state         351 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	struct drm_framebuffer *fb = new_state->fb;
new_state         352 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
new_state         483 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 				     struct drm_plane_state *new_state)
new_state         488 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	struct drm_framebuffer *fb = new_state->fb;
new_state         490 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	if (new_state->crtc)
new_state         491 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 		crtc_state = drm_atomic_get_new_crtc_state(new_state->state,
new_state         492 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 							   new_state->crtc);
new_state         494 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	ret = drm_atomic_helper_check_plane_state(new_state, crtc_state,
new_state         506 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	if (new_state->crtc_w != 64 || new_state->crtc_h != 64) {
new_state         508 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 			  new_state->crtc_w, new_state->crtc_h);
new_state         525 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 			     struct drm_crtc_state *new_state)
new_state         527 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	struct vmw_display_unit *du = vmw_crtc_to_du(new_state->crtc);
new_state         529 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	bool has_primary = new_state->plane_mask &
new_state         533 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	if (has_primary != new_state->enable)
new_state         537 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	if (new_state->connector_mask != connector_mask &&
new_state         538 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	    new_state->connector_mask != 0) {
new_state         547 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 	if (new_state->mode.crtc_clock == 0)
new_state         548 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 		new_state->adjusted_mode.crtc_clock = new_state->mode.clock;
new_state         465 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h 				   struct drm_plane_state *new_state);
new_state         406 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 				 struct drm_plane_state *new_state)
new_state         408 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	struct drm_framebuffer *new_fb = new_state->fb;
new_state         409 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	struct drm_crtc *crtc = plane->state->crtc ?: new_state->crtc;
new_state         410 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
new_state         423 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c 	size = new_state->crtc_w * new_state->crtc_h * 4;
new_state        1033 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 				  struct drm_plane_state *new_state)
new_state        1036 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	struct drm_framebuffer *new_fb = new_state->fb;
new_state        1038 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
new_state        1041 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	struct drm_crtc *crtc = new_state->crtc;
new_state        1042 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c 	uint32_t hdisplay = new_state->crtc_w, vdisplay = new_state->crtc_h;
new_state        1395 drivers/gpu/vga/vgaarb.c 	bool new_state;
new_state        1403 drivers/gpu/vga/vgaarb.c 			new_state = false;
new_state        1405 drivers/gpu/vga/vgaarb.c 			new_state = true;
new_state        1408 drivers/gpu/vga/vgaarb.c 							     new_state);
new_state         764 drivers/hsi/clients/cmt_speech.c static void cs_hsi_set_wakeline(struct cs_hsi_iface *hi, bool new_state)
new_state         769 drivers/hsi/clients/cmt_speech.c 	if (hi->wakeline_state != new_state) {
new_state         770 drivers/hsi/clients/cmt_speech.c 		hi->wakeline_state = new_state;
new_state         773 drivers/hsi/clients/cmt_speech.c 			new_state, hi->cl);
new_state         778 drivers/hsi/clients/cmt_speech.c 		if (new_state)
new_state         785 drivers/hsi/clients/cmt_speech.c 		new_state, hi->cl);
new_state         377 drivers/infiniband/core/cma.c 	enum rdma_cm_state	new_state;
new_state        2566 drivers/infiniband/core/cma.c 		work->new_state = RDMA_CM_ADDR_RESOLVED;
new_state        2636 drivers/infiniband/core/cma.c 	if (!cma_comp_exch(id_priv, work->old_state, work->new_state))
new_state        2681 drivers/infiniband/core/cma.c 	work->new_state = RDMA_CM_ROUTE_RESOLVED;
new_state        2691 drivers/infiniband/core/cma.c 	work->new_state = RDMA_CM_ADDR_RESOLVED;
new_state        1218 drivers/infiniband/hw/cxgb4/device.c static int c4iw_uld_state_change(void *handle, enum cxgb4_state new_state)
new_state        1222 drivers/infiniband/hw/cxgb4/device.c 	pr_debug("new_state %u\n", new_state);
new_state        1223 drivers/infiniband/hw/cxgb4/device.c 	switch (new_state) {
new_state         789 drivers/infiniband/hw/efa/efa_verbs.c 				  enum ib_qp_state new_state)
new_state         802 drivers/infiniband/hw/efa/efa_verbs.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, IB_QPT_UD,
new_state         828 drivers/infiniband/hw/efa/efa_verbs.c 	enum ib_qp_state new_state;
new_state         840 drivers/infiniband/hw/efa/efa_verbs.c 	new_state = qp_attr_mask & IB_QP_STATE ? qp_attr->qp_state : cur_state;
new_state         843 drivers/infiniband/hw/efa/efa_verbs.c 				     new_state);
new_state         876 drivers/infiniband/hw/efa/efa_verbs.c 	qp->state = new_state;
new_state        12858 drivers/infiniband/hw/hfi1/chip.c 	u32 new_state;
new_state        12862 drivers/infiniband/hw/hfi1/chip.c 		new_state = chip_to_opa_lstate(ppd->dd,
new_state        12864 drivers/infiniband/hw/hfi1/chip.c 		if (new_state == state)
new_state         965 drivers/infiniband/hw/hns/hns_roce_device.h 			 enum ib_qp_state new_state);
new_state        2489 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				 enum hns_roce_qp_state new_state,
new_state        2537 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	    new_state >= HNS_ROCE_QP_NUM_STATE ||
new_state        2538 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	    !op[cur_state][new_state]) {
new_state        2540 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			cur_state, new_state);
new_state        2544 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (op[cur_state][new_state] == HNS_ROCE_CMD_2RST_QP)
new_state        2549 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (op[cur_state][new_state] == HNS_ROCE_CMD_2ERR_QP)
new_state        2561 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				op[cur_state][new_state],
new_state        2570 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			     enum ib_qp_state new_state)
new_state        2595 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        2685 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		       ROCEE_QP1C_CFG0_0_ROCEE_QP1C_QP_ST_S, new_state);
new_state        2690 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	hr_qp->state = new_state;
new_state        2691 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (new_state == IB_QPS_RESET) {
new_state        2714 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 			    enum ib_qp_state new_state)
new_state        2759 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        2817 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) {
new_state        2887 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state        3071 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		new_state == IB_QPS_RTS) {
new_state        3243 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	} else if (!((cur_state == IB_QPS_INIT && new_state == IB_QPS_RESET) ||
new_state        3244 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_INIT && new_state == IB_QPS_ERR) ||
new_state        3245 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_RTR && new_state == IB_QPS_RESET) ||
new_state        3246 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_RTR && new_state == IB_QPS_ERR) ||
new_state        3247 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_RTS && new_state == IB_QPS_RESET) ||
new_state        3248 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_RTS && new_state == IB_QPS_ERR) ||
new_state        3249 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_ERR && new_state == IB_QPS_RESET) ||
new_state        3250 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		   (cur_state == IB_QPS_ERR && new_state == IB_QPS_ERR))) {
new_state        3258 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 		       QP_CONTEXT_QPC_BYTES_144_QP_STATE_S, new_state);
new_state        3263 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				    to_hns_roce_state(new_state), context,
new_state        3274 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) {
new_state        3295 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	hr_qp->state = new_state;
new_state        3304 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 	if (new_state == IB_QPS_RESET && !ibqp->uobject) {
new_state        3324 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 				 enum ib_qp_state new_state)
new_state        3329 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 					 new_state);
new_state        3332 drivers/infiniband/hw/hns/hns_roce_hw_v1.c 					new_state);
new_state         231 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				 enum ib_qp_state new_state);
new_state        3167 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				 enum ib_qp_state new_state,
new_state        4042 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 					     enum ib_qp_state new_state)
new_state        4046 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	    (new_state == IB_QPS_ERR || new_state == IB_QPS_RESET)) ||
new_state        4048 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	    (new_state == IB_QPS_RTS || new_state == IB_QPS_SQD)) ||
new_state        4049 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	    (cur_state == IB_QPS_SQE && new_state == IB_QPS_RTS))
new_state        4162 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				      enum ib_qp_state new_state,
new_state        4169 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        4173 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) {
new_state        4176 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state        4181 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	} else if (cur_state == IB_QPS_RTR && new_state == IB_QPS_RTS) {
new_state        4186 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	} else if (hns_roce_v2_check_qp_stat(cur_state, new_state)) {
new_state        4388 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 				 enum ib_qp_state new_state)
new_state        4407 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 					 new_state, context, qpc_mask);
new_state        4412 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (new_state == IB_QPS_ERR) {
new_state        4445 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 		       V2_QPC_BYTE_60_QP_ST_S, new_state);
new_state        4450 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	ret = hns_roce_v2_qp_modify(hr_dev, cur_state, new_state, ctx, hr_qp);
new_state        4456 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	hr_qp->state = new_state;
new_state        4460 drivers/infiniband/hw/hns/hns_roce_hw_v2.c 	if (new_state == IB_QPS_RESET && !ibqp->uobject) {
new_state        1179 drivers/infiniband/hw/hns/hns_roce_qp.c 	enum ib_qp_state cur_state, new_state;
new_state        1186 drivers/infiniband/hw/hns/hns_roce_qp.c 	new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
new_state        1189 drivers/infiniband/hw/hns/hns_roce_qp.c 	    (attr_mask & IB_QP_STATE) && new_state == IB_QPS_ERR) {
new_state        1202 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
new_state        1212 drivers/infiniband/hw/hns/hns_roce_qp.c 	if (cur_state == new_state && cur_state == IB_QPS_RESET) {
new_state        1217 drivers/infiniband/hw/hns/hns_roce_qp.c 				new_state);
new_state        1226 drivers/infiniband/hw/hns/hns_roce_qp.c 				    new_state);
new_state         193 drivers/infiniband/hw/mlx4/alias_GUID.c 	enum slave_port_state new_state;
new_state         260 drivers/infiniband/hw/mlx4/alias_GUID.c 			new_state = set_and_calc_slave_port_state(dev->dev, slave_id, port_num,
new_state         265 drivers/infiniband/hw/mlx4/alias_GUID.c 				 slave_id, port_num, prev_state, new_state, gen_event);
new_state          56 drivers/infiniband/hw/mlx4/qp.c static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state,
new_state        2134 drivers/infiniband/hw/mlx4/qp.c 			       enum ib_qp_state new_state,
new_state        2186 drivers/infiniband/hw/mlx4/qp.c 	context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) |
new_state        2242 drivers/infiniband/hw/mlx4/qp.c 	if (new_state == IB_QPS_RESET && qp->counter_index)
new_state        2245 drivers/infiniband/hw/mlx4/qp.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        2263 drivers/infiniband/hw/mlx4/qp.c 		if (cur_state == IB_QPS_SQD && new_state == IB_QPS_SQD &&
new_state        2270 drivers/infiniband/hw/mlx4/qp.c 	if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state        2339 drivers/infiniband/hw/mlx4/qp.c 		    (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR)) {
new_state        2460 drivers/infiniband/hw/mlx4/qp.c 	    new_state == IB_QPS_INIT)
new_state        2464 drivers/infiniband/hw/mlx4/qp.c 	    new_state == IB_QPS_RTR  &&
new_state        2509 drivers/infiniband/hw/mlx4/qp.c 	if (qp_type == IB_QPT_UD && (new_state == IB_QPS_RTR)) {
new_state        2519 drivers/infiniband/hw/mlx4/qp.c 	if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD	&&
new_state        2527 drivers/infiniband/hw/mlx4/qp.c 	    new_state == IB_QPS_INIT)
new_state        2538 drivers/infiniband/hw/mlx4/qp.c 	    new_state == IB_QPS_INIT) {
new_state        2553 drivers/infiniband/hw/mlx4/qp.c 	    new_state == IB_QPS_INIT) {
new_state        2559 drivers/infiniband/hw/mlx4/qp.c 			     to_mlx4_state(new_state), context, optpar,
new_state        2564 drivers/infiniband/hw/mlx4/qp.c 	qp->state = new_state;
new_state        2585 drivers/infiniband/hw/mlx4/qp.c 		if (cur_state != IB_QPS_RTR && new_state == IB_QPS_RTR)
new_state        2591 drivers/infiniband/hw/mlx4/qp.c 		    (new_state == IB_QPS_RESET || new_state == IB_QPS_ERR))
new_state        2599 drivers/infiniband/hw/mlx4/qp.c 	if (new_state == IB_QPS_RESET) {
new_state        2723 drivers/infiniband/hw/mlx4/qp.c 	enum ib_qp_state cur_state, new_state;
new_state        2728 drivers/infiniband/hw/mlx4/qp.c 	new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
new_state        2730 drivers/infiniband/hw/mlx4/qp.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
new_state        2735 drivers/infiniband/hw/mlx4/qp.c 			 ibqp->qp_num, cur_state, new_state,
new_state        2742 drivers/infiniband/hw/mlx4/qp.c 		       (new_state == IB_QPS_INIT)) ||
new_state        2744 drivers/infiniband/hw/mlx4/qp.c 		       (new_state == IB_QPS_RTR)))) {
new_state        2746 drivers/infiniband/hw/mlx4/qp.c 				 ibqp->qp_num, cur_state, new_state);
new_state        2754 drivers/infiniband/hw/mlx4/qp.c 				 ibqp->qp_num, attr_mask, cur_state, new_state);
new_state        2762 drivers/infiniband/hw/mlx4/qp.c 		if ((cur_state == IB_QPS_RESET) && (new_state == IB_QPS_INIT)) {
new_state        2782 drivers/infiniband/hw/mlx4/qp.c 			 new_state, ibqp->qp_type);
new_state        2797 drivers/infiniband/hw/mlx4/qp.c 				 new_state, ibqp->qp_type);
new_state        2807 drivers/infiniband/hw/mlx4/qp.c 			 new_state, ibqp->qp_type);
new_state        2816 drivers/infiniband/hw/mlx4/qp.c 			 new_state, ibqp->qp_type);
new_state        2820 drivers/infiniband/hw/mlx4/qp.c 	if (cur_state == new_state && cur_state == IB_QPS_RESET) {
new_state        2825 drivers/infiniband/hw/mlx4/qp.c 	if (ibqp->rwq_ind_tbl && (new_state == IB_QPS_INIT)) {
new_state        2833 drivers/infiniband/hw/mlx4/qp.c 				  cur_state, new_state, udata);
new_state        4213 drivers/infiniband/hw/mlx4/qp.c static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state,
new_state        4226 drivers/infiniband/hw/mlx4/qp.c 	qp_new_state = ib_wq2qp_state(new_state);
new_state        4228 drivers/infiniband/hw/mlx4/qp.c 	if (ib_wq2qp_state(new_state) == qp_cur_state)
new_state        4231 drivers/infiniband/hw/mlx4/qp.c 	if (new_state == IB_WQS_RDY) {
new_state        4275 drivers/infiniband/hw/mlx4/qp.c 	enum ib_wq_state cur_state, new_state;
new_state        4299 drivers/infiniband/hw/mlx4/qp.c 	new_state = wq_attr_mask & IB_WQ_STATE ? wq_attr->wq_state : cur_state;
new_state        4302 drivers/infiniband/hw/mlx4/qp.c 	    new_state < IB_WQS_RESET || new_state > IB_WQS_ERR)
new_state        4305 drivers/infiniband/hw/mlx4/qp.c 	if ((new_state == IB_WQS_RDY) && (cur_state == IB_WQS_ERR))
new_state        4308 drivers/infiniband/hw/mlx4/qp.c 	if ((new_state == IB_WQS_ERR) && (cur_state == IB_WQS_RESET))
new_state        4320 drivers/infiniband/hw/mlx4/qp.c 		err = _mlx4_ib_modify_wq(ibwq, new_state, udata);
new_state        4323 drivers/infiniband/hw/mlx4/qp.c 		ibwq->state = new_state;
new_state        3150 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_ib_dev *dev, struct mlx5_ib_rq *rq, int new_state,
new_state        3167 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(rqc, rqc, state, new_state);
new_state        3184 drivers/infiniband/hw/mlx5/qp.c 	rq->state = new_state;
new_state        3192 drivers/infiniband/hw/mlx5/qp.c 	struct mlx5_core_dev *dev, struct mlx5_ib_sq *sq, int new_state,
new_state        3214 drivers/infiniband/hw/mlx5/qp.c 	MLX5_SET(sqc, sqc, state, new_state);
new_state        3217 drivers/infiniband/hw/mlx5/qp.c 		if (new_state != MLX5_SQC_STATE_RDY)
new_state        3253 drivers/infiniband/hw/mlx5/qp.c 	    (new_state != MLX5_SQC_STATE_RDY)) {
new_state        3255 drivers/infiniband/hw/mlx5/qp.c 		if (new_state != MLX5_SQC_STATE_RDY)
new_state        3260 drivers/infiniband/hw/mlx5/qp.c 	sq->state = new_state;
new_state        3411 drivers/infiniband/hw/mlx5/qp.c 			       enum ib_qp_state new_state,
new_state        3494 drivers/infiniband/hw/mlx5/qp.c 	if ((cur_state == IB_QPS_RESET) && (new_state == IB_QPS_INIT)) {
new_state        3611 drivers/infiniband/hw/mlx5/qp.c 	if (qp->rq.wqe_cnt && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
new_state        3614 drivers/infiniband/hw/mlx5/qp.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        3630 drivers/infiniband/hw/mlx5/qp.c 	if (!ibqp->uobject && cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
new_state        3637 drivers/infiniband/hw/mlx5/qp.c 	mlx5_new = to_mlx5_state(new_state);
new_state        3654 drivers/infiniband/hw/mlx5/qp.c 		if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        3699 drivers/infiniband/hw/mlx5/qp.c 	qp->state = new_state;
new_state        3714 drivers/infiniband/hw/mlx5/qp.c 	if (new_state == IB_QPS_RESET &&
new_state        3733 drivers/infiniband/hw/mlx5/qp.c 	if ((new_state == IB_QPS_RTS) && qp->counter_pending) {
new_state        3758 drivers/infiniband/hw/mlx5/qp.c static bool modify_dci_qp_is_ok(enum ib_qp_state cur_state, enum ib_qp_state new_state,
new_state        3764 drivers/infiniband/hw/mlx5/qp.c 	if (new_state == IB_QPS_RESET) {
new_state        3766 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        3769 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_INIT) {
new_state        3772 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state        3776 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_RTR && new_state == IB_QPS_RTS) {
new_state        3781 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_RTS && new_state == IB_QPS_RTS) {
new_state        3784 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state != IB_QPS_RESET && new_state == IB_QPS_ERR) {
new_state        3802 drivers/infiniband/hw/mlx5/qp.c 	enum ib_qp_state cur_state, new_state;
new_state        3811 drivers/infiniband/hw/mlx5/qp.c 	new_state = attr->qp_state;
new_state        3814 drivers/infiniband/hw/mlx5/qp.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
new_state        3847 drivers/infiniband/hw/mlx5/qp.c 	} else if (cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state        3879 drivers/infiniband/hw/mlx5/qp.c 		mlx5_ib_warn(dev, "Modify DCT: Invalid transition from %d to %d\n", cur_state, new_state);
new_state        3885 drivers/infiniband/hw/mlx5/qp.c 		qp->state = new_state;
new_state        3896 drivers/infiniband/hw/mlx5/qp.c 	enum ib_qp_state cur_state, new_state;
new_state        3941 drivers/infiniband/hw/mlx5/qp.c 	new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
new_state        3943 drivers/infiniband/hw/mlx5/qp.c 	if (!(cur_state == new_state && cur_state == IB_QPS_RESET)) {
new_state        3955 drivers/infiniband/hw/mlx5/qp.c 		   !ib_modify_qp_is_ok(cur_state, new_state, qp_type,
new_state        3958 drivers/infiniband/hw/mlx5/qp.c 			    cur_state, new_state, ibqp->qp_type, attr_mask);
new_state        3961 drivers/infiniband/hw/mlx5/qp.c 		   !modify_dci_qp_is_ok(cur_state, new_state, attr_mask)) {
new_state        3963 drivers/infiniband/hw/mlx5/qp.c 			    cur_state, new_state, qp_type, attr_mask);
new_state        4001 drivers/infiniband/hw/mlx5/qp.c 	if (cur_state == new_state && cur_state == IB_QPS_RESET) {
new_state        4007 drivers/infiniband/hw/mlx5/qp.c 				  new_state, &ucmd, udata);
new_state         559 drivers/infiniband/hw/mthca/mthca_qp.c 			     enum ib_qp_state new_state,
new_state         581 drivers/infiniband/hw/mthca/mthca_qp.c 	qp_context->flags      = cpu_to_be32((to_mthca_state(new_state) << 28) |
new_state         668 drivers/infiniband/hw/mthca/mthca_qp.c 	    cur_state == IB_QPS_INIT && new_state == IB_QPS_RTR) {
new_state         788 drivers/infiniband/hw/mthca/mthca_qp.c 	if (cur_state == IB_QPS_RTS && new_state == IB_QPS_SQD	&&
new_state         793 drivers/infiniband/hw/mthca/mthca_qp.c 	err = mthca_MODIFY_QP(dev, cur_state, new_state, qp->qpn, 0,
new_state         797 drivers/infiniband/hw/mthca/mthca_qp.c 			   cur_state, new_state, err);
new_state         801 drivers/infiniband/hw/mthca/mthca_qp.c 	qp->state = new_state;
new_state         820 drivers/infiniband/hw/mthca/mthca_qp.c 		    new_state == IB_QPS_RTR)
new_state         825 drivers/infiniband/hw/mthca/mthca_qp.c 		    (new_state == IB_QPS_RESET ||
new_state         826 drivers/infiniband/hw/mthca/mthca_qp.c 		     new_state == IB_QPS_ERR))
new_state         834 drivers/infiniband/hw/mthca/mthca_qp.c 	if (new_state == IB_QPS_RESET && !qp->ibqp.uobject) {
new_state         863 drivers/infiniband/hw/mthca/mthca_qp.c 	enum ib_qp_state cur_state, new_state;
new_state         877 drivers/infiniband/hw/mthca/mthca_qp.c 	new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
new_state         879 drivers/infiniband/hw/mthca/mthca_qp.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
new_state         883 drivers/infiniband/hw/mthca/mthca_qp.c 			  qp->transport, cur_state, new_state,
new_state         915 drivers/infiniband/hw/mthca/mthca_qp.c 	if (cur_state == new_state && cur_state == IB_QPS_RESET) {
new_state         920 drivers/infiniband/hw/mthca/mthca_qp.c 	err = __mthca_modify_qp(ibqp, attr, attr_mask, cur_state, new_state,
new_state        2138 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	enum ocrdma_qp_state new_state;
new_state        2139 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	new_state = get_ocrdma_qp_state(new_ib_state);
new_state        2146 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (new_state == qp->state) {
new_state        2152 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	if (new_state == OCRDMA_QPS_INIT) {
new_state        2155 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	} else if (new_state == OCRDMA_QPS_ERR) {
new_state        2159 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	qp->state = new_state;
new_state         145 drivers/infiniband/hw/ocrdma/ocrdma_hw.h int ocrdma_qp_state_change(struct ocrdma_qp *, enum ib_qp_state new_state,
new_state         225 drivers/infiniband/hw/qedr/qedr_iw_cm.c 		qp_params.new_state = QED_ROCE_QP_STATE_ERR;
new_state         227 drivers/infiniband/hw/qedr/qedr_iw_cm.c 		qp_params.new_state = QED_ROCE_QP_STATE_SQD;
new_state        2002 drivers/infiniband/hw/qedr/verbs.c 				enum qed_roce_qp_state new_state)
new_state        2006 drivers/infiniband/hw/qedr/verbs.c 	if (new_state == cur_state)
new_state        2011 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2023 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2043 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2056 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2069 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2081 drivers/infiniband/hw/qedr/verbs.c 		switch (new_state) {
new_state        2143 drivers/infiniband/hw/qedr/verbs.c 		qp_params.new_state = qedr_get_state_from_ibqp(attr->qp_state);
new_state        2344 drivers/infiniband/hw/qedr/verbs.c 	    !udata && qp_params.new_state == QED_ROCE_QP_STATE_ERR)
new_state        2354 drivers/infiniband/hw/qedr/verbs.c 						  qp_params.new_state);
new_state        2355 drivers/infiniband/hw/qedr/verbs.c 		qp->state = qp_params.new_state;
new_state         391 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 				enum ib_qp_state new_state,
new_state         404 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 	switch (new_state) {
new_state         517 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 		qp_grp->state = new_state;
new_state         521 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 		usnic_ib_qp_grp_state_to_string(new_state));
new_state         526 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 		usnic_ib_qp_grp_state_to_string(new_state));
new_state          99 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h 				enum ib_qp_state new_state,
new_state        1451 drivers/infiniband/sw/rdmavt/qp.c 	enum ib_qp_state cur_state, new_state;
new_state        1464 drivers/infiniband/sw/rdmavt/qp.c 	new_state = attr_mask & IB_QP_STATE ? attr->qp_state : cur_state;
new_state        1467 drivers/infiniband/sw/rdmavt/qp.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, ibqp->qp_type,
new_state        1552 drivers/infiniband/sw/rdmavt/qp.c 			if (new_state != IB_QPS_RTS)
new_state        1557 drivers/infiniband/sw/rdmavt/qp.c 			if (new_state != IB_QPS_RTS && new_state != IB_QPS_SQD)
new_state        1570 drivers/infiniband/sw/rdmavt/qp.c 	switch (new_state) {
new_state        1579 drivers/infiniband/sw/rdmavt/qp.c 		qp->state = new_state;
new_state        1584 drivers/infiniband/sw/rdmavt/qp.c 		qp->state = new_state;
new_state        1590 drivers/infiniband/sw/rdmavt/qp.c 		qp->state = new_state;
new_state        1598 drivers/infiniband/sw/rdmavt/qp.c 		qp->state = new_state;
new_state        1684 drivers/infiniband/sw/rdmavt/qp.c 	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT)
new_state         419 drivers/infiniband/sw/rxe/rxe_qp.c 	enum ib_qp_state new_state = (mask & IB_QP_STATE) ?
new_state         422 drivers/infiniband/sw/rxe/rxe_qp.c 	if (!ib_modify_qp_is_ok(cur_state, new_state, qp_type(qp), mask)) {
new_state         430 drivers/infiniband/sw/rxe/rxe_qp.c 			    new_state != IB_QPS_ERR)
new_state         738 drivers/infiniband/ulp/ipoib/ipoib_ib.c 					enum ib_qp_state new_state)
new_state         750 drivers/infiniband/ulp/ipoib/ipoib_ib.c 	if (new_state == IB_QPS_ERR && qp_attr.qp_state == IB_QPS_RESET)
new_state         754 drivers/infiniband/ulp/ipoib/ipoib_ib.c 			   new_state, qp_attr.qp_state);
new_state        2731 drivers/infiniband/ulp/srpt/ib_srpt.c 	enum srpt_command_state new_state;
new_state        2740 drivers/infiniband/ulp/srpt/ib_srpt.c 	new_state = srpt_set_cmd_state(ioctx, SRPT_STATE_NEED_DATA);
new_state        2741 drivers/infiniband/ulp/srpt/ib_srpt.c 	WARN_ON(new_state == SRPT_STATE_DONE);
new_state         161 drivers/input/keyboard/cros_ec_keyb.c 	int new_state;
new_state         179 drivers/input/keyboard/cros_ec_keyb.c 			new_state = kb_state[col] & (1 << row);
new_state         181 drivers/input/keyboard/cros_ec_keyb.c 			if (new_state != old_state) {
new_state         184 drivers/input/keyboard/cros_ec_keyb.c 					row, col, new_state);
new_state         187 drivers/input/keyboard/cros_ec_keyb.c 						 new_state);
new_state         121 drivers/input/keyboard/matrix_keypad.c 	uint32_t new_state[MATRIX_MAX_COLS];
new_state         127 drivers/input/keyboard/matrix_keypad.c 	memset(new_state, 0, sizeof(new_state));
new_state         135 drivers/input/keyboard/matrix_keypad.c 			new_state[col] |=
new_state         144 drivers/input/keyboard/matrix_keypad.c 		bits_changed = keypad->last_key_state[col] ^ new_state[col];
new_state         156 drivers/input/keyboard/matrix_keypad.c 					 new_state[col] & (1 << row));
new_state         161 drivers/input/keyboard/matrix_keypad.c 	memcpy(keypad->last_key_state, new_state, sizeof(new_state));
new_state          96 drivers/input/keyboard/omap-keypad.c 	unsigned char new_state[8], changed, key_down = 0;
new_state         100 drivers/input/keyboard/omap-keypad.c 	omap_kp_scan_keypad(omap_kp_data, new_state);
new_state         104 drivers/input/keyboard/omap-keypad.c 		changed = new_state[col] ^ keypad_state[col];
new_state         105 drivers/input/keyboard/omap-keypad.c 		key_down |= new_state[col];
new_state         115 drivers/input/keyboard/omap-keypad.c 			       row, (new_state[col] & (1 << row)) ?
new_state         126 drivers/input/keyboard/omap-keypad.c 					 new_state[col] & (1 << row));
new_state         131 drivers/input/keyboard/omap-keypad.c 	memcpy(keypad_state, new_state, sizeof(keypad_state));
new_state         128 drivers/input/keyboard/omap4-keypad.c 	u32 *new_state = (u32 *) key_state;
new_state         130 drivers/input/keyboard/omap4-keypad.c 	*new_state = kbd_readl(keypad_data, OMAP4_KBD_FULLCODE31_0);
new_state         131 drivers/input/keyboard/omap4-keypad.c 	*(new_state + 1) = kbd_readl(keypad_data, OMAP4_KBD_FULLCODE63_32);
new_state         171 drivers/input/keyboard/pmic8xxx-keypad.c static int pmic8xxx_kp_read_matrix(struct pmic8xxx_kp *kp, u16 *new_state,
new_state         194 drivers/input/keyboard/pmic8xxx-keypad.c 	rc = pmic8xxx_kp_read_data(kp, new_state, KEYP_RECENT_DATA,
new_state         219 drivers/input/keyboard/pmic8xxx-keypad.c static void __pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, u16 *new_state,
new_state         225 drivers/input/keyboard/pmic8xxx-keypad.c 		int bits_changed = new_state[row] ^ old_state[row];
new_state         235 drivers/input/keyboard/pmic8xxx-keypad.c 					!(new_state[row] & (1 << col)) ?
new_state         243 drivers/input/keyboard/pmic8xxx-keypad.c 					!(new_state[row] & (1 << col)));
new_state         250 drivers/input/keyboard/pmic8xxx-keypad.c static bool pmic8xxx_detect_ghost_keys(struct pmic8xxx_kp *kp, u16 *new_state)
new_state         257 drivers/input/keyboard/pmic8xxx-keypad.c 		row_state = (~new_state[row]) &
new_state         276 drivers/input/keyboard/pmic8xxx-keypad.c 	u16 new_state[PM8XXX_MAX_ROWS];
new_state         282 drivers/input/keyboard/pmic8xxx-keypad.c 		rc = pmic8xxx_kp_read_matrix(kp, new_state, NULL);
new_state         287 drivers/input/keyboard/pmic8xxx-keypad.c 		if (pmic8xxx_detect_ghost_keys(kp, new_state))
new_state         289 drivers/input/keyboard/pmic8xxx-keypad.c 		__pmic8xxx_kp_scan_matrix(kp, new_state, kp->keystate);
new_state         290 drivers/input/keyboard/pmic8xxx-keypad.c 		memcpy(kp->keystate, new_state, sizeof(new_state));
new_state         293 drivers/input/keyboard/pmic8xxx-keypad.c 		rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state);
new_state         298 drivers/input/keyboard/pmic8xxx-keypad.c 		__pmic8xxx_kp_scan_matrix(kp, new_state, old_state);
new_state         299 drivers/input/keyboard/pmic8xxx-keypad.c 		memcpy(kp->keystate, new_state, sizeof(new_state));
new_state         303 drivers/input/keyboard/pmic8xxx-keypad.c 		rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state);
new_state         307 drivers/input/keyboard/pmic8xxx-keypad.c 		__pmic8xxx_kp_scan_matrix(kp, new_state, old_state);
new_state         308 drivers/input/keyboard/pmic8xxx-keypad.c 		memcpy(kp->keystate, new_state, sizeof(new_state));
new_state         329 drivers/input/keyboard/pmic8xxx-keypad.c 	u16 new_state[PM8XXX_MAX_ROWS];
new_state         334 drivers/input/keyboard/pmic8xxx-keypad.c 	rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state);
new_state         340 drivers/input/keyboard/pmic8xxx-keypad.c 	__pmic8xxx_kp_scan_matrix(kp, new_state, kp->stuckstate);
new_state         413 drivers/input/keyboard/pxa27x_keypad.c 	uint32_t new_state[MAX_MATRIX_KEY_COLS];
new_state         418 drivers/input/keyboard/pxa27x_keypad.c 	memset(new_state, 0, sizeof(new_state));
new_state         432 drivers/input/keyboard/pxa27x_keypad.c 		new_state[col] = (1 << row);
new_state         442 drivers/input/keyboard/pxa27x_keypad.c 		new_state[0] = kpasmkp0 & KPASMKP_MKC_MASK;
new_state         443 drivers/input/keyboard/pxa27x_keypad.c 		new_state[1] = (kpasmkp0 >> 16) & KPASMKP_MKC_MASK;
new_state         444 drivers/input/keyboard/pxa27x_keypad.c 		new_state[2] = kpasmkp1 & KPASMKP_MKC_MASK;
new_state         445 drivers/input/keyboard/pxa27x_keypad.c 		new_state[3] = (kpasmkp1 >> 16) & KPASMKP_MKC_MASK;
new_state         446 drivers/input/keyboard/pxa27x_keypad.c 		new_state[4] = kpasmkp2 & KPASMKP_MKC_MASK;
new_state         447 drivers/input/keyboard/pxa27x_keypad.c 		new_state[5] = (kpasmkp2 >> 16) & KPASMKP_MKC_MASK;
new_state         448 drivers/input/keyboard/pxa27x_keypad.c 		new_state[6] = kpasmkp3 & KPASMKP_MKC_MASK;
new_state         449 drivers/input/keyboard/pxa27x_keypad.c 		new_state[7] = (kpasmkp3 >> 16) & KPASMKP_MKC_MASK;
new_state         456 drivers/input/keyboard/pxa27x_keypad.c 		bits_changed = keypad->matrix_key_state[col] ^ new_state[col];
new_state         468 drivers/input/keyboard/pxa27x_keypad.c 					 new_state[col] & (1 << row));
new_state         472 drivers/input/keyboard/pxa27x_keypad.c 	memcpy(keypad->matrix_key_state, new_state, sizeof(new_state));
new_state         531 drivers/input/keyboard/pxa27x_keypad.c 	unsigned int new_state;
new_state         545 drivers/input/keyboard/pxa27x_keypad.c 		new_state = ~KPDK_DK(kpdk) & keypad->direct_key_mask;
new_state         547 drivers/input/keyboard/pxa27x_keypad.c 		new_state = KPDK_DK(kpdk) & keypad->direct_key_mask;
new_state         549 drivers/input/keyboard/pxa27x_keypad.c 	bits_changed = keypad->direct_key_state ^ new_state;
new_state         560 drivers/input/keyboard/pxa27x_keypad.c 					 new_state & (1 << i));
new_state         564 drivers/input/keyboard/pxa27x_keypad.c 	keypad->direct_key_state = new_state;
new_state         166 drivers/input/keyboard/twl4030_keypad.c 	u8 new_state[TWL4030_MAX_ROWS];
new_state         168 drivers/input/keyboard/twl4030_keypad.c 	int ret = twl4030_kpread(kp, new_state,
new_state         172 drivers/input/keyboard/twl4030_keypad.c 			state[row] = twl4030_col_xlate(kp, new_state[row]);
new_state         197 drivers/input/keyboard/twl4030_keypad.c 	u16 new_state[TWL4030_MAX_ROWS];
new_state         201 drivers/input/keyboard/twl4030_keypad.c 		memset(new_state, 0, sizeof(new_state));
new_state         204 drivers/input/keyboard/twl4030_keypad.c 		int ret = twl4030_read_kp_matrix_state(kp, new_state);
new_state         209 drivers/input/keyboard/twl4030_keypad.c 		if (twl4030_is_in_ghost_state(kp, new_state))
new_state         215 drivers/input/keyboard/twl4030_keypad.c 		int changed = new_state[row] ^ kp->kp_state[row];
new_state         228 drivers/input/keyboard/twl4030_keypad.c 				(new_state[row] & (1 << col)) ?
new_state         234 drivers/input/keyboard/twl4030_keypad.c 					 new_state[row] & (1 << col));
new_state         236 drivers/input/keyboard/twl4030_keypad.c 		kp->kp_state[row] = new_state[row];
new_state         248 drivers/input/mouse/psmouse-base.c static inline void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
new_state         250 drivers/input/mouse/psmouse-base.c 	psmouse->state = new_state;
new_state         261 drivers/input/mouse/psmouse-base.c void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state)
new_state         264 drivers/input/mouse/psmouse-base.c 	__psmouse_set_state(psmouse, new_state);
new_state         136 drivers/input/mouse/psmouse.h void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state);
new_state          47 drivers/irqchip/irq-al-fic.c 			       enum al_fic_state new_state)
new_state          52 drivers/irqchip/irq-al-fic.c 	if (new_state == AL_FIC_CONFIGURED_LEVEL) {
new_state          60 drivers/irqchip/irq-al-fic.c 	fic->state = new_state;
new_state          68 drivers/irqchip/irq-al-fic.c 	enum al_fic_state new_state;
new_state          80 drivers/irqchip/irq-al-fic.c 	new_state = (flow_type & IRQ_TYPE_LEVEL_HIGH) ?
new_state          93 drivers/irqchip/irq-al-fic.c 		al_fic_set_trigger(fic, gc, new_state);
new_state          94 drivers/irqchip/irq-al-fic.c 	} else if (fic->state != new_state) {
new_state         212 drivers/isdn/capi/kcapi.c static void ctr_down(struct capi_ctr *ctr, int new_state)
new_state         220 drivers/isdn/capi/kcapi.c 	ctr->state = new_state;
new_state         197 drivers/macintosh/windfarm_pm112.c 	int new_state = 0;
new_state         202 drivers/macintosh/windfarm_pm112.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         208 drivers/macintosh/windfarm_pm112.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         229 drivers/macintosh/windfarm_pm112.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         235 drivers/macintosh/windfarm_pm112.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         245 drivers/macintosh/windfarm_pm112.c 	if (new_state) {
new_state         247 drivers/macintosh/windfarm_pm112.c 		if (new_state & FAILURE_HIGH_OVERTEMP)
new_state         249 drivers/macintosh/windfarm_pm112.c 		if ((failure_state & new_state) != new_state)
new_state         251 drivers/macintosh/windfarm_pm112.c 		failure_state |= new_state;
new_state         127 drivers/macintosh/windfarm_pm72.c 	int new_state = 0;
new_state         133 drivers/macintosh/windfarm_pm72.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         139 drivers/macintosh/windfarm_pm72.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         176 drivers/macintosh/windfarm_pm72.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         182 drivers/macintosh/windfarm_pm72.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         192 drivers/macintosh/windfarm_pm72.c 	if (new_state) {
new_state         194 drivers/macintosh/windfarm_pm72.c 		if (new_state & FAILURE_HIGH_OVERTEMP)
new_state         196 drivers/macintosh/windfarm_pm72.c 		if ((failure_state & new_state) != new_state)
new_state         198 drivers/macintosh/windfarm_pm72.c 		failure_state |= new_state;
new_state         121 drivers/macintosh/windfarm_rm31.c 	int new_state = 0;
new_state         127 drivers/macintosh/windfarm_rm31.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         133 drivers/macintosh/windfarm_rm31.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         170 drivers/macintosh/windfarm_rm31.c 		new_state |= FAILURE_LOW_OVERTEMP;
new_state         176 drivers/macintosh/windfarm_rm31.c 		new_state |= FAILURE_HIGH_OVERTEMP;
new_state         186 drivers/macintosh/windfarm_rm31.c 	if (new_state) {
new_state         188 drivers/macintosh/windfarm_rm31.c 		if (new_state & FAILURE_HIGH_OVERTEMP)
new_state         190 drivers/macintosh/windfarm_rm31.c 		if ((failure_state & new_state) != new_state)
new_state         192 drivers/macintosh/windfarm_rm31.c 		failure_state |= new_state;
new_state         217 drivers/misc/genwqe/card_ddcb.c 				       enum genwqe_requ_state new_state)
new_state         219 drivers/misc/genwqe/card_ddcb.c 	req->req_state = new_state;
new_state         994 drivers/mtd/nand/onenand/onenand_base.c static int onenand_get_device(struct mtd_info *mtd, int new_state)
new_state        1005 drivers/mtd/nand/onenand/onenand_base.c 			this->state = new_state;
new_state        1007 drivers/mtd/nand/onenand/onenand_base.c 			if (new_state != FL_PM_SUSPENDED && this->enable)
new_state        1011 drivers/mtd/nand/onenand/onenand_base.c 		if (new_state == FL_PM_SUSPENDED) {
new_state         228 drivers/mtd/nand/raw/s3c2410.c 		enum s3c_nand_clk_state new_state)
new_state         230 drivers/mtd/nand/raw/s3c2410.c 	if (!allow_clk_suspend(info) && new_state == CLOCK_SUSPEND)
new_state         234 drivers/mtd/nand/raw/s3c2410.c 		if (new_state != CLOCK_ENABLE)
new_state         237 drivers/mtd/nand/raw/s3c2410.c 		if (new_state == CLOCK_ENABLE)
new_state         241 drivers/mtd/nand/raw/s3c2410.c 	info->clk_state = new_state;
new_state         876 drivers/net/can/at91_can.c 		struct can_frame *cf, enum can_state new_state)
new_state         891 drivers/net/can/at91_can.c 		if (new_state >= CAN_STATE_ERROR_WARNING &&
new_state         892 drivers/net/can/at91_can.c 		    new_state <= CAN_STATE_BUS_OFF) {
new_state         908 drivers/net/can/at91_can.c 		if (new_state >= CAN_STATE_ERROR_PASSIVE &&
new_state         909 drivers/net/can/at91_can.c 		    new_state <= CAN_STATE_BUS_OFF) {
new_state         924 drivers/net/can/at91_can.c 		if (new_state <= CAN_STATE_ERROR_PASSIVE) {
new_state         940 drivers/net/can/at91_can.c 	switch (new_state) {
new_state        1013 drivers/net/can/at91_can.c 	enum can_state new_state;
new_state        1022 drivers/net/can/at91_can.c 			new_state = CAN_STATE_BUS_OFF;
new_state        1024 drivers/net/can/at91_can.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state        1026 drivers/net/can/at91_can.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state        1028 drivers/net/can/at91_can.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state        1034 drivers/net/can/at91_can.c 		err = at91_get_state_by_bec(dev, &new_state);
new_state        1040 drivers/net/can/at91_can.c 	if (likely(new_state == priv->can.state))
new_state        1047 drivers/net/can/at91_can.c 	at91_irq_err_state(dev, cf, new_state);
new_state        1053 drivers/net/can/at91_can.c 	priv->can.state = new_state;
new_state         324 drivers/net/can/dev.c 					 enum can_state new_state)
new_state         328 drivers/net/can/dev.c 	if (new_state <= priv->state)
new_state         331 drivers/net/can/dev.c 	switch (new_state) {
new_state         378 drivers/net/can/dev.c 	enum can_state new_state = max(tx_state, rx_state);
new_state         380 drivers/net/can/dev.c 	if (unlikely(new_state == priv->state)) {
new_state         385 drivers/net/can/dev.c 	netdev_dbg(dev, "New error state: %d\n", new_state);
new_state         387 drivers/net/can/dev.c 	can_update_state_error_stats(dev, new_state);
new_state         388 drivers/net/can/dev.c 	priv->state = new_state;
new_state         393 drivers/net/can/dev.c 	if (unlikely(new_state == CAN_STATE_BUS_OFF)) {
new_state         741 drivers/net/can/flexcan.c 	enum can_state new_state, rx_state, tx_state;
new_state         755 drivers/net/can/flexcan.c 		new_state = max(tx_state, rx_state);
new_state         758 drivers/net/can/flexcan.c 		new_state = flt == FLEXCAN_ESR_FLT_CONF_PASSIVE ?
new_state         760 drivers/net/can/flexcan.c 		rx_state = bec.rxerr >= bec.txerr ? new_state : 0;
new_state         761 drivers/net/can/flexcan.c 		tx_state = bec.rxerr <= bec.txerr ? new_state : 0;
new_state         765 drivers/net/can/flexcan.c 	if (likely(new_state == priv->can.state))
new_state         774 drivers/net/can/flexcan.c 	if (unlikely(new_state == CAN_STATE_BUS_OFF))
new_state         456 drivers/net/can/ifi_canfd/ifi_canfd.c 					 enum can_state new_state)
new_state         464 drivers/net/can/ifi_canfd/ifi_canfd.c 	switch (new_state) {
new_state         498 drivers/net/can/ifi_canfd/ifi_canfd.c 	switch (new_state) {
new_state        1198 drivers/net/can/kvaser_pciefd.c 				       enum can_state new_state,
new_state        1204 drivers/net/can/kvaser_pciefd.c 	if (new_state == CAN_STATE_BUS_OFF) {
new_state        1222 drivers/net/can/kvaser_pciefd.c 					  enum can_state *new_state,
new_state        1228 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_BUS_OFF;
new_state        1230 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_BUS_OFF;
new_state        1232 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_ERROR_PASSIVE;
new_state        1234 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_ERROR_PASSIVE;
new_state        1236 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_ERROR_WARNING;
new_state        1238 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_ERROR_WARNING;
new_state        1240 drivers/net/can/kvaser_pciefd.c 		*new_state = CAN_STATE_ERROR_ACTIVE;
new_state        1242 drivers/net/can/kvaser_pciefd.c 	*tx_state = bec->txerr >= bec->rxerr ? *new_state : 0;
new_state        1243 drivers/net/can/kvaser_pciefd.c 	*rx_state = bec->txerr <= bec->rxerr ? *new_state : 0;
new_state        1250 drivers/net/can/kvaser_pciefd.c 	enum can_state old_state, new_state, tx_state, rx_state;
new_state        1262 drivers/net/can/kvaser_pciefd.c 	kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state,
new_state        1267 drivers/net/can/kvaser_pciefd.c 	if (new_state != old_state) {
new_state        1268 drivers/net/can/kvaser_pciefd.c 		kvaser_pciefd_change_state(can, cf, new_state, tx_state,
new_state        1272 drivers/net/can/kvaser_pciefd.c 		    new_state == CAN_STATE_ERROR_ACTIVE &&
new_state        1332 drivers/net/can/kvaser_pciefd.c 	enum can_state old_state, new_state, tx_state, rx_state;
new_state        1339 drivers/net/can/kvaser_pciefd.c 	kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state,
new_state        1342 drivers/net/can/kvaser_pciefd.c 	if (new_state != old_state) {
new_state        1356 drivers/net/can/kvaser_pciefd.c 		kvaser_pciefd_change_state(can, cf, new_state, tx_state,
new_state        1360 drivers/net/can/kvaser_pciefd.c 		    new_state == CAN_STATE_ERROR_ACTIVE &&
new_state         657 drivers/net/can/m_can/m_can.c 				     enum can_state new_state)
new_state         666 drivers/net/can/m_can/m_can.c 	switch (new_state) {
new_state         695 drivers/net/can/m_can/m_can.c 	switch (new_state) {
new_state         338 drivers/net/can/mscan/mscan.c 	enum can_state new_state;
new_state         352 drivers/net/can/mscan/mscan.c 	new_state = get_new_state(dev, canrflg);
new_state         353 drivers/net/can/mscan/mscan.c 	if (new_state != priv->can.state) {
new_state         641 drivers/net/can/spi/hi311x.c 		enum can_state new_state;
new_state         653 drivers/net/can/spi/hi311x.c 			new_state = CAN_STATE_BUS_OFF;
new_state         655 drivers/net/can/spi/hi311x.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         657 drivers/net/can/spi/hi311x.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         659 drivers/net/can/spi/hi311x.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state         661 drivers/net/can/spi/hi311x.c 		if (new_state != priv->can.state) {
new_state         675 drivers/net/can/spi/hi311x.c 			tx_state = txerr >= rxerr ? new_state : 0;
new_state         676 drivers/net/can/spi/hi311x.c 			rx_state = txerr <= rxerr ? new_state : 0;
new_state         680 drivers/net/can/spi/hi311x.c 			if (new_state == CAN_STATE_BUS_OFF) {
new_state         752 drivers/net/can/spi/mcp251x.c 		enum can_state new_state;
new_state         792 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_BUS_OFF;
new_state         795 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         799 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         803 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         807 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         811 drivers/net/can/spi/mcp251x.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state         817 drivers/net/can/spi/mcp251x.c 			if (new_state >= CAN_STATE_ERROR_WARNING &&
new_state         818 drivers/net/can/spi/mcp251x.c 			    new_state <= CAN_STATE_BUS_OFF)
new_state         822 drivers/net/can/spi/mcp251x.c 			if (new_state >= CAN_STATE_ERROR_PASSIVE &&
new_state         823 drivers/net/can/spi/mcp251x.c 			    new_state <= CAN_STATE_BUS_OFF)
new_state         829 drivers/net/can/spi/mcp251x.c 		priv->can.state = new_state;
new_state         715 drivers/net/can/ti_hecc.c 		enum can_state new_state, tx_state, rx_state;
new_state         720 drivers/net/can/ti_hecc.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         722 drivers/net/can/ti_hecc.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         724 drivers/net/can/ti_hecc.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state         726 drivers/net/can/ti_hecc.c 		if (new_state < priv->can.state) {
new_state         727 drivers/net/can/ti_hecc.c 			rx_state = rec >= tec ? new_state : 0;
new_state         728 drivers/net/can/ti_hecc.c 			tx_state = rec <= tec ? new_state : 0;
new_state         819 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 					 enum can_state *new_state)
new_state         822 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		*new_state = CAN_STATE_BUS_OFF;
new_state         824 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		*new_state = CAN_STATE_ERROR_PASSIVE;
new_state         830 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 			*new_state = CAN_STATE_ERROR_PASSIVE;
new_state         832 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 			*new_state = CAN_STATE_ERROR_WARNING;
new_state         834 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 			*new_state = CAN_STATE_ERROR_ACTIVE;
new_state         847 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	enum can_state new_state, old_state;
new_state         852 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 						 &new_state);
new_state         854 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	if (new_state == old_state)
new_state         861 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	if (old_state == CAN_STATE_STOPPED && new_state == CAN_STATE_BUS_OFF)
new_state         869 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 					new_state : CAN_STATE_ERROR_ACTIVE;
new_state         871 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 					new_state : CAN_STATE_ERROR_ACTIVE;
new_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) {
new_state         890 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	    new_state < CAN_STATE_BUS_OFF)
new_state         996 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	enum can_state new_state, old_state;
new_state        1008 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 						 &new_state);
new_state        1012 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 	if (new_state != old_state) {
new_state        1017 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 					new_state : CAN_STATE_ERROR_ACTIVE;
new_state        1019 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 					new_state : CAN_STATE_ERROR_ACTIVE;
new_state        1025 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 			    new_state < CAN_STATE_BUS_OFF)
new_state        1029 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c 		if (new_state == CAN_STATE_BUS_OFF) {
new_state         633 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	enum can_state cur_state, new_state, tx_state, rx_state;
new_state         637 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	new_state = priv->can.state;
new_state         641 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		new_state = CAN_STATE_BUS_OFF;
new_state         643 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		new_state = CAN_STATE_ERROR_PASSIVE;
new_state         648 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 				new_state = CAN_STATE_ERROR_PASSIVE;
new_state         650 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 				new_state = CAN_STATE_ERROR_WARNING;
new_state         652 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 				new_state = CAN_STATE_ERROR_ACTIVE;
new_state         657 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		new_state = CAN_STATE_ERROR_ACTIVE;
new_state         659 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	if (new_state != cur_state) {
new_state         660 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		tx_state = (es->txerr >= es->rxerr) ? new_state : 0;
new_state         661 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		rx_state = (es->txerr <= es->rxerr) ? new_state : 0;
new_state         668 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	    new_state < CAN_STATE_BUS_OFF)
new_state         701 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	enum can_state old_state, new_state;
new_state         724 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	new_state = priv->can.state;
new_state         733 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 	if (new_state != old_state) {
new_state         744 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 		    new_state < CAN_STATE_BUS_OFF) {
new_state         403 drivers/net/can/usb/peak_usb/pcan_usb.c 	enum can_state new_state;
new_state         410 drivers/net/can/usb/peak_usb/pcan_usb.c 	new_state = mc->pdev->dev.can.state;
new_state         415 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         422 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         426 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_BUS_OFF;
new_state         434 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_MAX;
new_state         439 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state         446 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_BUS_OFF;
new_state         450 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         458 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_MAX;
new_state         464 drivers/net/can/usb/peak_usb/pcan_usb.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         475 drivers/net/can/usb/peak_usb/pcan_usb.c 	if (mc->pdev->dev.can.state == new_state)
new_state         483 drivers/net/can/usb/peak_usb/pcan_usb.c 	switch (new_state) {
new_state         516 drivers/net/can/usb/peak_usb/pcan_usb.c 		new_state = mc->pdev->dev.can.state;
new_state         520 drivers/net/can/usb/peak_usb/pcan_usb.c 	mc->pdev->dev.can.state = new_state;
new_state         525 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	enum can_state new_state = CAN_STATE_ERROR_ACTIVE;
new_state         536 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		new_state = CAN_STATE_BUS_OFF;
new_state         538 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		new_state = CAN_STATE_ERROR_PASSIVE;
new_state         540 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 		new_state = CAN_STATE_ERROR_WARNING;
new_state         550 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	if (new_state == dev->can.state)
new_state         554 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	tx_state = (pdev->bec.txerr >= pdev->bec.rxerr) ? new_state : 0;
new_state         555 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	rx_state = (pdev->bec.txerr <= pdev->bec.rxerr) ? new_state : 0;
new_state         563 drivers/net/can/usb/peak_usb/pcan_usb_fd.c 	if (new_state == CAN_STATE_BUS_OFF)
new_state         564 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	enum can_state new_state = CAN_STATE_ERROR_ACTIVE;
new_state         582 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 		new_state = CAN_STATE_MAX;
new_state         586 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 		new_state = CAN_STATE_BUS_OFF;
new_state         603 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         606 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         610 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	if (dev->can.state == new_state)
new_state         618 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	switch (new_state) {
new_state         656 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 		new_state = CAN_STATE_ERROR_ACTIVE;
new_state         660 drivers/net/can/usb/peak_usb/pcan_usb_pro.c 	dev->can.state = new_state;
new_state         487 drivers/net/can/usb/ucan.c 	enum can_state new_state = up->can.state;
new_state         501 drivers/net/can/usb/ucan.c 		new_state = CAN_STATE_BUS_OFF;
new_state         512 drivers/net/can/usb/ucan.c 			new_state = CAN_STATE_ERROR_ACTIVE;
new_state         515 drivers/net/can/usb/ucan.c 			new_state = CAN_STATE_ERROR_WARNING;
new_state         518 drivers/net/can/usb/ucan.c 			new_state = CAN_STATE_ERROR_PASSIVE;
new_state         532 drivers/net/can/usb/ucan.c 	if (up->can.state == new_state)
new_state         536 drivers/net/can/usb/ucan.c 	if (up->can.state > new_state) {
new_state         537 drivers/net/can/usb/ucan.c 		up->can.state = new_state;
new_state         542 drivers/net/can/usb/ucan.c 	up->can.state = new_state;
new_state         543 drivers/net/can/usb/ucan.c 	switch (new_state) {
new_state         910 drivers/net/can/xilinx_can.c 				 enum can_state new_state,
new_state         917 drivers/net/can/xilinx_can.c 	enum can_state tx_state = txerr >= rxerr ? new_state : 0;
new_state         918 drivers/net/can/xilinx_can.c 	enum can_state rx_state = txerr <= rxerr ? new_state : 0;
new_state         921 drivers/net/can/xilinx_can.c 	if (WARN_ON(new_state > CAN_STATE_ERROR_PASSIVE))
new_state         944 drivers/net/can/xilinx_can.c 	enum can_state new_state;
new_state         953 drivers/net/can/xilinx_can.c 	new_state = xcan_current_error_state(ndev);
new_state         955 drivers/net/can/xilinx_can.c 	if (new_state != old_state) {
new_state         961 drivers/net/can/xilinx_can.c 		xcan_set_error_state(ndev, new_state, skb ? cf : NULL);
new_state        1004 drivers/net/can/xilinx_can.c 		enum can_state new_state = xcan_current_error_state(ndev);
new_state        1006 drivers/net/can/xilinx_can.c 		if (new_state != priv->can.state)
new_state        1007 drivers/net/can/xilinx_can.c 			xcan_set_error_state(ndev, new_state, skb ? cf : NULL);
new_state         628 drivers/net/ethernet/altera/altera_tse_main.c 	int new_state = 0;
new_state         638 drivers/net/ethernet/altera/altera_tse_main.c 			new_state = 1;
new_state         652 drivers/net/ethernet/altera/altera_tse_main.c 			new_state = 1;
new_state         677 drivers/net/ethernet/altera/altera_tse_main.c 			new_state = 1;
new_state         681 drivers/net/ethernet/altera/altera_tse_main.c 		new_state = 1;
new_state         687 drivers/net/ethernet/altera/altera_tse_main.c 	if (new_state && netif_msg_link(priv))
new_state        1106 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 	int new_state = 0;
new_state        1113 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 			new_state = 1;
new_state        1119 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 			new_state = 1;
new_state        1126 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 			new_state = 1;
new_state        1131 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 			new_state = 1;
new_state        1135 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 		new_state = 1;
new_state        1140 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c 	if (new_state && netif_msg_link(pdata))
new_state        2263 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static void notify_ulds(struct adapter *adap, enum cxgb4_state new_state)
new_state        2271 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 						  new_state);
new_state         379 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h 	int (*state_change)(void *handle, enum cxgb4_state new_state);
new_state          56 drivers/net/ethernet/emulex/benet/be_roce.h 	void (*state_change_handler) (struct ocrdma_dev *, u32 new_state);
new_state         168 drivers/net/ethernet/freescale/fec_mpc52xx.c 	int new_state = 0;
new_state         176 drivers/net/ethernet/freescale/fec_mpc52xx.c 			new_state = 1;
new_state         194 drivers/net/ethernet/freescale/fec_mpc52xx.c 			new_state = 1;
new_state         199 drivers/net/ethernet/freescale/fec_mpc52xx.c 			new_state = 1;
new_state         204 drivers/net/ethernet/freescale/fec_mpc52xx.c 		new_state = 1;
new_state         210 drivers/net/ethernet/freescale/fec_mpc52xx.c 	if (new_state && netif_msg_link(priv))
new_state         658 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	int new_state = 0;
new_state         663 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			new_state = 1;
new_state         668 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			new_state = 1;
new_state         673 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 			new_state = 1;
new_state         677 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		if (new_state)
new_state         680 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 		new_state = 1;
new_state         686 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 	if (new_state && netif_msg_link(fep))
new_state        1585 drivers/net/ethernet/freescale/ucc_geth.c 	int new_state = 0;
new_state        1596 drivers/net/ethernet/freescale/ucc_geth.c 			new_state = 1;
new_state        1605 drivers/net/ethernet/freescale/ucc_geth.c 			new_state = 1;
new_state        1641 drivers/net/ethernet/freescale/ucc_geth.c 			new_state = 1;
new_state        1645 drivers/net/ethernet/freescale/ucc_geth.c 		if (new_state) {
new_state        1663 drivers/net/ethernet/freescale/ucc_geth.c 			new_state = 1;
new_state        1669 drivers/net/ethernet/freescale/ucc_geth.c 	if (new_state && netif_msg_link(ugeth))
new_state          88 drivers/net/ethernet/mellanox/mlx4/qp.c 		     enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
new_state         140 drivers/net/ethernet/mellanox/mlx4/qp.c 	if (cur_state >= MLX4_QP_NUM_STATE || new_state >= MLX4_QP_NUM_STATE ||
new_state         141 drivers/net/ethernet/mellanox/mlx4/qp.c 	    !op[cur_state][new_state])
new_state         144 drivers/net/ethernet/mellanox/mlx4/qp.c 	if (op[cur_state][new_state] == MLX4_CMD_2RST_QP) {
new_state         163 drivers/net/ethernet/mellanox/mlx4/qp.c 	if (cur_state == MLX4_QP_STATE_RST && new_state == MLX4_QP_STATE_INIT) {
new_state         171 drivers/net/ethernet/mellanox/mlx4/qp.c 	    (new_state == MLX4_QP_STATE_RTS) &&
new_state         184 drivers/net/ethernet/mellanox/mlx4/qp.c 		       new_state == MLX4_QP_STATE_RST ? 2 : 0,
new_state         185 drivers/net/ethernet/mellanox/mlx4/qp.c 		       op[cur_state][new_state], MLX4_CMD_TIME_CLASS_C, native);
new_state         191 drivers/net/ethernet/mellanox/mlx4/qp.c 		    new_state == MLX4_QP_STATE_ERR) {
new_state         196 drivers/net/ethernet/mellanox/mlx4/qp.c 		} else if (new_state == MLX4_QP_STATE_RTR) {
new_state         209 drivers/net/ethernet/mellanox/mlx4/qp.c 		   enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
new_state         214 drivers/net/ethernet/mellanox/mlx4/qp.c 	return __mlx4_qp_modify(dev, mtt, cur_state, new_state, context,
new_state         396 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		    enum qed_iwarp_qp_state new_state, bool internal)
new_state         408 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	if (prev_iw_state == new_state) {
new_state         415 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		switch (new_state) {
new_state         429 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		switch (new_state) {
new_state         446 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		switch (new_state) {
new_state         449 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 			qp->iwarp_state = new_state;
new_state         460 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 		qp->iwarp_state = new_state;
new_state         205 drivers/net/ethernet/qlogic/qed/qed_iwarp.h 			enum qed_iwarp_qp_state new_state, bool internal);
new_state        1339 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		   qp->icid, params->new_state);
new_state        1416 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		qp->cur_state = params->new_state;
new_state        1422 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		enum qed_iwarp_qp_state new_state =
new_state        1425 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		rc = qed_iwarp_modify_qp(p_hwfn, qp, new_state, 0);
new_state         969 drivers/net/ethernet/renesas/ravb_main.c 	bool new_state = false;
new_state         980 drivers/net/ethernet/renesas/ravb_main.c 			new_state = true;
new_state         986 drivers/net/ethernet/renesas/ravb_main.c 			new_state = true;
new_state         990 drivers/net/ethernet/renesas/ravb_main.c 		new_state = true;
new_state        1001 drivers/net/ethernet/renesas/ravb_main.c 	if (new_state && netif_msg_link(priv))
new_state        1979 drivers/net/ethernet/renesas/sh_eth.c 	int new_state = 0;
new_state        1989 drivers/net/ethernet/renesas/sh_eth.c 			new_state = 1;
new_state        1996 drivers/net/ethernet/renesas/sh_eth.c 			new_state = 1;
new_state        2003 drivers/net/ethernet/renesas/sh_eth.c 			new_state = 1;
new_state        2007 drivers/net/ethernet/renesas/sh_eth.c 		new_state = 1;
new_state        2019 drivers/net/ethernet/renesas/sh_eth.c 	if (new_state && netif_msg_link(mdp))
new_state         206 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	u8 new_state = 0;
new_state         218 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 			new_state = 1;
new_state         240 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 			new_state = 1;
new_state         244 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 		new_state = 1;
new_state         249 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c 	if (new_state & netif_msg_link(priv))
new_state         877 drivers/net/ethernet/ti/cpmac.c 	int new_state = 0;
new_state         883 drivers/net/ethernet/ti/cpmac.c 			new_state = 1;
new_state         888 drivers/net/ethernet/ti/cpmac.c 			new_state = 1;
new_state         893 drivers/net/ethernet/ti/cpmac.c 			new_state = 1;
new_state         897 drivers/net/ethernet/ti/cpmac.c 		new_state = 1;
new_state         903 drivers/net/ethernet/ti/cpmac.c 	if (new_state && netif_msg_link(priv) && net_ratelimit())
new_state        1314 drivers/net/ethernet/ti/davinci_emac.c 	int new_state = 0;
new_state        1321 drivers/net/ethernet/ti/davinci_emac.c 			new_state = 1;
new_state        1325 drivers/net/ethernet/ti/davinci_emac.c 			new_state = 1;
new_state        1329 drivers/net/ethernet/ti/davinci_emac.c 			new_state = 1;
new_state        1334 drivers/net/ethernet/ti/davinci_emac.c 		new_state = 1;
new_state        1339 drivers/net/ethernet/ti/davinci_emac.c 	if (new_state) {
new_state        6455 drivers/net/wireless/ath/ath10k/mac.c 			    enum ieee80211_sta_state new_state)
new_state        6465 drivers/net/wireless/ath/ath10k/mac.c 	    new_state == IEEE80211_STA_NONE) {
new_state        6477 drivers/net/wireless/ath/ath10k/mac.c 	     new_state == IEEE80211_STA_NOTEXIST))
new_state        6483 drivers/net/wireless/ath/ath10k/mac.c 	    new_state == IEEE80211_STA_NONE) {
new_state        6585 drivers/net/wireless/ath/ath10k/mac.c 		    new_state == IEEE80211_STA_NOTEXIST)) {
new_state        6654 drivers/net/wireless/ath/ath10k/mac.c 		   new_state == IEEE80211_STA_ASSOC &&
new_state        6669 drivers/net/wireless/ath/ath10k/mac.c 		   new_state == IEEE80211_STA_AUTHORIZED &&
new_state        6690 drivers/net/wireless/ath/ath10k/mac.c 		    new_state == IEEE80211_STA_AUTH &&
new_state        1565 drivers/net/wireless/ath/ath9k/main.c 			   enum ieee80211_sta_state new_state)
new_state        1572 drivers/net/wireless/ath/ath9k/main.c 	    new_state == IEEE80211_STA_NONE) {
new_state        1577 drivers/net/wireless/ath/ath9k/main.c 		   new_state == IEEE80211_STA_NOTEXIST) {
new_state        1586 drivers/net/wireless/ath/ath9k/main.c 			    new_state == IEEE80211_STA_AUTHORIZED)
new_state         613 drivers/net/wireless/atmel/atmel.c static void atmel_enter_state(struct atmel_private *priv, int new_state);
new_state        2704 drivers/net/wireless/atmel/atmel.c static void atmel_enter_state(struct atmel_private *priv, int new_state)
new_state        2708 drivers/net/wireless/atmel/atmel.c 	if (new_state == old_state)
new_state        2711 drivers/net/wireless/atmel/atmel.c 	priv->station_state = new_state;
new_state        2713 drivers/net/wireless/atmel/atmel.c 	if (new_state == STATION_STATE_READY) {
new_state         841 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 				enum ieee80211_sta_state new_state)
new_state         851 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			   sta->addr, old_state, new_state);
new_state         856 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		    new_state == IEEE80211_STA_NONE)
new_state         859 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			 new_state == IEEE80211_STA_NOTEXIST)
new_state         862 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			 new_state == IEEE80211_STA_ASSOC)
new_state         866 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 		    new_state == IEEE80211_STA_ASSOC)
new_state         869 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c 			 new_state == IEEE80211_STA_AUTH)
new_state        3014 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 				 enum ieee80211_sta_state new_state)
new_state        3022 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			   sta->addr, old_state, new_state);
new_state        3042 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	    new_state == IEEE80211_STA_NOTEXIST) {
new_state        3053 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	mvm_sta->sta_state = new_state;
new_state        3056 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 	    new_state == IEEE80211_STA_NONE) {
new_state        3092 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_AUTH) {
new_state        3101 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_ASSOC) {
new_state        3123 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_AUTHORIZED) {
new_state        3147 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_ASSOC) {
new_state        3158 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_AUTH) {
new_state        3165 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_NONE) {
new_state        3168 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		   new_state == IEEE80211_STA_NOTEXIST) {
new_state        3188 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 		    new_state == IEEE80211_STA_NONE)
new_state        3191 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c 			 new_state == IEEE80211_STA_NOTEXIST)
new_state        1905 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	u8 new_state;
new_state        1924 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 		new_state = !!(mvmvif->low_latency &
new_state        1930 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 		new_state = !!(mvmvif->low_latency &
new_state        1934 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	mvmvif->low_latency_actual = new_state;
new_state         212 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 			     enum iwl_sf_state new_state)
new_state         215 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		.state = cpu_to_le32(new_state),
new_state         227 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	if (new_state != SF_FULL_ON && mvm->sf_state == new_state)
new_state         230 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	switch (new_state) {
new_state         255 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 			  new_state);
new_state         262 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		mvm->sf_state = new_state;
new_state         275 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	enum iwl_sf_state new_state;
new_state         304 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		new_state = SF_INIT_OFF;
new_state         311 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 			new_state = data.sta_vif_state;
new_state         317 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 				new_state = SF_UNINIT;
new_state         322 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 				new_state = SF_FULL_ON;
new_state         324 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 				new_state = SF_INIT_OFF;
new_state         330 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 		new_state = SF_UNINIT;
new_state         332 drivers/net/wireless/intel/iwlwifi/mvm/sf.c 	return iwl_mvm_sf_config(mvm, sta_id, new_state);
new_state         785 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 				       unsigned long new_state)
new_state         798 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 	if (new_state >= ARRAY_SIZE(iwl_mvm_cdev_budgets)) {
new_state         804 drivers/net/wireless/intel/iwlwifi/mvm/tt.c 				   new_state);
new_state         911 drivers/net/wireless/intersil/prism54/islpci_dev.c islpci_set_state(islpci_private *priv, islpci_state_t new_state)
new_state         920 drivers/net/wireless/intersil/prism54/islpci_dev.c 	switch (new_state) {
new_state         925 drivers/net/wireless/intersil/prism54/islpci_dev.c 		priv->state = new_state;
new_state         938 drivers/net/wireless/intersil/prism54/islpci_dev.c 			priv->state = new_state;
new_state         943 drivers/net/wireless/intersil/prism54/islpci_dev.c 	       priv->ndev->name, old_state, new_state, priv->state_off);
new_state         182 drivers/net/wireless/intersil/prism54/islpci_dev.h islpci_state_t islpci_set_state(islpci_private *priv, islpci_state_t new_state);
new_state         730 drivers/net/wireless/mediatek/mt76/mac80211.c 		   enum ieee80211_sta_state new_state)
new_state         735 drivers/net/wireless/mediatek/mt76/mac80211.c 	    new_state == IEEE80211_STA_NONE)
new_state         739 drivers/net/wireless/mediatek/mt76/mac80211.c 	    new_state == IEEE80211_STA_ASSOC &&
new_state         744 drivers/net/wireless/mediatek/mt76/mac80211.c 	    new_state == IEEE80211_STA_NOTEXIST)
new_state         750 drivers/net/wireless/mediatek/mt76/mt76.h 		   enum ieee80211_sta_state new_state);
new_state        5182 drivers/net/wireless/ti/wlcore/main.c 				   enum ieee80211_sta_state new_state)
new_state        5194 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_NONE) {
new_state        5205 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_NOTEXIST) {
new_state        5214 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_AUTHORIZED) {
new_state        5234 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_AUTHORIZED) {
new_state        5243 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_ASSOC) {
new_state        5251 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_AUTH) {
new_state        5259 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_ASSOC) {
new_state        5265 drivers/net/wireless/ti/wlcore/main.c 	    (new_state == IEEE80211_STA_AUTHORIZED ||
new_state        5266 drivers/net/wireless/ti/wlcore/main.c 	     new_state == IEEE80211_STA_NOTEXIST)) {
new_state        5273 drivers/net/wireless/ti/wlcore/main.c 	    new_state == IEEE80211_STA_NONE) {
new_state        5288 drivers/net/wireless/ti/wlcore/main.c 			       enum ieee80211_sta_state new_state)
new_state        5295 drivers/net/wireless/ti/wlcore/main.c 		     sta->aid, old_state, new_state);
new_state        5310 drivers/net/wireless/ti/wlcore/main.c 	ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state);
new_state        5316 drivers/net/wireless/ti/wlcore/main.c 	if (new_state < old_state)
new_state         324 drivers/nvme/host/core.c 		enum nvme_ctrl_state new_state)
new_state         333 drivers/nvme/host/core.c 	switch (new_state) {
new_state         390 drivers/nvme/host/core.c 		ctrl->state = new_state;
new_state         452 drivers/nvme/host/nvme.h 		enum nvme_ctrl_state new_state);
new_state         113 drivers/of/dynamic.c 	int is_status, status_state, old_status_state, prev_state, new_state;
new_state         137 drivers/of/dynamic.c 	new_state = -1;
new_state         152 drivers/of/dynamic.c 		new_state = status_state != 0;
new_state         157 drivers/of/dynamic.c 		new_state = 0;
new_state         163 drivers/of/dynamic.c 			new_state = status_state;
new_state         170 drivers/of/dynamic.c 			new_state = 1;
new_state         176 drivers/of/dynamic.c 			new_state = status_state != 0;
new_state         181 drivers/of/dynamic.c 	if (prev_state == new_state)
new_state         184 drivers/of/dynamic.c 	return new_state ? OF_RECONFIG_CHANGE_ADD : OF_RECONFIG_CHANGE_REMOVE;
new_state          95 drivers/pcmcia/sa1111_lubbock.c 		struct pcmcia_state new_state;
new_state         109 drivers/pcmcia/sa1111_lubbock.c 		sa1111_pcmcia_socket_state(skt, &new_state);
new_state         111 drivers/pcmcia/sa1111_lubbock.c 		if (!new_state.vs_3v && !new_state.vs_Xv) {
new_state          78 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 	int new_state;
new_state         111 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 	if (data->new_state == EVT_HOST) {
new_state         149 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 	u32 extcon_event = data->new_state;
new_state         205 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 	extcon_event = driver->data->new_state;
new_state         258 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 		driver->data->new_state = EVT_HOST;
new_state         267 drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c 		driver->data->new_state = EVT_DEVICE;
new_state        1537 drivers/platform/x86/dell-laptop.c 	struct kbd_state new_state;
new_state        1630 drivers/platform/x86/dell-laptop.c 	new_state = state;
new_state        1633 drivers/platform/x86/dell-laptop.c 		new_state.timeout_value_ac = value;
new_state        1634 drivers/platform/x86/dell-laptop.c 		new_state.timeout_unit_ac = unit;
new_state        1636 drivers/platform/x86/dell-laptop.c 		new_state.timeout_value = value;
new_state        1637 drivers/platform/x86/dell-laptop.c 		new_state.timeout_unit = unit;
new_state        1640 drivers/platform/x86/dell-laptop.c 	ret = kbd_set_state_safe(&new_state, &state);
new_state        1703 drivers/platform/x86/dell-laptop.c 	struct kbd_state new_state;
new_state        1754 drivers/platform/x86/dell-laptop.c 	new_state = state;
new_state        1756 drivers/platform/x86/dell-laptop.c 		new_state.triggers |= BIT(trigger_bit);
new_state        1758 drivers/platform/x86/dell-laptop.c 		new_state.triggers &= ~BIT(trigger_bit);
new_state        1765 drivers/platform/x86/dell-laptop.c 			new_state.triggers &= ~BIT(2);
new_state        1767 drivers/platform/x86/dell-laptop.c 	if ((kbd_info.triggers & new_state.triggers) !=
new_state        1768 drivers/platform/x86/dell-laptop.c 	    new_state.triggers) {
new_state        1772 drivers/platform/x86/dell-laptop.c 	if (new_state.triggers && !triggers_enabled) {
new_state        1773 drivers/platform/x86/dell-laptop.c 		new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
new_state        1774 drivers/platform/x86/dell-laptop.c 		kbd_set_level(&new_state, kbd_previous_level);
new_state        1775 drivers/platform/x86/dell-laptop.c 	} else if (new_state.triggers == 0) {
new_state        1776 drivers/platform/x86/dell-laptop.c 		kbd_set_level(&new_state, 0);
new_state        1778 drivers/platform/x86/dell-laptop.c 	if (!(kbd_info.modes & BIT(new_state.mode_bit))) {
new_state        1782 drivers/platform/x86/dell-laptop.c 	ret = kbd_set_state_safe(&new_state, &state);
new_state        1785 drivers/platform/x86/dell-laptop.c 	if (new_state.mode_bit != KBD_MODE_BIT_OFF)
new_state        1786 drivers/platform/x86/dell-laptop.c 		kbd_previous_mode_bit = new_state.mode_bit;
new_state        1837 drivers/platform/x86/dell-laptop.c 	struct kbd_state new_state;
new_state        1858 drivers/platform/x86/dell-laptop.c 	new_state = state;
new_state        1865 drivers/platform/x86/dell-laptop.c 			new_state.mode_bit = KBD_MODE_BIT_TRIGGER_ALS;
new_state        1867 drivers/platform/x86/dell-laptop.c 			new_state.mode_bit = KBD_MODE_BIT_ALS;
new_state        1870 drivers/platform/x86/dell-laptop.c 			new_state.mode_bit = KBD_MODE_BIT_TRIGGER;
new_state        1871 drivers/platform/x86/dell-laptop.c 			kbd_set_level(&new_state, kbd_previous_level);
new_state        1873 drivers/platform/x86/dell-laptop.c 			new_state.mode_bit = KBD_MODE_BIT_ON;
new_state        1876 drivers/platform/x86/dell-laptop.c 	if (!(kbd_info.modes & BIT(new_state.mode_bit)))  {
new_state        1881 drivers/platform/x86/dell-laptop.c 	ret = kbd_set_state_safe(&new_state, &state);
new_state        1884 drivers/platform/x86/dell-laptop.c 	kbd_previous_mode_bit = new_state.mode_bit;
new_state        1916 drivers/platform/x86/dell-laptop.c 	struct kbd_state new_state;
new_state        1930 drivers/platform/x86/dell-laptop.c 	new_state = state;
new_state        1931 drivers/platform/x86/dell-laptop.c 	new_state.als_setting = setting;
new_state        1933 drivers/platform/x86/dell-laptop.c 	ret = kbd_set_state_safe(&new_state, &state);
new_state        2022 drivers/platform/x86/dell-laptop.c 	struct kbd_state new_state;
new_state        2032 drivers/platform/x86/dell-laptop.c 		new_state = state;
new_state        2033 drivers/platform/x86/dell-laptop.c 		ret = kbd_set_level(&new_state, value);
new_state        2036 drivers/platform/x86/dell-laptop.c 		ret = kbd_set_state_safe(&new_state, &state);
new_state        5902 drivers/platform/x86/thinkpad_acpi.c 	enum led_status_t new_state;
new_state        5905 drivers/platform/x86/thinkpad_acpi.c 		new_state = TPACPI_LED_OFF;
new_state        5907 drivers/platform/x86/thinkpad_acpi.c 		new_state = TPACPI_LED_ON;
new_state        5909 drivers/platform/x86/thinkpad_acpi.c 		new_state = TPACPI_LED_BLINK;
new_state        5911 drivers/platform/x86/thinkpad_acpi.c 	return led_set_status(data->led, new_state);
new_state        1395 drivers/power/supply/ab8500_fg.c 	enum ab8500_fg_charge_state new_state)
new_state        1400 drivers/power/supply/ab8500_fg.c 		new_state,
new_state        1401 drivers/power/supply/ab8500_fg.c 		charge_state[new_state]);
new_state        1403 drivers/power/supply/ab8500_fg.c 	di->charge_state = new_state;
new_state        1407 drivers/power/supply/ab8500_fg.c 	enum ab8500_fg_discharge_state new_state)
new_state        1412 drivers/power/supply/ab8500_fg.c 		new_state,
new_state        1413 drivers/power/supply/ab8500_fg.c 		discharge_state[new_state]);
new_state        1415 drivers/power/supply/ab8500_fg.c 	di->discharge_state = new_state;
new_state         463 drivers/power/supply/bq24257_charger.c 				  struct bq24257_state *new_state)
new_state         468 drivers/power/supply/bq24257_charger.c 	ret = (bq->state.status != new_state->status ||
new_state         469 drivers/power/supply/bq24257_charger.c 	       bq->state.fault != new_state->fault ||
new_state         470 drivers/power/supply/bq24257_charger.c 	       bq->state.power_good != new_state->power_good);
new_state         600 drivers/power/supply/bq24257_charger.c 					struct bq24257_state *new_state)
new_state         613 drivers/power/supply/bq24257_charger.c 	if (!new_state->power_good) {
new_state         637 drivers/power/supply/bq24257_charger.c 	} else if (new_state->fault == FAULT_NO_BAT) {
new_state         639 drivers/power/supply/bq24257_charger.c 	} else if (new_state->fault == FAULT_TIMER) {
new_state         506 drivers/power/supply/bq25890_charger.c 				  struct bq25890_state *new_state)
new_state         514 drivers/power/supply/bq25890_charger.c 	return (old_state.chrg_status != new_state->chrg_status ||
new_state         515 drivers/power/supply/bq25890_charger.c 		old_state.chrg_fault != new_state->chrg_fault	||
new_state         516 drivers/power/supply/bq25890_charger.c 		old_state.online != new_state->online		||
new_state         517 drivers/power/supply/bq25890_charger.c 		old_state.bat_fault != new_state->bat_fault	||
new_state         518 drivers/power/supply/bq25890_charger.c 		old_state.boost_fault != new_state->boost_fault ||
new_state         519 drivers/power/supply/bq25890_charger.c 		old_state.vsys_status != new_state->vsys_status);
new_state         523 drivers/power/supply/bq25890_charger.c 					struct bq25890_state *new_state)
new_state         532 drivers/power/supply/bq25890_charger.c 	if (!new_state->online) {			     /* power removed */
new_state         121 drivers/rtc/rtc-bd70528.c static int bd70528_set_rtc_based_timers(struct bd70528_rtc *r, int new_state,
new_state         126 drivers/rtc/rtc-bd70528.c 	ret = bd70528_wdt_set(r->mfd, new_state & BD70528_WDT_STATE_BIT,
new_state         134 drivers/rtc/rtc-bd70528.c 				      new_state & BD70528_ELAPSED_STATE_BIT,
new_state         141 drivers/rtc/rtc-bd70528.c 	ret = bd70528_set_wake(r->mfd, new_state & BD70528_WAKE_STATE_BIT,
new_state         113 drivers/s390/crypto/zcrypt_cex4.c 	static const char * const new_state[] = { "empty", "partial", "full" };
new_state         123 drivers/s390/crypto/zcrypt_cex4.c 			     new_state[ci.new_mk_state - '1'], ci.new_mkvp);
new_state         452 drivers/scsi/aic7xxx/aic79xx_osm.h 			    ahd_power_state new_state);
new_state         394 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_power_state_change(struct ahd_softc *ahd, ahd_power_state new_state)
new_state         396 drivers/scsi/aic7xxx/aic79xx_osm_pci.c 	pci_set_power_state(ahd->dev_softc, new_state);
new_state         262 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		state_under_lock = vscsi->new_state;
new_state         271 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		if (state_under_lock != vscsi->new_state)
new_state         272 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->phyp_acr_state = vscsi->new_state;
new_state         412 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	u16 new_state;
new_state         416 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	new_state = vscsi->new_state;
new_state         417 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	vscsi->new_state = 0;
new_state         441 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		if (new_state == UNCONFIGURING)
new_state         442 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         450 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		switch (new_state) {
new_state         453 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         465 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		if (new_state == UNCONFIGURING)
new_state         466 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         470 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		switch (new_state) {
new_state         472 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         494 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		switch (new_state) {
new_state         497 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         504 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         521 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->state = new_state;
new_state         526 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		if (new_state == UNCONFIGURING)
new_state         527 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->state = new_state;
new_state         571 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static void ibmvscsis_post_disconnect(struct scsi_info *vscsi, uint new_state,
new_state         577 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 	switch (new_state) {
new_state         586 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			new_state);
new_state         593 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		new_state, flag_bits, vscsi->flags, vscsi->state);
new_state         597 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->new_state = new_state;
new_state         602 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		if (vscsi->new_state)
new_state         603 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			state = vscsi->new_state;
new_state         615 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			if (new_state == UNCONFIGURING)
new_state         616 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 				vscsi->new_state = new_state;
new_state         620 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			switch (new_state) {
new_state         623 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 				vscsi->new_state = new_state;
new_state         635 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 			vscsi->new_state = new_state;
new_state         644 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->flags, vscsi->new_state);
new_state        1425 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c 		vscsi->flags, vscsi->state, vscsi->new_state);
new_state         273 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h 	uint new_state;
new_state         700 drivers/scsi/isci/remote_device.c 		enum sci_remote_device_states new_state;
new_state         716 drivers/scsi/isci/remote_device.c 			new_state = SCI_STP_DEV_NCQ;
new_state         719 drivers/scsi/isci/remote_device.c 			new_state = SCI_STP_DEV_CMD;
new_state         721 drivers/scsi/isci/remote_device.c 		sci_change_state(sm, new_state);
new_state        4262 drivers/scsi/lpfc/lpfc_hbadisc.c 		       int old_state, int new_state)
new_state        4266 drivers/scsi/lpfc/lpfc_hbadisc.c 	if (new_state == NLP_STE_UNMAPPED_NODE) {
new_state        4270 drivers/scsi/lpfc/lpfc_hbadisc.c 	if (new_state == NLP_STE_MAPPED_NODE)
new_state        4272 drivers/scsi/lpfc/lpfc_hbadisc.c 	if (new_state == NLP_STE_NPR_NODE)
new_state        4298 drivers/scsi/lpfc/lpfc_hbadisc.c 	if (new_state ==  NLP_STE_MAPPED_NODE ||
new_state        4299 drivers/scsi/lpfc/lpfc_hbadisc.c 	    new_state == NLP_STE_UNMAPPED_NODE) {
new_state        4332 drivers/scsi/lpfc/lpfc_hbadisc.c 	if ((new_state ==  NLP_STE_MAPPED_NODE) &&
new_state        4354 drivers/scsi/lpfc/lpfc_hbadisc.c 	if ((new_state == NLP_STE_MAPPED_NODE) &&
new_state          54 drivers/scsi/lpfc/lpfc_vport.c 				 enum fc_vport_state new_state)
new_state          64 drivers/scsi/lpfc/lpfc_vport.c 		if (new_state != FC_VPORT_INITIALIZING)
new_state          66 drivers/scsi/lpfc/lpfc_vport.c 		fc_vport->vport_state = new_state;
new_state          70 drivers/scsi/lpfc/lpfc_vport.c 	switch (new_state) {
new_state         116 drivers/scsi/lpfc/lpfc_vport.h 			  enum fc_vport_state new_state);
new_state        2132 drivers/scsi/megaraid/megaraid_sas.h 			u32 new_state;
new_state        1840 drivers/scsi/myrb.c 	enum myrb_devstate new_state;
new_state        1845 drivers/scsi/myrb.c 		new_state = MYRB_DEVICE_DEAD;
new_state        1847 drivers/scsi/myrb.c 		new_state = MYRB_DEVICE_ONLINE;
new_state        1849 drivers/scsi/myrb.c 		new_state = MYRB_DEVICE_STANDBY;
new_state        1865 drivers/scsi/myrb.c 	if (pdev_info->state == new_state)
new_state        1868 drivers/scsi/myrb.c 	status = myrb_set_pdev_state(cb, sdev, new_state);
new_state         979 drivers/scsi/myrs.c 	enum myrs_devstate new_state;
new_state         985 drivers/scsi/myrs.c 		new_state = MYRS_DEVICE_OFFLINE;
new_state         987 drivers/scsi/myrs.c 		new_state = MYRS_DEVICE_ONLINE;
new_state         989 drivers/scsi/myrs.c 		new_state = MYRS_DEVICE_STANDBY;
new_state         998 drivers/scsi/myrs.c 		if (pdev_info->dev_state == new_state) {
new_state        1001 drivers/scsi/myrs.c 				    myrs_devstate_name(new_state));
new_state        1012 drivers/scsi/myrs.c 		if (ldev_info->dev_state == new_state) {
new_state        1015 drivers/scsi/myrs.c 				    myrs_devstate_name(new_state));
new_state        1029 drivers/scsi/myrs.c 	mbox->set_devstate.state = new_state;
new_state        1038 drivers/scsi/myrs.c 			pdev_info->dev_state = new_state;
new_state        1042 drivers/scsi/myrs.c 			ldev_info->dev_state = new_state;
new_state        1046 drivers/scsi/myrs.c 			    myrs_devstate_name(new_state));
new_state        1051 drivers/scsi/myrs.c 		    myrs_devstate_name(new_state), status);
new_state        2726 drivers/scsi/scsi_lib.c 					enum scsi_device_state new_state)
new_state        2728 drivers/scsi/scsi_lib.c 	switch (new_state) {
new_state        2743 drivers/scsi/scsi_lib.c 		sdev->sdev_state = new_state;
new_state        2746 drivers/scsi/scsi_lib.c 		if (new_state == SDEV_TRANSPORT_OFFLINE ||
new_state        2747 drivers/scsi/scsi_lib.c 		    new_state == SDEV_OFFLINE)
new_state        2748 drivers/scsi/scsi_lib.c 			sdev->sdev_state = new_state;
new_state        2779 drivers/scsi/scsi_lib.c 					enum scsi_device_state new_state)
new_state        2784 drivers/scsi/scsi_lib.c 	ret = scsi_internal_device_unblock_nowait(sdev, new_state);
new_state        2837 drivers/scsi/scsi_lib.c scsi_target_unblock(struct device *dev, enum scsi_device_state new_state)
new_state        2840 drivers/scsi/scsi_lib.c 		starget_for_each_device(to_scsi_target(dev), &new_state,
new_state        2843 drivers/scsi/scsi_lib.c 		device_for_each_child(dev, &new_state, target_unblock);
new_state         333 drivers/scsi/scsi_transport_srp.c 			       enum srp_rport_state new_state)
new_state         339 drivers/scsi/scsi_transport_srp.c 	switch (new_state) {
new_state         367 drivers/scsi/scsi_transport_srp.c 	rport->state = new_state;
new_state         468 drivers/soc/tegra/pmc.c 			       bool new_state)
new_state         478 drivers/soc/tegra/pmc.c 	if (tegra_powergate_state(id) == new_state) {
new_state         486 drivers/soc/tegra/pmc.c 				 status == new_state, 10, 100000);
new_state         305 drivers/staging/isdn/gigaset/bas-gigaset.c 				  unsigned new_state)
new_state         600 drivers/staging/isdn/gigaset/gigaset.h 			      unsigned new_state);
new_state         413 drivers/staging/isdn/gigaset/interface.c 	unsigned int control_state, new_state;
new_state         442 drivers/staging/isdn/gigaset/interface.c 		new_state = control_state | TIOCM_DTR;
new_state         445 drivers/staging/isdn/gigaset/interface.c 			new_state |= TIOCM_RTS;
new_state         448 drivers/staging/isdn/gigaset/interface.c 			(new_state & TIOCM_RTS) ? " only" : "/RTS");
new_state         449 drivers/staging/isdn/gigaset/interface.c 		cs->ops->set_modem_ctrl(cs, control_state, new_state);
new_state         450 drivers/staging/isdn/gigaset/interface.c 		control_state = new_state;
new_state         458 drivers/staging/isdn/gigaset/interface.c 		new_state = control_state & ~(TIOCM_DTR | TIOCM_RTS);
new_state         459 drivers/staging/isdn/gigaset/interface.c 		cs->ops->set_modem_ctrl(cs, control_state, new_state);
new_state         460 drivers/staging/isdn/gigaset/interface.c 		control_state = new_state;
new_state         417 drivers/staging/isdn/gigaset/ser-gigaset.c 				  unsigned new_state)
new_state         426 drivers/staging/isdn/gigaset/ser-gigaset.c 	set = new_state & ~old_state;
new_state         427 drivers/staging/isdn/gigaset/ser-gigaset.c 	clear = old_state & ~new_state;
new_state         152 drivers/staging/isdn/gigaset/usb-gigaset.c 				  unsigned new_state)
new_state         158 drivers/staging/isdn/gigaset/usb-gigaset.c 	mask = tiocm_to_gigaset(old_state ^ new_state);
new_state         159 drivers/staging/isdn/gigaset/usb-gigaset.c 	val = tiocm_to_gigaset(new_state);
new_state         272 drivers/staging/uwb/rsv.c 				 enum uwb_rsv_state new_state)
new_state         274 drivers/staging/uwb/rsv.c 	rsv->state = new_state;
new_state         289 drivers/staging/uwb/rsv.c void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state)
new_state         293 drivers/staging/uwb/rsv.c 	if (rsv->state == new_state) {
new_state         315 drivers/staging/uwb/rsv.c 	switch (new_state) {
new_state         386 drivers/staging/uwb/rsv.c 			uwb_rsv_state_str(new_state), new_state);
new_state         324 drivers/staging/uwb/uwb-internal.h void uwb_rsv_set_state(struct uwb_rsv *rsv, enum uwb_rsv_state new_state);
new_state        2463 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		  enum vc_suspend_status new_state)
new_state        2466 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	arm_state->vc_suspend_state = new_state;
new_state        2469 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	switch (new_state) {
new_state        2500 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		 enum vc_resume_status new_state)
new_state        2503 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	arm_state->vc_resume_state = new_state;
new_state        2506 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	switch (new_state) {
new_state         181 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h 		  enum vc_suspend_status new_state);
new_state         185 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h 		 enum vc_resume_status new_state);
new_state        1005 drivers/target/target_core_alua.c 	int new_state,
new_state        1012 drivers/target/target_core_alua.c 	if (tg_pt_gp->tg_pt_gp_alua_access_state == new_state) {
new_state        1017 drivers/target/target_core_alua.c 	if (explicit && new_state == ALUA_ACCESS_STATE_TRANSITION) {
new_state        1034 drivers/target/target_core_alua.c 	if (new_state == ALUA_ACCESS_STATE_TRANSITION) {
new_state        1048 drivers/target/target_core_alua.c 	tg_pt_gp->tg_pt_gp_alua_access_state = new_state;
new_state        1071 drivers/target/target_core_alua.c 		core_alua_dump_state(new_state));
new_state        1084 drivers/target/target_core_alua.c 	int new_state,
new_state        1097 drivers/target/target_core_alua.c 	if (core_alua_check_transition(new_state, valid_states, &primary,
new_state        1119 drivers/target/target_core_alua.c 						   new_state, explicit);
new_state        1168 drivers/target/target_core_alua.c 					new_state, explicit);
new_state        1188 drivers/target/target_core_alua.c 			 core_alua_dump_state(new_state));
new_state        2687 drivers/target/target_core_configfs.c 	int new_state, ret;
new_state        2706 drivers/target/target_core_configfs.c 	new_state = (int)tmp;
new_state        2714 drivers/target/target_core_configfs.c 	    new_state == ALUA_ACCESS_STATE_LBA_DEPENDENT) {
new_state        2722 drivers/target/target_core_configfs.c 					NULL, NULL, new_state, 0);
new_state          85 drivers/thermal/thermal_core.h 					 unsigned long new_state);
new_state          89 drivers/thermal/thermal_core.h 				    unsigned long new_state) {}
new_state         769 drivers/thermal/thermal_sysfs.c 					 unsigned long new_state)
new_state         775 drivers/thermal/thermal_sysfs.c 	if (stats->state == new_state)
new_state         779 drivers/thermal/thermal_sysfs.c 	stats->trans_table[stats->state * stats->max_states + new_state]++;
new_state         780 drivers/thermal/thermal_sysfs.c 	stats->state = new_state;
new_state        1207 drivers/tty/serial/qcom_geni_serial.c 		unsigned int new_state, unsigned int old_state)
new_state        1215 drivers/tty/serial/qcom_geni_serial.c 	if (new_state == UART_PM_STATE_ON && old_state == UART_PM_STATE_OFF)
new_state        1217 drivers/tty/serial/qcom_geni_serial.c 	else if (new_state == UART_PM_STATE_OFF &&
new_state        1040 drivers/tty/vt/keyboard.c 				    unsigned int new_state)
new_state        1043 drivers/tty/vt/keyboard.c 	unsigned int changed = old_state ^ new_state;
new_state        1051 drivers/tty/vt/keyboard.c 					  new_state & trigger->mask ?
new_state        1096 drivers/tty/vt/keyboard.c 				    unsigned int new_state)
new_state        1098 drivers/tty/vt/keyboard.c 	input_handler_for_each_handle(&kbd_handler, &new_state,
new_state         202 drivers/usb/common/usb-otg-fsm.c static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state)
new_state         204 drivers/usb/common/usb-otg-fsm.c 	if (fsm->otg->state == new_state)
new_state         206 drivers/usb/common/usb-otg-fsm.c 	VDBG("Set state: %s\n", usb_otg_state_string(new_state));
new_state         208 drivers/usb/common/usb-otg-fsm.c 	switch (new_state) {
new_state         318 drivers/usb/common/usb-otg-fsm.c 	fsm->otg->state = new_state;
new_state        2036 drivers/usb/core/hub.c 		enum usb_device_state new_state)
new_state        2044 drivers/usb/core/hub.c 	else if (new_state != USB_STATE_NOTATTACHED) {
new_state        2051 drivers/usb/core/hub.c 					|| new_state == USB_STATE_SUSPENDED)
new_state        2053 drivers/usb/core/hub.c 			else if (new_state == USB_STATE_CONFIGURED)
new_state        2062 drivers/usb/core/hub.c 			new_state != USB_STATE_SUSPENDED)
new_state        2064 drivers/usb/core/hub.c 		else if (new_state == USB_STATE_SUSPENDED &&
new_state        2067 drivers/usb/core/hub.c 		udev->state = new_state;
new_state         395 drivers/usb/gadget/function/f_mass_storage.c static void __raise_exception(struct fsg_common *common, enum fsg_state new_state,
new_state         406 drivers/usb/gadget/function/f_mass_storage.c 	if (common->state <= new_state) {
new_state         408 drivers/usb/gadget/function/f_mass_storage.c 		common->state = new_state;
new_state         417 drivers/usb/gadget/function/f_mass_storage.c static void raise_exception(struct fsg_common *common, enum fsg_state new_state)
new_state         419 drivers/usb/gadget/function/f_mass_storage.c 	__raise_exception(common, new_state, NULL);
new_state          92 drivers/usb/host/uhci-hcd.c static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state);
new_state         288 drivers/usb/host/uhci-hcd.c static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state)
new_state         296 drivers/usb/host/uhci-hcd.c 	auto_stop = (new_state == UHCI_RH_AUTO_STOPPED);
new_state         371 drivers/usb/host/uhci-hcd.c 	uhci->rh_state = new_state;
new_state        3622 drivers/usb/typec/tcpm/tcpm.c 	enum tcpm_state new_state;
new_state        3673 drivers/usb/typec/tcpm/tcpm.c 			new_state = SNK_DEBOUNCED;
new_state        3675 drivers/usb/typec/tcpm/tcpm.c 			new_state = SNK_UNATTACHED;
new_state        3678 drivers/usb/typec/tcpm/tcpm.c 		if (new_state != port->delayed_state)
new_state        3683 drivers/usb/typec/tcpm/tcpm.c 			new_state = SNK_UNATTACHED;
new_state        3685 drivers/usb/typec/tcpm/tcpm.c 			new_state = tcpm_try_src(port) ? SRC_TRY : SNK_ATTACHED;
new_state        3687 drivers/usb/typec/tcpm/tcpm.c 			new_state = SNK_UNATTACHED;
new_state        3688 drivers/usb/typec/tcpm/tcpm.c 		if (new_state != port->delayed_state)
new_state         119 drivers/xen/xen-pciback/conf_space_capability.c 	pci_power_t new_state;
new_state         125 drivers/xen/xen-pciback/conf_space_capability.c 	new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK);
new_state         136 drivers/xen/xen-pciback/conf_space_capability.c 	dev_dbg(&dev->dev, "set power state to %x\n", new_state);
new_state         137 drivers/xen/xen-pciback/conf_space_capability.c 	err = pci_set_power_state(dev, new_state);
new_state         767 fs/ext4/inode.c 	unsigned long new_state;
new_state         783 fs/ext4/inode.c 		new_state = (old_state & ~EXT4_MAP_FLAGS) | flags;
new_state         785 fs/ext4/inode.c 		 cmpxchg(&bh->b_state, old_state, new_state) != old_state));
new_state         170 fs/fscache/object.c 	const struct fscache_state *state, *new_state;
new_state         210 fs/fscache/object.c 					new_state = t->transit_to;
new_state         217 fs/fscache/object.c 					       state->name, new_state->name);
new_state         218 fs/fscache/object.c 					object->state = state = new_state;
new_state         234 fs/fscache/object.c 	new_state = state->work(object, event);
new_state         236 fs/fscache/object.c 	if (new_state == NO_TRANSIT) {
new_state         248 fs/fscache/object.c 	       object->debug_id, state->name, new_state->name);
new_state         249 fs/fscache/object.c 	object->state = state = new_state;
new_state         416 fs/gfs2/glock.c static void state_change(struct gfs2_glock *gl, unsigned int new_state)
new_state         421 fs/gfs2/glock.c 	held2 = (new_state != LM_ST_UNLOCKED);
new_state         433 fs/gfs2/glock.c 	if (new_state != gl->gl_target)
new_state         437 fs/gfs2/glock.c 	gl->gl_state = new_state;
new_state          86 fs/gfs2/rgrp.c 			       unsigned char new_state)
new_state         100 fs/gfs2/rgrp.c 	if (unlikely(!valid_change[new_state * 4 + cur_state])) {
new_state         104 fs/gfs2/rgrp.c 			rbm->offset, cur_state, new_state);
new_state         115 fs/gfs2/rgrp.c 	*byte1 ^= (cur_state ^ new_state) << bit;
new_state         120 fs/gfs2/rgrp.c 		*byte2 ^= (cur_state ^ new_state) << bit;
new_state        2221 fs/gfs2/rgrp.c 		       u64 bstart, u32 blen, unsigned char new_state)
new_state        2242 fs/gfs2/rgrp.c 		gfs2_setbit(&rbm, false, new_state);
new_state          93 fs/gfs2/trace_gfs2.h 	TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state),
new_state          95 fs/gfs2/trace_gfs2.h 	TP_ARGS(gl, new_state),
new_state         102 fs/gfs2/trace_gfs2.h 		__field(	u8,	new_state		)
new_state         113 fs/gfs2/trace_gfs2.h 		__entry->new_state	= glock_trace_state(new_state);
new_state         123 fs/gfs2/trace_gfs2.h 		  glock_trace_name(__entry->new_state),
new_state         151 include/drm/drm_atomic.h 	struct drm_plane_state *state, *old_state, *new_state;
new_state         156 include/drm/drm_atomic.h 	struct drm_crtc_state *state, *old_state, *new_state;
new_state         174 include/drm/drm_atomic.h 	struct drm_connector_state *state, *old_state, *new_state;
new_state         295 include/drm/drm_atomic.h 	struct drm_private_state *state, *old_state, *new_state;
new_state         513 include/drm/drm_atomic.h 	return state->crtcs[drm_crtc_index(crtc)].new_state;
new_state         561 include/drm/drm_atomic.h 	return state->planes[drm_plane_index(plane)].new_state;
new_state         624 include/drm/drm_atomic.h 	return state->connectors[index].new_state;
new_state         697 include/drm/drm_atomic.h 			     (new_connector_state) = (__state)->connectors[__i].new_state, 1))
new_state         737 include/drm/drm_atomic.h 			     (new_connector_state) = (__state)->connectors[__i].new_state, 1))
new_state         758 include/drm/drm_atomic.h 			     (new_crtc_state) = (__state)->crtcs[__i].new_state, 1))
new_state         796 include/drm/drm_atomic.h 			     (new_crtc_state) = (__state)->crtcs[__i].new_state, 1))
new_state         817 include/drm/drm_atomic.h 			      (new_plane_state) = (__state)->planes[__i].new_state, 1))
new_state         839 include/drm/drm_atomic.h 			      (new_plane_state) = (__state)->planes[__i].new_state, 1))
new_state         876 include/drm/drm_atomic.h 			      (new_plane_state) = (__state)->planes[__i].new_state, 1))
new_state         895 include/drm/drm_atomic.h 		      (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
new_state         931 include/drm/drm_atomic.h 		      (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
new_state          77 include/drm/drm_damage_helper.h 				   const struct drm_plane_state *new_state);
new_state         699 include/drm/drm_dp_mst_helper.h 			    struct drm_dp_mst_topology_state **new_state,
new_state         710 include/drm/drm_dp_mst_helper.h 	if (new_state)
new_state         711 include/drm/drm_dp_mst_helper.h 		*new_state = to_dp_mst_topology_state(objs_state->new_state);
new_state         731 include/drm/drm_dp_mst_helper.h #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \
new_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)))
new_state         766 include/drm/drm_dp_mst_helper.h #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \
new_state         768 include/drm/drm_dp_mst_helper.h 		for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
new_state        1104 include/drm/drm_modeset_helper_vtables.h 			  struct drm_plane_state *new_state);
new_state        1254 include/drm/drm_modeset_helper_vtables.h 				    struct drm_plane_state *new_state);
new_state         209 include/linux/drbd_genl.h 	__u32_field(6, DRBD_GENLA_F_MANDATORY,	new_state)
new_state         478 include/linux/mlx4/qp.h 		   enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state,
new_state         367 include/linux/qed/qed_rdma_if.h 	enum qed_roce_qp_state new_state;
new_state         656 include/linux/usb/hcd.h 		enum usb_device_state new_state);
new_state        3848 include/net/mac80211.h 			 enum ieee80211_sta_state new_state);
new_state        1052 include/net/tcp.h 	void (*set_state)(struct sock *sk, u8 new_state);
new_state         507 include/scsi/scsi_device.h 					enum scsi_device_state new_state);
new_state         767 include/scsi/scsi_transport_fc.h fc_vport_set_state(struct fc_vport *vport, enum fc_vport_state new_state)
new_state         769 include/scsi/scsi_transport_fc.h 	if ((new_state != FC_VPORT_UNKNOWN) &&
new_state         770 include/scsi/scsi_transport_fc.h 	    (new_state != FC_VPORT_INITIALIZING))
new_state         772 include/scsi/scsi_transport_fc.h 	vport->vport_state = new_state;
new_state         148 include/trace/events/devlink.h 		 bool new_state),
new_state         150 include/trace/events/devlink.h 	TP_ARGS(devlink, reporter_name, new_state),
new_state         157 include/trace/events/devlink.h 		__field(u8, new_state)
new_state         165 include/trace/events/devlink.h 		__entry->new_state = new_state;
new_state         171 include/trace/events/devlink.h 		  __entry->new_state)
new_state          95 include/trace/events/neigh.h 		__field(u8, new_state)
new_state         136 include/trace/events/neigh.h 		__entry->new_state = new;
new_state         152 include/trace/events/neigh.h 		  neigh_state_str(__entry->new_state),
new_state         203 include/xen/xenbus.h int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state new_state);
new_state         764 net/batman-adv/multicast.c 			 struct batadv_mcast_querier_state *new_state)
new_state         766 net/batman-adv/multicast.c 	if (!old_state->exists && new_state->exists)
new_state         769 net/batman-adv/multicast.c 	else if (old_state->exists && !new_state->exists)
new_state         773 net/batman-adv/multicast.c 	else if (!bat_priv->mcast.mla_flags.bridged && !new_state->exists)
new_state         778 net/batman-adv/multicast.c 	if (new_state->exists) {
new_state         779 net/batman-adv/multicast.c 		if ((!old_state->shadowing && new_state->shadowing) ||
new_state         780 net/batman-adv/multicast.c 		    (!old_state->exists && new_state->shadowing))
new_state         784 net/batman-adv/multicast.c 		else if (old_state->shadowing && !new_state->shadowing)
new_state        1644 net/ceph/osdmap.c 	void *new_state;
new_state        1659 net/ceph/osdmap.c 	new_state = *p;
new_state        1693 net/ceph/osdmap.c 	*p = new_state;
new_state         228 net/ipv4/ip_tunnel_core.c 	struct lwtunnel_state *new_state;
new_state         237 net/ipv4/ip_tunnel_core.c 	new_state = lwtunnel_state_alloc(sizeof(*tun_info));
new_state         238 net/ipv4/ip_tunnel_core.c 	if (!new_state)
new_state         241 net/ipv4/ip_tunnel_core.c 	new_state->type = LWTUNNEL_ENCAP_IP;
new_state         243 net/ipv4/ip_tunnel_core.c 	tun_info = lwt_tun_info(new_state);
new_state         248 net/ipv4/ip_tunnel_core.c 		lwtstate_free(new_state);
new_state         274 net/ipv4/ip_tunnel_core.c 	*ts = new_state;
new_state         345 net/ipv4/ip_tunnel_core.c 	struct lwtunnel_state *new_state;
new_state         354 net/ipv4/ip_tunnel_core.c 	new_state = lwtunnel_state_alloc(sizeof(*tun_info));
new_state         355 net/ipv4/ip_tunnel_core.c 	if (!new_state)
new_state         358 net/ipv4/ip_tunnel_core.c 	new_state->type = LWTUNNEL_ENCAP_IP6;
new_state         360 net/ipv4/ip_tunnel_core.c 	tun_info = lwt_tun_info(new_state);
new_state         383 net/ipv4/ip_tunnel_core.c 	*ts = new_state;
new_state        2280 net/ipv4/tcp.c static const unsigned char new_state[16] = {
new_state        2299 net/ipv4/tcp.c 	int next = (int)new_state[sk->sk_state];
new_state        1126 net/ipv4/tcp_bbr.c static void bbr_set_state(struct sock *sk, u8 new_state)
new_state        1130 net/ipv4/tcp_bbr.c 	if (new_state == TCP_CA_Loss) {
new_state         180 net/ipv4/tcp_bic.c static void bictcp_state(struct sock *sk, u8 new_state)
new_state         182 net/ipv4/tcp_bic.c 	if (new_state == TCP_CA_Loss)
new_state         371 net/ipv4/tcp_cubic.c static void bictcp_state(struct sock *sk, u8 new_state)
new_state         373 net/ipv4/tcp_cubic.c 	if (new_state == TCP_CA_Loss) {
new_state         153 net/ipv4/tcp_dctcp.c static void dctcp_state(struct sock *sk, u8 new_state)
new_state         155 net/ipv4/tcp_dctcp.c 	if (new_state == TCP_CA_Recovery &&
new_state         156 net/ipv4/tcp_dctcp.c 	    new_state != inet_csk(sk)->icsk_ca_state)
new_state         268 net/ipv4/tcp_htcp.c static void htcp_state(struct sock *sk, u8 new_state)
new_state         270 net/ipv4/tcp_htcp.c 	switch (new_state) {
new_state         244 net/ipv4/tcp_illinois.c static void tcp_illinois_state(struct sock *sk, u8 new_state)
new_state         248 net/ipv4/tcp_illinois.c 	if (new_state == TCP_CA_Loss) {
new_state         216 net/ipv4/tcp_nv.c static void tcpnv_state(struct sock *sk, u8 new_state)
new_state         220 net/ipv4/tcp_nv.c 	if (new_state == TCP_CA_Open && ca->nv_reset) {
new_state         222 net/ipv4/tcp_nv.c 	} else if (new_state == TCP_CA_Loss || new_state == TCP_CA_CWR ||
new_state         223 net/ipv4/tcp_nv.c 		new_state == TCP_CA_Recovery) {
new_state         226 net/ipv4/tcp_nv.c 		if (new_state == TCP_CA_Loss) {
new_state         111 net/mac80211/driver-ops.c 		  enum ieee80211_sta_state new_state)
new_state         121 net/mac80211/driver-ops.c 	trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state);
new_state         124 net/mac80211/driver-ops.c 					    old_state, new_state);
new_state         126 net/mac80211/driver-ops.c 		   new_state == IEEE80211_STA_ASSOC) {
new_state         131 net/mac80211/driver-ops.c 		   new_state == IEEE80211_STA_AUTH) {
new_state         530 net/mac80211/driver-ops.h 		  enum ieee80211_sta_state new_state);
new_state        1903 net/mac80211/sta_info.c 			enum ieee80211_sta_state new_state)
new_state        1907 net/mac80211/sta_info.c 	if (sta->sta_state == new_state)
new_state        1912 net/mac80211/sta_info.c 	switch (new_state) {
new_state        1932 net/mac80211/sta_info.c 		WARN(1, "invalid state %d", new_state);
new_state        1937 net/mac80211/sta_info.c 		sta->sta.addr, new_state);
new_state        1945 net/mac80211/sta_info.c 					sta->sta_state, new_state);
new_state        1952 net/mac80211/sta_info.c 	switch (new_state) {
new_state        1997 net/mac80211/sta_info.c 	sta->sta_state = new_state;
new_state         681 net/mac80211/sta_info.h 			enum ieee80211_sta_state new_state);
new_state         684 net/mac80211/sta_info.h 					   enum ieee80211_sta_state new_state)
new_state         690 net/mac80211/sta_info.h 	ret = sta_info_move_state(sta, new_state);
new_state         804 net/mac80211/trace.h 		 enum ieee80211_sta_state new_state),
new_state         806 net/mac80211/trace.h 	TP_ARGS(local, sdata, sta, old_state, new_state),
new_state         813 net/mac80211/trace.h 		__field(u32, new_state)
new_state         821 net/mac80211/trace.h 		__entry->new_state = new_state;
new_state         827 net/mac80211/trace.h 		__entry->old_state, __entry->new_state
new_state         516 net/netfilter/ipvs/ip_vs_proto_tcp.c 	int new_state = IP_VS_TCP_S_CLOSE;
new_state         535 net/netfilter/ipvs/ip_vs_proto_tcp.c 	new_state =
new_state         539 net/netfilter/ipvs/ip_vs_proto_tcp.c 	if (new_state != cp->state) {
new_state         556 net/netfilter/ipvs/ip_vs_proto_tcp.c 			      tcp_state_name(new_state),
new_state         561 net/netfilter/ipvs/ip_vs_proto_tcp.c 			    !tcp_state_active(new_state)) {
new_state         566 net/netfilter/ipvs/ip_vs_proto_tcp.c 				   tcp_state_active(new_state)) {
new_state         572 net/netfilter/ipvs/ip_vs_proto_tcp.c 		if (new_state == IP_VS_TCP_S_ESTABLISHED)
new_state         577 net/netfilter/ipvs/ip_vs_proto_tcp.c 		cp->timeout = pd->timeout_table[cp->state = new_state];
new_state         579 net/netfilter/ipvs/ip_vs_proto_tcp.c 		cp->timeout = tcp_timeouts[cp->state = new_state];
new_state         478 net/netfilter/nf_conntrack_proto_dccp.c 	u_int8_t type, old_state, new_state;
new_state         504 net/netfilter/nf_conntrack_proto_dccp.c 	new_state = dccp_state_table[role][type][old_state];
new_state         506 net/netfilter/nf_conntrack_proto_dccp.c 	switch (new_state) {
new_state         538 net/netfilter/nf_conntrack_proto_dccp.c 			new_state = CT_DCCP_RESPOND;
new_state         555 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.state = new_state;
new_state         558 net/netfilter/nf_conntrack_proto_dccp.c 	if (new_state != old_state)
new_state         564 net/netfilter/nf_conntrack_proto_dccp.c 	nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]);
new_state         273 net/netfilter/nf_conntrack_proto_sctp.c 	enum sctp_conntrack new_state;
new_state         279 net/netfilter/nf_conntrack_proto_sctp.c 	new_state = SCTP_CONNTRACK_MAX;
new_state         281 net/netfilter/nf_conntrack_proto_sctp.c 		new_state = sctp_new_state(IP_CT_DIR_ORIGINAL,
new_state         285 net/netfilter/nf_conntrack_proto_sctp.c 		if (new_state == SCTP_CONNTRACK_NONE ||
new_state         286 net/netfilter/nf_conntrack_proto_sctp.c 		    new_state == SCTP_CONNTRACK_MAX) {
new_state         363 net/netfilter/nf_conntrack_proto_sctp.c 	enum sctp_conntrack new_state, old_state;
new_state         407 net/netfilter/nf_conntrack_proto_sctp.c 	old_state = new_state = SCTP_CONNTRACK_NONE;
new_state         443 net/netfilter/nf_conntrack_proto_sctp.c 		new_state = sctp_new_state(dir, old_state, sch->type);
new_state         446 net/netfilter/nf_conntrack_proto_sctp.c 		if (new_state == SCTP_CONNTRACK_MAX) {
new_state         467 net/netfilter/nf_conntrack_proto_sctp.c 		ct->proto.sctp.state = new_state;
new_state         468 net/netfilter/nf_conntrack_proto_sctp.c 		if (old_state != new_state)
new_state         477 net/netfilter/nf_conntrack_proto_sctp.c 	nf_ct_refresh_acct(ct, ctinfo, skb, timeouts[new_state]);
new_state         481 net/netfilter/nf_conntrack_proto_sctp.c 	    new_state == SCTP_CONNTRACK_ESTABLISHED) {
new_state         762 net/netfilter/nf_conntrack_proto_tcp.c 	enum tcp_conntrack new_state;
new_state         769 net/netfilter/nf_conntrack_proto_tcp.c 	new_state = tcp_conntracks[0][get_conntrack_index(th)][TCP_CONNTRACK_NONE];
new_state         772 net/netfilter/nf_conntrack_proto_tcp.c 	if (new_state >= TCP_CONNTRACK_MAX) {
new_state         777 net/netfilter/nf_conntrack_proto_tcp.c 	if (new_state == TCP_CONNTRACK_SYN_SENT) {
new_state         846 net/netfilter/nf_conntrack_proto_tcp.c 	enum tcp_conntrack new_state, old_state;
new_state         867 net/netfilter/nf_conntrack_proto_tcp.c 	new_state = tcp_conntracks[dir][index][old_state];
new_state         870 net/netfilter/nf_conntrack_proto_tcp.c 	switch (new_state) {
new_state         929 net/netfilter/nf_conntrack_proto_tcp.c 			new_state = TCP_CONNTRACK_SYN_RECV;
new_state        1035 net/netfilter/nf_conntrack_proto_tcp.c 			new_state = TCP_CONNTRACK_ESTABLISHED;
new_state        1067 net/netfilter/nf_conntrack_proto_tcp.c 			new_state = old_state;
new_state        1106 net/netfilter/nf_conntrack_proto_tcp.c 		 old_state, new_state);
new_state        1108 net/netfilter/nf_conntrack_proto_tcp.c 	ct->proto.tcp.state = new_state;
new_state        1109 net/netfilter/nf_conntrack_proto_tcp.c 	if (old_state != new_state
new_state        1110 net/netfilter/nf_conntrack_proto_tcp.c 	    && new_state == TCP_CONNTRACK_FIN_WAIT)
new_state        1118 net/netfilter/nf_conntrack_proto_tcp.c 	    timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS])
new_state        1124 net/netfilter/nf_conntrack_proto_tcp.c 		 timeouts[new_state] > timeouts[TCP_CONNTRACK_UNACK])
new_state        1127 net/netfilter/nf_conntrack_proto_tcp.c 		 timeouts[new_state] > timeouts[TCP_CONNTRACK_RETRANS])
new_state        1130 net/netfilter/nf_conntrack_proto_tcp.c 		timeout = timeouts[new_state];
new_state        1133 net/netfilter/nf_conntrack_proto_tcp.c 	if (new_state != old_state)
new_state        1148 net/netfilter/nf_conntrack_proto_tcp.c 		if (new_state == TCP_CONNTRACK_ESTABLISHED &&
new_state        1154 net/netfilter/nf_conntrack_proto_tcp.c 		   && new_state == TCP_CONNTRACK_ESTABLISHED) {
new_state          38 net/rds/ib_frmr.c 			  enum rds_ib_fr_state new_state)
new_state          41 net/rds/ib_frmr.c 		    old_state, new_state) == old_state &&
new_state         403 net/wimax/op-rfkill.c 	enum wimax_rf_state new_state;
new_state         422 net/wimax/op-rfkill.c 	new_state = nla_get_u32(info->attrs[WIMAX_GNL_RFKILL_STATE]);
new_state         425 net/wimax/op-rfkill.c 	result = wimax_rfkill(wimax_dev, new_state);
new_state          88 net/wimax/stack.c 	enum wimax_st new_state, enum wimax_st old_state,
new_state          97 net/wimax/stack.c 		  wimax_dev, new_state, old_state);
new_state         118 net/wimax/stack.c 	result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_NEW, new_state);
new_state         130 net/wimax/stack.c 		wimax_dev, new_state, old_state, report_skb);
new_state         137 net/wimax/stack.c 		wimax_dev, new_state, old_state, result);
new_state         175 net/wimax/stack.c void __check_new_state(enum wimax_st old_state, enum wimax_st new_state,
new_state         178 net/wimax/stack.c 	if (WARN_ON(((1 << new_state) & allowed_states_bm) == 0)) {
new_state         180 net/wimax/stack.c 		       old_state, new_state);
new_state         189 net/wimax/stack.c void __wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state)
new_state         197 net/wimax/stack.c 		  wimax_dev, new_state, old_state);
new_state         199 net/wimax/stack.c 	if (WARN_ON(new_state >= __WIMAX_ST_INVALID)) {
new_state         201 net/wimax/stack.c 			new_state);
new_state         204 net/wimax/stack.c 	if (old_state == new_state)
new_state         208 net/wimax/stack.c 		wimax_dev, new_state, old_state, &header);
new_state         213 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         217 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         223 net/wimax/stack.c 		__check_new_state(old_state, new_state, 1 << WIMAX_ST_DOWN);
new_state         226 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         231 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         236 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         244 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         252 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         260 net/wimax/stack.c 		__check_new_state(old_state, new_state,
new_state         276 net/wimax/stack.c 	switch (new_state) {
new_state         304 net/wimax/stack.c 	__wimax_state_set(wimax_dev, new_state);
new_state         309 net/wimax/stack.c 		wimax_dev, new_state, old_state);
new_state         333 net/wimax/stack.c void wimax_state_change(struct wimax_dev *wimax_dev, enum wimax_st new_state)
new_state         349 net/wimax/stack.c 		__wimax_state_change(wimax_dev, new_state);
new_state          90 security/selinux/ss/conditional.c 	int new_state;
new_state          93 security/selinux/ss/conditional.c 	new_state = cond_evaluate_expr(p, node->expr);
new_state          94 security/selinux/ss/conditional.c 	if (new_state != node->cur_state) {
new_state          95 security/selinux/ss/conditional.c 		node->cur_state = new_state;
new_state          96 security/selinux/ss/conditional.c 		if (new_state == -1)
new_state         100 security/selinux/ss/conditional.c 			if (new_state <= 0)
new_state         108 security/selinux/ss/conditional.c 			if (new_state)
new_state        1796 sound/core/pcm_native.c 			int new_state = snd_pcm_capture_avail(runtime) > 0 ?
new_state        1798 sound/core/pcm_native.c 			snd_pcm_do_stop(substream, new_state);
new_state        1799 sound/core/pcm_native.c 			snd_pcm_post_stop(substream, new_state);