Home
last modified time | relevance | path

Searched refs:cstate (Results 1 – 17 of 17) sorted by relevance

/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhal_bt_coexist.c50 rtlpcipriv->bt_coexist.cstate &= ~BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state()
53 rtlpcipriv->bt_coexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
56 rtlpcipriv->bt_coexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
60 rtlpcipriv->bt_coexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
63 rtlpcipriv->bt_coexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
66 rtlpcipriv->bt_coexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state()
67 rtlpcipriv->bt_coexist.cstate &= ~BT_COEX_STATE_WIFI_UPLINK; in _rtl8723_dm_bt_check_wifi_state()
68 rtlpcipriv->bt_coexist.cstate &= ~BT_COEX_STATE_WIFI_DOWNLINK; in _rtl8723_dm_bt_check_wifi_state()
73 rtlpcipriv->bt_coexist.cstate |= BT_COEX_STATE_WIFI_LEGACY; in _rtl8723_dm_bt_check_wifi_state()
74 rtlpcipriv->bt_coexist.cstate &= ~BT_COEX_STATE_WIFI_HT20; in _rtl8723_dm_bt_check_wifi_state()
[all …]
Dhal_btc.c49 rtlpcipriv->bt_coexist.cstate = 0; in rtl8723ae_bt_coex_off_before_lps()
144 rtlpcipriv->bt_coexist.cstate |= BT_COEX_STATE_DEC_BT_POWER; in rtl8723ae_dm_bt_need_to_dec_bt_pwr()
148 rtlpcipriv->bt_coexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723ae_dm_bt_need_to_dec_bt_pwr()
158 rtlpcipriv->bt_coexist.cstate) && in rtl8723ae_dm_bt_is_same_coexist_state()
376 rtlpcipriv->bt_coexist.cstate |= BT_COEX_STATE_BTINFO_COMMON; in rtl8723ae_dm_bt_is_2_ant_common_action()
1392 rtlpcipriv->bt_coexist.cstate |= in rtl8723ae_dm_bt_inq_page_monitor()
1411 rtlpcipriv->bt_coexist.cstate &= in rtl8723ae_dm_bt_inq_page_monitor()
1421 rtlpcipriv->bt_coexist.cstate &= in rtl8723ae_dm_bt_reset_action_profile_state()
1425 rtlpcipriv->bt_coexist.cstate &= in rtl8723ae_dm_bt_reset_action_profile_state()
1465 rtlpcipriv->bt_coexist.cstate |= in _rtl8723ae_dm_bt_coexist_2_ant()
[all …]
Ddm.c956 rtlpcipriv->bt_coexist.cstate = 0; in rtl8723ae_dm_init_bt_coexist()
Dhw.c2271 pcipriv->bt_coexist.cstate = 0; in rtl8723ae_bt_var_init()
/drivers/idle/
Dintel_idle.c347 unsigned int cstate; in intel_idle() local
350 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) + 1; in intel_idle()
359 if (!(lapic_timer_reliable_states & (1 << (cstate)))) in intel_idle()
370 if (!(lapic_timer_reliable_states & (1 << (cstate)))) in intel_idle()
563 int cstate; in intel_idle_cpuidle_driver_init() local
568 for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { in intel_idle_cpuidle_driver_init()
571 if (cpuidle_state_table[cstate].enter == NULL) in intel_idle_cpuidle_driver_init()
574 if (cstate + 1 > max_cstate) { in intel_idle_cpuidle_driver_init()
580 mwait_hint = flg2MWAIT(cpuidle_state_table[cstate].flags); in intel_idle_cpuidle_driver_init()
598 cpuidle_state_table[cstate]; in intel_idle_cpuidle_driver_init()
[all …]
/drivers/gpu/drm/ttm/
Dttm_page_alloc.c257 enum ttm_caching_state cstate) in ttm_get_pool() argument
261 if (cstate == tt_cached) in ttm_get_pool()
264 if (cstate == tt_wc) in ttm_get_pool()
429 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument
433 switch (cstate) { in ttm_set_pages_caching()
456 int ttm_flags, enum ttm_caching_state cstate, in ttm_handle_caching_state_failure() argument
474 int ttm_flags, enum ttm_caching_state cstate, unsigned count) in ttm_alloc_new_pages() argument
501 cstate, cpages); in ttm_alloc_new_pages()
504 ttm_flags, cstate, in ttm_alloc_new_pages()
522 cstate, cpages); in ttm_alloc_new_pages()
[all …]
Dttm_page_alloc_dma.c352 static enum pool_type ttm_to_type(int flags, enum ttm_caching_state cstate) in ttm_to_type() argument
358 if (cstate == tt_cached) in ttm_to_type()
360 else if (cstate == tt_uncached) in ttm_to_type()
/drivers/net/slip/
Dslhc.c94 register struct cstate *ts; in slhc_init()
102 size_t rsize = rslots * sizeof(struct cstate); in slhc_init()
110 size_t tsize = tslots * sizeof(struct cstate); in slhc_init()
226 register struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress()
227 register struct cstate *lcs = ocs; in slhc_compress()
228 register struct cstate *cs = lcs->next; in slhc_compress()
490 register struct cstate *cs; in slhc_uncompress()
633 register struct cstate *cs; in slhc_remember()
/drivers/block/drbd/
Ddrbd_state.c1591 .conn = tconn->cstate, in conn_old_common_state()
1691 if (tconn->cstate != C_WF_REPORT_PARAMS && val.conn == C_WF_REPORT_PARAMS) in conn_set_state()
1694 tconn->cstate = val.conn; in conn_set_state()
1756 if (rv == SS_SUCCESS && tconn->cstate == C_WF_REPORT_PARAMS) in _conn_rq_cond()
1768 enum drbd_conns oc = tconn->cstate; in _conn_request_state()
Ddrbd_nl.c426 if (tconn->cstate >= C_WF_REPORT_PARAMS) { in conn_try_outdate_peer()
495 if (tconn->cstate < C_WF_REPORT_PARAMS && !test_bit(STATE_SENT, &tconn->flags)) in conn_try_outdate_peer()
1106 tconn->cstate == C_STANDALONE; in conn_reconfig_done()
1842 if (old_conf && tconn->cstate == C_WF_REPORT_PARAMS && tconn->agreed_pro_version < 100) { in _check_net_options()
2044 if (tconn->cstate >= C_WF_REPORT_PARAMS && tconn->agreed_pro_version >= 100) in drbd_adm_net_opts()
2056 if (tconn->cstate >= C_WF_REPORT_PARAMS) in drbd_adm_net_opts()
2115 if (tconn->cstate > C_STANDALONE) { in drbd_adm_connect()
Ddrbd_receiver.c509 t = wait_event_timeout(tconn->ping_wait, tconn->cstate < C_WF_REPORT_PARAMS, t); in drbd_recv()
963 if (tconn->cstate <= C_DISCONNECTING) in conn_connect()
1066 if (rv < SS_SUCCESS || tconn->cstate != C_WF_REPORT_PARAMS) { in conn_connect()
4443 if (tconn->cstate == C_STANDALONE) in conn_disconnect()
4479 oc = tconn->cstate; in conn_disconnect()
5328 tconn->cstate < C_WF_REPORT_PARAMS, in drbd_asender()
Ddrbd_worker.c1915 if (w->cb(w, tconn->cstate < C_WF_REPORT_PARAMS) == 0) in drbd_worker()
1917 if (tconn->cstate >= C_WF_REPORT_PARAMS) in drbd_worker()
Ddrbd_main.c1284 if (tconn->cstate < C_WF_REPORT_PARAMS) in drbd_send_b_ack()
1430 || tconn->cstate < C_WF_REPORT_PARAMS; in we_should_drop_the_connection()
2542 tconn->cstate = C_STANDALONE; in conn_create()
2706 mdev->state.conn = tconn->cstate; in conn_new_minor()
Ddrbd_int.h830 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */ member
/drivers/media/platform/marvell-ccic/
Dmcam-core.c1804 enum mcam_state cstate = cam->state; in mccic_suspend() local
1808 cam->state = cstate; in mccic_suspend()
/drivers/acpi/
Dprocessor_idle.c204 struct acpi_processor_cx *cstate) { } in lapic_timer_check_state() argument
/drivers/net/wireless/rtlwifi/
Dwifi.h2146 u32 cstate; member