/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_bt_coexist.c | 25 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 29 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 32 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 36 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 39 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 42 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state() 43 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 45 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 53 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() [all …]
|
/Linux-v5.4/fs/nfsd/ |
D | nfs4proc.c | 96 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument 99 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support() 100 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support() 102 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support() 119 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument 126 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 129 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 216 static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open… in nfsd4_set_open_owner_reply_cache() argument 218 if (nfsd4_has_session(cstate)) in nfsd4_set_open_owner_reply_cache() 225 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument [all …]
|
D | nfs4state.c | 1495 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument 1497 struct nfs4_stateowner *so = cstate->replay_owner; in nfsd4_bump_seqid() 1503 nfsd4_cstate_clear_replay(cstate); in nfsd4_bump_seqid() 2806 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_store_cache_entry() 2813 slot->sl_status = resp->cstate.status; in nfsd4_store_cache_entry() 2823 base = resp->cstate.data_offset; in nfsd4_store_cache_entry() 2843 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_enc_sequence_replay() 2874 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_replay_cache_entry() 2955 nfsd4_exchange_id(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_exchange_id() argument 3087 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id() [all …]
|
D | pnfs.h | 55 struct nfsd4_compound_state *cstate, stateid_t *stateid, 60 struct nfsd4_compound_state *cstate, 63 struct nfsd4_compound_state *cstate,
|
D | nfs4layouts.c | 212 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, in nfsd4_alloc_layout_stateid() argument 215 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() 220 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, in nfsd4_alloc_layout_stateid() 266 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid() argument 277 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid() 282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid() 289 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid() 490 struct nfsd4_compound_state *cstate, in nfsd4_return_file_layouts() argument 499 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts() 533 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 79 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, in nvkm_cstate_valid() argument 88 u32 freq = cstate->domain[domain->name]; in nvkm_cstate_valid() 105 voltage = nvkm_volt_map(volt, cstate->voltage, temp); in nvkm_cstate_valid() 113 struct nvkm_cstate *cstate) in nvkm_cstate_find_best() argument 119 if (!pstate || !cstate) in nvkm_cstate_find_best() 123 return cstate; in nvkm_cstate_find_best() 136 list_for_each_entry_from_reverse(cstate, &pstate->list, head) { in nvkm_cstate_find_best() 137 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp)) in nvkm_cstate_find_best() 141 return cstate; in nvkm_cstate_find_best() 147 struct nvkm_cstate *cstate; in nvkm_cstate_get() local [all …]
|
D | gf100.c | 274 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument 277 u32 freq = cstate->domain[dom]; in calc_clk() 294 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk() 325 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gf100_clk_calc() argument 330 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || in gf100_clk_calc() 331 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || in gf100_clk_calc() 332 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || in gf100_clk_calc() 333 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || in gf100_clk_calc() 334 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || in gf100_clk_calc() 335 (ret = calc_clk(clk, cstate, 0x09, nv_clk_src_copy)) || in gf100_clk_calc() [all …]
|
D | gt215.c | 274 calc_clk(struct gt215_clk *clk, struct nvkm_cstate *cstate, in calc_clk() argument 277 int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom], in calc_clk() 285 calc_host(struct gt215_clk *clk, struct nvkm_cstate *cstate) in calc_host() argument 288 u32 kHz = cstate->domain[nv_clk_src_host]; in calc_host() 459 gt215_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gt215_clk_calc() argument 465 if ((ret = calc_clk(clk, cstate, 0x10, 0x4200, nv_clk_src_core)) || in gt215_clk_calc() 466 (ret = calc_clk(clk, cstate, 0x11, 0x4220, nv_clk_src_shader)) || in gt215_clk_calc() 467 (ret = calc_clk(clk, cstate, 0x20, 0x0000, nv_clk_src_disp)) || in gt215_clk_calc() 468 (ret = calc_clk(clk, cstate, 0x21, 0x0000, nv_clk_src_vdec)) || in gt215_clk_calc() 469 (ret = calc_host(clk, cstate))) in gt215_clk_calc() [all …]
|
D | gk104.c | 288 struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument 291 u32 freq = cstate->domain[dom]; in calc_clk() 308 clk1 = cstate->domain[nv_clk_src_hubk06]; in calc_clk() 339 gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) in gk104_clk_calc() argument 344 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) || in gk104_clk_calc() 345 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) || in gk104_clk_calc() 346 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) || in gk104_clk_calc() 347 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) || in gk104_clk_calc() 348 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) || in gk104_clk_calc() 349 (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || in gk104_clk_calc() [all …]
|
/Linux-v5.4/tools/power/cpupower/utils/ |
D | cpuidle-info.c | 100 unsigned int cstate, cstates; in proc_cpuidle_cpu_output() local 112 for (cstate = 1; cstate < cstates; cstate++) { in proc_cpuidle_cpu_output() 114 "type[C%d] "), cstate, cstate); in proc_cpuidle_cpu_output() 117 cpuidle_state_latency(cpu, cstate)); in proc_cpuidle_cpu_output() 119 cpuidle_state_usage(cpu, cstate)); in proc_cpuidle_cpu_output() 121 cpuidle_state_time(cpu, cstate)); in proc_cpuidle_cpu_output()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_crtc.c | 121 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); in _dpu_crtc_blend_setup_mixer() local 167 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer() 191 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); in _dpu_crtc_blend_setup() local 192 struct dpu_crtc_mixer *mixer = cstate->mixers; in _dpu_crtc_blend_setup() 199 for (i = 0; i < cstate->num_mixers; i++) { in _dpu_crtc_blend_setup() 216 for (i = 0; i < cstate->num_mixers; i++) { in _dpu_crtc_blend_setup() 402 struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); in _dpu_crtc_setup_lm_bounds() local 404 u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; in _dpu_crtc_setup_lm_bounds() 407 for (i = 0; i < cstate->num_mixers; i++) { in _dpu_crtc_setup_lm_bounds() 408 struct drm_rect *r = &cstate->lm_bounds[i]; in _dpu_crtc_setup_lm_bounds() [all …]
|
/Linux-v5.4/samples/bpf/ |
D | cpustat_kern.c | 106 u64 *cts, *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog1() local 121 cstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog1() 122 if (!cstate) in bpf_prog1() 135 prev_state = *cstate; in bpf_prog1() 136 *cstate = ctx->state; in bpf_prog1() 214 u64 *pts, *cstate, *pstate, prev_state, cur_ts, delta; in bpf_prog2() local 231 cstate = bpf_map_lookup_elem(&my_map, &key); in bpf_prog2() 232 if (!cstate) in bpf_prog2() 248 if (*cstate != (u32)(-1)) in bpf_prog2()
|
D | cpustat_user.c | 33 unsigned long cstate[MAX_CSTATE_ENTRIES]; member 69 printf("%-11ld ", data->cstate[i] / 1000000); in cpu_stat_print() 87 stat_data[c].cstate[i] = value; in cpu_stat_update()
|
/Linux-v5.4/net/netfilter/ |
D | nf_conntrack_pptp.c | 306 if (info->cstate != PPTP_CALL_OUT_REQ && in pptp_inbound_pkt() 307 info->cstate != PPTP_CALL_OUT_CONF) in pptp_inbound_pkt() 318 info->cstate = PPTP_CALL_OUT_CONF; in pptp_inbound_pkt() 322 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt() 332 info->cstate = PPTP_CALL_IN_REQ; in pptp_inbound_pkt() 340 if (info->cstate != PPTP_CALL_IN_REP && in pptp_inbound_pkt() 341 info->cstate != PPTP_CALL_IN_CONF) in pptp_inbound_pkt() 351 info->cstate = PPTP_CALL_IN_CONF; in pptp_inbound_pkt() 361 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt() 388 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, in pptp_inbound_pkt() [all …]
|
/Linux-v5.4/include/net/ |
D | slhc_vj.h | 128 struct cstate { struct 131 struct cstate *next; /* next in ring (xmit) */ argument 138 #define NULLSLSTATE (struct cstate *)0 argument 144 struct cstate *tstate; /* transmit connection states (array)*/ 145 struct cstate *rstate; /* receive connection states (array)*/
|
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 222 enum ttm_caching_state cstate) in ttm_get_pool() argument 226 if (cstate == tt_cached) in ttm_get_pool() 229 if (cstate == tt_wc) in ttm_get_pool() 443 enum ttm_caching_state cstate, unsigned cpages) in ttm_set_pages_caching() argument 447 switch (cstate) { in ttm_set_pages_caching() 470 int ttm_flags, enum ttm_caching_state cstate, in ttm_handle_caching_state_failure() argument 488 int ttm_flags, enum ttm_caching_state cstate, in ttm_alloc_new_pages() argument 517 cstate, cpages); in ttm_alloc_new_pages() 520 ttm_flags, cstate, in ttm_alloc_new_pages() 542 cstate, cpages); in ttm_alloc_new_pages() [all …]
|
/Linux-v5.4/arch/x86/events/intel/ |
D | Makefile | 9 obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o 10 intel-cstate-objs := cstate.o
|
/Linux-v5.4/drivers/pwm/ |
D | pwm-stm32-lp.c | 39 struct pwm_state cstate; in stm32_pwm_lp_apply() local 44 pwm_get_state(pwm, &cstate); in stm32_pwm_lp_apply() 45 reenable = !cstate.enabled; in stm32_pwm_lp_apply() 48 if (cstate.enabled) { in stm32_pwm_lp_apply() 83 if (!cstate.enabled) { in stm32_pwm_lp_apply() 154 if (!cstate.enabled) in stm32_pwm_lp_apply()
|
D | pwm-zx.c | 154 struct pwm_state cstate; in zx_pwm_apply() local 157 pwm_get_state(pwm, &cstate); in zx_pwm_apply() 159 if (state->polarity != cstate.polarity) in zx_pwm_apply() 164 if (state->period != cstate.period || in zx_pwm_apply() 165 state->duty_cycle != cstate.duty_cycle) { in zx_pwm_apply() 172 if (state->enabled != cstate.enabled) { in zx_pwm_apply()
|
D | pwm-atmel.c | 215 struct pwm_state cstate; in atmel_pwm_apply() local 220 pwm_get_state(pwm, &cstate); in atmel_pwm_apply() 223 if (cstate.enabled && in atmel_pwm_apply() 224 cstate.polarity == state->polarity && in atmel_pwm_apply() 225 cstate.period == state->period) { in atmel_pwm_apply() 243 if (cstate.enabled) { in atmel_pwm_apply() 267 } else if (cstate.enabled) { in atmel_pwm_apply()
|
D | pwm-sun4i.c | 202 struct pwm_state cstate; in sun4i_pwm_apply() local 208 pwm_get_state(pwm, &cstate); in sun4i_pwm_apply() 210 if (!cstate.enabled) { in sun4i_pwm_apply() 221 if ((cstate.period != state->period) || in sun4i_pwm_apply() 222 (cstate.duty_cycle != state->duty_cycle)) { in sun4i_pwm_apply() 231 if (!cstate.enabled) in sun4i_pwm_apply() 248 usecs_to_jiffies(cstate.period / 1000 + 1); in sun4i_pwm_apply()
|
D | pwm-sprd.c | 164 struct pwm_state *cstate = &pwm->state; in sprd_pwm_apply() local 168 if (!cstate->enabled) { in sprd_pwm_apply() 183 if (state->period != cstate->period || in sprd_pwm_apply() 184 state->duty_cycle != cstate->duty_cycle) { in sprd_pwm_apply() 192 } else if (cstate->enabled) { in sprd_pwm_apply()
|
/Linux-v5.4/drivers/idle/ |
D | intel_idle.c | 903 unsigned int cstate; in intel_idle() local 915 cstate = (((eax) >> MWAIT_SUBSTATE_SIZE) & in intel_idle() 918 if (!(lapic_timer_reliable_states & (1 << (cstate)))) { in intel_idle() 1326 int cstate; in intel_idle_cpuidle_driver_init() local 1334 for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { in intel_idle_cpuidle_driver_init() 1337 if ((cpuidle_state_table[cstate].enter == NULL) && in intel_idle_cpuidle_driver_init() 1338 (cpuidle_state_table[cstate].enter_s2idle == NULL)) in intel_idle_cpuidle_driver_init() 1341 if (cstate + 1 > max_cstate) { in intel_idle_cpuidle_driver_init() 1346 mwait_hint = flg2MWAIT(cpuidle_state_table[cstate].flags); in intel_idle_cpuidle_driver_init() 1358 if (cpuidle_state_table[cstate].disabled != 0) { in intel_idle_cpuidle_driver_init() [all …]
|
/Linux-v5.4/drivers/gpu/drm/tve200/ |
D | tve200_display.c | 72 struct drm_crtc_state *cstate) in tve200_display_check() argument 74 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_check() 114 cstate->mode_changed = true; in tve200_display_check() 121 struct drm_crtc_state *cstate, in tve200_display_enable() argument 128 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_enable()
|
/Linux-v5.4/drivers/net/slip/ |
D | slhc.c | 95 struct cstate *ts; in slhc_init() 106 size_t rsize = rslots * sizeof(struct cstate); in slhc_init() 114 size_t tsize = tslots * sizeof(struct cstate); in slhc_init() 230 struct cstate *ocs = &(comp->tstate[comp->xmit_oldest]); in slhc_compress() 231 struct cstate *lcs = ocs; in slhc_compress() 232 struct cstate *cs = lcs->next; in slhc_compress() 493 struct cstate *cs; in slhc_uncompress() 640 struct cstate *cs; in slhc_remember()
|