/linux-6.1.9/drivers/gpu/vga/ |
D | vga_switcheroo.c | 116 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/ |
D | rn_clk_mgr.c | 93 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/ |
D | dcn31_clk_mgr.c | 160 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/ |
D | vg_clk_mgr.c | 116 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/ |
D | dcn316_clk_mgr.c | 170 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/ |
D | amdgpu_dm_trace.h | 504 __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/ |
D | dcn315_clk_mgr.c | 135 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/ |
D | dcn314_clk_mgr.c | 191 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/ |
D | sdhci-msm.c | 1597 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/ |
D | amdgpu_dpm.c | 75 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/ |
D | realtek_cr.c | 105 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/ |
D | wl3501_cs.c | 1804 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/ |
D | cec-funcs.h | 1367 __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/ |
D | hdac_hdmi.c | 733 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/ |
D | phy-cadence-torrent.c | 1307 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/ |
D | amdgpu_dpm.h | 352 atomic_t pwr_state[AMD_IP_BLOCK_TYPE_NUM]; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 518 enum dcn_pwr_state pwr_state; member
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 3646 atomic_set(&adev->pm.pwr_state[i], POWER_STATE_UNKNOWN); in amdgpu_device_init()
|