Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/net/ethernet/ti/
Dnetcp_xgbepcsr.c316 u32 *current_state, u32 *lane_down) in netcp_xgbe_check_link_status() argument
339 switch (current_state[i]) { in netcp_xgbe_check_link_status()
346 current_state[i] = 1; in netcp_xgbe_check_link_status()
359 current_state[i] = 2; in netcp_xgbe_check_link_status()
366 current_state[i] = 1; in netcp_xgbe_check_link_status()
373 current_state[i] = 0; in netcp_xgbe_check_link_status()
379 i, current_state[i]); in netcp_xgbe_check_link_status()
392 status &= (current_state[i] == 1); in netcp_xgbe_check_link_status()
401 u32 current_state[2] = {0, 0}; in netcp_xgbe_serdes_check_lane() local
410 current_state, in netcp_xgbe_serdes_check_lane()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc.c200 struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_adjust_vmin_vmax()
227 &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crtc_position()
260 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_configure_crc()
309 pipe = &dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_get_crc()
334 if (link->dc->current_state->res_ctx.pipe_ctx[i].stream == in dc_stream_set_dither_option()
336 pipes = &link->dc->current_state->res_ctx.pipe_ctx[i]; in dc_stream_set_dither_option()
378 if (dc->current_state->res_ctx.pipe_ctx[j].stream in dc_stream_set_static_screen_events()
381 &dc->current_state->res_ctx.pipe_ctx[j]; in dc_stream_set_static_screen_events()
426 link->dc->current_state->res_ctx.pipe_ctx[0].stream; in dc_link_set_preferred_link_settings()
465 dc_release_state(dc->current_state); in destruct()
[all …]
Ddc_stream.c165 for (i = 0; i < dc->current_state->stream_count; i++) { in dc_stream_get_status()
166 if (stream == dc->current_state->streams[i]) in dc_stream_get_status()
167 return &dc->current_state->stream_status[i]; in dc_stream_get_status()
200 res_ctx = &core_dc->current_state->res_ctx; in dc_stream_set_cursor_attributes()
247 res_ctx = &core_dc->current_state->res_ctx; in dc_stream_set_cursor_position()
279 &core_dc->current_state->res_ctx; in dc_stream_get_vblank_counter()
303 &core_dc->current_state->res_ctx; in dc_stream_get_scanoutpos()
Ddc_surface.c115 if (core_dc->current_state == NULL) in dc_plane_get_status()
120 &core_dc->current_state->res_ctx.pipe_ctx[i]; in dc_plane_get_status()
Ddc_link_hwss.c63 link->dc->current_state->res_ctx.pipe_ctx; in dp_enable_link_phy()
275 &link->dc->current_state->res_ctx.pipe_ctx[0]; in dp_retrain_link_dp_test()
/Linux-v4.19/sound/usb/
Dpower.c55 unsigned char current_state; in snd_usb_power_domain_set() local
64 &current_state, sizeof(current_state)); in snd_usb_power_domain_set()
71 if (current_state == state) { in snd_usb_power_domain_set()
88 switch (current_state) { in snd_usb_power_domain_set()
/Linux-v4.19/drivers/pci/
Dpci-driver.c458 if (pci_dev->current_state == PCI_D0) in pci_device_remove()
459 pci_dev->current_state = PCI_UNKNOWN; in pci_device_remove()
491 if (kexec_in_progress && (pci_dev->current_state <= PCI_D3hot)) in pci_device_shutdown()
507 if (pci_dev->current_state != PCI_D0) { in pci_restore_standard_config()
540 if (pci_dev->current_state == PCI_D0) in pci_pm_set_unknown_state()
541 pci_dev->current_state = PCI_UNKNOWN; in pci_pm_set_unknown_state()
570 pci_power_t prev = pci_dev->current_state; in pci_legacy_suspend()
578 if (!pci_dev->state_saved && pci_dev->current_state != PCI_D0 in pci_legacy_suspend()
579 && pci_dev->current_state != PCI_UNKNOWN) { in pci_legacy_suspend()
580 WARN_ONCE(pci_dev->current_state != prev, in pci_legacy_suspend()
[all …]
Dpci.c813 if (dev->current_state == state) in pci_raw_set_power_state()
826 if (state != PCI_D0 && dev->current_state <= PCI_D3cold in pci_raw_set_power_state()
827 && dev->current_state > state) { in pci_raw_set_power_state()
829 dev->current_state, state); in pci_raw_set_power_state()
844 switch (dev->current_state) { in pci_raw_set_power_state()
868 if (state == PCI_D3hot || dev->current_state == PCI_D3hot) in pci_raw_set_power_state()
870 else if (state == PCI_D2 || dev->current_state == PCI_D2) in pci_raw_set_power_state()
874 dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK); in pci_raw_set_power_state()
875 if (dev->current_state != state && printk_ratelimit()) in pci_raw_set_power_state()
877 dev->current_state); in pci_raw_set_power_state()
[all …]
/Linux-v4.19/include/linux/soc/ti/
Dti_sci_protocol.h108 bool *req_state, bool *current_state);
110 bool *req_state, bool *current_state);
112 bool *current_state);
177 bool *req_state, bool *current_state);
179 bool *req_state, bool *current_state);
/Linux-v4.19/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-v4.19/drivers/net/wireless/broadcom/b43/
Dlo.c568 int current_state; member
604 if (d->current_state == 0) { in lo_probe_possible_loctls()
607 } else if (d->current_state % 2 == 0) { in lo_probe_possible_loctls()
608 begin = d->current_state - 1; in lo_probe_possible_loctls()
609 end = d->current_state + 1; in lo_probe_possible_loctls()
611 begin = d->current_state - 2; in lo_probe_possible_loctls()
612 end = d->current_state + 2; in lo_probe_possible_loctls()
621 d->current_state = i; in lo_probe_possible_loctls()
651 d->current_state = i; in lo_probe_possible_loctls()
693 d.current_state = 0; in lo_probe_loctls_statemachine()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c340 dc->current_state->bw.dcn.clk.dcfclk_khz, in dcn10_log_hw_state()
341 dc->current_state->bw.dcn.clk.dcfclk_deep_sleep_khz, in dcn10_log_hw_state()
342 dc->current_state->bw.dcn.clk.dispclk_khz, in dcn10_log_hw_state()
343 dc->current_state->bw.dcn.clk.dppclk_khz, in dcn10_log_hw_state()
344 dc->current_state->bw.dcn.clk.max_supported_dppclk_khz, in dcn10_log_hw_state()
345 dc->current_state->bw.dcn.clk.fclk_khz, in dcn10_log_hw_state()
346 dc->current_state->bw.dcn.clk.socclk_khz); in dcn10_log_hw_state()
609 struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; in false_optc_underflow_wa()
742 if (&dc->current_state->res_ctx.pipe_ctx[i] == pipe_ctx) in reset_back_end_for_pipe()
764 &dc->current_state->res_ctx.pipe_ctx[i]; in dcn10_hw_wa_force_recovery()
[all …]
/Linux-v4.19/drivers/firmware/
Dti_sci.h163 u8 current_state; member
265 u8 current_state; member
Dti_sci.c626 *c_state = resp->current_state; in ti_sci_get_device_state()
977 u8 *programmed_state, u8 *current_state) in ti_sci_cmd_get_clock_state() argument
991 if (!programmed_state && !current_state) in ti_sci_cmd_get_clock_state()
1024 if (current_state) in ti_sci_cmd_get_clock_state()
1025 *current_state = resp->current_state; in ti_sci_cmd_get_clock_state()
/Linux-v4.19/drivers/gpu/drm/radeon/
Drs780_dpm.c380 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_voltage() local
382 if ((current_state->max_voltage == RS780_VDDC_LEVEL_HIGH) && in rs780_force_voltage()
383 (current_state->min_voltage == RS780_VDDC_LEVEL_HIGH)) in rs780_force_voltage()
407 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_fbdiv() local
409 if (current_state->sclk_low == current_state->sclk_high) in rs780_force_fbdiv()
568 struct igp_ps *current_state = rs780_get_ps(old_ps); in rs780_set_uvd_clock_before_set_eng_clock() local
574 if (new_state->sclk_high >= current_state->sclk_high) in rs780_set_uvd_clock_before_set_eng_clock()
585 struct igp_ps *current_state = rs780_get_ps(old_ps); in rs780_set_uvd_clock_after_set_eng_clock() local
591 if (new_state->sclk_high < current_state->sclk_high) in rs780_set_uvd_clock_after_set_eng_clock()
/Linux-v4.19/include/net/
Dllc_c_st.h43 u8 current_state; member
/Linux-v4.19/drivers/video/fbdev/riva/
Drivafb.h52 struct riva_regs current_state; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c997 if (core_dc->current_state->res_ctx.pipe_ctx[i].stream_res.audio != NULL) in dce110_enable_audio_stream()
1036 update_audio_usage(&dc->current_state->res_ctx, dc->res_pool, pipe_ctx->stream_res.audio, false); in dce110_disable_audio_stream()
1286 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in dce110_enable_stream_timing()
1342 struct pipe_ctx *pipe_ctx_old = &dc->current_state->res_ctx. in apply_single_controller_ctx_to_hw()
1535 dc->current_state->res_ctx.pipe_ctx[i].pipe_idx = i; in disable_vga_and_power_gate_all_controllers()
1537 &dc->current_state->res_ctx.pipe_ctx[i]); in disable_vga_and_power_gate_all_controllers()
1886 &dc->current_state->res_ctx.pipe_ctx[i]; in dce110_reset_hw_ctx_wrap()
1915 pipe_ctx_old->plane_res.mi, dc->current_state->stream_count); in dce110_reset_hw_ctx_wrap()
2032 &dc->current_state->res_ctx.pipe_ctx[i]; in dce110_apply_ctx_to_hw()
2057 &dc->current_state->res_ctx.pipe_ctx[i]; in dce110_apply_ctx_to_hw()
[all …]
/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/
Dhbm.c950 static uint32_t current_state; variable
970 current_state |= SUSPEND_STATE_BIT; in ishtp_send_suspend()
972 state_status_msg.states_status = current_state; in ishtp_send_suspend()
996 current_state &= ~SUSPEND_STATE_BIT; in ishtp_send_resume()
998 state_status_msg.states_status = current_state; in ishtp_send_resume()
/Linux-v4.19/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()
Dport.c778 u32 current_state; in port_timeout() local
785 current_state = iport->sm.current_state_id; in port_timeout()
787 if (current_state == SCI_PORT_RESETTING) { in port_timeout()
792 } else if (current_state == SCI_PORT_STOPPED) { in port_timeout()
800 } else if (current_state == SCI_PORT_STOPPING) { in port_timeout()
810 "in state %d.\n", __func__, iport, current_state); in port_timeout()
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_crtc.c628 struct omap_crtc_state *state, *current_state; in omap_crtc_duplicate_state() local
633 current_state = to_omap_crtc_state(crtc->state); in omap_crtc_duplicate_state()
641 state->zpos = current_state->zpos; in omap_crtc_duplicate_state()
642 state->rotation = current_state->rotation; in omap_crtc_duplicate_state()
/Linux-v4.19/drivers/infiniband/hw/qib/
Dqib_sdma.c201 ss->previous_state = ss->current_state; in sdma_set_state()
204 ss->current_state = next_state; in sdma_set_state()
763 if (ppd->sdma_state.current_state == qib_sdma_state_s99_running) in qib_sdma_process_event()
774 switch (ss->current_state) { in __qib_sdma_process_event()
/Linux-v4.19/net/llc/
Dllc_c_st.c4899 .current_state = LLC_CONN_STATE_ADM,
4903 .current_state = LLC_CONN_STATE_SETUP,
4907 .current_state = LLC_CONN_STATE_NORMAL,
4911 .current_state = LLC_CONN_STATE_BUSY,
4915 .current_state = LLC_CONN_STATE_REJ,
4919 .current_state = LLC_CONN_STATE_AWAIT,
4923 .current_state = LLC_CONN_STATE_AWAIT_BUSY,
4927 .current_state = LLC_CONN_STATE_AWAIT_REJ,
4931 .current_state = LLC_CONN_STATE_D_CONN,
4935 .current_state = LLC_CONN_STATE_RESET,
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dhotplug-cpu.c49 static DEFINE_PER_CPU(enum cpu_state_vals, current_state) = CPU_STATE_OFFLINE;
67 return per_cpu(current_state, cpu); in get_cpu_current_state()
72 per_cpu(current_state, cpu) = state; in set_cpu_current_state()

1234