/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac.h | 106 } wake; member 329 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 333 pm->wake.count++; in mt76_connac_pm_ref() 336 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_ref() 344 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_unref() 347 if (--pm->wake.count == 0 && in mt76_connac_pm_unref() 351 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_unref() 363 spin_lock_bh(&pm->wake.lock); in mt76_connac_skip_fw_pmctrl() 364 ret = pm->wake.count || test_and_set_bit(MT76_STATE_PM, &phy->state); in mt76_connac_skip_fw_pmctrl() 365 spin_unlock_bh(&pm->wake in mt76_connac_skip_fw_pmctrl() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_vblank_work.c | 50 bool wake = false; in drm_handle_vblank_works() local 61 wake = true; in drm_handle_vblank_works() 63 if (wake) in drm_handle_vblank_works() 113 bool passed, inmodeset, rescheduling = false, wake = false; in drm_vblank_work_schedule() local 151 wake = true; in drm_vblank_work_schedule() 161 if (wake) in drm_vblank_work_schedule()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_vblank_work.c | 50 bool wake = false; in drm_handle_vblank_works() local 61 wake = true; in drm_handle_vblank_works() 63 if (wake) in drm_handle_vblank_works() 113 bool passed, inmodeset, rescheduling = false, wake = false; in drm_vblank_work_schedule() local 151 wake = true; in drm_vblank_work_schedule() 161 if (wake) in drm_vblank_work_schedule()
|
/kernel/linux/linux-6.6/drivers/nfc/s3fwrn5/ |
H 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()
|
H 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()
|
H A D | phy_common.h | 32 void s3fwrn5_phy_set_wake(void *phy_id, bool wake);
|
/kernel/linux/linux-6.6/drivers/soc/xilinx/ |
H A D | xlnx_event_manager.c | 64 * @wake: If this flag set, firmware will wake up processor if is 73 bool wake; member 89 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 115 eve_data->wake = wake; in xlnx_add_cb_for_notify_event() 274 * @wake: Flag specifying whether the subsystem should be woken upon 282 const bool wake, event_cb_func_t cb_fun, void *data) in xlnx_register_event() 304 ret = xlnx_add_cb_for_notify_event(node_id, event, wake, cb_fun, data); in xlnx_register_event() 313 ret = xlnx_add_cb_for_notify_event(node_id, eve, wake, cb_fu in xlnx_register_event() 281 xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, const bool wake, event_cb_func_t cb_fun, void *data) xlnx_register_event() argument [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-bd70528.c | 155 "Failed to disable 'wake timer' for RTC setting\n"); in bd70528_set_rtc_based_timers() 197 * here and not in tmday2rtc() which is also used by wake. in tm2rtc() 264 struct bd70528_rtc_wake wake; in bd70528_set_alarm() local 271 &wake, sizeof(wake)); in bd70528_set_alarm() 273 dev_err(dev, "Failed to read wake regs\n"); in bd70528_set_alarm() 285 tmday2rtc(&a->time, &wake.time); in bd70528_set_alarm() 289 wake.ctrl |= BD70528_MASK_WAKE_EN; in bd70528_set_alarm() 292 wake.ctrl &= ~BD70528_MASK_WAKE_EN; in bd70528_set_alarm() 296 BD70528_REG_RTC_WAKE_START, &wake, in bd70528_set_alarm() [all...] |
/kernel/linux/linux-6.6/include/linux/firmware/ |
H A D | xlnx-event-manager.h | 16 const u32 event, const bool wake, 23 const u32 event, const bool wake, in xlnx_register_event() 22 xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, const bool wake, event_cb_func_t cb_fun, void *data) xlnx_register_event() argument
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | extent-io-tree.h | 117 unsigned bits, int wake, int delete, 120 unsigned bits, int wake, int delete, 146 int wake = 0; in clear_extent_bits() local 149 wake = 1; in clear_extent_bits() 151 return clear_extent_bit(tree, start, end, bits, wake, 0, NULL); in clear_extent_bits()
|
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | txbuf.c | 109 bool wake = false; in rxrpc_shrink_call_tx_buffer() local 129 wake = true; in rxrpc_shrink_call_tx_buffer() 132 if (wake) in rxrpc_shrink_call_tx_buffer()
|
/kernel/linux/linux-6.6/drivers/soc/tegra/ |
H A D | pmc.c | 373 * These describe events that can wake the system from sleep (i.e. 393 * @wake: pointer to I/O remapped region for WAKE registers 421 * @wake_type_dual_edge_map: Bitmap indicating if a wake is dual-edge or not 423 * @wake_cntrl_level_map: Bitmap to hold wake levels to be programmed in 424 * cntrl register associated with each wake during system suspend. 429 void __iomem *wake; member 2276 /* IRQ and simple wake events */ in tegra_pmc_irq_alloc() 2307 /* GPIO wake events */ in tegra_pmc_irq_alloc() 2325 /* If there is no wake-up event, there is no PMC mapping */ in tegra_pmc_irq_alloc() 2346 /* clear wake statu in tegra210_pmc_irq_set_wake() 3070 wke_write_wake_level(struct tegra_pmc *pmc, int wake, int level) wke_write_wake_level() argument 3100 unsigned int wake, i; wke_read_sw_wake_status() local 3140 unsigned int i, wake; wke_clear_wake_status() local 3156 unsigned int wake; tegra186_pmc_process_wake_events() local 3866 void __iomem *wake; tegra186_pmc_setup_irq_polarity() local [all...] |
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/ |
H A D | s3fwrn5.h | 63 static inline int s3fwrn5_set_wake(struct s3fwrn5_info *info, bool wake) in s3fwrn5_set_wake() argument 68 info->phy_ops->set_wake(info->phy_id, wake); in s3fwrn5_set_wake()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 469 bool wake; in ngbe_shutdown() local 471 wake = !!wx->wol; in ngbe_shutdown() 473 ngbe_dev_shutdown(pdev, &wake); in ngbe_shutdown() 476 pci_wake_from_d3(pdev, wake); in ngbe_shutdown() 726 bool wake; in ngbe_suspend() local 728 ngbe_dev_shutdown(pdev, &wake); in ngbe_suspend() 729 device_set_wakeup_enable(&pdev->dev, wake); in ngbe_suspend()
|
/kernel/linux/linux-6.6/fs/fscache/ |
H A D | cookie.c | 166 * (3) When we end the access, we decrement the cookie's n_accesses and wake 204 * Change the state a cookie is at and wake up anyone waiting for that. Impose 703 bool wake = false; in fscache_cookie_state_machine() local 721 wake = true; in fscache_cookie_state_machine() 746 wake = true; in fscache_cookie_state_machine() 760 wake = true; in fscache_cookie_state_machine() 766 wake = true; in fscache_cookie_state_machine() 789 wake = true; in fscache_cookie_state_machine() 807 wake = true; in fscache_cookie_state_machine() 821 if (wake) in fscache_cookie_state_machine() [all...] |
/kernel/linux/linux-5.10/kernel/rcu/ |
H A D | tree_exp.h | 183 bool wake, unsigned long flags) 199 if (wake) { 218 static void __maybe_unused rcu_report_exp_rnp(struct rcu_node *rnp, bool wake) in rcu_report_exp_rnp() argument 223 __rcu_report_exp_rnp(rnp, wake, flags); in rcu_report_exp_rnp() 231 unsigned long mask, bool wake) in rcu_report_exp_cpu_mult() 250 __rcu_report_exp_rnp(rnp, wake, flags); /* Releases rnp->lock. */ in rcu_report_exp_cpu_mult() 581 * wake up everyone who piggybacked on the just-completed expedited 230 rcu_report_exp_cpu_mult(struct rcu_node *rnp, unsigned long mask, bool wake) rcu_report_exp_cpu_mult() argument
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-kcopyd.c | 206 static void wake(struct dm_kcopyd_client *kc) in wake() function 530 wake(kc); in complete_io() 543 wake(kc); in complete_io() 624 wake(kc); in process_jobs() 657 * list. io jobs call wake when they complete and it all in do_work() 686 wake(kc); in dispatch_job() 754 wake(kc); in segment_complete() 890 wake(kc); in dm_kcopyd_do_callback()
|
/kernel/linux/linux-6.6/drivers/md/ |
H 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() 660 * list. io jobs call wake when they complete and it all in do_work() 690 wake(kc); in dispatch_job() 758 wake(kc); in segment_complete() 894 wake(kc); in dm_kcopyd_do_callback()
|
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_rwlock.c | 374 /* In this case, rwlock will wake the first pended write task. */
in OsRwlockPostOp() 379 resumedTask->ops->wake(resumedTask);
in OsRwlockPostOp() 388 resumedTask->ops->wake(resumedTask);
in OsRwlockPostOp() 401 resumedTask->ops->wake(resumedTask);
in OsRwlockPostOp()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio.c | 138 bool wake; in mt76s_process_tx_queue() local 155 wake = q->stopped && q->queued < q->ndesc - 8; in mt76s_process_tx_queue() 156 if (wake) in mt76s_process_tx_queue() 167 if (wake) in mt76s_process_tx_queue()
|
H A D | dma.c | 224 bool wake = false; in mt76_dma_tx_cleanup() local 242 wake = !flush; in mt76_dma_tx_cleanup() 257 wake = wake && q->stopped && in mt76_dma_tx_cleanup() 259 if (wake) in mt76_dma_tx_cleanup() 265 if (wake) in mt76_dma_tx_cleanup()
|
/kernel/linux/linux-5.10/kernel/power/ |
H A D | suspend.c | 134 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop() 135 if (s2idle_ops->wake()) in s2idle_loop() 267 } else if (suspend_ops->wake) { in platform_resume_noirq() 268 suspend_ops->wake(); in platform_resume_noirq() 493 pr_err("Some devices failed to suspend, or early wake event detected\n"); in suspend_devices_and_enter()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_ethtool.c | 229 bool wake = false; in bcmasp_flow_insert() local 232 wake = true; in bcmasp_flow_insert() 235 if (!wake) in bcmasp_flow_insert() 254 nfilter = bcmasp_netfilt_get_init(intf, loc, wake, true); in bcmasp_flow_insert() 262 /* Since we only support wake filters, defer register programming till in bcmasp_flow_insert()
|
/kernel/linux/linux-6.6/kernel/power/ |
H A D | suspend.c | 134 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop() 135 if (s2idle_ops->wake()) in s2idle_loop() 277 } else if (suspend_ops->wake) { in platform_resume_noirq() 278 suspend_ops->wake(); in platform_resume_noirq() 504 pr_err("Some devices failed to suspend, or early wake event detected\n"); in suspend_devices_and_enter()
|
/kernel/linux/linux-5.10/drivers/soc/tegra/ |
H A D | pmc.c | 329 * These describe events that can wake the system from sleep (i.e. 345 * @wake: pointer to I/O remapped region for WAKE registers 375 void __iomem *wake; member 2017 /* If there is no wake-up event, there is no PMC mapping */ in tegra_pmc_irq_alloc() 2038 /* clear wake status */ in tegra210_pmc_irq_set_wake() 2045 /* enable PMC wake */ in tegra210_pmc_irq_set_wake() 2112 /* clear wake status */ in tegra186_pmc_irq_set_wake() 2113 writel(0x1, pmc->wake + WAKE_AOWAKE_STATUS_W(data->hwirq)); in tegra186_pmc_irq_set_wake() 2115 /* route wake to tier 2 */ in tegra186_pmc_irq_set_wake() 2116 value = readl(pmc->wake in tegra186_pmc_irq_set_wake() 3191 void __iomem *wake; tegra186_pmc_setup_irq_polarity() local [all...] |