| /drivers/gpu/drm/xe/ |
| A D | xe_force_wake.c | 19 static const char *str_wake_sleep(bool wake) in str_wake_sleep() argument 21 return wake ? "wake" : "sleep"; in str_wake_sleep() 96 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() argument 101 xe_mmio_write32(>->mmio, domain->reg_ctl, domain->mask | (wake ? domain->val : 0)); in __domain_ctl() 104 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() argument 112 ret = xe_mmio_wait32(>->mmio, domain->reg_ack, domain->val, wake ? domain->val : 0, in __domain_wait() 117 domain->id, str_wake_sleep(wake), ERR_PTR(ret), in __domain_wait() 122 domain->id, str_wake_sleep(wake)); in __domain_wait()
|
| /drivers/net/wireless/mediatek/mt76/ |
| A D | mt76_connac.h | 106 } wake; member 356 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 360 pm->wake.count++; in mt76_connac_pm_ref() 363 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 371 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_unref() 374 if (--pm->wake.count == 0 && in mt76_connac_pm_unref() 378 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_unref() 390 spin_lock_bh(&pm->wake.lock); in mt76_connac_skip_fw_pmctrl() 391 ret = pm->wake.count || test_and_set_bit(MT76_STATE_PM, &phy->state); in mt76_connac_skip_fw_pmctrl() 392 spin_unlock_bh(&pm->wake.lock); in mt76_connac_skip_fw_pmctrl()
|
| /drivers/gpu/drm/ |
| A D | drm_vblank_work.c | 52 bool wake = false; in drm_handle_vblank_works() local 63 wake = true; in drm_handle_vblank_works() 65 if (wake) in drm_handle_vblank_works() 118 bool passed, inmodeset, rescheduling = false, wake = false; in drm_vblank_work_schedule() local 156 wake = true; in drm_vblank_work_schedule() 166 if (wake) in drm_vblank_work_schedule()
|
| /drivers/soc/xilinx/ |
| A D | xlnx_event_manager.c | 73 bool wake; member 104 static int xlnx_add_cb_for_notify_event(const u32 node_id, const u32 event, const bool wake, in xlnx_add_cb_for_notify_event() argument 130 eve_data->wake = wake; in xlnx_add_cb_for_notify_event() 299 const bool wake, event_cb_func_t cb_fun, void *data) in xlnx_register_event() argument 321 ret = xlnx_add_cb_for_notify_event(node_id, event, wake, cb_fun, data); in xlnx_register_event() 330 ret = xlnx_add_cb_for_notify_event(node_id, eve, wake, cb_fun, in xlnx_register_event() 356 ret = zynqmp_pm_register_notifier(node_id, event, wake, true); in xlnx_register_event() 482 eve_data->wake, true); in xlnx_call_notify_cb_handler()
|
| A D | zynqmp_power.c | 49 bool wake; member 258 const u32 event, const bool wake, event_cb_func_t cb_fun) in register_event() argument 271 event_info->wake = wake; in register_event() 275 event_info->event, event_info->wake, event_info->cb_fun, NULL); in register_event()
|
| /drivers/nfc/s3fwrn5/ |
| A D | phy_common.c | 17 void s3fwrn5_phy_set_wake(void *phy_id, bool wake) in s3fwrn5_phy_set_wake() argument 22 gpio_set_value(phy->gpio_fw_wake, wake); in s3fwrn5_phy_set_wake() 23 if (wake) in s3fwrn5_phy_set_wake()
|
| A D | s3fwrn5.h | 62 static inline int s3fwrn5_set_wake(struct s3fwrn5_info *info, bool wake) in s3fwrn5_set_wake() argument 67 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
|
| A D | phy_common.h | 32 void s3fwrn5_phy_set_wake(void *phy_id, bool wake);
|
| /drivers/soc/tegra/ |
| A D | pmc.c | 430 void __iomem *wake; member 2892 pmc->wake = base; in tegra_pmc_probe() 2897 if (IS_ERR(pmc->wake)) in tegra_pmc_probe() 2898 return PTR_ERR(pmc->wake); in tegra_pmc_probe() 3038 writel(value, pmc->wake + offset); in wke_32kwritel() 3072 unsigned int wake, i; in wke_read_sw_wake_status() local 3112 unsigned int i, wake; in wke_clear_wake_status() local 3128 unsigned int wake; in tegra186_pmc_process_wake_events() local 3843 void __iomem *wake; in tegra186_pmc_setup_irq_polarity() local 3856 if (!wake) { in tegra186_pmc_setup_irq_polarity() [all …]
|
| /drivers/net/ethernet/wangxun/ngbe/ |
| A D | ngbe_main.c | 537 bool wake; in ngbe_shutdown() local 539 wake = !!wx->wol; in ngbe_shutdown() 541 ngbe_dev_shutdown(pdev, &wake); in ngbe_shutdown() 544 pci_wake_from_d3(pdev, wake); in ngbe_shutdown() 836 bool wake; in ngbe_suspend() local 838 ngbe_dev_shutdown(pdev, &wake); in ngbe_suspend() 839 device_set_wakeup_enable(&pdev->dev, wake); in ngbe_suspend()
|
| /drivers/gpio/ |
| A D | gpio-nomadik.c | 224 bool wake = irqd_is_wakeup_set(d); in nmk_gpio_irq_set_type() local 238 if (!nmk_chip->is_mobileye_soc && (enabled || wake)) in nmk_gpio_irq_set_type() 252 if (!nmk_chip->is_mobileye_soc && (enabled || wake)) in nmk_gpio_irq_set_type() 462 bool wake; in nmk_gpio_dbg_show_one() local 471 wake = !!(nmk_chip->real_wake & BIT(offset)); in nmk_gpio_dbg_show_one() 474 irq, trigger, wake ? " wakeup" : ""); in nmk_gpio_dbg_show_one()
|
| /drivers/md/ |
| A D | dm-kcopyd.c | 210 static void wake(struct dm_kcopyd_client *kc) in wake() function 535 wake(kc); in complete_io() 548 wake(kc); in complete_io() 628 wake(kc); in process_jobs() 690 wake(kc); in dispatch_job() 758 wake(kc); in segment_complete() 894 wake(kc); in dm_kcopyd_do_callback()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_netdev.c | 570 u64 stop, wake, csum, lso; in fbnic_get_queue_stats_tx() local 585 wake = stats->twq.wake; in fbnic_get_queue_stats_tx() 593 tx->wake = wake; in fbnic_get_queue_stats_tx() 607 tx->wake = fbn->tx_stats.twq.wake; in fbnic_get_base_stats()
|
| A D | fbnic_txrx.h | 82 u64 wake; member
|
| /drivers/net/ethernet/broadcom/asp2/ |
| A D | bcmasp_ethtool.c | 201 bool wake = false; in bcmasp_flow_insert() local 204 wake = true; in bcmasp_flow_insert() 207 if (!wake) in bcmasp_flow_insert() 226 nfilter = bcmasp_netfilt_get_init(intf, loc, wake, true); in bcmasp_flow_insert()
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-qcom-ep.c | 212 struct gpio_desc *wake; member 408 gpiod_set_value_cansleep(pcie_ep->wake, 1); in qcom_pcie_perst_deassert() 410 gpiod_set_value_cansleep(pcie_ep->wake, 0); in qcom_pcie_perst_deassert() 656 pcie_ep->wake = devm_gpiod_get_optional(dev, "wake", GPIOD_OUT_LOW); in qcom_pcie_ep_get_resources() 657 if (IS_ERR(pcie_ep->wake)) in qcom_pcie_ep_get_resources() 658 return PTR_ERR(pcie_ep->wake); in qcom_pcie_ep_get_resources()
|
| /drivers/acpi/ |
| A D | sleep.c | 685 .wake = acpi_pm_finish, 714 .wake = acpi_pm_finish, 843 .wake = acpi_s2idle_wake,
|
| /drivers/comedi/drivers/ |
| A D | amplc_pci230.c | 1715 unsigned int wake; in pci230_ai_update_fifo_trigger_level() local 1720 wake = cmd->scan_end_arg - s->async->cur_chan; in pci230_ai_update_fifo_trigger_level() 1722 wake = comedi_nsamples_left(s, PCI230_ADC_FIFOLEVEL_HALFFULL); in pci230_ai_update_fifo_trigger_level() 1724 if (wake >= PCI230_ADC_FIFOLEVEL_HALFFULL) { in pci230_ai_update_fifo_trigger_level() 1726 } else if (wake > 1 && devpriv->hwver > 0) { in pci230_ai_update_fifo_trigger_level() 1728 if (devpriv->adcfifothresh != wake) { in pci230_ai_update_fifo_trigger_level() 1729 devpriv->adcfifothresh = wake; in pci230_ai_update_fifo_trigger_level() 1730 outw(wake, devpriv->daqio + PCI230P_ADCFFTH); in pci230_ai_update_fifo_trigger_level()
|
| /drivers/net/ethernet/cirrus/ |
| A D | ep93xx_eth.c | 368 int wake; in ep93xx_tx_complete() local 370 wake = 0; in ep93xx_tx_complete() 409 wake = 1; in ep93xx_tx_complete() 414 if (wake) in ep93xx_tx_complete()
|
| /drivers/soc/loongson/ |
| A D | Kconfig | 27 Disk), ACPI S5 (Soft Shutdown) and supports multiple wake-up methods
|
| /drivers/gpu/drm/radeon/ |
| A D | radeon_fence.c | 201 bool wake = false; in radeon_fence_activity() local 241 wake = true; in radeon_fence_activity() 256 return wake; in radeon_fence_activity()
|
| /drivers/staging/gpib/ines/ |
| A D | ines_gpib.c | 292 int wake = 0; in ines_interrupt() local 301 wake++; in ines_interrupt() 306 wake++; in ines_interrupt() 310 wake++; in ines_interrupt() 312 if (wake) in ines_interrupt()
|
| /drivers/net/ethernet/cisco/enic/ |
| A D | enic_wq.c | 80 enic->wq[q_number].stats.wake++; in enic_wq_service()
|
| /drivers/tty/vt/ |
| A D | vt_ioctl.c | 115 int wake = 0; in vt_event_post() local 130 wake = 1; in vt_event_post() 134 if (wake) in vt_event_post()
|
| /drivers/net/wireless/mediatek/mt76/mt7915/ |
| A D | mac.c | 862 struct list_head *free_list, bool wake) in mt7915_mac_tx_free_done() argument 868 if (wake) in mt7915_mac_tx_free_done() 890 bool v3, wake = false; in mt7915_mac_tx_free() local 957 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free() 965 mt7915_mac_tx_free_done(dev, &free_list, wake); in mt7915_mac_tx_free() 976 bool wake = false; in mt7915_mac_tx_free_v0() local 989 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free_v0() 996 mt7915_mac_tx_free_done(dev, &free_list, wake); in mt7915_mac_tx_free_v0()
|