Searched refs:pwr_state (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/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-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/ |
D | dcn31_clk_mgr.c | 153 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in dcn31_update_clocks() 162 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in dcn31_update_clocks() 178 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in dcn31_update_clocks() 182 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in dcn31_update_clocks() 288 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in dcn31_init_clocks()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/ |
D | rn_clk_mgr.c | 98 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_set_low_power_state() 149 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in rn_update_clocks() 156 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_update_clocks() 161 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in rn_update_clocks() 164 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in rn_update_clocks() 456 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in rn_init_clocks()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/ |
D | vg_clk_mgr.c | 113 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in vg_update_clocks() 125 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in vg_update_clocks() 130 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in vg_update_clocks() 135 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in vg_update_clocks() 395 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in vg_init_clocks()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 503 __field(int, pwr_state) 521 __entry->pwr_state = clk->pwr_state; 546 __entry->pwr_state,
|
/Linux-v5.15/drivers/mmc/host/ |
D | sdhci-msm.c | 1596 u32 pwr_state = 0, io_level = 0; in sdhci_msm_handle_pwr_irq() local 1631 pwr_state = REQ_BUS_ON; in sdhci_msm_handle_pwr_irq() 1635 pwr_state = REQ_BUS_OFF; in sdhci_msm_handle_pwr_irq() 1639 if (pwr_state) { in sdhci_msm_handle_pwr_irq() 1643 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq() 1646 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq() 1663 if (io_level && !IS_ERR(mmc->supply.vqmmc) && !pwr_state) { in sdhci_msm_handle_pwr_irq() 1715 if (pwr_state) in sdhci_msm_handle_pwr_irq() 1716 msm_host->curr_pwr_state = pwr_state; in sdhci_msm_handle_pwr_irq()
|
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/phy/cadence/ |
D | phy-cadence-torrent.c | 1276 u32 pwr_state = cdns_torrent_dp_read(regmap, in cdns_torrent_dp_set_a0_pll() local 1282 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll() 1288 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll() 1295 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll() 1297 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll() 1303 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_POWER_STATE_REQ, pwr_state); in cdns_torrent_dp_set_a0_pll()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
D | dc.h | 386 enum dcn_pwr_state pwr_state; member
|