Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 25 of 124) sorted by relevance

12345

/OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/
H A Dme_status.c169 debug("%s", me_progress_rom_values[gmes->current_state]); in _intel_me_status()
173 if (gmes->current_state < ARRAY_SIZE(me_progress_bup_values) && in _intel_me_status()
174 me_progress_bup_values[gmes->current_state]) in _intel_me_status()
176 me_progress_bup_values[gmes->current_state]); in _intel_me_status()
178 debug("0x%02x", gmes->current_state); in _intel_me_status()
182 if (gmes->current_state < in _intel_me_status()
184 me_progress_policy_values[gmes->current_state]) in _intel_me_status()
186 me_progress_policy_values[gmes->current_state]); in _intel_me_status()
188 debug("0x%02x", gmes->current_state); in _intel_me_status()
192 if (!gmes->current_state) in _intel_me_status()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c294 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_adjust_vmin_vmax()
322 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crtc_position()
355 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_configure_crc()
407 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crc()
431 if (dc->current_state->res_ctx.pipe_ctx[i].stream in dc_stream_set_dyn_expansion()
433 pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dyn_expansion()
453 if (link->dc->current_state->res_ctx.pipe_ctx[i].stream == in dc_stream_set_dither_option()
455 pipes = &link->dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dither_option()
490 if (dc->current_state->res_ctx.pipe_ctx[i].stream == stream) { in dc_stream_set_gamut_remap()
491 pipes = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_gamut_remap()
[all …]
H A Ddc_stream.c243 return dc_stream_get_status_from_state(dc->current_state, stream); in dc_stream_get_status()
294 res_ctx = &dc->current_state->res_ctx; in dc_stream_set_cursor_attributes()
357 res_ctx = &dc->current_state->res_ctx; in dc_stream_set_cursor_position()
448 if (!dc->hwss.update_bandwidth(dc, dc->current_state)) { in dc_stream_add_writeback()
459 dc->hwss.update_writeback(dc, wb_info, dc->current_state); in dc_stream_add_writeback()
462 dc->hwss.enable_writeback(dc, wb_info, dc->current_state); in dc_stream_add_writeback()
506 if (!dc->hwss.update_bandwidth(dc, dc->current_state)) { in dc_stream_remove_writeback()
532 &dc->current_state->res_ctx; in dc_stream_get_vblank_counter()
560 res_ctx = &dc->current_state->res_ctx; in dc_stream_send_dp_sdp()
591 &dc->current_state->res_ctx; in dc_stream_get_scanoutpos()
[all …]
H A Ddc_surface.c146 if (dc->current_state == NULL) in dc_plane_get_status()
152 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
164 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dnetcp_xgbepcsr.c309 u32 *current_state, u32 *lane_down) in netcp_xgbe_check_link_status() argument
332 switch (current_state[i]) { in netcp_xgbe_check_link_status()
339 current_state[i] = 1; in netcp_xgbe_check_link_status()
352 current_state[i] = 2; in netcp_xgbe_check_link_status()
359 current_state[i] = 1; in netcp_xgbe_check_link_status()
366 current_state[i] = 0; in netcp_xgbe_check_link_status()
372 i, current_state[i]); in netcp_xgbe_check_link_status()
385 status &= (current_state[i] == 1); in netcp_xgbe_check_link_status()
394 u32 current_state[2] = {0, 0}; in netcp_xgbe_serdes_check_lane() local
403 current_state, in netcp_xgbe_serdes_check_lane()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dpci-driver.c465 if (pci_dev->current_state == PCI_D0) in pci_device_remove()
466 pci_dev->current_state = PCI_UNKNOWN; in pci_device_remove()
498 if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot)) in pci_device_shutdown()
514 if (pci_dev->current_state != PCI_D0) { in pci_restore_standard_config()
553 if (pci_dev->current_state == PCI_D0) in pci_pm_set_unknown_state()
554 pci_dev->current_state = PCI_UNKNOWN; in pci_pm_set_unknown_state()
583 pci_power_t prev = pci_dev->current_state; in pci_legacy_suspend()
591 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_legacy_suspend()
592 && pci_dev->current_state != PCI_UNKNOWN) { in pci_legacy_suspend()
593 pci_WARN_ONCE(pci_dev, pci_dev->current_state != prev, in pci_legacy_suspend()
[all …]
H A Dpci.c1018 if (dev->current_state == state) in pci_raw_set_power_state()
1033 if (state != PCI_D0 && dev->current_state <= PCI_D3cold in pci_raw_set_power_state()
1034 && dev->current_state > state) { in pci_raw_set_power_state()
1036 pci_power_name(dev->current_state), in pci_raw_set_power_state()
1049 pci_power_name(dev->current_state), in pci_raw_set_power_state()
1059 switch (dev->current_state) { in pci_raw_set_power_state()
1085 if (state == PCI_D3hot || dev->current_state == PCI_D3hot) in pci_raw_set_power_state()
1087 else if (state == PCI_D2 || dev->current_state == PCI_D2) in pci_raw_set_power_state()
1091 dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK); in pci_raw_set_power_state()
1092 if (dev->current_state != state) in pci_raw_set_power_state()
[all …]
/OK3568_Linux_fs/u-boot/drivers/remoteproc/
H A Dsandbox_testproc.c33 enum sandbox_state current_state; member
78 if (ddata->current_state == next_state) in sandbox_dev_move_to_state()
81 debug("current_state=%d, next_state=%d\n", ddata->current_state, in sandbox_dev_move_to_state()
83 switch (ddata->current_state) { in sandbox_dev_move_to_state()
113 ddata->current_state = next_state; in sandbox_dev_move_to_state()
269 if (ddata->current_state == sb_running) in sandbox_testproc_is_running()
291 if (ddata->current_state == sb_running) in sandbox_testproc_ping()
/OK3568_Linux_fs/kernel/sound/usb/
H A Dpower.c57 unsigned char current_state; in snd_usb_power_domain_set() local
66 &current_state, sizeof(current_state)); in snd_usb_power_domain_set()
73 if (current_state == state) { in snd_usb_power_domain_set()
90 switch (current_state) { in snd_usb_power_domain_set()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp.h409 static inline uint8_t current_state(struct mod_hdcp *hdcp) in current_state() function
427 return (current_state(hdcp) > HDCP1_STATE_START && in is_in_hdcp1_states()
428 current_state(hdcp) <= HDCP1_STATE_END); in is_in_hdcp1_states()
433 return (current_state(hdcp) > HDCP1_DP_STATE_START && in is_in_hdcp1_dp_states()
434 current_state(hdcp) <= HDCP1_DP_STATE_END); in is_in_hdcp1_dp_states()
439 return (current_state(hdcp) > HDCP2_STATE_START && in is_in_hdcp2_states()
440 current_state(hdcp) <= HDCP2_STATE_END); in is_in_hdcp2_states()
445 return (current_state(hdcp) > HDCP2_DP_STATE_START && in is_in_hdcp2_dp_states()
446 current_state(hdcp) <= HDCP2_DP_STATE_END); in is_in_hdcp2_dp_states()
461 return current_state(hdcp) == HDCP_CP_NOT_DESIRED; in is_in_cp_not_desired_state()
[all …]
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dcpuidle_cooling.c130 unsigned long current_state = idle_cdev->state; in cpuidle_cooling_set_cur_state() local
141 if (current_state == 0 && state > 0) { in cpuidle_cooling_set_cur_state()
143 } else if (current_state > 0 && !state) { in cpuidle_cooling_set_cur_state()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/
H A Dlo.c555 int current_state; member
591 if (d->current_state == 0) { in lo_probe_possible_loctls()
594 } else if (d->current_state % 2 == 0) { in lo_probe_possible_loctls()
595 begin = d->current_state - 1; in lo_probe_possible_loctls()
596 end = d->current_state + 1; in lo_probe_possible_loctls()
598 begin = d->current_state - 2; in lo_probe_possible_loctls()
599 end = d->current_state + 2; in lo_probe_possible_loctls()
608 d->current_state = i; in lo_probe_possible_loctls()
638 d->current_state = i; in lo_probe_possible_loctls()
680 d.current_state = 0; in lo_probe_loctls_statemachine()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Dacconvert.h36 cv_process_comment(struct asl_comment_state current_state,
40 cv_process_comment_type2(struct asl_comment_state current_state,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer_debug.c432 …pix_clk = dc->current_state->res_ctx.pipe_ctx[i].stream_res.pix_clk_params.requested_pix_clk_100hz… in dcn10_get_otg_states()
475 dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_khz, in dcn10_get_clock_states()
476 dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz, in dcn10_get_clock_states()
477 dc->current_state->bw_ctx.bw.dcn.clk.dispclk_khz, in dcn10_get_clock_states()
478 dc->current_state->bw_ctx.bw.dcn.clk.dppclk_khz, in dcn10_get_clock_states()
479 dc->current_state->bw_ctx.bw.dcn.clk.fclk_khz, in dcn10_get_clock_states()
480 dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz); in dcn10_get_clock_states()
H A Ddcn10_hw_sequencer.c452 dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_khz, in dcn10_log_hw_state()
453 dc->current_state->bw_ctx.bw.dcn.clk.dcfclk_deep_sleep_khz, in dcn10_log_hw_state()
454 dc->current_state->bw_ctx.bw.dcn.clk.dispclk_khz, in dcn10_log_hw_state()
455 dc->current_state->bw_ctx.bw.dcn.clk.dppclk_khz, in dcn10_log_hw_state()
456 dc->current_state->bw_ctx.bw.dcn.clk.max_supported_dppclk_khz, in dcn10_log_hw_state()
457 dc->current_state->bw_ctx.bw.dcn.clk.fclk_khz, in dcn10_log_hw_state()
458 dc->current_state->bw_ctx.bw.dcn.clk.socclk_khz); in dcn10_log_hw_state()
767 struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in false_optc_underflow_wa()
909 update_audio_usage(&dc->current_state->res_ctx, dc->res_pool, in dcn10_reset_back_end_for_pipe()
934 if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx) in dcn10_reset_back_end_for_pipe()
[all …]
/OK3568_Linux_fs/kernel/include/linux/soc/ti/
H A Dti_sci_protocol.h111 bool *req_state, bool *current_state);
113 bool *req_state, bool *current_state);
115 bool *current_state);
180 bool *req_state, bool *current_state);
182 bool *req_state, bool *current_state);
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dintel_atomisp2_pm.c104 pdev->current_state = PCI_D3cold; in isp_pci_suspend()
115 pdev->current_state = PCI_D0; in isp_pci_resume()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Drs780_dpm.c381 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_voltage() local
383 if ((current_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_force_voltage()
384 (current_state->min_voltage == RS780_VDDC_LEVEL_HIGH)) in rs780_force_voltage()
408 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_fbdiv() local
410 if (current_state->sclk_low == current_state->sclk_high) in rs780_force_fbdiv()
569 struct igp_ps *current_state = rs780_get_ps(old_ps); in rs780_set_uvd_clock_before_set_eng_clock() local
575 if (new_state->sclk_high >= current_state->sclk_high) in rs780_set_uvd_clock_before_set_eng_clock()
586 struct igp_ps *current_state = rs780_get_ps(old_ps); in rs780_set_uvd_clock_after_set_eng_clock() local
592 if (new_state->sclk_high < current_state->sclk_high) in rs780_set_uvd_clock_after_set_eng_clock()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c360 struct tidss_crtc_state *state, *current_state; in tidss_crtc_duplicate_state() local
365 current_state = to_tidss_crtc_state(crtc->state); in tidss_crtc_duplicate_state()
375 state->bus_format = current_state->bus_format; in tidss_crtc_duplicate_state()
376 state->bus_flags = current_state->bus_flags; in tidss_crtc_duplicate_state()
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/package_manager/rpm/
H A D__init__.py282 current_state = "initial"
293 current_state = "dependencies"
295 current_state = "recommendations"
297 current_state = "initial"
300 if current_state == "dependencies":
302 elif current_state == "recommendations":
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A Dclk_mgr.c94 dc->hwss.exit_optimized_pwr_state(dc, dc->current_state); in clk_mgr_exit_optimized_pwr_state()
111 dc->hwss.optimize_pwr_state(dc, dc->current_state); in clk_mgr_optimize_pwr_state()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1192 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_read()
1290 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_write()
1348 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_read()
1444 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_write()
1502 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_read()
1598 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_write()
1652 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_read()
1745 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_write()
1797 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_width_read()
1854 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_height_read()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/blueman/blueman/
H A D0002-fix-fail-to-enable-bluetooth.patch62 return self.current_state
69 if value and not self.current_state:
/OK3568_Linux_fs/kernel/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.c916 static uint32_t current_state; variable
936 current_state |= SUSPEND_STATE_BIT; in ishtp_send_suspend()
938 state_status_msg.states_status = current_state; in ishtp_send_suspend()
962 current_state &= ~SUSPEND_STATE_BIT; in ishtp_send_resume()
964 state_status_msg.states_status = current_state; in ishtp_send_resume()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c716 struct omap_crtc_state *state, *current_state; in omap_crtc_duplicate_state() local
721 current_state = to_omap_crtc_state(crtc->state); in omap_crtc_duplicate_state()
729 state->zpos = current_state->zpos; in omap_crtc_duplicate_state()
730 state->rotation = current_state->rotation; in omap_crtc_duplicate_state()
731 state->manually_updated = current_state->manually_updated; in omap_crtc_duplicate_state()

12345