Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c105 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_set_low_power_state()
131 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_LOW_POWER) { in rn_update_clocks()
138 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_LOW_POWER; in rn_update_clocks()
143 if (clk_mgr_base->clks.pwr_state != DCN_PWR_STATE_MISSION_MODE) { in rn_update_clocks()
146 clk_mgr_base->clks.pwr_state = DCN_PWR_STATE_MISSION_MODE; in rn_update_clocks()
422 clk_mgr->clks.pwr_state = DCN_PWR_STATE_UNKNOWN; in rn_init_clocks()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-msm.c1581 u32 pwr_state = 0, io_level = 0; in sdhci_msm_handle_pwr_irq() local
1616 pwr_state = REQ_BUS_ON; in sdhci_msm_handle_pwr_irq()
1620 pwr_state = REQ_BUS_OFF; in sdhci_msm_handle_pwr_irq()
1624 if (pwr_state) { in sdhci_msm_handle_pwr_irq()
1628 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq()
1631 pwr_state & REQ_BUS_ON); in sdhci_msm_handle_pwr_irq()
1648 if (io_level && !IS_ERR(mmc->supply.vqmmc) && !pwr_state) { in sdhci_msm_handle_pwr_irq()
1700 if (pwr_state) in sdhci_msm_handle_pwr_irq()
1701 msm_host->curr_pwr_state = pwr_state; in sdhci_msm_handle_pwr_irq()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/wireless/
Dwl3501_cs.c1806 u8 pwr_state; in wl3501_get_power() local
1810 &pwr_state, sizeof(pwr_state)); in wl3501_get_power()
1813 wrqu->power.disabled = !pwr_state; in wl3501_get_power()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcec-funcs.h1214 __u8 pwr_state) in cec_msg_report_power_status() argument
1218 msg->msg[2] = pwr_state; in cec_msg_report_power_status()
1221 __u8 *pwr_state) in cec_ops_report_power_status() argument
1223 *pwr_state = msg->msg[2]; in cec_ops_report_power_status()
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-torrent.c734 u32 pwr_state = cdns_torrent_dp_read(regmap, in cdns_torrent_dp_set_a0_pll() local
740 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
746 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
753 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
755 pwr_state &= ~(PMA_XCVR_POWER_STATE_REQ_LN_MASK << in cdns_torrent_dp_set_a0_pll()
761 cdns_torrent_dp_write(regmap, PHY_PMA_XCVR_POWER_STATE_REQ, pwr_state); in cdns_torrent_dp_set_a0_pll()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc.h351 enum dcn_pwr_state pwr_state; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch10767 u32 pwr_state = 0, io_level = 0;
10772 pwr_state = REQ_BUS_ON;
10777 pwr_state = REQ_BUS_OFF;
10782 - if (pwr_state) {
10786 - pwr_state & REQ_BUS_ON);
10789 - pwr_state & REQ_BUS_ON);
10810 - if (io_level && !IS_ERR(mmc->supply.vqmmc) && !pwr_state) {