Home
last modified time | relevance | path

Searched refs:old_state (Results 1 – 111 of 111) sorted by relevance

/linux-4.4.14/net/wimax/
Dstack.c103 enum wimax_st new_state, enum wimax_st old_state, in wimax_gnl_re_state_change_alloc() argument
112 wimax_dev, new_state, old_state); in wimax_gnl_re_state_change_alloc()
128 result = nla_put_u8(report_skb, WIMAX_GNL_STCH_STATE_OLD, old_state); in wimax_gnl_re_state_change_alloc()
145 wimax_dev, new_state, old_state, report_skb); in wimax_gnl_re_state_change_alloc()
152 wimax_dev, new_state, old_state, result); in wimax_gnl_re_state_change_alloc()
190 void __check_new_state(enum wimax_st old_state, enum wimax_st new_state, in __check_new_state() argument
195 old_state, new_state); in __check_new_state()
207 enum wimax_st old_state = wimax_dev->state; in __wimax_state_change() local
212 wimax_dev, new_state, old_state); in __wimax_state_change()
219 if (old_state == new_state) in __wimax_state_change()
[all …]
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_rm_xics.c157 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local
161 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver()
187 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver()
313 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local
346 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr()
370 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr()
386 union kvmppc_icp_state old_state, new_state; in kvmppc_rm_h_xirr() local
405 old_state = new_state = READ_ONCE(icp->state); in kvmppc_rm_h_xirr()
407 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_rm_h_xirr()
408 if (!old_state.xisr) in kvmppc_rm_h_xirr()
[all …]
Dbook3s_xics.c336 union kvmppc_icp_state old_state, new_state; in icp_try_to_deliver() local
343 old_state = new_state = READ_ONCE(icp->state); in icp_try_to_deliver()
369 } while (!icp_try_update(icp, old_state, new_state, false)); in icp_try_to_deliver()
500 union kvmppc_icp_state old_state, new_state; in icp_down_cppr() local
533 old_state = new_state = READ_ONCE(icp->state); in icp_down_cppr()
559 } while (!icp_try_update(icp, old_state, new_state, true)); in icp_down_cppr()
572 union kvmppc_icp_state old_state, new_state; in kvmppc_h_xirr() local
588 old_state = new_state = READ_ONCE(icp->state); in kvmppc_h_xirr()
590 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_h_xirr()
591 if (!old_state.xisr) in kvmppc_h_xirr()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dtt.c261 enum iwl_tt_state old_state; in iwl_legacy_tt_handler() local
273 old_state = tt->state; in iwl_legacy_tt_handler()
289 if (tt->state != old_state) { in iwl_legacy_tt_handler()
309 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler()
316 if (old_state == IWL_TI_CT_KILL) in iwl_legacy_tt_handler()
318 tt->state = old_state; in iwl_legacy_tt_handler()
328 tt->state = old_state; in iwl_legacy_tt_handler()
330 } else if (old_state == IWL_TI_CT_KILL && in iwl_legacy_tt_handler()
368 enum iwl_tt_state old_state; in iwl_advance_tt_handler() local
371 old_state = tt->state; in iwl_advance_tt_handler()
[all …]
Dmac80211.c864 enum ieee80211_sta_state old_state, in iwlagn_mac_sta_state() argument
875 sta->addr, old_state, new_state); in iwlagn_mac_sta_state()
879 if (old_state == IEEE80211_STA_NOTEXIST && in iwlagn_mac_sta_state()
882 else if (old_state == IEEE80211_STA_NONE && in iwlagn_mac_sta_state()
885 else if (old_state == IEEE80211_STA_AUTH && in iwlagn_mac_sta_state()
889 if (old_state == IEEE80211_STA_AUTH && in iwlagn_mac_sta_state()
892 else if (old_state == IEEE80211_STA_ASSOC && in iwlagn_mac_sta_state()
/linux-4.4.14/include/drm/
Ddrm_atomic_helper.h46 struct drm_atomic_state *old_state);
50 struct drm_atomic_state *old_state);
55 struct drm_atomic_state *old_state);
63 struct drm_atomic_state *old_state);
175 struct drm_plane_state *old_state) in drm_atomic_plane_disabling() argument
195 return (!old_state || old_state->crtc) && !plane->state->crtc; in drm_atomic_plane_disabling()
Ddrm_plane_helper.h63 const struct drm_plane_state *old_state);
68 struct drm_plane_state *old_state);
70 struct drm_plane_state *old_state);
/linux-4.4.14/drivers/input/keyboard/
Dpmic8xxx-keypad.c180 u16 *old_state) in pmic8xxx_kp_read_matrix() argument
192 if (old_state) { in pmic8xxx_kp_read_matrix()
193 rc = pmic8xxx_kp_read_data(kp, old_state, KEYP_OLD_DATA, in pmic8xxx_kp_read_matrix()
228 u16 *old_state) in __pmic8xxx_kp_scan_matrix() argument
233 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix()
285 u16 old_state[PM8XXX_MAX_ROWS]; in pmic8xxx_kp_scan_matrix() local
301 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
305 __pmic8xxx_kp_scan_matrix(kp, old_state, kp->keystate); in pmic8xxx_kp_scan_matrix()
306 __pmic8xxx_kp_scan_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
311 rc = pmic8xxx_kp_read_matrix(kp, new_state, old_state); in pmic8xxx_kp_scan_matrix()
[all …]
Dcros_ec_keyb.c113 int old_state; in cros_ec_keyb_process() local
134 old_state = ckdev->old_kb_state[col] & (1 << row); in cros_ec_keyb_process()
135 if (new_state != old_state) { in cros_ec_keyb_process()
319 uint8_t old_state[ckdev->cols]; in cros_ec_keyb_clear_keyboard() local
333 memcpy(old_state, new_state, sizeof(old_state)); in cros_ec_keyb_clear_keyboard()
335 if (0 == memcmp(old_state, new_state, sizeof(old_state))) in cros_ec_keyb_clear_keyboard()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_atomic_helper.c576 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument
584 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in disable_outputs()
594 old_crtc_state = old_state->crtc_states[drm_crtc_index(old_conn_state->crtc)]; in disable_outputs()
630 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in disable_outputs()
671 struct drm_atomic_state *old_state) in drm_atomic_helper_update_legacy_modeset_state() argument
680 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
705 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
717 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
723 if (drm_atomic_get_existing_plane_state(old_state, primary) && in drm_atomic_helper_update_legacy_modeset_state()
737 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) in crtc_set_mode() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_atomic.c88 struct drm_atomic_state *old_state) in msm_atomic_wait_for_commit_done() argument
91 struct msm_drm_private *priv = old_state->dev->dev_private; in msm_atomic_wait_for_commit_done()
93 int ncrtcs = old_state->dev->mode_config.num_crtc; in msm_atomic_wait_for_commit_done()
97 crtc = old_state->crtcs[i]; in msm_atomic_wait_for_commit_done()
107 if (old_state->legacy_cursor_update) in msm_atomic_wait_for_commit_done()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_inline.h161 int old_state; in qla2x00_set_fcport_state() local
163 old_state = atomic_read(&fcport->state); in qla2x00_set_fcport_state()
167 if (old_state && old_state != state) { in qla2x00_set_fcport_state()
171 port_state_str[old_state], port_state_str[state], in qla2x00_set_fcport_state()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c149 struct drm_plane_state *old_state) in exynos_plane_atomic_update() argument
171 struct drm_plane_state *old_state) in exynos_plane_atomic_disable() argument
174 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(old_state->crtc); in exynos_plane_atomic_disable()
176 if (!old_state->crtc) in exynos_plane_atomic_disable()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c401 enum ib_qp_state old_state; in usnic_ib_qp_grp_modify() local
405 old_state = qp_grp->state; in usnic_ib_qp_grp_modify()
412 switch (old_state) { in usnic_ib_qp_grp_modify()
431 switch (old_state) { in usnic_ib_qp_grp_modify()
474 switch (old_state) { in usnic_ib_qp_grp_modify()
483 switch (old_state) { in usnic_ib_qp_grp_modify()
496 switch (old_state) { in usnic_ib_qp_grp_modify()
526 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify()
531 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify()
/linux-4.4.14/net/mac80211/
Ddriver-ops.c113 enum ieee80211_sta_state old_state, in drv_sta_state() argument
124 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state()
127 old_state, new_state); in drv_sta_state()
128 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state()
133 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()
Dtrace.h777 enum ieee80211_sta_state old_state,
780 TP_ARGS(local, sdata, sta, old_state, new_state),
786 __field(u32, old_state)
794 __entry->old_state = old_state;
801 __entry->old_state, __entry->new_state
Ddriver-ops.h524 enum ieee80211_sta_state old_state,
/linux-4.4.14/drivers/power/
Dbq25890_charger.c498 struct bq25890_state old_state; in bq25890_state_changed() local
501 old_state = bq->state; in bq25890_state_changed()
504 return (old_state.chrg_status != new_state->chrg_status || in bq25890_state_changed()
505 old_state.chrg_fault != new_state->chrg_fault || in bq25890_state_changed()
506 old_state.online != new_state->online || in bq25890_state_changed()
507 old_state.bat_fault != new_state->bat_fault || in bq25890_state_changed()
508 old_state.boost_fault != new_state->boost_fault || in bq25890_state_changed()
509 old_state.vsys_status != new_state->vsys_status); in bq25890_state_changed()
516 struct bq25890_state old_state; in bq25890_handle_state_change() local
519 old_state = bq->state; in bq25890_handle_state_change()
[all …]
Dbq24257_charger.c612 struct bq24257_state old_state; in bq24257_handle_state_change() local
615 old_state = bq->state; in bq24257_handle_state_change()
639 } else if (!old_state.power_good) { in bq24257_handle_state_change()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_plane.c72 const struct drm_plane_state *old_state) in omap_plane_cleanup_fb() argument
74 if (old_state->fb) in omap_plane_cleanup_fb()
75 omap_framebuffer_unpin(old_state->fb); in omap_plane_cleanup_fb()
79 struct drm_plane_state *old_state) in omap_plane_atomic_update() argument
147 struct drm_plane_state *old_state) in omap_plane_atomic_disable() argument
Domap_drv.c70 struct drm_atomic_state *old_state) in omap_atomic_wait_for_completion() argument
77 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in omap_atomic_wait_for_completion()
93 struct drm_atomic_state *old_state = commit->state; in omap_atomic_complete() local
98 drm_atomic_helper_commit_modeset_disables(dev, old_state); in omap_atomic_complete()
99 drm_atomic_helper_commit_planes(dev, old_state, false); in omap_atomic_complete()
100 drm_atomic_helper_commit_modeset_enables(dev, old_state); in omap_atomic_complete()
102 omap_atomic_wait_for_completion(dev, old_state); in omap_atomic_complete()
104 drm_atomic_helper_cleanup_planes(dev, old_state); in omap_atomic_complete()
108 drm_atomic_state_free(old_state); in omap_atomic_complete()
/linux-4.4.14/drivers/net/wireless/prism54/
Dislpci_dev.c462 islpci_state_t old_state; in islpci_upload_fw() local
465 old_state = islpci_set_state(priv, PRV_STATE_BOOT); in islpci_upload_fw()
475 islpci_set_state(priv, old_state); in islpci_upload_fw()
924 islpci_state_t old_state; in islpci_set_state() local
927 old_state = priv->state; in islpci_set_state()
941 if (old_state == PRV_STATE_OFF) in islpci_set_state()
953 priv->ndev->name, old_state, new_state, priv->state_off); in islpci_set_state()
962 return old_state; in islpci_set_state()
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c454 struct drm_atomic_state *old_state = commit->state; in rcar_du_atomic_complete() local
457 drm_atomic_helper_commit_modeset_disables(dev, old_state); in rcar_du_atomic_complete()
458 drm_atomic_helper_commit_modeset_enables(dev, old_state); in rcar_du_atomic_complete()
459 drm_atomic_helper_commit_planes(dev, old_state, false); in rcar_du_atomic_complete()
461 drm_atomic_helper_wait_for_vblanks(dev, old_state); in rcar_du_atomic_complete()
463 drm_atomic_helper_cleanup_planes(dev, old_state); in rcar_du_atomic_complete()
465 drm_atomic_state_free(old_state); in rcar_du_atomic_complete()
Drcar_du_plane.c263 struct drm_plane_state *old_state) in rcar_du_plane_atomic_update() argument
/linux-4.4.14/net/ceph/
Dmessenger.c329 int old_state; in con_sock_state_init() local
331 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_init()
332 if (WARN_ON(old_state != CON_SOCK_STATE_NEW)) in con_sock_state_init()
333 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_init()
334 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_init()
340 int old_state; in con_sock_state_connecting() local
342 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); in con_sock_state_connecting()
343 if (WARN_ON(old_state != CON_SOCK_STATE_CLOSED)) in con_sock_state_connecting()
344 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connecting()
345 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connecting()
[all …]
/linux-4.4.14/drivers/usb/phy/
Dphy-mv-usb.c341 int old_state = mvotg->phy.otg->state; in mv_otg_update_state() local
343 switch (old_state) { in mv_otg_update_state()
415 int old_state; in mv_otg_work() local
423 old_state = otg->state; in mv_otg_work()
431 if (old_state != mvotg->phy.otg->state) { in mv_otg_work()
433 state_string[old_state], in mv_otg_work()
439 if (old_state == OTG_STATE_B_PERIPHERAL) in mv_otg_work()
453 if (old_state == OTG_STATE_A_WAIT_VFALL) in mv_otg_work()
461 if (old_state != OTG_STATE_A_HOST) in mv_otg_work()
/linux-4.4.14/drivers/video/fbdev/
Dsa1100fb.c869 u_int old_state; in set_ctrlr_state() local
873 old_state = fbi->state; in set_ctrlr_state()
878 if (old_state == C_STARTUP && state == C_REENABLE) in set_ctrlr_state()
887 if (old_state != C_DISABLE && old_state != C_DISABLE_PM) { in set_ctrlr_state()
898 if (old_state != C_DISABLE) { in set_ctrlr_state()
902 if (old_state != C_DISABLE_CLKCHANGE) in set_ctrlr_state()
913 if (old_state == C_DISABLE_CLKCHANGE) { in set_ctrlr_state()
925 if (old_state == C_ENABLE) { in set_ctrlr_state()
938 if (old_state != C_DISABLE_PM) in set_ctrlr_state()
947 if (old_state != C_ENABLE) { in set_ctrlr_state()
Dpxafb.c1524 u_int old_state; in set_ctrlr_state() local
1528 old_state = fbi->state; in set_ctrlr_state()
1533 if (old_state == C_STARTUP && state == C_REENABLE) in set_ctrlr_state()
1542 if (old_state != C_DISABLE && old_state != C_DISABLE_PM) { in set_ctrlr_state()
1554 if (old_state != C_DISABLE) { in set_ctrlr_state()
1558 if (old_state != C_DISABLE_CLKCHANGE) in set_ctrlr_state()
1568 if (old_state == C_DISABLE_CLKCHANGE) { in set_ctrlr_state()
1581 if (old_state == C_ENABLE) { in set_ctrlr_state()
1595 if (old_state != C_DISABLE_PM) in set_ctrlr_state()
1604 if (old_state != C_ENABLE) { in set_ctrlr_state()
/linux-4.4.14/drivers/staging/iio/cdc/
Dad7150.c79 int old_state; member
504 !(chip->old_state & AD7150_STATUS_OUT1)) in ad7150_event_handler()
512 (chip->old_state & AD7150_STATUS_OUT1)) in ad7150_event_handler()
521 !(chip->old_state & AD7150_STATUS_OUT2)) in ad7150_event_handler()
529 (chip->old_state & AD7150_STATUS_OUT2)) in ad7150_event_handler()
537 chip->old_state = int_status; in ad7150_event_handler()
/linux-4.4.14/drivers/net/wan/
Dhdlc_ppp.c307 int old_state, action; in ppp_cp_event() local
311 old_state = proto->state; in ppp_cp_event()
312 BUG_ON(old_state >= STATES); in ppp_cp_event()
320 action = cp_table[event][old_state]; in ppp_cp_event()
346 if (old_state != OPENED && proto->state == OPENED) { in ppp_cp_event()
357 if (old_state == OPENED && proto->state != OPENED) { in ppp_cp_event()
365 if (old_state != CLOSED && proto->state == CLOSED) in ppp_cp_event()
/linux-4.4.14/arch/mips/alchemy/common/
Dplatform.c32 unsigned int old_state) in alchemy_8250_pm() argument
38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
41 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
45 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm()
/linux-4.4.14/drivers/scsi/aic7xxx/aicasm/
Daicasm_scan.l409 YY_BUFFER_STATE old_state;
416 old_state = YY_CURRENT_BUFFER;
421 mm_switch_to_buffer(old_state);
424 yy_switch_to_buffer(old_state);
/linux-4.4.14/net/netfilter/
Dnf_conntrack_proto_tcp.c823 enum tcp_conntrack new_state, old_state; in tcp_packet() local
834 old_state = ct->proto.tcp.state; in tcp_packet()
837 new_state = tcp_conntracks[dir][index][old_state]; in tcp_packet()
842 if (old_state < TCP_CONNTRACK_TIME_WAIT) in tcp_packet()
898 old_state = TCP_CONNTRACK_SYN_SENT; in tcp_packet()
949 if (old_state == TCP_CONNTRACK_LAST_ACK) in tcp_packet()
957 "state %s ", tcp_conntrack_names[old_state]); in tcp_packet()
966 if (nfct_synproxy(ct) && old_state == TCP_CONNTRACK_SYN_SENT && in tcp_packet()
977 dir, get_conntrack_index(th), old_state); in tcp_packet()
988 if (old_state == TCP_CONNTRACK_LAST_ACK && in tcp_packet()
[all …]
Dnf_conntrack_proto_dccp.c486 u_int8_t type, old_state, new_state; in dccp_packet() local
503 old_state = ct->proto.dccp.state; in dccp_packet()
504 new_state = dccp_state_table[role][type][old_state]; in dccp_packet()
508 if (old_state == CT_DCCP_TIMEWAIT && in dccp_packet()
517 if (old_state == CT_DCCP_REQUEST) in dccp_packet()
521 if (old_state == CT_DCCP_RESPOND && in dccp_packet()
562 if (new_state != old_state) in dccp_packet()
Dnf_conntrack_proto_sctp.c331 enum sctp_conntrack new_state, old_state; in sctp_packet() local
360 old_state = new_state = SCTP_CONNTRACK_NONE; in sctp_packet()
395 old_state = ct->proto.sctp.state; in sctp_packet()
396 new_state = sctp_new_state(dir, old_state, sch->type); in sctp_packet()
402 dir, sch->type, old_state); in sctp_packet()
421 if (old_state != new_state) in sctp_packet()
428 if (old_state == SCTP_CONNTRACK_COOKIE_ECHOED && in sctp_packet()
/linux-4.4.14/net/dccp/
Dproto.c256 const int old_state = sk->sk_state; in dccp_disconnect() local
258 if (old_state != DCCP_CLOSED) in dccp_disconnect()
265 if (old_state == DCCP_LISTEN) { in dccp_disconnect()
267 } else if (dccp_need_reset(old_state)) { in dccp_disconnect()
270 } else if (old_state == DCCP_REQUESTING) in dccp_disconnect()
918 unsigned char old_state; in inet_dccp_listen() local
927 old_state = sk->sk_state; in inet_dccp_listen()
928 if (!((1 << old_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) in inet_dccp_listen()
934 if (old_state != DCCP_LISTEN) { in inet_dccp_listen()
Dinput.c579 const int old_state = sk->sk_state; in dccp_rcv_state_process() local
690 switch (old_state) { in dccp_rcv_state_process()
/linux-4.4.14/drivers/gpu/drm/radeon/
Drs780_dpm.c431 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_set_engine_clock_scaling() local
434 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_set_engine_clock_scaling()
435 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_scaling()
449 old_state->sclk_high, false, &current_max_dividers); in rs780_set_engine_clock_scaling()
478 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_set_engine_clock_spc() local
481 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_set_engine_clock_spc()
482 (new_state->sclk_low == old_state->sclk_low)) in rs780_set_engine_clock_spc()
497 struct igp_ps *old_state = rs780_get_ps(old_ps); in rs780_activate_engine_clk_scaling() local
499 if ((new_state->sclk_high == old_state->sclk_high) && in rs780_activate_engine_clk_scaling()
500 (new_state->sclk_low == old_state->sclk_low)) in rs780_activate_engine_clk_scaling()
Drv6xx_dpm.c1204 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_safe() local
1207 safe_voltage = (new_state->low.vddc >= old_state->low.vddc) ? in rv6xx_set_sw_voltage_to_safe()
1208 new_state->low.vddc : old_state->low.vddc; in rv6xx_set_sw_voltage_to_safe()
1220 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_sw_voltage_to_low() local
1223 old_state->low.vddc); in rv6xx_set_sw_voltage_to_low()
1234 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_backbias() local
1237 (old_state->low.flags & ATOM_PPLIB_R600_FLAGS_BACKBIASENABLE)) in rv6xx_set_safe_backbias()
1248 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_set_safe_pcie_gen2() local
1251 (old_state->low.flags & ATOM_PPLIB_R600_FLAGS_PCIEGEN2)) in rv6xx_set_safe_pcie_gen2()
1310 struct rv6xx_ps *old_state = rv6xx_get_ps(old_ps); in rv6xx_step_voltage_if_increasing() local
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c267 const struct drm_plane_state *old_state) in mdp5_plane_cleanup_fb() argument
271 struct drm_framebuffer *fb = old_state->fb; in mdp5_plane_cleanup_fb()
284 struct drm_plane_state *old_state = plane->state; in mdp5_plane_atomic_check() local
289 plane_enabled(old_state), plane_enabled(state)); in mdp5_plane_atomic_check()
323 if (plane_enabled(state) && plane_enabled(old_state)) { in mdp5_plane_atomic_check()
326 if (state->fb->pixel_format != old_state->fb->pixel_format) { in mdp5_plane_atomic_check()
330 if (state->src_w != old_state->src_w) { in mdp5_plane_atomic_check()
334 if (to_mdp5_plane_state(old_state)->pending) { in mdp5_plane_atomic_check()
352 struct drm_plane_state *old_state) in mdp5_plane_atomic_update() argument
/linux-4.4.14/drivers/xen/xen-pciback/
Dconf_space_capability.c118 pci_power_t new_state, old_state; in pm_ctrl_write() local
124 old_state = (pci_power_t)(old_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
/linux-4.4.14/drivers/acpi/
Dac.c383 unsigned old_state; in acpi_ac_resume() local
392 old_state = ac->state; in acpi_ac_resume()
395 if (old_state != ac->state) in acpi_ac_resume()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty_ioctl.c293 struct ircomm_tty_cb old_state, *state; in ircomm_tty_set_serial_info()
300 old_state = *self; in ircomm_tty_set_serial_info()
337 if (((old_state.flags & ASYNC_SPD_MASK) != in ircomm_tty_set_serial_info()
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c58 struct drm_plane_state *old_state) in fsl_dcu_drm_plane_atomic_disable() argument
78 struct drm_plane_state *old_state) in fsl_dcu_drm_plane_atomic_update() argument
/linux-4.4.14/drivers/isdn/hisax/
Damd7930_fn.c171 …u_char index = stateHelper[cs->dc.amd7930.old_state] * 8 + stateHelper[cs->dc.amd7930.ph_state] - … in Amd7930_new_ph()
176 cs->dc.amd7930.ph_state, cs->dc.amd7930.old_state, message & 0x0f, index); in Amd7930_new_ph()
178 cs->dc.amd7930.old_state = cs->dc.amd7930.ph_state; in Amd7930_new_ph()
223 cs->dc.amd7930.old_state = 3; in Amd7930_new_ph()
756 cs->dc.amd7930.old_state = 0; in Amd7930_init()
Dhfc_usb.c379 __u8 old_state; in s0_state_handler() local
381 old_state = hfc->l1_state; in s0_state_handler()
382 if (state == old_state || state < 1 || state > 8) in s0_state_handler()
386 old_state, state); in s0_state_handler()
406 if (old_state == 7 || old_state == 8) { in s0_state_handler()
Dhisax.h850 u_char old_state; member
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_plane.c116 const struct drm_plane_state *old_state) in mdp4_plane_cleanup_fb() argument
120 struct drm_framebuffer *fb = old_state->fb; in mdp4_plane_cleanup_fb()
137 struct drm_plane_state *old_state) in mdp4_plane_atomic_update() argument
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c559 struct drm_plane_state *old_state) in tegra_plane_atomic_update() argument
600 struct drm_plane_state *old_state) in tegra_plane_atomic_disable() argument
608 if (!old_state || !old_state->crtc) in tegra_plane_atomic_disable()
611 dc = to_tegra_dc(old_state->crtc); in tegra_plane_atomic_disable()
709 struct drm_plane_state *old_state) in tegra_cursor_atomic_update() argument
771 struct drm_plane_state *old_state) in tegra_cursor_atomic_disable() argument
777 if (!old_state || !old_state->crtc) in tegra_cursor_atomic_disable()
780 dc = to_tegra_dc(old_state->crtc); in tegra_cursor_atomic_disable()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c62 struct drm_plane_state *old_state) in virtio_gpu_plane_atomic_update() argument
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_tpg.c272 u8 old_state = tpg->tpg_state; in iscsit_tpg_del_portal_group() local
282 tpg->tpg_state = old_state; in iscsit_tpg_del_portal_group()
364 u8 old_state = tpg->tpg_state; in iscsit_tpg_disable_portal_group() local
380 tpg->tpg_state = old_state; in iscsit_tpg_disable_portal_group()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dsched.c1043 enum spu_utilization_state old_state; in spuctx_switch_state() local
1053 old_state = ctx->stats.util_state; in spuctx_switch_state()
1061 ctx->stats.times[old_state] += delta; in spuctx_switch_state()
1062 spu->stats.times[old_state] += delta; in spuctx_switch_state()
1066 if (old_state == SPU_UTIL_USER) in spuctx_switch_state()
/linux-4.4.14/drivers/hsi/clients/
Dcmt_speech.c928 static void cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) in cs_hsi_data_disable() argument
930 if (old_state == CS_STATE_CONFIGURED) { in cs_hsi_data_disable()
941 unsigned int old_state = hi->iface_state; in cs_hsi_buf_config() local
945 if (old_state == CS_STATE_CONFIGURED) in cs_hsi_buf_config()
975 cs_hsi_data_disable(hi, old_state); in cs_hsi_buf_config()
979 if (old_state != hi->iface_state) { in cs_hsi_buf_config()
987 } else if (old_state == CS_STATE_CONFIGURED) { in cs_hsi_buf_config()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dtenxpress.c360 struct efx_link_state old_state = efx->link_state; in tenxpress_phy_poll() local
369 return !efx_link_state_equal(&efx->link_state, &old_state); in tenxpress_phy_poll()
Dmcdi_port.c476 struct efx_link_state old_state = efx->link_state; in efx_mcdi_phy_poll() local
495 return !efx_link_state_equal(&efx->link_state, &old_state); in efx_mcdi_phy_poll()
Dfalcon.c1468 struct efx_link_state old_state = efx->link_state; in falcon_loopback_link_poll() local
1478 return !efx_link_state_equal(&efx->link_state, &old_state); in falcon_loopback_link_poll()
/linux-4.4.14/drivers/isdn/gigaset/
Dser-gigaset.c426 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, in gigaset_set_modem_ctrl() argument
436 set = new_state & ~old_state; in gigaset_set_modem_ctrl()
437 clear = old_state & ~new_state; in gigaset_set_modem_ctrl()
Dusb-gigaset.c154 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, in gigaset_set_modem_ctrl() argument
161 mask = tiocm_to_gigaset(old_state ^ new_state); in gigaset_set_modem_ctrl()
Dgigaset.h602 int (*set_modem_ctrl)(struct cardstate *cs, unsigned old_state,
Dbas-gigaset.c306 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, in gigaset_set_modem_ctrl() argument
/linux-4.4.14/drivers/usb/common/
Dusb-otg-fsm.c67 static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) in otg_leave_state() argument
69 switch (old_state) { in otg_leave_state()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_srp.c342 enum srp_rport_state old_state = rport->state; in srp_rport_set_state() local
348 switch (old_state) { in srp_rport_set_state()
356 switch (old_state) { in srp_rport_set_state()
364 switch (old_state) { in srp_rport_set_state()
Ddpt_i2o.c731 int old_state; in adpt_device_reset() local
748 old_state = d->state; in adpt_device_reset()
751 d->state = old_state; in adpt_device_reset()
/linux-4.4.14/drivers/input/mouse/
Dcypress_ps2.c107 enum psmouse_state old_state; in cypress_ps2_read_cmd_status() local
112 old_state = psmouse->state; in cypress_ps2_read_cmd_status()
133 psmouse->state = old_state; in cypress_ps2_read_cmd_status()
/linux-4.4.14/drivers/mtd/tests/
Dpagetest.c98 struct rnd_state old_state = rnd_state; in verify_eraseblock() local
118 rnd_state = old_state; in verify_eraseblock()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_atomic_plane.c190 struct drm_plane_state *old_state) in intel_plane_atomic_update() argument
Dintel_display.c6108 static void valleyview_modeset_commit_cdclk(struct drm_atomic_state *old_state) in valleyview_modeset_commit_cdclk() argument
6110 struct drm_device *dev = old_state->dev; in valleyview_modeset_commit_cdclk()
6111 unsigned int req_cdclk = to_intel_atomic_state(old_state)->cdclk; in valleyview_modeset_commit_cdclk()
9565 static void broxton_modeset_commit_cdclk(struct drm_atomic_state *old_state) in broxton_modeset_commit_cdclk() argument
9567 struct drm_device *dev = old_state->dev; in broxton_modeset_commit_cdclk()
9568 unsigned int req_cdclk = to_intel_atomic_state(old_state)->cdclk; in broxton_modeset_commit_cdclk()
9713 static void broadwell_modeset_commit_cdclk(struct drm_atomic_state *old_state) in broadwell_modeset_commit_cdclk() argument
9715 struct drm_device *dev = old_state->dev; in broadwell_modeset_commit_cdclk()
9716 unsigned int req_cdclk = to_intel_atomic_state(old_state)->cdclk; in broadwell_modeset_commit_cdclk()
12688 struct drm_atomic_state *old_state) in check_connector_state() argument
[all …]
Dintel_drv.h1085 const struct drm_plane_state *old_state);
/linux-4.4.14/drivers/staging/unisys/visorinput/
Dvisorinput.c471 int old_state = (test_bit(led, visorinput_dev->led) != 0); in handle_locking_key() local
473 if (old_state != desired_state) { in handle_locking_key()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c2707 enum ieee80211_sta_state old_state, in iwl_mvm_mac_sta_state() argument
2715 sta->addr, old_state, new_state); in iwl_mvm_mac_sta_state()
2725 if (old_state == IEEE80211_STA_NOTEXIST && in iwl_mvm_mac_sta_state()
2756 } else if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state()
2765 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mvm_mac_sta_state()
2772 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mvm_mac_sta_state()
2782 } else if (old_state == IEEE80211_STA_AUTHORIZED && in iwl_mvm_mac_sta_state()
2787 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mvm_mac_sta_state()
2790 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mvm_mac_sta_state()
2793 } else if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state()
[all …]
Dsta.c1137 enum iwl_mvm_agg_state old_state; in iwl_mvm_sta_tx_agg_flush() local
1147 old_state = tid_data->state; in iwl_mvm_sta_tx_agg_flush()
1157 if (old_state >= IWL_AGG_ON) { in iwl_mvm_sta_tx_agg_flush()
/linux-4.4.14/fs/hfsplus/
Dxattr.c138 int old_state = HFSPLUS_EMPTY_ATTR_TREE; in hfsplus_create_attributes_file() local
145 if (old_state != atomic_cmpxchg(&sbi->attr_tree_state, in hfsplus_create_attributes_file()
146 old_state, in hfsplus_create_attributes_file()
/linux-4.4.14/drivers/extcon/
Dextcon.c276 u32 old_state; in extcon_update_state() local
284 old_state = edev->state; in extcon_update_state()
289 if (is_extcon_changed(old_state, edev->state, index, in extcon_update_state()
/linux-4.4.14/drivers/net/phy/
Dphy.c816 enum phy_state old_state; in phy_state_machine() local
822 old_state = phydev->state; in phy_state_machine()
999 phy_state_to_str(old_state), phy_state_to_str(phydev->state)); in phy_state_machine()
/linux-4.4.14/drivers/tty/vt/
Dkeyboard.c799 int old_state = shift_state; in k_shift() local
829 if (up_flag && shift_state != old_state && npadch != -1) { in k_shift()
1012 static void kbd_propagate_led_state(unsigned int old_state, in kbd_propagate_led_state() argument
1016 unsigned int changed = old_state ^ new_state; in kbd_propagate_led_state()
1068 static void kbd_propagate_led_state(unsigned int old_state, in kbd_propagate_led_state() argument
/linux-4.4.14/drivers/edac/
Dedac_mc.c516 int old_state; in edac_mc_assert_error_check_and_clear() local
521 old_state = edac_err_assert; in edac_mc_assert_error_check_and_clear()
524 return old_state; in edac_mc_assert_error_check_and_clear()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c1189 enum fnic_state old_state; in fnic_set_eth_mode() local
1194 old_state = fnic->state; in fnic_set_eth_mode()
1195 switch (old_state) { in fnic_set_eth_mode()
1208 fnic->state = old_state; in fnic_set_eth_mode()
Dfnic_scsi.c2566 enum fnic_state old_state; in fnic_scsi_abort_io() local
2581 old_state = fnic->state; in fnic_scsi_abort_io()
2590 fnic->state = old_state; in fnic_scsi_abort_io()
2616 enum fnic_state old_state; in fnic_scsi_cleanup() local
2628 old_state = fnic->state; in fnic_scsi_cleanup()
2636 fnic->state = old_state; in fnic_scsi_cleanup()
/linux-4.4.14/drivers/gpu/drm/vc4/
Dvc4_plane.c247 struct drm_plane_state *old_state) in vc4_plane_atomic_update() argument
Dvc4_crtc.c365 struct drm_crtc_state *old_state) in vc4_crtc_atomic_flush() argument
/linux-4.4.14/drivers/net/can/usb/
Desd_usb2.c222 u8 old_state; member
246 if (state != priv->old_state) { in esd_usb2_rx_event()
247 priv->old_state = state; in esd_usb2_rx_event()
Dkvaser_usb.c893 enum can_state old_state, new_state; in kvaser_usb_rx_error() local
914 old_state = priv->can.state; in kvaser_usb_rx_error()
925 if (new_state != old_state) { in kvaser_usb_rx_error()
934 (old_state >= CAN_STATE_BUS_OFF) && in kvaser_usb_rx_error()
/linux-4.4.14/net/ipv4/
Daf_inet.c197 unsigned char old_state; in inet_listen() local
206 old_state = sk->sk_state; in inet_listen()
207 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
213 if (old_state != TCP_LISTEN) { in inet_listen()
Dtcp.c2207 int old_state = sk->sk_state; in tcp_disconnect() local
2209 if (old_state != TCP_CLOSE) in tcp_disconnect()
2213 if (old_state == TCP_LISTEN) { in tcp_disconnect()
2217 } else if (tcp_need_reset(old_state) || in tcp_disconnect()
2219 (1 << old_state) & (TCPF_CLOSING | TCPF_LAST_ACK))) { in tcp_disconnect()
2225 } else if (old_state == TCP_SYN_SENT) in tcp_disconnect()
/linux-4.4.14/drivers/pinctrl/
Dcore.c989 struct pinctrl_state *old_state = p->state; in pinctrl_select_state() local
1053 if (old_state) in pinctrl_select_state()
1054 pinctrl_select_state(p, old_state); in pinctrl_select_state()
/linux-4.4.14/drivers/input/misc/
Duinput.c237 enum uinput_state old_state = udev->state; in uinput_destroy_device() local
244 if (old_state == UIST_CREATED) { in uinput_destroy_device()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_sync.c479 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed()
490 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed()
527 cp->old_state = cp->state; in ip_vs_sync_conn_needed()
924 cp->old_state = cp->state; in ip_vs_proc_conn()
Dip_vs_conn.c945 cp->old_state = 0; in ip_vs_conn_new()
/linux-4.4.14/drivers/media/dvb-frontends/
Dstb0899_drv.c799 u8 reg, old_state; in stb0899_send_diseqc_burst() local
806 old_state = reg; in stb0899_send_diseqc_burst()
829 stb0899_write_reg(state, STB0899_DISCNTRL1, old_state); in stb0899_send_diseqc_burst()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_hbadisc.c4019 int old_state, int new_state) in lpfc_nlp_state_cleanup() argument
4033 if (ndlp->rport && (old_state == NLP_STE_MAPPED_NODE || in lpfc_nlp_state_cleanup()
4034 old_state == NLP_STE_UNMAPPED_NODE)) { in lpfc_nlp_state_cleanup()
4109 int old_state = ndlp->nlp_state; in lpfc_nlp_set_state() local
4115 lpfc_nlp_state_name(name1, sizeof(name1), old_state), in lpfc_nlp_set_state()
4120 ndlp->nlp_DID, old_state, state); in lpfc_nlp_set_state()
4122 if (old_state == NLP_STE_NPR_NODE && in lpfc_nlp_set_state()
4125 if (old_state == NLP_STE_UNMAPPED_NODE) { in lpfc_nlp_set_state()
4134 } else if (old_state) in lpfc_nlp_set_state()
4135 lpfc_nlp_counters(vport, old_state, -1); in lpfc_nlp_set_state()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dmain.c5130 enum ieee80211_sta_state old_state, in wl12xx_update_sta_state() argument
5142 old_state == IEEE80211_STA_NOTEXIST && in wl12xx_update_sta_state()
5153 old_state == IEEE80211_STA_NONE && in wl12xx_update_sta_state()
5186 old_state == IEEE80211_STA_AUTHORIZED && in wl12xx_update_sta_state()
5194 old_state == IEEE80211_STA_ASSOC && in wl12xx_update_sta_state()
5202 old_state == IEEE80211_STA_AUTH && in wl12xx_update_sta_state()
5216 old_state == IEEE80211_STA_NOTEXIST && in wl12xx_update_sta_state()
5231 enum ieee80211_sta_state old_state, in wl12xx_op_sta_state() argument
5239 sta->aid, old_state, new_state); in wl12xx_op_sta_state()
5252 ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state); in wl12xx_op_sta_state()
[all …]
/linux-4.4.14/drivers/usb/core/
Dhcd.c2213 int old_state = hcd->state; in hcd_bus_suspend() local
2249 hcd->state = old_state; in hcd_bus_suspend()
2262 int old_state = hcd->state; in hcd_bus_resume() local
2306 hcd->state = old_state; in hcd_bus_resume()
/linux-4.4.14/drivers/infiniband/core/
Dcma.c247 enum rdma_cm_state old_state; member
2098 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_query_handler()
2161 if (!cma_comp_exch(id_priv, work->old_state, work->new_state)) in cma_work_handler()
2212 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_ib_route()
2271 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iw_route()
2355 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iboe_route()
2535 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_loopback()
2565 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_ib_addr()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dmain.c1546 enum ieee80211_sta_state old_state, in ath9k_sta_state() argument
1553 if (old_state == IEEE80211_STA_AUTH && in ath9k_sta_state()
1558 } else if (old_state == IEEE80211_STA_ASSOC && in ath9k_sta_state()
1567 if (old_state == IEEE80211_STA_ASSOC && in ath9k_sta_state()
/linux-4.4.14/drivers/usb/gadget/function/
Df_mass_storage.c2350 enum fsg_state old_state; in handle_exception() local
2413 old_state = common->state; in handle_exception()
2415 if (old_state == FSG_STATE_ABORT_BULK_OUT) in handle_exception()
2433 switch (old_state) { in handle_exception()
/linux-4.4.14/drivers/scsi/isci/
Dport.c298 enum sci_port_states old_state = sm->current_state_id; in port_state_machine_change() local
300 if (is_port_ready_state(old_state) && !is_port_ready_state(state)) in port_state_machine_change()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c563 int old_state; in brcmf_usb_state_change() local
571 old_state = devinfo->bus_pub.state; in brcmf_usb_state_change()
/linux-4.4.14/drivers/net/usb/
Dusbnet.c425 enum skb_state old_state; in defer_bh() local
429 old_state = entry->state; in defer_bh()
444 return old_state; in defer_bh()
Dlan78xx.c2100 enum skb_state old_state; in defer_bh() local
2104 old_state = entry->state; in defer_bh()
2116 return old_state; in defer_bh()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dmac.c5360 enum ieee80211_sta_state old_state, in ath10k_sta_state() argument
5368 if (old_state == IEEE80211_STA_NOTEXIST && in ath10k_sta_state()
5376 if ((old_state == IEEE80211_STA_NONE && in ath10k_sta_state()
5382 if (old_state == IEEE80211_STA_NOTEXIST && in ath10k_sta_state()
5462 } else if ((old_state == IEEE80211_STA_NONE && in ath10k_sta_state()
5491 } else if (old_state == IEEE80211_STA_AUTH && in ath10k_sta_state()
5506 } else if (old_state == IEEE80211_STA_ASSOC && in ath10k_sta_state()
5527 } else if (old_state == IEEE80211_STA_ASSOC && in ath10k_sta_state()
/linux-4.4.14/drivers/net/wireless/
Datmel.c2729 int old_state = priv->station_state; in atmel_enter_state() local
2731 if (new_state == old_state) in atmel_enter_state()
2741 if (old_state == STATION_STATE_READY) { in atmel_enter_state()
3884 int old_state = priv->station_state; in reset_atmel_card() local
4046 if (old_state == STATION_STATE_READY) { in reset_atmel_card()
/linux-4.4.14/fs/ext4/
Dinode.c666 unsigned long old_state; in ext4_update_bh_state() local
682 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state()
683 new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
685 cmpxchg(&bh->b_state, old_state, new_state) != old_state)); in ext4_update_bh_state()
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c745 struct drm_plane_state *old_state) in atmel_hlcdc_plane_atomic_disable() argument
/linux-4.4.14/arch/ia64/kernel/
Dperfmon.c4661 int state, old_state; in pfm_check_task_state() local
4739 old_state = state; in pfm_check_task_state()
4750 if (ctx->ctx_state != old_state) { in pfm_check_task_state()
4751 DPRINT(("old_state=%d new_state=%d\n", old_state, ctx->ctx_state)); in pfm_check_task_state()
/linux-4.4.14/include/net/
Dip_vs.h535 volatile __u16 old_state; /* old state, to be used for member
Dmac80211.h3355 enum ieee80211_sta_state old_state,
/linux-4.4.14/net/bluetooth/
Dhci_core.c1086 int old_state = hdev->discovery.state; in hci_discovery_set_state() local
1090 if (old_state == state) in hci_discovery_set_state()
1099 if (old_state != DISCOVERY_STARTING) in hci_discovery_set_state()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_hwi.c2669 u32 old_state = ep->state; in bnx2i_cm_remote_abort() local
2672 if (old_state == EP_STATE_DISCONN_START) in bnx2i_cm_remote_abort()
/linux-4.4.14/drivers/block/
Dpktcdvd.c1183 enum packet_data_state old_state = pkt->state; in pkt_set_state() local
1186 state_name[old_state], state_name[state]); in pkt_set_state()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_cm.c1390 enum nes_cm_node_state old_state; in mini_cm_dec_refcnt_listen() local
1402 old_state = cm_node->state; in mini_cm_dec_refcnt_listen()
1404 if (old_state != NES_CM_STATE_MPAREQ_RCVD) in mini_cm_dec_refcnt_listen()
/linux-4.4.14/arch/x86/kvm/
Dx86.c287 u64 old_state = vcpu->arch.apic_base & in kvm_set_apic_base() local
298 old_state == (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) || in kvm_set_apic_base()
300 old_state == 0))) in kvm_set_apic_base()