/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A 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 …]
|
/openbmc/linux/fs/nfsd/ |
H A D | nfs4proc.c | 82 check_attr_support(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in check_attr_support() argument 85 struct dentry *dentry = cstate->current_fh.fh_dentry; in check_attr_support() 86 struct svc_export *exp = cstate->current_fh.fh_export; in check_attr_support() 88 if (!nfsd_attrs_supported(cstate->minorversion, bmval)) in check_attr_support() 105 struct nfsd4_compound_state *cstate, struct nfsd4_open *open) in nfsd4_check_open_attributes() argument 112 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 115 status = check_attr_support(rqstp, cstate, in nfsd4_check_open_attributes() 179 static void nfsd4_set_open_owner_reply_cache(struct nfsd4_compound_state *cstate, struct nfsd4_open… in nfsd4_set_open_owner_reply_cache() argument 181 if (nfsd4_has_session(cstate)) in nfsd4_set_open_owner_reply_cache() 418 do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_open *open… in do_open_lookup() argument [all …]
|
H A D | nfs4state.c | 1711 void nfsd4_bump_seqid(struct nfsd4_compound_state *cstate, __be32 nfserr) in nfsd4_bump_seqid() argument 1713 struct nfs4_stateowner *so = cstate->replay_owner; in nfsd4_bump_seqid() 1719 nfsd4_cstate_clear_replay(cstate); in nfsd4_bump_seqid() 3129 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_store_cache_entry() 3136 slot->sl_status = resp->cstate.status; in nfsd4_store_cache_entry() 3146 base = resp->cstate.data_offset; in nfsd4_store_cache_entry() 3166 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_enc_sequence_replay() 3197 struct nfsd4_slot *slot = resp->cstate.slot; in nfsd4_replay_cache_entry() 3277 nfsd4_exchange_id(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, in nfsd4_exchange_id() argument 3417 new->cl_minorversion = cstate->minorversion; in nfsd4_exchange_id() [all …]
|
H A D | pnfs.h | 55 struct nfsd4_compound_state *cstate, stateid_t *stateid, 60 struct nfsd4_compound_state *cstate, 63 struct nfsd4_compound_state *cstate,
|
H A D | nfs4layouts.c | 213 nfsd4_alloc_layout_stateid(struct nfsd4_compound_state *cstate, in nfsd4_alloc_layout_stateid() argument 216 struct nfs4_client *clp = cstate->clp; in nfsd4_alloc_layout_stateid() 221 stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, in nfsd4_alloc_layout_stateid() 267 struct nfsd4_compound_state *cstate, stateid_t *stateid, in nfsd4_preprocess_layout_stateid() argument 278 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid() 283 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid() 290 ls = nfsd4_alloc_layout_stateid(cstate, stid, layout_type); in nfsd4_preprocess_layout_stateid() 491 struct nfsd4_compound_state *cstate, in nfsd4_return_file_layouts() argument 500 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts() 534 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A 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() 138 return cstate; in nvkm_cstate_find_best() 147 struct nvkm_cstate *cstate; in nvkm_cstate_get() local [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_crtc.c | 452 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); in _dpu_crtc_blend_setup_mixer() local 480 mixer, cstate->num_mixers, in _dpu_crtc_blend_setup_mixer() 488 mixer, cstate->num_mixers, in _dpu_crtc_blend_setup_mixer() 495 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) { in _dpu_crtc_blend_setup_mixer() 519 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); in _dpu_crtc_blend_setup() local 520 struct dpu_crtc_mixer *mixer = cstate->mixers; in _dpu_crtc_blend_setup() 528 for (i = 0; i < cstate->num_mixers; i++) { in _dpu_crtc_blend_setup() 540 for (i = 0; i < cstate->num_mixers; i++) { in _dpu_crtc_blend_setup() 728 struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); in _dpu_crtc_check_and_setup_lm_bounds() local 730 u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; in _dpu_crtc_check_and_setup_lm_bounds() [all …]
|
/openbmc/linux/tools/power/cpupower/utils/ |
H A 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()
|
/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_pptp.c | 292 if (info->cstate != PPTP_CALL_OUT_REQ && in pptp_inbound_pkt() 293 info->cstate != PPTP_CALL_OUT_CONF) in pptp_inbound_pkt() 304 info->cstate = PPTP_CALL_OUT_CONF; in pptp_inbound_pkt() 308 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt() 318 info->cstate = PPTP_CALL_IN_REQ; in pptp_inbound_pkt() 326 if (info->cstate != PPTP_CALL_IN_REP && in pptp_inbound_pkt() 327 info->cstate != PPTP_CALL_IN_CONF) in pptp_inbound_pkt() 337 info->cstate = PPTP_CALL_IN_CONF; in pptp_inbound_pkt() 347 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt() 373 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, in pptp_inbound_pkt() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_trace_event.h | 88 TP_PROTO(int cstate), 90 TP_ARGS(cstate), 93 __field(int, cstate) 97 __entry->cstate = cstate; 100 TP_printk("cstate=%d", __entry->cstate)
|
/openbmc/linux/include/net/ |
H A 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)*/
|
/openbmc/linux/drivers/idle/ |
H A D | intel_idle.c | 226 * States are indexed by the cstate number, 1439 static bool __init intel_idle_max_cstate_reached(int cstate) in intel_idle_max_cstate_reached() 1441 if (cstate + 1 > max_cstate) { in intel_idle_max_cstate_reached() 1483 int cstate, limit; in intel_idle_cst_usable() 1488 for (cstate = 1; cstate < limit; cstate++) { in intel_idle_cst_usable() 1489 struct acpi_processor_cx *cx = &acpi_state_table.states[cstate]; in intel_idle_cst_usable() 1534 int cstate, limit = min_t(int, CPUIDLE_STATE_MAX, acpi_state_table.count); in intel_idle_init_cstates_acpi() 1540 for (cstate in intel_idle_init_cstates_acpi() 1438 intel_idle_max_cstate_reached(int cstate) intel_idle_max_cstate_reached() argument 1482 int cstate, limit; intel_idle_cst_usable() local 1533 int cstate, limit = min_t(int, CPUIDLE_STATE_MAX, acpi_state_table.count); intel_idle_init_cstates_acpi() local 1583 int cstate, limit; intel_idle_off_by_default() local 1837 state_update_enter_method(struct cpuidle_state * state,int cstate) state_update_enter_method() argument 1874 int cstate; intel_idle_init_cstates_icpu() local [all...] |
/openbmc/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_kms.c | 53 struct drm_crtc_state *cstate; in tidss_atomic_check() local 77 cstate = drm_atomic_get_crtc_state(state, in tidss_atomic_check() 79 if (IS_ERR(cstate)) in tidss_atomic_check() 80 return PTR_ERR(cstate); in tidss_atomic_check() 81 to_tidss_crtc_state(cstate)->plane_pos_changed = true; in tidss_atomic_check() 85 for_each_new_crtc_in_state(state, crtc, cstate, i) { in tidss_atomic_check() 86 if (to_tidss_crtc_state(cstate)->plane_pos_changed || in tidss_atomic_check() 87 cstate->zpos_changed) { in tidss_atomic_check()
|
/openbmc/openpower-debug-collector/dump/ |
H A D | sbe_dump_collector.cpp | 95 for (auto cstate : clockStates) in collectDump() local 98 if (type == SBE_DUMP_TYPE_PERFORMANCE && cstate != SBE_CLOCK_ON) in collectDump() 103 cstate, targets); in collectDump() 121 "CSTATE", cstate, "TYPE", type, "ID", id, "FAILINGUNIT", in collectDump() 139 uint64_t failingUnit, uint8_t cstate, const TargetMap& targetMap) in spawnDumpCollectionProcesses() argument 147 type, cstate, in spawnDumpCollectionProcesses() 151 this->collectDumpFromSBE(procTarget, path, id, type, cstate, in spawnDumpCollectionProcesses() 162 if (cstate == SBE_CLOCK_ON) in spawnDumpCollectionProcesses() 170 cstate, failingUnit); in spawnDumpCollectionProcesses()
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | Makefile | 7 obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o 8 intel-cstate-objs := cstate.o
|
/openbmc/linux/drivers/pwm/ |
H A 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() 153 if (!cstate.enabled) in stm32_pwm_lp_apply()
|
H A D | pwm-atmel.c | 297 struct pwm_state cstate; in atmel_pwm_apply() local 302 pwm_get_state(pwm, &cstate); in atmel_pwm_apply() 307 if (cstate.enabled && in atmel_pwm_apply() 308 cstate.polarity == state->polarity && in atmel_pwm_apply() 309 cstate.period == state->period) { in atmel_pwm_apply() 331 if (cstate.enabled) { in atmel_pwm_apply() 351 } else if (cstate.enabled) { in atmel_pwm_apply()
|
/openbmc/linux/mm/kmsan/ |
H A D | instrumentation.c | 143 *shadow = *(u64 *)(ctx->cstate.param_tls); in get_param0_metadata() 144 *origin = ctx->cstate.param_origin_tls[0]; in get_param0_metadata() 151 *(u64 *)(ctx->cstate.retval_tls) = shadow; in set_retval_metadata() 152 ctx->cstate.retval_origin_tls = origin; in set_retval_metadata() 331 return &kmsan_get_context()->cstate; in __msan_get_context_state()
|
/openbmc/linux/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 73 struct drm_crtc_state *cstate) in tve200_display_check() argument 75 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_check() 115 cstate->mode_changed = true; in tve200_display_check() 122 struct drm_crtc_state *cstate, in tve200_display_enable() argument 129 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_enable()
|
/openbmc/linux/drivers/net/slip/ |
H A 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() 499 struct cstate *cs; in slhc_uncompress() 649 struct cstate *cs; in slhc_remember()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | ctrl.c | 76 struct nvkm_cstate *cstate; in nvkm_control_mthd_pstate_attr() local 113 list_for_each_entry(cstate, &pstate->list, head) { in nvkm_control_mthd_pstate_attr() 114 lo = min(lo, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr() 115 hi = max(hi, cstate->domain[domain->name]); in nvkm_control_mthd_pstate_attr()
|