Home
last modified time | relevance | path

Searched +full:inactive +full:- (Results 1 – 25 of 1079) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dgpio-restart.txt6 handler. If the optional properties 'open-source' is not found, the GPIO line
7 will be driven in the inactive state. Otherwise its not driven until
13 inactive->active edge condition, triggering positive edge triggered
14 reset. After a delay specified by active-delay, the GPIO is set to
15 inactive, thus causing an active->inactive edge, triggering negative edge
16 triggered reset. After a delay specified by inactive-delay, the GPIO
17 is driven active again. After a delay specified by wait-delay, the
21 - compatible : should be "gpio-restart".
22 - gpios : The GPIO to set high/low, see "gpios property" in
28 - open-source : Treat the GPIO as being open source and defer driving
[all …]
Dgpio-poweroff.txt6 'input' is not found, the GPIO line will be driven in the inactive
9 When the power-off handler is called, the gpio is configured as an
11 condition. This will also cause an inactive->active edge condition, so
13 the GPIO is set to inactive, thus causing an active->inactive edge,
19 - compatible : should be "gpio-poweroff".
20 - gpios : The GPIO to set high/low, see "gpios property" in
26 - input : Initially configure the GPIO line as an input. Only reconfigure
27 it to an output when the power-off handler is called. If this optional
29 inactive state.
30 - active-delay-ms: Delay (default 100) to wait after driving gpio active
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/
Dgpio-restart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its
22 This will also cause an inactive->active edge condition, triggering positive edge triggered
23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an
24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by
25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the
[all …]
Dgpio-poweroff.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
15 from inactive to active. After a delay (active-delay-ms) it
16 is expected to be switched back to inactive. After another
17 delay (inactive-delay-ms) it is configured as active again.
19 the system is still running after waiting some time (timeout-ms).
23 const: gpio-poweroff
[all …]
/kernel/linux/linux-5.10/mm/
Dworkingset.c1 // SPDX-License-Identifier: GPL-2.0
24 * inactive and the active list. Freshly faulted pages start out at
25 * the head of the inactive list and page reclaim scans pages from the
26 * tail. Pages that are accessed multiple times on the inactive list
28 * whereas active pages are demoted to the inactive list when the
31 * fault ------------------------+
33 * +--------------+ | +-------------+
34 * reclaim <- | inactive | <-+-- demotion | active | <--+
35 * +--------------+ +-------------+ |
37 * +-------------- promotion ------------------+
[all …]
Dswap.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Linux VM subsystem. Fine-tuning documentation can be found in
11 * Documentation/admin-guide/sysctl/vm.rst.
32 #include <linux/backing-dev.h>
76 * This path almost never happens for VM activity - pages are normally
86 spin_lock_irqsave(&pgdat->lru_lock, flags); in __page_cache_release()
91 spin_unlock_irqrestore(&pgdat->lru_lock, flags); in __page_cache_release()
119 put_dev_pagemap(page->pgmap); in __put_page()
136 * put_pages_list() - release a list of pages
137 * @pages: list of pages threaded on page->lru
[all …]
/kernel/linux/linux-6.6/mm/
Dworkingset.c1 // SPDX-License-Identifier: GPL-2.0
24 * inactive and the active list. Freshly faulted pages start out at
25 * the head of the inactive list and page reclaim scans pages from the
26 * tail. Pages that are accessed multiple times on the inactive list
28 * whereas active pages are demoted to the inactive list when the
31 * fault ------------------------+
33 * +--------------+ | +-------------+
34 * reclaim <- | inactive | <-+-- demotion | active | <--+
35 * +--------------+ +-------------+ |
37 * +-------------- promotion ------------------+
[all …]
Dswap.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Linux VM subsystem. Fine-tuning documentation can be found in
11 * Documentation/admin-guide/sysctl/vm.rst.
32 #include <linux/backing-dev.h>
78 * This path almost never happens for VM activity - pages are normally freed
79 * in batches. But it gets used by networking - and for compound pages.
97 zone_stat_mod_folio(folio, NR_MLOCK, -nr_pages); in __page_cache_release()
106 free_unref_page(&folio->page, 0); in __folio_put_small()
125 free_zone_device_page(&folio->page); in __folio_put()
134 * put_pages_list() - release a list of pages
[all …]
/kernel/linux/linux-6.6/kernel/bpf/
Dbpf_lru_list.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #define LOCAL_LIST_IDX(t) ((t) - BPF_LOCAL_LIST_T_OFFSET)
33 return &loc_l->lists[LOCAL_FREE_LIST_IDX]; in local_free_list()
38 return &loc_l->lists[LOCAL_PENDING_LIST_IDX]; in local_pending_list()
44 return READ_ONCE(node->ref); in bpf_lru_node_is_ref()
49 WRITE_ONCE(node->ref, 0); in bpf_lru_node_clear_ref()
56 l->counts[type]++; in bpf_lru_list_count_inc()
63 l->counts[type]--; in bpf_lru_list_count_dec()
71 if (WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(node->type))) in __bpf_lru_node_move_to_free()
77 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move_to_free()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dbpf_lru_list.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #define LOCAL_LIST_IDX(t) ((t) - BPF_LOCAL_LIST_T_OFFSET)
33 return &loc_l->lists[LOCAL_FREE_LIST_IDX]; in local_free_list()
38 return &loc_l->lists[LOCAL_PENDING_LIST_IDX]; in local_pending_list()
44 return READ_ONCE(node->ref); in bpf_lru_node_is_ref()
49 WRITE_ONCE(node->ref, 0); in bpf_lru_node_clear_ref()
56 l->counts[type]++; in bpf_lru_list_count_inc()
63 l->counts[type]--; in bpf_lru_list_count_dec()
71 if (WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(node->type))) in __bpf_lru_node_move_to_free()
77 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move_to_free()
[all …]
/kernel/linux/linux-5.10/drivers/power/reset/
Dgpio-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
32 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
36 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff()
40 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
56 dev_err(&pdev->dev, in gpio_poweroff_probe()
59 return -EBUSY; in gpio_poweroff_probe()
62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe()
69 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe()
71 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe()
[all …]
Dgpio-restart.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on the gpio-poweroff driver.
32 /* drive it active, also inactive->active edge */ in gpio_restart_notify()
33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
34 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()
36 /* drive inactive, also active->inactive edge */ in gpio_restart_notify()
37 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()
38 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify()
40 /* drive it active, also inactive->active edge */ in gpio_restart_notify()
41 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
[all …]
/kernel/linux/linux-6.6/drivers/power/reset/
Dgpio-poweroff.c1 // SPDX-License-Identifier: GPL-2.0-only
33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
37 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff()
41 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff()
57 dev_err(&pdev->dev, in gpio_poweroff_probe()
60 return -EBUSY; in gpio_poweroff_probe()
63 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe()
69 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe()
70 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe()
72 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe()
[all …]
Dgpio-restart.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Based on the gpio-poweroff driver.
32 /* drive it active, also inactive->active edge */ in gpio_restart_notify()
33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
34 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify()
36 /* drive inactive, also active->inactive edge */ in gpio_restart_notify()
37 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify()
38 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify()
40 /* drive it active, also inactive->active edge */ in gpio_restart_notify()
41 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify()
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
Dcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2007-2009, 2012 Texas Instruments, Inc.
6 * Copyright (C) 2007-2009 Nokia Corporation
15 * PRCM to request that a module exit the inactive state in the case of
18 * module to reach the functionnal state from an inactive state.
25 #include "prcm-common.h"
33 * the PRCM to request that a module enter the inactive state in the
35 * in microseconds for the module to reach the inactive state from
45 * struct cm_ll_data - fn ptrs to per-SoC CM function implementations
46 * @split_idlest_reg: ptr to the SoC CM-specific split_idlest_reg impl
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2007-2009, 2012 Texas Instruments, Inc.
6 * Copyright (C) 2007-2009 Nokia Corporation
15 * PRCM to request that a module exit the inactive state in the case of
18 * module to reach the functionnal state from an inactive state.
25 #include "prcm-common.h"
34 * the PRCM to request that a module enter the inactive state in the
36 * in microseconds for the module to reach the inactive state from
46 * struct cm_ll_data - fn ptrs to per-SoC CM function implementations
47 * @split_idlest_reg: ptr to the SoC CM-specific split_idlest_reg impl
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
24 - debounce-delay-ms: debounce interval in milliseconds
25 - col-scan-delay-us: delay, measured in microseconds, that is needed
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
24 - debounce-delay-ms: debounce interval in milliseconds
25 - col-scan-delay-us: delay, measured in microseconds, that is needed
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Ddavinci-mcasp-audio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jayesh Choudhary <j-choudhary@ti.com>
15 - ti,dm646x-mcasp-audio
16 - ti,da830-mcasp-audio
17 - ti,am33xx-mcasp-audio
18 - ti,dra7-mcasp-audio
19 - ti,omap4-mcasp-audio
[all …]
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_scan.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
46 page->n_maps--; in OsUnmapPageLocked()
47 LOS_ListDelete(&info->node); in OsUnmapPageLocked()
48 LOS_AtomicDec(&page->vmPage->refCounts); in OsUnmapPageLocked()
49 LOS_ArchMmuUnmap(info->archMmu, info->vaddr, 1); in OsUnmapPageLocked()
57 LOS_DL_LIST *immap = &page->i_mmap; in OsUnmapAllLocked()
68 LosVmPhysSeg *physSeg = fpage->physSeg; in OsLruCacheAdd()
69 LosVmPage *page = fpage->vmPage; in OsLruCacheAdd()
71 LOS_SpinLockSave(&physSeg->lruLock, &intSave); in OsLruCacheAdd()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Ddm-ioctl.h1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
3 * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited.
4 * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved.
25 * through the device, and an 'inactive' one which is a table
39 * Create a new device, neither the 'active' or 'inactive' table
42 * since it will be out-of-bounds.
57 * unsuspended device. If a table is present in the 'inactive'
71 * Load a table into the 'inactive' slot for the device. The
75 * Destroy any table in the 'inactive' slot (ie. abort).
106 * major - no backward or forward compatibility,
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dvmscan.h1 /* SPDX-License-Identifier: GPL-2.0 */
46 __entry->nid = nid;
49 TP_printk("nid=%d", __entry->nid)
65 __entry->nid = nid;
66 __entry->zid = zid;
67 __entry->order = order;
71 __entry->nid,
72 __entry->order)
89 __entry->nid = nid;
90 __entry->zid = zid;
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dstrategies.rst1 .. SPDX-License-Identifier: GPL-2.0
13 The Linux kernel supports two major high-level power management strategies.
15 One of them is based on using global low-power states of the whole system in
17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The
23 :doc:`system-wide power management <system-wide>`.
25 The other strategy, referred to as the :doc:`working-state power management
26 <working-state>`, is based on adjusting the power states of individual hardware
32 ``inactive`` (idle). If they are active, they have to be in power states
34 are inactive, ideally, they should be in low-power states in which they may not
39 draw (or maximum energy usage) of it. If all of them are inactive, the system
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/pm/
Dstrategies.rst1 .. SPDX-License-Identifier: GPL-2.0
13 The Linux kernel supports two major high-level power management strategies.
15 One of them is based on using global low-power states of the whole system in
17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The
23 :doc:`system-wide power management <system-wide>`.
25 The other strategy, referred to as the :doc:`working-state power management
26 <working-state>`, is based on adjusting the power states of individual hardware
32 ``inactive`` (idle). If they are active, they have to be in power states
34 are inactive, ideally, they should be in low-power states in which they may not
39 draw (or maximum energy usage) of it. If all of them are inactive, the system
[all …]
/kernel/linux/linux-5.10/fs/proc/
Dmeminfo.c1 // SPDX-License-Identifier: GPL-2.0
31 seq_put_decimal_ull_width(m, s, num << (PAGE_SHIFT - 10), 8); in show_val_kb()
54 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
55 total_swapcache_pages() - i.bufferram; in meminfo_proc_show()
82 show_val_kb(m, "Inactive: ", pages[LRU_INACTIVE_ANON] + in meminfo_proc_show()
86 show_val_kb(m, "Inactive(anon): ", pages[LRU_INACTIVE_ANON]); in meminfo_proc_show()
88 show_val_kb(m, "Inactive(file): ", pages[LRU_INACTIVE_FILE]); in meminfo_proc_show()
91 show_val_kb(m, "Inactive(purg): ", nr_purg_inactive); in meminfo_proc_show()
100 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh); in meminfo_proc_show()
101 show_val_kb(m, "LowFree: ", i.freeram - i.freehigh); in meminfo_proc_show()
[all …]

12345678910>>...44