Home
last modified time | relevance | path

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

12345

/Linux-v5.10/drivers/net/ethernet/ti/
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()
/Linux-v5.10/sound/usb/
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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
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 …]
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 …]
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()
/Linux-v5.10/drivers/pci/
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 …]
Dpci.c1011 if (dev->current_state == state) in pci_raw_set_power_state()
1026 if (state != PCI_D0 && dev->current_state <= PCI_D3cold in pci_raw_set_power_state()
1027 && dev->current_state > state) { in pci_raw_set_power_state()
1029 pci_power_name(dev->current_state), in pci_raw_set_power_state()
1042 pci_power_name(dev->current_state), in pci_raw_set_power_state()
1052 switch (dev->current_state) { in pci_raw_set_power_state()
1078 if (state == PCI_D3hot || dev->current_state == PCI_D3hot) in pci_raw_set_power_state()
1080 else if (state == PCI_D2 || dev->current_state == PCI_D2) in pci_raw_set_power_state()
1084 dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK); in pci_raw_set_power_state()
1085 if (dev->current_state != state) in pci_raw_set_power_state()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/hdcp/
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 …]
Dhdcp.c240 if (current_state(hdcp) != HDCP_UNINITIALIZED) { in reset_connection()
337 if (current_state(hdcp) != HDCP_INITIALIZED) in mod_hdcp_add_display()
381 if (current_state(hdcp) != HDCP_UNINITIALIZED) in mod_hdcp_remove_display()
/Linux-v5.10/drivers/thermal/
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()
/Linux-v5.10/drivers/acpi/acpica/
Dacconvert.h36 cv_process_comment(struct asl_comment_state current_state,
40 cv_process_comment_type2(struct asl_comment_state current_state,
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
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 …]
/Linux-v5.10/drivers/platform/x86/
Dintel_atomisp2_pm.c104 pdev->current_state = PCI_D3cold; in isp_pci_suspend()
115 pdev->current_state = PCI_D0; in isp_pci_resume()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/
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()
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()
762 struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in false_optc_underflow_wa()
904 update_audio_usage(&dc->current_state->res_ctx, dc->res_pool, in dcn10_reset_back_end_for_pipe()
929 if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx) in dcn10_reset_back_end_for_pipe()
[all …]
/Linux-v5.10/include/linux/soc/ti/
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);
/Linux-v5.10/drivers/gpu/drm/radeon/
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()
/Linux-v5.10/drivers/gpu/drm/tidss/
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()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/
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()
/Linux-v5.10/include/net/
Dllc_c_st.h43 u8 current_state; member
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c1191 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_read()
1289 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_clock_en_write()
1347 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_read()
1443 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_width_write()
1501 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_read()
1597 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_slice_height_write()
1651 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_read()
1744 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_bits_per_pixel_write()
1796 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_width_read()
1853 pipe_ctx = &aconnector->dc_link->dc->current_state->res_ctx.pipe_ctx[i]; in dp_dsc_pic_height_read()
[all …]
/Linux-v5.10/drivers/hid/intel-ish-hid/ishtp/
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()
/Linux-v5.10/drivers/video/fbdev/riva/
Drivafb.h52 struct riva_regs current_state; member
/Linux-v5.10/drivers/gpu/drm/omapdrm/
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()
/Linux-v5.10/drivers/scsi/isci/
Dremote_node_context.c87 u32 current_state = sci_rnc->sm.current_state_id; in sci_remote_node_context_is_ready() local
89 if (current_state == SCI_RNC_READY) { in sci_remote_node_context_is_ready()
98 u32 current_state = sci_rnc->sm.current_state_id; in sci_remote_node_context_is_suspended() local
100 if (current_state == SCI_RNC_TX_RX_SUSPENDED) in sci_remote_node_context_is_suspended()

12345