Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 25 of 66) sorted by relevance

123

/linux/tools/testing/selftests/pcie_bwctrl/
H A Dset_pcie_speed.sh26 oldstate=`cat $statefile`
50 set_state $oldstate
56 echo "$TESTNAME: testing states $maxstate .. $oldstate with $coolingdev"
57 for i in $(seq $maxstate -1 $oldstate); do
/linux/include/linux/
H A Drcutiny.h49 bool poll_state_synchronize_rcu(unsigned long oldstate);
56 static inline void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
76 static inline void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
78 cond_synchronize_rcu(oldstate); in cond_synchronize_rcu_expedited()
H A Drcutree.h76 void cond_synchronize_rcu_expedited(unsigned long oldstate);
82 bool poll_state_synchronize_rcu(unsigned long oldstate);
84 void cond_synchronize_rcu(unsigned long oldstate);
H A Drcupdate_wait.h21 struct rcu_gp_oldstate oldstate; member
/linux/drivers/gpu/drm/sti/
H A Dsti_gdp.c710 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_gdp_atomic_update() local
734 if ((oldstate->fb == newstate->fb) && in sti_gdp_atomic_update()
735 (oldstate->crtc_x == newstate->crtc_x) && in sti_gdp_atomic_update()
736 (oldstate->crtc_y == newstate->crtc_y) && in sti_gdp_atomic_update()
737 (oldstate->crtc_w == newstate->crtc_w) && in sti_gdp_atomic_update()
738 (oldstate->crtc_h == newstate->crtc_h) && in sti_gdp_atomic_update()
739 (oldstate->src_x == newstate->src_x) && in sti_gdp_atomic_update()
740 (oldstate->src_y == newstate->src_y) && in sti_gdp_atomic_update()
741 (oldstate->src_w == newstate->src_w) && in sti_gdp_atomic_update()
742 (oldstate->src_h == newstate->src_h)) { in sti_gdp_atomic_update()
[all …]
H A Dsti_hqvdp.c1120 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_hqvdp_atomic_update() local
1139 if ((oldstate->fb == newstate->fb) && in sti_hqvdp_atomic_update()
1140 (oldstate->crtc_x == newstate->crtc_x) && in sti_hqvdp_atomic_update()
1141 (oldstate->crtc_y == newstate->crtc_y) && in sti_hqvdp_atomic_update()
1142 (oldstate->crtc_w == newstate->crtc_w) && in sti_hqvdp_atomic_update()
1143 (oldstate->crtc_h == newstate->crtc_h) && in sti_hqvdp_atomic_update()
1144 (oldstate->src_x == newstate->src_x) && in sti_hqvdp_atomic_update()
1145 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1146 (oldstate->src_w == newstate->src_w) && in sti_hqvdp_atomic_update()
1147 (oldstate->src_h == newstate->src_h)) { in sti_hqvdp_atomic_update()
[all …]
H A Dsti_cursor.c321 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, in sti_cursor_atomic_disable() local
325 if (!oldstate->crtc) { in sti_cursor_atomic_disable()
332 oldstate->crtc->base.id, in sti_cursor_atomic_disable()
333 sti_mixer_to_str(to_sti_mixer(oldstate->crtc)), in sti_cursor_atomic_disable()
/linux/drivers/scsi/
H A Dhosts.c77 enum scsi_host_state oldstate = shost->shost_state; in scsi_host_set_state() local
79 if (state == oldstate) in scsi_host_set_state()
90 switch (oldstate) { in scsi_host_set_state()
100 switch (oldstate) { in scsi_host_set_state()
109 switch (oldstate) { in scsi_host_set_state()
120 switch (oldstate) { in scsi_host_set_state()
130 switch (oldstate) { in scsi_host_set_state()
140 switch (oldstate) { in scsi_host_set_state()
156 scsi_host_state_name(oldstate), in scsi_host_set_state()
H A Dscsi_lib.c2511 enum scsi_device_state oldstate = sdev->sdev_state; in scsi_device_set_state() local
2513 if (state == oldstate) in scsi_device_set_state()
2518 switch (oldstate) { in scsi_device_set_state()
2527 switch (oldstate) { in scsi_device_set_state()
2540 switch (oldstate) { in scsi_device_set_state()
2552 switch (oldstate) { in scsi_device_set_state()
2564 switch (oldstate) { in scsi_device_set_state()
2576 switch (oldstate) { in scsi_device_set_state()
2585 switch (oldstate) { in scsi_device_set_state()
2598 switch (oldstate) { in scsi_device_set_state()
[all …]
/linux/include/trace/events/
H A Dsock.h142 TP_PROTO(const struct sock *sk, const int oldstate, const int newstate),
144 TP_ARGS(sk, oldstate, newstate),
148 __field(int, oldstate)
165 __entry->oldstate = oldstate;
189 show_tcp_state_name(__entry->oldstate),
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c311 struct drm_plane_state *oldstate) in osd_changed() argument
313 return state->src_x != oldstate->src_x || in osd_changed()
314 state->src_y != oldstate->src_y || in osd_changed()
315 state->src_w != oldstate->src_w || in osd_changed()
316 state->src_h != oldstate->src_h || in osd_changed()
317 state->crtc_x != oldstate->crtc_x || in osd_changed()
318 state->crtc_y != oldstate->crtc_y || in osd_changed()
319 state->crtc_w != oldstate->crtc_w || in osd_changed()
320 state->crtc_h != oldstate->crtc_h; in osd_changed()
328 struct drm_plane_state *oldstate = drm_atomic_get_old_plane_state(state, plane); in ingenic_ipu_plane_atomic_update() local
[all …]
/linux/kernel/rcu/
H A Dtiny.c227 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
229 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c82 chip->oldstate = chip->state = FL_READY; in lpddr_cmdset()
268 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
300 if (FL_SYNCING == mode && FL_READY != chip->oldstate) in chip_ready()
315 chip->oldstate = FL_ERASING; in chip_ready()
332 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
352 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
384 switch (chip->oldstate) { in put_chip()
390 chip->oldstate = FL_READY; in put_chip()
397 map->name, chip->oldstate); in put_chip()
/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c832 if (mode == FL_SYNCING && chip->oldstate != FL_READY) in chip_ready()
886 chip->oldstate = FL_ERASING; in chip_ready()
916 chip->oldstate = chip->state; in chip_ready()
925 if (mode == FL_READY && chip->oldstate == FL_READY) in chip_ready()
1012 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
1043 if (shared->writing == chip && chip->oldstate == FL_READY) { in put_chip()
1075 switch(chip->oldstate) { in put_chip()
1088 chip->oldstate = FL_READY; in put_chip()
1093 chip->state = chip->oldstate; in put_chip()
1094 chip->oldstate = FL_READY; in put_chip()
[all …]
H A Dfwh_lock.h68 chip->oldstate = chip->state; in fwh_xxlock_oneblock()
73 chip->state = chip->oldstate; in fwh_xxlock_oneblock()
H A Dcfi_cmdset_0002.c922 chip->oldstate = FL_ERASING; in get_chip()
953 chip->oldstate = chip->state; in get_chip()
963 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip()
983 switch(chip->oldstate) { in put_chip()
989 chip->oldstate = FL_READY; in put_chip()
994 chip->state = chip->oldstate; in put_chip()
995 chip->oldstate = FL_READY; in put_chip()
1002 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip()
1062 flstate_t oldstate; in xip_udelay() local
1068 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay()
[all …]
H A Dcfi_cmdset_0020.c284 chip->oldstate = FL_ERASING; in do_read_onechip()
364 chip->state = chip->oldstate; in do_read_onechip()
992 chip->oldstate = chip->state; in cfi_staa_sync()
1024 chip->state = chip->oldstate; in cfi_staa_sync()
1329 chip->oldstate = chip->state; in cfi_staa_suspend()
1359 chip->state = chip->oldstate; in cfi_staa_suspend()
/linux/sound/soc/sof/intel/
H A Dhda-bus.c37 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() local
41 if (enable == oldstate) in sof_hda_bus_link_power()
/linux/include/linux/mtd/
H A Dflashchip.h70 flstate_t oldstate; member
/linux/sound/hda/core/ext/
H A Dcontroller.c398 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in snd_hdac_ext_bus_link_power() local
400 if (enable == oldstate) in snd_hdac_ext_bus_link_power()
/linux/drivers/pwm/
H A Dpwm-fsl-ftm.c301 struct pwm_state *oldstate = &pwm->state; in fsl_pwm_apply() local
314 if (oldstate->enabled) { in fsl_pwm_apply()
329 if (!oldstate->enabled) { in fsl_pwm_apply()
/linux/drivers/net/fddi/skfp/
H A Dpcmplc.c587 int oldstate ; in pcm() local
600 oldstate = mib->fddiPORTPCMState ; in pcm()
626 if ( mib->fddiPORTPCMState != oldstate && in pcm()
627 ((oldstate == PC8_ACTIVE) || (mib->fddiPORTPCMState == PC8_ACTIVE))) { in pcm()
636 if ( mib->fddiPORTPCMState != oldstate ) { in pcm()
638 DB_SNMP ("PCM from %d to %d\n", oldstate, mib->fddiPORTPCMState); in pcm()
642 } else if ( oldstate == PC0_OFF ) { in pcm()
646 oldstate == PC8_ACTIVE ) { in pcm()
/linux/drivers/s390/char/
H A Dtape_core.c264 enum tape_medium_state oldstate; in tape_med_state_set() local
266 oldstate = device->medium_state; in tape_med_state_set()
267 if (oldstate == newstate) in tape_med_state_set()
273 if (oldstate == MS_LOADED) in tape_med_state_set()
278 if (oldstate == MS_UNLOADED) in tape_med_state_set()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_storage_tracing.c33 int BPF_PROG(trace_inet_sock_set_state, struct sock *sk, int oldstate, in BPF_PROG() argument
/linux/drivers/tty/serial/8250/
H A D8250_pxa.c80 unsigned int oldstate) in serial_pxa_pm() argument

123