Home
last modified time | relevance | path

Searched refs:pwr_state (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/gpu/vga/
Dvga_switcheroo.c116 enum vga_switcheroo_state pwr_state; member
304 client->pwr_state = VGA_SWITCHEROO_ON; in register_client()
464 return client->pwr_state; in vga_switcheroo_pwr_state()
680 client->pwr_state = VGA_SWITCHEROO_ON; in vga_switchon()
692 client->pwr_state = VGA_SWITCHEROO_OFF; in vga_switchoff()
806 if (client->pwr_state == VGA_SWITCHEROO_ON) in vga_switcheroo_debugfs_write()
818 if (client->pwr_state == VGA_SWITCHEROO_OFF) in vga_switcheroo_debugfs_write()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c93 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in rn_set_low_power_state()
101 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_set_low_power_state()
154 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in rn_update_clocks()
162 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_update_clocks()
167 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in rn_update_clocks()
170 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in rn_update_clocks()
451 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in rn_init_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c160 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn31_update_clocks()
170 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn31_update_clocks()
187 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in dcn31_update_clocks()
191 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in dcn31_update_clocks()
303 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in dcn31_init_clocks()
634 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn31_set_low_power_state()
645 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn31_set_low_power_state()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c116 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in vg_update_clocks()
128 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in vg_update_clocks()
133 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in vg_update_clocks()
138 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in vg_update_clocks()
385 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in vg_init_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
Ddcn316_clk_mgr.c170 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn316_update_clocks()
180 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn316_update_clocks()
190 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in dcn316_update_clocks()
194 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in dcn316_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h504 __field(int, pwr_state)
522 __entry->pwr_state = clk->pwr_state;
547 __entry->pwr_state,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
Ddcn315_clk_mgr.c135 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn315_update_clocks()
145 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn315_update_clocks()
150 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in dcn315_update_clocks()
154 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in dcn315_update_clocks()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
Ddcn314_clk_mgr.c191 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn314_update_clocks()
201 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn314_update_clocks()
218 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in dcn314_update_clocks()
223 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in dcn314_update_clocks()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-msm.c1597 u32 pwr_state = 0, io_level = 0; in sdhci_msm_handle_pwr_irq() local
1632 pwr_state = REQ_BUS_ON; in sdhci_msm_handle_pwr_irq()
1636 pwr_state = REQ_BUS_OFF; in sdhci_msm_handle_pwr_irq()
1640 if (pwr_state) { in sdhci_msm_handle_pwr_irq()
1644 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq()
1647 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq()
1664 if (io_level && !IS_ERR(mmc->supply.vqmmc) && !pwr_state) { in sdhci_msm_handle_pwr_irq()
1716 if (pwr_state) in sdhci_msm_handle_pwr_irq()
1717 msm_host->curr_pwr_state = pwr_state; in sdhci_msm_handle_pwr_irq()
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c75 enum ip_power_state pwr_state = gate ? POWER_STATE_OFF : POWER_STATE_ON; in amdgpu_dpm_set_powergating_by_smu()
77 if (atomic_read(&adev->pm.pwr_state[block_type]) == pwr_state) { in amdgpu_dpm_set_powergating_by_smu()
103 atomic_set(&adev->pm.pwr_state[block_type], pwr_state); in amdgpu_dpm_set_powergating_by_smu()
/linux-6.1.9/drivers/usb/storage/
Drealtek_cr.c105 int pwr_state; member
823 (chip->pwr_state == US_SUSPEND)) { in rts51x_invoke_transport()
883 chip->pwr_state = US_RESUME; in realtek_cr_autosuspend_setup()
/linux-6.1.9/drivers/net/wireless/
Dwl3501_cs.c1804 u8 pwr_state; in wl3501_get_power() local
1808 &pwr_state, sizeof(pwr_state)); in wl3501_get_power()
1811 wrqu->power.disabled = !pwr_state; in wl3501_get_power()
/linux-6.1.9/include/uapi/linux/
Dcec-funcs.h1367 __u8 pwr_state) in cec_msg_report_power_status() argument
1371 msg->msg[2] = pwr_state; in cec_msg_report_power_status()
1375 __u8 *pwr_state) in cec_ops_report_power_status() argument
1377 *pwr_state = msg->msg[2]; in cec_ops_report_power_status()
/linux-6.1.9/sound/soc/codecs/
Dhdac_hdmi.c733 hda_nid_t nid, unsigned int pwr_state) in hdac_hdmi_set_power_state() argument
739 if (!snd_hdac_check_power_state(hdev, nid, pwr_state)) { in hdac_hdmi_set_power_state()
743 pwr_state); in hdac_hdmi_set_power_state()
745 nid, pwr_state); in hdac_hdmi_set_power_state()
/linux-6.1.9/drivers/phy/cadence/
Dphy-cadence-torrent.c1307 u32 pwr_state = cdns_torrent_dp_read(regmap, in cdns_torrent_dp_set_a0_pll() local
1313 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
1319 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
1326 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
1328 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
1334 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_POWER_STATE_REQ, pwr_state); in cdns_torrent_dp_set_a0_pll()
/linux-6.1.9/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h352 atomic_t pwr_state[AMD_IP_BLOCK_TYPE_NUM]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc.h518 enum dcn_pwr_state pwr_state; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_device.c3646 atomic_set(&adev->pm.pwr_state[i], POWER_STATE_UNKNOWN); in amdgpu_device_init()