Searched refs:cstate (Results 1 - 25 of 76) sorted by path

1234

/linux-master/fs/nfsd/
H A Dcurrent_stateid.h8 extern void clear_current_stateid(struct nfsd4_compound_state *cstate);
/linux-master/include/net/
H A Dslhc_vj.h128 struct cstate { struct
131 struct cstate *next; /* next in ring (xmit) */
138 #define NULLSLSTATE (struct cstate *)0
144 struct cstate *tstate; /* transmit connection states (array)*/
145 struct cstate *rstate; /* receive connection states (array)*/
/linux-master/arch/x86/events/intel/
H A DMakefile7 obj-$(CONFIG_PERF_EVENTS_INTEL_CSTATE) += intel-cstate.o
8 intel-cstate-objs := cstate.o
/linux-master/arch/x86/kernel/acpi/
H A DMakefile9 obj-y += cstate.o
/linux-master/drivers/acpi/
H A Dprocessor_idle.c174 struct acpi_processor_cx *cstate) { }
561 * @cx: cstate data
173 lapic_timer_check_state(int state, struct acpi_processor *pr, struct acpi_processor_cx *cstate) argument
/linux-master/drivers/block/drbd/
H A Ddrbd_int.h629 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */ member in struct:drbd_connection
642 struct drbd_socket data; /* data/barrier/cstate/parameter packets */
H A Ddrbd_main.c1318 if (connection->cstate < C_WF_REPORT_PARAMS)
1479 || connection->cstate < C_WF_REPORT_PARAMS;
1578 } while (len > 0 /* THINK && device->cstate >= C_CONNECTED*/);
2611 connection->cstate = C_STANDALONE;
2798 device->state.conn = first_connection(resource)->cstate;
H A Ddrbd_nl.c480 if (connection->cstate >= C_WF_REPORT_PARAMS) {
481 drbd_err(connection, "Expected cstate < C_WF_REPORT_PARAMS\n");
494 if (connection->cstate < C_WF_REPORT_PARAMS) {
573 if (connection->cstate < C_WF_REPORT_PARAMS && !test_bit(STATE_SENT, &connection->flags)) {
1235 if (connection->cstate >= C_CONNECTED &&
1357 connection->cstate == C_STANDALONE;
2234 if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 100) {
2440 if (connection->cstate >= C_WF_REPORT_PARAMS && connection->agreed_pro_version >= 100)
2451 if (connection->cstate >= C_WF_REPORT_PARAMS) {
2478 info->conn_connection_state = connection->cstate;
2647 enum drbd_conns cstate; local
[all...]
H A Ddrbd_receiver.c531 t = wait_event_timeout(connection->ping_wait, connection->cstate < C_WF_REPORT_PARAMS, t);
1011 if (connection->cstate <= C_DISCONNECTING)
1123 if (rv < SS_SUCCESS || connection->cstate != C_WF_REPORT_PARAMS) {
4891 drbd_info(device, "unexpected cstate (%s) in receive_bitmap\n",
4936 drbd_err(device, "ASSERT FAILED cstate = %s, expected: WFSyncUUID|WFBitMapT|Behind\n",
5111 if (connection->cstate == C_STANDALONE)
5152 oc = connection->cstate;
6014 connection->cstate < C_WF_REPORT_PARAMS,
H A Ddrbd_state.c115 connection_state_change->cstate[OLD] =
116 connection->cstate;
187 connection_state_change->cstate[NEW] = connection->cstate;
229 OLD_TO_NEW(connection_state_change->cstate);
935 /* While establishing a connection only allow cstate to change.
936 Delay/refuse role changes, detach attach etc... (they do not touch cstate) */
1568 .conn_connection_state = p->cstate[NEW],
1644 HAS_CHANGED(connection_state_change->cstate))
2121 .conn = connection->cstate,
[all...]
H A Ddrbd_state_change.h20 enum drbd_conns cstate[2]; /* drbd9: enum drbd_conn_state */ member in struct:drbd_connection_state_change
H A Ddrbd_worker.c149 if (connection->cstate >= C_WF_REPORT_PARAMS) {
2207 if (w->cb(w, connection->cstate < C_WF_REPORT_PARAMS) == 0)
2209 if (connection->cstate >= C_WF_REPORT_PARAMS)
/linux-master/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c356 uint32_t cstate)
364 ret = pp_funcs->set_df_cstate(pp_handle, cstate);
355 amdgpu_dpm_set_df_cstate(struct amdgpu_device *adev, uint32_t cstate) argument
/linux-master/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_dpm.h427 uint32_t cstate);
/linux-master/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c322 struct drm_connector_state *cstate; local
329 for_each_new_connector_in_state(state->state, connector, cstate, i) {
332 if (!cstate->crtc)
335 supported_fmts = atmel_hlcdc_connector_output_mode(cstate);
/linux-master/drivers/gpu/drm/mcde/
H A Dmcde_display.c161 struct drm_crtc_state *cstate)
163 const struct drm_display_mode *mode = &cstate->mode;
190 cstate->mode_changed = true;
1152 struct drm_crtc_state *cstate,
1159 const struct drm_display_mode *mode = &cstate->mode;
159 mcde_display_check(struct drm_simple_display_pipe *pipe, struct drm_plane_state *pstate, struct drm_crtc_state *cstate) argument
1151 mcde_display_enable(struct drm_simple_display_pipe *pipe, struct drm_crtc_state *cstate, struct drm_plane_state *plane_state) argument
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.c441 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
469 mixer, cstate->num_mixers,
477 mixer, cstate->num_mixers,
484 for (lm_idx = 0; lm_idx < cstate->num_mixers; lm_idx++) {
508 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
509 struct dpu_crtc_mixer *mixer = cstate->mixers;
517 for (i = 0; i < cstate->num_mixers; i++) {
529 for (i = 0; i < cstate->num_mixers; i++) {
717 struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); local
719 u32 crtc_split_width = adj_mode->hdisplay / cstate
761 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
795 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
841 struct dpu_crtc_state *cstate; local
900 struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); local
936 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
984 struct dpu_crtc_state *cstate = kzalloc(sizeof(*cstate), GFP_KERNEL); local
1001 struct dpu_crtc_state *cstate, *old_cstate = to_dpu_crtc_state(crtc->state); local
1018 const struct dpu_crtc_state *cstate = to_dpu_crtc_state(state); local
1035 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); local
1154 dpu_crtc_needs_dirtyfb(struct drm_crtc_state *cstate) argument
1177 struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc_state); local
1276 struct dpu_crtc_state *cstate; local
[all...]
H A Ddpu_encoder.c1104 struct dpu_crtc_state *cstate; local
1170 cstate = to_dpu_crtc_state(crtc_state);
1175 cstate->mixers[i].hw_lm = to_dpu_hw_mixer(hw_lm[i]);
1176 cstate->mixers[i].lm_ctl = to_dpu_hw_ctl(hw_ctl[ctl_idx]);
1177 cstate->mixers[i].hw_dspp = to_dpu_hw_dspp(hw_dspp[i]);
1180 cstate->num_mixers = num_lm;
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_crtc.c662 static bool is_fullscreen(struct drm_crtc_state *cstate, argument
666 ((pstate->crtc_x + pstate->crtc_w) >= cstate->mode.hdisplay) &&
667 ((pstate->crtc_y + pstate->crtc_h) >= cstate->mode.vdisplay);
H A Dmdp5_encoder.c206 struct drm_crtc_state *cstate = encoder->crtc->state; local
208 mdp5_encoder_mode_set(encoder, &cstate->mode, &cstate->adjusted_mode);
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtherm.h68 int cstate; member in struct:nvkm_therm
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dctrl.c76 struct nvkm_cstate *cstate; local
113 list_for_each_entry(cstate, &pstate->list, head) {
114 lo = min(lo, cstate->domain[domain->name]);
115 hi = max(hi, cstate->domain[domain->name]);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c79 nvkm_cstate_valid(struct nvkm_clk *clk, struct nvkm_cstate *cstate, argument
88 u32 freq = cstate->domain[domain->name];
105 voltage = nvkm_volt_map(volt, cstate->voltage, temp);
113 struct nvkm_cstate *cstate)
119 if (!pstate || !cstate)
123 return cstate;
136 list_for_each_entry_from_reverse(cstate, &pstate->list, head) {
137 if (nvkm_cstate_valid(clk, cstate, max_volt, clk->temp))
138 return cstate;
147 struct nvkm_cstate *cstate; local
112 nvkm_cstate_find_best(struct nvkm_clk *clk, struct nvkm_pstate *pstate, struct nvkm_cstate *cstate) argument
166 struct nvkm_cstate *cstate; local
218 nvkm_cstate_del(struct nvkm_cstate *cstate) argument
230 struct nvkm_cstate *cstate = NULL; local
349 struct nvkm_cstate *cstate; local
391 struct nvkm_cstate *cstate, *temp; local
407 struct nvkm_cstate *cstate; local
[all...]
H A Dgf100.c274 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) argument
277 u32 freq = cstate->domain[dom];
294 clk1 = cstate->domain[nv_clk_src_hubk06];
325 gf100_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
330 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) ||
331 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) ||
332 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) ||
333 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) ||
334 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) ||
335 (ret = calc_clk(clk, cstate,
[all...]
H A Dgk104.c288 struct nvkm_cstate *cstate, int idx, int dom)
291 u32 freq = cstate->domain[dom];
308 clk1 = cstate->domain[nv_clk_src_hubk06];
339 gk104_clk_calc(struct nvkm_clk *base, struct nvkm_cstate *cstate) argument
344 if ((ret = calc_clk(clk, cstate, 0x00, nv_clk_src_gpc)) ||
345 (ret = calc_clk(clk, cstate, 0x01, nv_clk_src_rop)) ||
346 (ret = calc_clk(clk, cstate, 0x02, nv_clk_src_hubk07)) ||
347 (ret = calc_clk(clk, cstate, 0x07, nv_clk_src_hubk06)) ||
348 (ret = calc_clk(clk, cstate, 0x08, nv_clk_src_hubk01)) ||
349 (ret = calc_clk(clk, cstate,
287 calc_clk(struct gk104_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) argument
[all...]

Completed in 548 milliseconds

1234