/linux-4.1.27/net/wimax/ |
D | stack.c | 103 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.1.27/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 159 union kvmppc_icp_state old_state, new_state; in icp_rm_try_to_deliver() local 163 old_state = new_state = READ_ONCE(icp->state); in icp_rm_try_to_deliver() 189 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_try_to_deliver() 315 union kvmppc_icp_state old_state, new_state; in icp_rm_down_cppr() local 348 old_state = new_state = READ_ONCE(icp->state); in icp_rm_down_cppr() 372 } while (!icp_rm_try_update(icp, old_state, new_state)); in icp_rm_down_cppr() 388 union kvmppc_icp_state old_state, new_state; in kvmppc_rm_h_xirr() local 407 old_state = new_state = READ_ONCE(icp->state); in kvmppc_rm_h_xirr() 409 xirr = old_state.xisr | (((u32)old_state.cppr) << 24); in kvmppc_rm_h_xirr() 410 if (!old_state.xisr) in kvmppc_rm_h_xirr() [all …]
|
D | book3s_xics.c | 336 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.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | tt.c | 261 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 …]
|
D | mac80211.c | 851 enum ieee80211_sta_state old_state, in iwlagn_mac_sta_state() argument 862 sta->addr, old_state, new_state); in iwlagn_mac_sta_state() 866 if (old_state == IEEE80211_STA_NOTEXIST && in iwlagn_mac_sta_state() 869 else if (old_state == IEEE80211_STA_NONE && in iwlagn_mac_sta_state() 872 else if (old_state == IEEE80211_STA_AUTH && in iwlagn_mac_sta_state() 876 if (old_state == IEEE80211_STA_AUTH && in iwlagn_mac_sta_state() 879 else if (old_state == IEEE80211_STA_ASSOC && in iwlagn_mac_sta_state()
|
/linux-4.1.27/include/drm/ |
D | drm_atomic_helper.h | 44 struct drm_atomic_state *old_state); 49 struct drm_atomic_state *old_state); 56 struct drm_atomic_state *old_state); 160 struct drm_plane_state *old_state) in drm_atomic_plane_disabling() argument 180 return (!old_state || old_state->crtc) && !plane->state->crtc; in drm_atomic_plane_disabling()
|
D | drm_plane_helper.h | 66 const struct drm_plane_state *old_state); 71 struct drm_plane_state *old_state); 73 struct drm_plane_state *old_state);
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_atomic_helper.c | 540 disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state) in disable_outputs() argument 548 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in disable_outputs() 558 old_crtc_state = old_state->crtc_states[drm_crtc_index(old_conn_state->crtc)]; in disable_outputs() 596 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in disable_outputs() 623 set_routing_links(struct drm_device *dev, struct drm_atomic_state *old_state) in set_routing_links() argument 632 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in set_routing_links() 643 for_each_connector_in_state(old_state, connector, old_conn_state, i) { in set_routing_links() 655 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in set_routing_links() 664 crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state) in crtc_set_mode() argument 672 for_each_crtc_in_state(old_state, crtc, old_crtc_state, i) { in crtc_set_mode() [all …]
|
/linux-4.1.27/drivers/input/keyboard/ |
D | pmic8xxx-keypad.c | 180 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 …]
|
D | cros_ec_keyb.c | 113 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() 310 uint8_t old_state[ckdev->cols]; in cros_ec_keyb_clear_keyboard() local 324 memcpy(old_state, new_state, sizeof(old_state)); in cros_ec_keyb_clear_keyboard() 326 if (0 == memcmp(old_state, new_state, sizeof(old_state))) in cros_ec_keyb_clear_keyboard()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_inline.h | 161 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.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_qp_grp.c | 386 enum ib_qp_state old_state; in usnic_ib_qp_grp_modify() local 390 old_state = qp_grp->state; in usnic_ib_qp_grp_modify() 397 switch (old_state) { in usnic_ib_qp_grp_modify() 416 switch (old_state) { in usnic_ib_qp_grp_modify() 459 switch (old_state) { in usnic_ib_qp_grp_modify() 468 switch (old_state) { in usnic_ib_qp_grp_modify() 481 switch (old_state) { in usnic_ib_qp_grp_modify() 511 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify() 516 usnic_ib_qp_grp_state_to_string(old_state), in usnic_ib_qp_grp_modify()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 403 struct drm_atomic_state *old_state = commit->state; in rcar_du_atomic_complete() local 406 drm_atomic_helper_commit_modeset_disables(dev, old_state); in rcar_du_atomic_complete() 407 drm_atomic_helper_commit_modeset_enables(dev, old_state); in rcar_du_atomic_complete() 408 drm_atomic_helper_commit_planes(dev, old_state); in rcar_du_atomic_complete() 410 drm_atomic_helper_wait_for_vblanks(dev, old_state); in rcar_du_atomic_complete() 412 drm_atomic_helper_cleanup_planes(dev, old_state); in rcar_du_atomic_complete() 414 drm_atomic_state_free(old_state); in rcar_du_atomic_complete()
|
D | rcar_du_plane.c | 263 struct drm_plane_state *old_state) in rcar_du_plane_atomic_update() argument
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
D | islpci_dev.c | 462 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.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 171 const struct drm_plane_state *old_state) in mdp5_plane_cleanup_fb() argument 184 struct drm_plane_state *old_state = plane->state; in mdp5_plane_atomic_check() local 187 plane_enabled(old_state), plane_enabled(state)); in mdp5_plane_atomic_check() 189 if (plane_enabled(state) && plane_enabled(old_state)) { in mdp5_plane_atomic_check() 192 if (state->fb->pixel_format != old_state->fb->pixel_format) { in mdp5_plane_atomic_check() 196 if (state->src_w != old_state->src_w) { in mdp5_plane_atomic_check() 200 if (to_mdp5_plane_state(old_state)->pending) { in mdp5_plane_atomic_check() 218 struct drm_plane_state *old_state) in mdp5_plane_atomic_update() argument
|
/linux-4.1.27/net/ceph/ |
D | messenger.c | 328 int old_state; in con_sock_state_init() local 330 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CLOSED); in con_sock_state_init() 331 if (WARN_ON(old_state != CON_SOCK_STATE_NEW)) in con_sock_state_init() 332 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_init() 333 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_init() 339 int old_state; in con_sock_state_connecting() local 341 old_state = atomic_xchg(&con->sock_state, CON_SOCK_STATE_CONNECTING); in con_sock_state_connecting() 342 if (WARN_ON(old_state != CON_SOCK_STATE_CLOSED)) in con_sock_state_connecting() 343 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connecting() 344 dout("%s con %p sock %d -> %d\n", __func__, con, old_state, in con_sock_state_connecting() [all …]
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-mv-usb.c | 341 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.1.27/drivers/video/fbdev/ |
D | sa1100fb.c | 869 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()
|
D | pxafb.c | 1524 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.1.27/drivers/staging/iio/cdc/ |
D | ad7150.c | 79 int old_state; member 507 !(chip->old_state & AD7150_STATUS_OUT1)) in ad7150_event_handler() 515 (chip->old_state & AD7150_STATUS_OUT1)) in ad7150_event_handler() 524 !(chip->old_state & AD7150_STATUS_OUT2)) in ad7150_event_handler() 532 (chip->old_state & AD7150_STATUS_OUT2)) in ad7150_event_handler() 540 chip->old_state = int_status; in ad7150_event_handler()
|
/linux-4.1.27/drivers/net/wan/ |
D | hdlc_ppp.c | 307 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.1.27/arch/mips/alchemy/common/ |
D | platform.c | 32 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.1.27/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_scan.l | 409 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.1.27/net/netfilter/ |
D | nf_conntrack_proto_tcp.c | 823 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 …]
|
D | nf_conntrack_proto_dccp.c | 486 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()
|
D | nf_conntrack_proto_sctp.c | 310 enum sctp_conntrack new_state, old_state; in sctp_packet() local 337 old_state = new_state = SCTP_CONNTRACK_NONE; in sctp_packet() 362 old_state = ct->proto.sctp.state; in sctp_packet() 363 new_state = sctp_new_state(dir, old_state, sch->type); in sctp_packet() 369 dir, sch->type, old_state); in sctp_packet() 388 if (old_state != new_state) in sctp_packet() 395 if (old_state == SCTP_CONNTRACK_COOKIE_ECHOED && in sctp_packet()
|
/linux-4.1.27/net/dccp/ |
D | proto.c | 256 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() 919 unsigned char old_state; in inet_dccp_listen() local 928 old_state = sk->sk_state; in inet_dccp_listen() 929 if (!((1 << old_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) in inet_dccp_listen() 935 if (old_state != DCCP_LISTEN) { in inet_dccp_listen()
|
D | input.c | 579 const int old_state = sk->sk_state; in dccp_rcv_state_process() local 690 switch (old_state) { in dccp_rcv_state_process()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 431 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, ¤t_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()
|
D | rv6xx_dpm.c | 1204 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.1.27/drivers/gpu/drm/i915/ |
D | intel_atomic_plane.c | 169 struct drm_plane_state *old_state) in intel_plane_atomic_update() argument 176 if (!plane->state->fb && !old_state->fb) in intel_plane_atomic_update()
|
D | intel_drv.h | 981 const struct drm_plane_state *old_state);
|
D | intel_display.c | 12432 const struct drm_plane_state *old_state) in intel_cleanup_plane_fb() argument 12443 intel_unpin_fb_obj(fb, old_state); in intel_cleanup_plane_fb()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | conf_space_capability.c | 118 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.1.27/drivers/acpi/ |
D | ac.c | 387 unsigned old_state; in acpi_ac_resume() local 396 old_state = ac->state; in acpi_ac_resume() 399 if (old_state != ac->state) in acpi_ac_resume()
|
/linux-4.1.27/net/irda/ircomm/ |
D | ircomm_tty_ioctl.c | 293 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.1.27/drivers/isdn/hisax/ |
D | amd7930_fn.c | 171 …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()
|
D | hfc_usb.c | 379 __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()
|
D | hisax.h | 850 u_char old_state; member
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | dc.c | 553 struct drm_plane_state *old_state) in tegra_plane_atomic_update() argument 594 struct drm_plane_state *old_state) in tegra_plane_atomic_disable() argument 602 if (!old_state || !old_state->crtc) in tegra_plane_atomic_disable() 605 dc = to_tegra_dc(old_state->crtc); in tegra_plane_atomic_disable() 703 struct drm_plane_state *old_state) in tegra_cursor_atomic_update() argument 766 struct drm_plane_state *old_state) in tegra_cursor_atomic_disable() argument 772 if (!old_state || !old_state->crtc) in tegra_cursor_atomic_disable() 775 dc = to_tegra_dc(old_state->crtc); in tegra_cursor_atomic_disable()
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_tpg.c | 269 u8 old_state = tpg->tpg_state; in iscsit_tpg_del_portal_group() local 279 tpg->tpg_state = old_state; in iscsit_tpg_del_portal_group() 363 u8 old_state = tpg->tpg_state; in iscsit_tpg_disable_portal_group() local 379 tpg->tpg_state = old_state; in iscsit_tpg_disable_portal_group()
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 1043 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.1.27/drivers/hsi/clients/ |
D | cmt_speech.c | 923 static void cs_hsi_data_disable(struct cs_hsi_iface *hi, int old_state) in cs_hsi_data_disable() argument 925 if (old_state == CS_STATE_CONFIGURED) { in cs_hsi_data_disable() 936 unsigned int old_state = hi->iface_state; in cs_hsi_buf_config() local 940 if (old_state == CS_STATE_CONFIGURED) in cs_hsi_buf_config() 970 cs_hsi_data_disable(hi, old_state); in cs_hsi_buf_config() 974 if (old_state != hi->iface_state) { in cs_hsi_buf_config() 982 } else if (old_state == CS_STATE_CONFIGURED) { in cs_hsi_buf_config()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | tenxpress.c | 360 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()
|
D | mcdi_port.c | 476 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()
|
D | falcon.c | 1455 struct efx_link_state old_state = efx->link_state; in falcon_loopback_link_poll() local 1465 return !efx_link_state_equal(&efx->link_state, &old_state); in falcon_loopback_link_poll()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_transport_srp.c | 336 enum srp_rport_state old_state = rport->state; in srp_rport_set_state() local 342 switch (old_state) { in srp_rport_set_state() 350 switch (old_state) { in srp_rport_set_state() 358 switch (old_state) { in srp_rport_set_state()
|
D | dpt_i2o.c | 731 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.1.27/drivers/isdn/gigaset/ |
D | ser-gigaset.c | 429 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, in gigaset_set_modem_ctrl() argument 437 set = new_state & ~old_state; in gigaset_set_modem_ctrl() 438 clear = old_state & ~new_state; in gigaset_set_modem_ctrl()
|
D | usb-gigaset.c | 154 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()
|
D | gigaset.h | 602 int (*set_modem_ctrl)(struct cardstate *cs, unsigned old_state,
|
D | bas-gigaset.c | 306 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, in gigaset_set_modem_ctrl() argument
|
/linux-4.1.27/drivers/usb/common/ |
D | usb-otg-fsm.c | 67 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.1.27/drivers/input/mouse/ |
D | cypress_ps2.c | 107 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.1.27/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 98 const struct drm_plane_state *old_state) in mdp4_plane_cleanup_fb() argument 115 struct drm_plane_state *old_state) in mdp4_plane_atomic_update() argument
|
/linux-4.1.27/drivers/mtd/tests/ |
D | pagetest.c | 98 struct rnd_state old_state = rnd_state; in verify_eraseblock() local 118 rnd_state = old_state; in verify_eraseblock()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | mac80211.c | 2612 enum ieee80211_sta_state old_state, in iwl_mvm_mac_sta_state() argument 2620 sta->addr, old_state, new_state); in iwl_mvm_mac_sta_state() 2630 if (old_state == IEEE80211_STA_NOTEXIST && in iwl_mvm_mac_sta_state() 2661 } else if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state() 2670 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mvm_mac_sta_state() 2677 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mvm_mac_sta_state() 2687 } else if (old_state == IEEE80211_STA_AUTHORIZED && in iwl_mvm_mac_sta_state() 2692 } else if (old_state == IEEE80211_STA_ASSOC && in iwl_mvm_mac_sta_state() 2695 } else if (old_state == IEEE80211_STA_AUTH && in iwl_mvm_mac_sta_state() 2698 } else if (old_state == IEEE80211_STA_NONE && in iwl_mvm_mac_sta_state() [all …]
|
D | sta.c | 1115 enum iwl_mvm_agg_state old_state; in iwl_mvm_sta_tx_agg_flush() local 1125 old_state = tid_data->state; in iwl_mvm_sta_tx_agg_flush() 1130 if (old_state >= IWL_AGG_ON) { in iwl_mvm_sta_tx_agg_flush()
|
/linux-4.1.27/net/mac80211/ |
D | driver-ops.h | 579 enum ieee80211_sta_state old_state, in drv_sta_state() argument 590 trace_drv_sta_state(local, sdata, &sta->sta, old_state, new_state); in drv_sta_state() 593 old_state, new_state); in drv_sta_state() 594 } else if (old_state == IEEE80211_STA_AUTH && in drv_sta_state() 599 } else if (old_state == IEEE80211_STA_ASSOC && in drv_sta_state()
|
D | trace.h | 747 enum ieee80211_sta_state old_state, 750 TP_ARGS(local, sdata, sta, old_state, new_state), 756 __field(u32, old_state) 764 __entry->old_state = old_state; 771 __entry->old_state, __entry->new_state
|
/linux-4.1.27/fs/hfsplus/ |
D | xattr.c | 138 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.1.27/drivers/edac/ |
D | edac_mc.c | 511 int old_state; in edac_mc_assert_error_check_and_clear() local 516 old_state = edac_err_assert; in edac_mc_assert_error_check_and_clear() 519 return old_state; in edac_mc_assert_error_check_and_clear()
|
/linux-4.1.27/net/ipv4/ |
D | af_inet.c | 195 unsigned char old_state; in inet_listen() local 204 old_state = sk->sk_state; in inet_listen() 205 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen() 211 if (old_state != TCP_LISTEN) { in inet_listen()
|
D | tcp.c | 2174 int old_state = sk->sk_state; in tcp_disconnect() local 2176 if (old_state != TCP_CLOSE) in tcp_disconnect() 2180 if (old_state == TCP_LISTEN) { in tcp_disconnect() 2184 } else if (tcp_need_reset(old_state) || in tcp_disconnect() 2186 (1 << old_state) & (TCPF_CLOSING | TCPF_LAST_ACK))) { in tcp_disconnect() 2192 } else if (old_state == TCP_SYN_SENT) in tcp_disconnect()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_fcs.c | 1159 enum fnic_state old_state; in fnic_set_eth_mode() local 1164 old_state = fnic->state; in fnic_set_eth_mode() 1165 switch (old_state) { in fnic_set_eth_mode() 1178 fnic->state = old_state; in fnic_set_eth_mode()
|
D | fnic_scsi.c | 2550 enum fnic_state old_state; in fnic_scsi_abort_io() local 2565 old_state = fnic->state; in fnic_scsi_abort_io() 2574 fnic->state = old_state; in fnic_scsi_abort_io() 2600 enum fnic_state old_state; in fnic_scsi_cleanup() local 2612 old_state = fnic->state; in fnic_scsi_cleanup() 2620 fnic->state = old_state; in fnic_scsi_cleanup()
|
/linux-4.1.27/drivers/net/can/usb/ |
D | esd_usb2.c | 222 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()
|
D | kvaser_usb.c | 893 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.1.27/drivers/extcon/ |
D | extcon.c | 219 u32 old_state = edev->state; in extcon_update_state() local 230 raw_notifier_call_chain(&edev->nh, old_state, edev); in extcon_update_state()
|
/linux-4.1.27/drivers/pinctrl/ |
D | core.c | 987 struct pinctrl_state *old_state = p->state; in pinctrl_select_state() local 1051 if (old_state) in pinctrl_select_state() 1052 pinctrl_select_state(p, old_state); in pinctrl_select_state()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 470 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed() 481 force = cp->state != cp->old_state; in ip_vs_sync_conn_needed() 518 cp->old_state = cp->state; in ip_vs_sync_conn_needed() 924 cp->old_state = cp->state; in ip_vs_proc_conn()
|
D | ip_vs_conn.c | 944 cp->old_state = 0; in ip_vs_conn_new()
|
/linux-4.1.27/drivers/input/misc/ |
D | uinput.c | 237 enum uinput_state old_state = udev->state; in uinput_destroy_device() local 244 if (old_state == UIST_CREATED) { in uinput_destroy_device()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | stb0899_drv.c | 798 u8 reg, old_state; in stb0899_send_diseqc_burst() local 805 old_state = reg; in stb0899_send_diseqc_burst() 828 stb0899_write_reg(state, STB0899_DISCNTRL1, old_state); in stb0899_send_diseqc_burst()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | main.c | 5090 enum ieee80211_sta_state old_state, in wl12xx_update_sta_state() argument 5102 old_state == IEEE80211_STA_NOTEXIST && in wl12xx_update_sta_state() 5113 old_state == IEEE80211_STA_NONE && in wl12xx_update_sta_state() 5146 old_state == IEEE80211_STA_AUTHORIZED && in wl12xx_update_sta_state() 5154 old_state == IEEE80211_STA_ASSOC && in wl12xx_update_sta_state() 5162 old_state == IEEE80211_STA_AUTH && in wl12xx_update_sta_state() 5176 old_state == IEEE80211_STA_NOTEXIST && in wl12xx_update_sta_state() 5191 enum ieee80211_sta_state old_state, in wl12xx_op_sta_state() argument 5199 sta->aid, old_state, new_state); in wl12xx_op_sta_state() 5212 ret = wl12xx_update_sta_state(wl, wlvif, sta, old_state, new_state); in wl12xx_op_sta_state() [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 4023 int old_state, int new_state) in lpfc_nlp_state_cleanup() argument 4037 if (ndlp->rport && (old_state == NLP_STE_MAPPED_NODE || in lpfc_nlp_state_cleanup() 4038 old_state == NLP_STE_UNMAPPED_NODE)) { in lpfc_nlp_state_cleanup() 4113 int old_state = ndlp->nlp_state; in lpfc_nlp_set_state() local 4119 lpfc_nlp_state_name(name1, sizeof(name1), old_state), in lpfc_nlp_set_state() 4124 ndlp->nlp_DID, old_state, state); in lpfc_nlp_set_state() 4126 if (old_state == NLP_STE_NPR_NODE && in lpfc_nlp_set_state() 4129 if (old_state == NLP_STE_UNMAPPED_NODE) { in lpfc_nlp_set_state() 4138 } else if (old_state) in lpfc_nlp_set_state() 4139 lpfc_nlp_counters(vport, old_state, -1); in lpfc_nlp_set_state() [all …]
|
/linux-4.1.27/drivers/infiniband/core/ |
D | cma.c | 165 enum rdma_cm_state old_state; member 1704 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_query_handler() 1767 if (!cma_comp_exch(id_priv, work->old_state, work->new_state)) in cma_work_handler() 1818 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_ib_route() 1877 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iw_route() 1960 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_resolve_iboe_route() 2151 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_loopback() 2181 work->old_state = RDMA_CM_ADDR_QUERY; in cma_resolve_ib_addr()
|
/linux-4.1.27/drivers/usb/core/ |
D | hcd.c | 2162 int old_state = hcd->state; in hcd_bus_suspend() local 2198 hcd->state = old_state; in hcd_bus_suspend() 2211 int old_state = hcd->state; in hcd_bus_resume() local 2255 hcd->state = old_state; in hcd_bus_resume()
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | main.c | 1537 enum ieee80211_sta_state old_state, in ath9k_sta_state() argument 1544 if (old_state == IEEE80211_STA_AUTH && in ath9k_sta_state() 1549 } else if (old_state == IEEE80211_STA_ASSOC && in ath9k_sta_state() 1558 if (old_state == IEEE80211_STA_ASSOC && in ath9k_sta_state()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | usb.c | 562 int old_state; in brcmf_usb_state_change() local 570 old_state = devinfo->bus_pub.state; in brcmf_usb_state_change()
|
/linux-4.1.27/drivers/net/usb/ |
D | usbnet.c | 424 enum skb_state old_state; in defer_bh() local 428 old_state = entry->state; in defer_bh() 437 return old_state; in defer_bh()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 4051 enum ieee80211_sta_state old_state, in ath10k_sta_state() argument 4059 if (old_state == IEEE80211_STA_NOTEXIST && in ath10k_sta_state() 4067 if ((old_state == IEEE80211_STA_NONE && in ath10k_sta_state() 4073 if (old_state == IEEE80211_STA_NOTEXIST && in ath10k_sta_state() 4114 } else if ((old_state == IEEE80211_STA_NONE && in ath10k_sta_state() 4140 } else if (old_state == IEEE80211_STA_AUTH && in ath10k_sta_state() 4154 } else if (old_state == IEEE80211_STA_ASSOC && in ath10k_sta_state()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 2353 enum fsg_state old_state; in handle_exception() local 2417 old_state = common->state; in handle_exception() 2419 if (old_state == FSG_STATE_ABORT_BULK_OUT) in handle_exception() 2437 switch (old_state) { in handle_exception()
|
/linux-4.1.27/drivers/scsi/isci/ |
D | port.c | 298 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.1.27/drivers/tty/vt/ |
D | keyboard.c | 798 int old_state = shift_state; in k_shift() local 828 if (up_flag && shift_state != old_state && npadch != -1) { in k_shift()
|
/linux-4.1.27/drivers/net/wireless/ |
D | atmel.c | 2729 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.1.27/fs/ext4/ |
D | inode.c | 665 unsigned long old_state; in ext4_update_bh_state() local 681 old_state = READ_ONCE(bh->b_state); in ext4_update_bh_state() 682 new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state() 684 cmpxchg(&bh->b_state, old_state, new_state) != old_state)); in ext4_update_bh_state()
|
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 743 struct drm_plane_state *old_state) in atmel_hlcdc_plane_atomic_disable() argument
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon.c | 4661 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.1.27/net/bluetooth/ |
D | hci_core.c | 1023 int old_state = hdev->discovery.state; in hci_discovery_set_state() local 1027 if (old_state == state) in hci_discovery_set_state() 1036 if (old_state != DISCOVERY_STARTING) in hci_discovery_set_state()
|
/linux-4.1.27/include/net/ |
D | ip_vs.h | 543 volatile __u16 old_state; /* old state, to be used for member
|
D | mac80211.h | 3245 enum ieee80211_sta_state old_state,
|
/linux-4.1.27/drivers/block/ |
D | pktcdvd.c | 1182 enum packet_data_state old_state = pkt->state; in pkt_set_state() local 1185 state_name[old_state], state_name[state]); in pkt_set_state()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 2669 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.1.27/drivers/infiniband/hw/nes/ |
D | nes_cm.c | 1390 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.1.27/arch/x86/kvm/ |
D | x86.c | 277 u64 old_state = vcpu->arch.apic_base & in kvm_set_apic_base() local 288 old_state == (MSR_IA32_APICBASE_ENABLE | X2APIC_ENABLE)) || in kvm_set_apic_base() 290 old_state == 0))) in kvm_set_apic_base()
|