Home
last modified time | relevance | path

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

1234

/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dhal_bt_coexist.c25 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()
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()
55 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
[all …]
A Dhal_btc.c25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
117 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
131 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
346 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
1367 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_inq_page_monitor()
1386 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1396 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1400 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1436 rtlpriv->btcoexist.cstate |= in _rtl8723e_dm_bt_coexist_2_ant()
1639 rtlpriv->btcoexist.cstate); in rtl8723e_dm_bt_coexist_8723()
[all …]
/linux/fs/nfsd/
A Dnfs4proc.c552 fh_dup2(&cstate->current_fh, &cstate->save_fh); in nfsd4_restorefh()
564 fh_dup2(&cstate->save_fh, &cstate->current_fh); in nfsd4_savefh()
803 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_read()
1027 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_write()
1061 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->save_fh, in nfsd4_verify_copy()
1068 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_verify_copy()
1372 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_setup_inter_ssc()
1760 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_copy_notify()
1800 status = nfs4_preprocess_stateid_op(rqstp, cstate, &cstate->current_fh, in nfsd4_fallocate()
2457 struct nfsd4_compound_state *cstate = &resp->cstate; in nfsd4_proc_compound() local
[all …]
A Dnfs4state.c3655 if (!cstate->session) in nfsd4_compound_in_session()
3840 cstate->slot = slot; in nfsd4_sequence()
3842 cstate->clp = clp; in nfsd4_sequence()
3875 cstate->slot = slot; in nfsd4_sequence()
3877 cstate->clp = clp; in nfsd4_sequence()
4754 if (cstate->clp) { in set_client()
4766 if (!cstate->clp) in set_client()
4792 clp = cstate->clp; in nfsd4_process_open1()
5436 clp = cstate->clp; in nfsd4_renew()
5863 if (cstate->session) in nfsd4_lookup_stateid()
[all …]
A Dnfs4layouts.c213 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
534 struct nfsd4_compound_state *cstate, in nfsd4_return_client_layouts() argument
538 struct nfs4_client *clp = cstate->clp; in nfsd4_return_client_layouts()
[all …]
A Dpnfs.h55 struct nfsd4_compound_state *cstate, stateid_t *stateid,
60 struct nfsd4_compound_state *cstate,
63 struct nfsd4_compound_state *cstate,
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dbase.c119 if (!pstate || !cstate) in nvkm_cstate_find_best()
123 return cstate; in nvkm_cstate_find_best()
141 return cstate; in nvkm_cstate_find_best()
153 return cstate; in nvkm_cstate_get()
171 cstate = nvkm_cstate_find_best(clk, pstate, cstate); in nvkm_cstate_prog()
173 cstate = &pstate->base; in nvkm_cstate_prog()
219 kfree(cstate); in nvkm_cstate_del()
240 cstate = kzalloc(sizeof(*cstate), GFP_KERNEL); in nvkm_cstate_new()
241 if (!cstate) in nvkm_cstate_new()
244 *cstate = pstate->base; in nvkm_cstate_new()
[all …]
A Dgf100.c277 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()
336 (ret = calc_clk(clk, cstate, 0x0c, nv_clk_src_pmu)) || in gf100_clk_calc()
[all …]
A Dgt215.c274 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 …]
A Dgk104.c288 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/tools/power/cpupower/utils/
A Dcpuidle-info.c100 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/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_crtc.c764 struct dpu_crtc_state *cstate; in dpu_crtc_atomic_flush() local
829 kfree(cstate); in dpu_crtc_destroy_state()
898 struct dpu_crtc_state *cstate = kzalloc(sizeof(*cstate), GFP_KERNEL); in dpu_crtc_reset() local
915 if (!cstate) { in dpu_crtc_duplicate_state()
923 return &cstate->base; in dpu_crtc_duplicate_state()
975 memset(cstate->mixers, 0, sizeof(cstate->mixers)); in dpu_crtc_disable()
976 cstate->num_mixers = 0; in dpu_crtc_disable()
979 cstate->bw_control = false; in dpu_crtc_disable()
1061 memset(&cstate->new_perf, 0, sizeof(cstate->new_perf)); in dpu_crtc_atomic_check()
1074 if (cstate->num_mixers) { in dpu_crtc_atomic_check()
[all …]
/linux/samples/bpf/
A Dcpustat_kern.c106 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()
A Dcpustat_user.c34 unsigned long cstate[MAX_CSTATE_ENTRIES]; member
70 printf("%-11ld ", data->cstate[i] / 1000000); in cpu_stat_print()
88 stat_data[c].cstate[i] = value; in cpu_stat_update()
/linux/net/netfilter/
A Dnf_conntrack_pptp.c326 info->cstate = PPTP_CALL_OUT_CONF; in pptp_inbound_pkt()
330 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
340 info->cstate = PPTP_CALL_IN_REQ; in pptp_inbound_pkt()
359 info->cstate = PPTP_CALL_IN_CONF; in pptp_inbound_pkt()
369 info->cstate = PPTP_CALL_NONE; in pptp_inbound_pkt()
434 info->cstate = PPTP_CALL_OUT_REQ; in pptp_outbound_pkt()
444 info->cstate != PPTP_CALL_IN_REP) in pptp_outbound_pkt()
456 info->cstate = PPTP_CALL_IN_REP; in pptp_outbound_pkt()
459 info->cstate = PPTP_CALL_NONE; in pptp_outbound_pkt()
469 info->cstate = PPTP_CALL_CLEAR_REQ; in pptp_outbound_pkt()
[all …]
/linux/drivers/idle/
A Dintel_idle.c1185 if (cstate + 1 > max_cstate) { in intel_idle_max_cstate_reached()
1227 int cstate, limit; in intel_idle_cst_usable() local
1232 for (cstate = 1; cstate < limit; cstate++) { in intel_idle_cst_usable()
1284 for (cstate = 1; cstate < limit; cstate++) { in intel_idle_init_cstates_acpi()
1291 cx = &acpi_state_table.states[cstate]; in intel_idle_init_cstates_acpi()
1315 if (disabled_states_mask & BIT(cstate)) in intel_idle_init_cstates_acpi()
1328 int cstate, limit; in intel_idle_off_by_default() local
1342 for (cstate = 1; cstate < limit; cstate++) { in intel_idle_off_by_default()
1544 int cstate; in intel_idle_init_cstates_icpu() local
1562 for (cstate = 0; cstate < CPUIDLE_STATE_MAX; ++cstate) { in intel_idle_init_cstates_icpu()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_trace_event.h88 TP_PROTO(int cstate),
90 TP_ARGS(cstate),
93 __field(int, cstate)
97 __entry->cstate = cstate;
100 TP_printk("cstate=%d", __entry->cstate)
/linux/include/net/
A Dslhc_vj.h128 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/drivers/gpu/drm/tidss/
A Dtidss_kms.c60 struct drm_crtc_state *cstate; in tidss_atomic_check() local
84 cstate = drm_atomic_get_crtc_state(state, in tidss_atomic_check()
86 if (IS_ERR(cstate)) in tidss_atomic_check()
87 return PTR_ERR(cstate); in tidss_atomic_check()
88 to_tidss_crtc_state(cstate)->plane_pos_changed = true; in tidss_atomic_check()
92 for_each_new_crtc_in_state(state, crtc, cstate, i) { in tidss_atomic_check()
93 if (to_tidss_crtc_state(cstate)->plane_pos_changed || in tidss_atomic_check()
94 cstate->zpos_changed) { in tidss_atomic_check()
/linux/arch/x86/events/intel/
A DMakefile7 obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o
8 intel-cstate-objs := cstate.o
/linux/drivers/pwm/
A Dpwm-stm32-lp.c39 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()
A Dpwm-atmel.c298 struct pwm_state cstate; in atmel_pwm_apply() local
303 pwm_get_state(pwm, &cstate); in atmel_pwm_apply()
308 if (cstate.enabled && in atmel_pwm_apply()
309 cstate.polarity == state->polarity && in atmel_pwm_apply()
310 cstate.period == state->period) { in atmel_pwm_apply()
332 if (cstate.enabled) { in atmel_pwm_apply()
352 } else if (cstate.enabled) { in atmel_pwm_apply()
/linux/drivers/gpu/drm/tve200/
A Dtve200_display.c72 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/drivers/net/slip/
A Dslhc.c95 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()
646 struct cstate *cs; in slhc_remember()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Dctrl.c76 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()

Completed in 70 milliseconds

1234