Home
last modified time | relevance | path

Searched +full:activate +full:- +full:to +full:- +full:activate (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/linux-5.10/Documentation/leds/
Dledtrig-transient.rst5 The leds timer trigger does not currently have an interface to activate
7 specifying how long a state to be on, and the second for how long the state
8 to be off. The delay_on value specifies the time period an LED should stay
11 gets deactivated. There is no provision for one time activation to implement
12 features that require an on or off state to be held just once and then stay in
15 Without one shot timer interface, user space can still use timer trigger to
16 set a timer to hold a state, however when user space application crashes or
30 trigger will be called, and LED state is changed to LED_OFF.
32 Driver suspend changes the LED state to LED_OFF and resume doesn't change
36 that are active at the time driver gets suspended, continue to run, without
[all …]
/linux-5.10/Documentation/driver-api/nvdimm/
Dfirmware-activate.rst1 .. SPDX-License-Identifier: GPL-2.0
8 "DIMM" to perform tasks like media management, capacity provisioning,
10 involves a reboot because it has implications for in-flight memory
16 A native sysfs interface is implemented in libnvdimm to allow platform
17 to advertise and control their local runtime firmware activation
20 The libnvdimm bus object, ndbusX, implements an ndbusX/firmware/activate
24 - idle:
25 No devices are set / armed to activate firmware
27 - armed:
30 - busy:
[all …]
/linux-5.10/drivers/leds/trigger/
Dledtrig-transient.c1 // SPDX-License-Identifier: GPL-2.0
5 // Transient trigger allows one shot timer activation. Please refer to
6 // Documentation/leds/ledtrig-transient.rst for details
9 // Based on Richard Purdie's ledtrig-timer.c and Atsushi Nemoto's
10 // ledtrig-heartbeat.c
11 // Design and use-case input from Jonas Bonn <jonas@southpole.se> and
24 int activate; member
36 struct led_classdev *led_cdev = transient_data->led_cdev; in transient_timer_function()
38 transient_data->activate = 0; in transient_timer_function()
39 led_set_brightness_nosleep(led_cdev, transient_data->restore_state); in transient_timer_function()
[all …]
/linux-5.10/sound/pci/ice1712/
Dhoontech.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* Hoontech-specific setting */
41 static void snd_ice1712_stdsp24_darear(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_darear() argument
43 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_darear()
44 mutex_lock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear()
45 ICE1712_STDSP24_0_DAREAR(spec->boxbits, activate); in snd_ice1712_stdsp24_darear()
46 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]); in snd_ice1712_stdsp24_darear()
47 mutex_unlock(&ice->gpio_mutex); in snd_ice1712_stdsp24_darear()
50 static void snd_ice1712_stdsp24_mute(struct snd_ice1712 *ice, int activate) in snd_ice1712_stdsp24_mute() argument
52 struct hoontech_spec *spec = ice->spec; in snd_ice1712_stdsp24_mute()
[all …]
/linux-5.10/arch/powerpc/platforms/pseries/
Dpseries_energy.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * This pseries platform device driver provides access to
34 /* Helper Routines to convert between drc_index to cpu numbers */
48 /* Convert logical cpu number to core number */ in cpu_to_drc_index()
51 info = of_find_property(dn, "ibm,drc-info", NULL); in cpu_to_drc_index()
79 * The first element of ibm,drc-indexes array is the in cpu_to_drc_index()
82 * to core number thread_index. in cpu_to_drc_index()
84 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
90 rc = of_property_read_u32_index(dn, "ibm,drc-indexes", in cpu_to_drc_index()
120 info = of_find_property(dn, "ibm,drc-info", NULL); in drc_index_to_cpu()
[all …]
/linux-5.10/drivers/thunderbolt/
Dtunnel.c1 // SPDX-License-Identifier: GPL-2.0
3 * Thunderbolt driver - Tunneling support
45 level(__tunnel->tb, "%llx:%x <-> %llx:%x (%s): " fmt, \
46 tb_route(__tunnel->src_port->sw), \
47 __tunnel->src_port->port, \
48 tb_route(__tunnel->dst_port->sw), \
49 __tunnel->dst_port->port, \
50 tb_tunnel_names[__tunnel->type], \
72 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc()
73 if (!tunnel->paths) { in tb_tunnel_alloc()
[all …]
Dtunnel.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Thunderbolt driver - Tunneling support
22 * struct tb_tunnel - Tunnel between two ports
23 * @tb: Pointer to the domain
30 * @activate: Optional tunnel specific activation/deactivation
37 * Only set if the bandwidth needs to be limited.
39 * Only set if the bandwidth needs to be limited.
50 int (*activate)(struct tb_tunnel *tunnel, bool activate); member
97 return tunnel->type == TB_TUNNEL_PCI; in tb_tunnel_is_pci()
102 return tunnel->type == TB_TUNNEL_DP; in tb_tunnel_is_dp()
[all …]
/linux-5.10/drivers/eisa/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 developed as an open alternative to the IBM MicroChannel bus.
21 Say Y here if you are building a kernel for an EISA-based machine.
30 Activate this option if your system contains a Vesa Local
32 the Adaptec AHA-284x).
41 Activate this option if your system contains a PCI to EISA
48 # an X86 may lead to crashes...
55 Activate this option if your system only have EISA bus
67 device names to make the information in sysfs comprehensible
68 to the user. This database increases size of the kernel
/linux-5.10/Documentation/x86/
Damd-memory-encryption.rst1 .. SPDX-License-Identifier: GPL-2.0
10 SME provides the ability to mark individual pages of memory as encrypted using
12 automatically decrypted when read from DRAM and encrypted when written to
13 DRAM. SME can therefore be used to protect the contents of DRAM from physical
19 memory. Private memory is encrypted with the guest-specific key, while shared
24 below on how to determine its position). The encryption bit can also be
25 specified in the cr3 register, allowing the PGD table to be encrypted. Each
27 bit in the page table entry that points to the next table. This allows the full
28 page table hierarchy to be encrypted. Note, this means that just because the
30 Each page table entry in the hierarchy needs to have the encryption bit set to
[all …]
/linux-5.10/Documentation/networking/devlink/
Ddevlink-reload.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ``devlink-reload`` provides mechanism to reinit driver entities, applying
8 ``devlink-params`` and ``devlink-resources`` new values. It also provides
9 mechanism to activate firmware.
17 .. list-table:: Possible reload actions
20 * - Name
21 - Description
22 * - ``driver-reinit``
23 - Devlink driver entities re-initialization, including applying
24 new values to devlink entities which are used during driver
[all …]
/linux-5.10/security/tomoyo/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 This selects TOMOYO Linux, pathname-based access control.
16 If you are unsure how to answer this question, answer N.
40 If you don't need audit logs, you may set this value to 0.
43 bool "Activate without calling userspace policy loader."
47 Say Y here if you want to activate access control as soon as built-in
49 operations which can lead to the hijacking of the boot sequence are
50 needed before loading the policy. For example, you can activate
60 default "/sbin/tomoyo-init"
77 want to also pass TOMOYO_trigger=/bin/systemd option.
[all …]
/linux-5.10/Documentation/networking/device_drivers/atm/
Dcxacru.rst1 .. SPDX-License-Identifier: GPL-2.0
11 driver and it is necessary to unplug/remove power to the device to fix this.
13 Note: support for cxacru-cf.bin has been removed. It was not loaded correctly
17 There is a script cxacru-cf.py to convert an existing file to the sysfs form.
21 named device points to the USB interface device's directory which contains
29 - Information about the remote headend.
33 - Configuration writing interface.
34 - Write parameters in hexadecimal format <index>=<value>,
39 - Up to 7 parameters at a time will be sent and the modem will restart
48 - Downstream stats.
[all …]
/linux-5.10/kernel/trace/
Dtrace_sched_switch.c1 // SPDX-License-Identifier: GPL-2.0
56 pr_info("wakeup trace: Couldn't activate tracepoint" in tracing_sched_register()
57 " probe to kernel_sched_wakeup\n"); in tracing_sched_register()
63 pr_info("wakeup trace: Couldn't activate tracepoint" in tracing_sched_register()
64 " probe to kernel_sched_wakeup_new\n"); in tracing_sched_register()
70 pr_info("sched trace: Couldn't activate tracepoint" in tracing_sched_register()
71 " probe to kernel_sched_switch\n"); in tracing_sched_register()
118 sched_cmdline_ref--; in tracing_stop_sched_switch()
122 sched_tgid_ref--; in tracing_stop_sched_switch()
/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dbmi.h2 * Copyright (c) 2004-2011 Atheros Communications Inc.
5 * Permission to use, copy, modify, and/or distribute this software for any
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
25 * to read memory, write memory, execute code, and to define an
28 * It is used to download an application to ATH6KL, to provide
29 * patches to code that is already resident on ATH6KL, and generally
30 * to examine and modify state. The Host has an opportunity to use
34 * The Host writes BMI requests to mailbox0, and reads BMI responses
37 * command-specific data.
45 * BMI handles all required Target-side cache flushing.
[all …]
/linux-5.10/Documentation/admin-guide/
Dpnp.rst10 --------
14 services to compatible drivers.
18 ------------------
20 The Linux Plug and Play user interface provides a means to activate PnP devices
24 In addition to the standard sysfs file the following are created in each
26 - id - displays a list of support EISA IDs
27 - options - displays possible resource configurations
28 - resources - displays currently allocated resources and allows resource changes
37 this will invoke the automatic resource config system to activate the device
46 <depnum> - the configuration number
[all …]
/linux-5.10/scripts/
Dsphinx-pre-install2 # SPDX-License-Identifier: GPL-2.0-or-later
5 # Copyright (c) 2017-2020 Mauro Carvalho Chehab <mchehab@kernel.org>
49 'amsfonts.sty' => 'texlive-amsfonts',
50 'amsmath.sty' => 'texlive-amsmath',
51 'amssymb.sty' => 'texlive-amsfonts',
52 'amsthm.sty' => 'texlive-amscls',
53 'anyfontsize.sty' => 'texlive-anyfontsize',
54 'atbegshi.sty' => 'texlive-oberdiek',
55 'bm.sty' => 'texlive-tools',
56 'capt-of.sty' => 'texlive-capt-of',
[all …]
/linux-5.10/drivers/video/fbdev/core/
Dfbsysfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * fbsysfs.c - framebuffer device class and attributes
11 * are converted to use it a sysfsification will open OOPSable races.
24 * framebuffer_alloc - creates a new frame buffer info structure
27 * @dev: pointer to the device for this fb, this can be NULL
30 * for driver private data (info->par). info->par (if any) will be
31 * aligned to sizeof(long).
39 #define PADDING (BYTES_PER_LONG - (sizeof(struct fb_info) % BYTES_PER_LONG)) in framebuffer_alloc()
55 info->par = p + fb_info_size; in framebuffer_alloc()
57 info->device = dev; in framebuffer_alloc()
[all …]
/linux-5.10/net/mac80211/
Dled.c1 // SPDX-License-Identifier: GPL-2.0-only
14 if (!atomic_read(&local->assoc_led_active)) in ieee80211_led_assoc()
17 led_trigger_event(&local->assoc_led, LED_FULL); in ieee80211_led_assoc()
19 led_trigger_event(&local->assoc_led, LED_OFF); in ieee80211_led_assoc()
24 if (!atomic_read(&local->radio_led_active)) in ieee80211_led_radio()
27 led_trigger_event(&local->radio_led, LED_FULL); in ieee80211_led_radio()
29 led_trigger_event(&local->radio_led, LED_OFF); in ieee80211_led_radio()
34 local->rx_led.name = kasprintf(GFP_KERNEL, "%srx", in ieee80211_alloc_led_names()
35 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
36 local->tx_led.name = kasprintf(GFP_KERNEL, "%stx", in ieee80211_alloc_led_names()
[all …]
/linux-5.10/arch/x86/kvm/svm/
Davic.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
19 #include <linux/amd-iommu.h>
52 #define AVIC_VCPU_ID_MASK ((1 << AVIC_VCPU_ID_BITS) - 1)
56 #define AVIC_VM_ID_MASK ((1 << AVIC_VM_ID_BITS) - 1)
64 * This hash table is used to map VM_ID to a struct kvm_svm,
65 * when handling AMD IOMMU GALOG notification to schedule in
78 struct list_head node; /* Used by SVM for per-vcpu ir_list */
79 void *data; /* Storing pointer to struct amd_ir_data */
90 * This function is called from IOMMU driver to notify
[all …]
/linux-5.10/Documentation/networking/dsa/
Db53.rst1 .. SPDX-License-Identifier: GPL-2.0
20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes
21 switch tag which gets inserted by the switch for every packet forwarded to the
30 configuration described in the :ref:`dsa-config-showcases`.
33 ----------------------------------
35 The tagging based configuration is desired. It is not specific to the b53
38 See :ref:`dsa-tagged-configuration`.
41 -------------------------------------
48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`.
54 In difference to the configuration described in :ref:`dsa-vlan-configuration`
[all …]
/linux-5.10/include/linux/usb/
Dtypec_altmode.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct typec_altmode - USB Type-C alternate mode device
40 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata()
45 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata()
49 * struct typec_altmode_ops - Alternate mode specific operations vector
50 * @enter: Operations to be executed with Enter Mode Command
51 * @exit: Operations to be executed with Exit Mode Command
55 * @activate: User callback for Enter/Exit Mode
65 int (*activate)(struct typec_altmode *altmode, int activate); member
79 * These are the connector states (USB, Safe and Alt Mode) defined in USB Type-C
[all …]
/linux-5.10/arch/x86/xen/
Dpci-swiotlb-xen.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Glue code to lib/swiotlb-xen.c */
5 #include <linux/dma-map-ops.h>
7 #include <xen/swiotlb-xen.h>
14 #include <asm/xen/swiotlb-xen.h>
24 * pci_xen_swiotlb_detect - set xen_swiotlb to 1 if necessary
26 * This returns non-zero if we are forced to use xen_swiotlb (by the boot
36 * activate this IOMMU. If running as PV privileged, activate it in pci_xen_swiotlb_detect()
49 * (so no iommu=X command line over-writes). in pci_xen_swiotlb_detect()
51 * only Xen SWIOTLB it is not useful to us so set no_iommu=1 here. in pci_xen_swiotlb_detect()
/linux-5.10/include/linux/
Dintel_th.h1 /* SPDX-License-Identifier: GPL-2.0 */
24 * ->assign() called when buffer 'mode' is set to this driver
27 * @mode: allows the driver to set HW mode (see the enum above)
28 * Returns: a pointer to a private structure associated with this
33 /* ->unassign(): some other mode is selected, clean up */
36 * ->alloc_window(): allocate memory for the window of a given
38 * @sgt: pointer to sg_table, can be overridden by the buffer
46 /* ->activate(): trace has started */
47 void (*activate)(void *priv); member
48 /* ->deactivate(): trace is about to stop */
[all …]
/linux-5.10/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 #define HP_SW_PATH_UNINITIALIZED -1
37 * tur_done - Handle TEST UNIT READY return status
38 * @sdev: sdev the command has been sent to
48 switch (sshdr->sense_key) { in tur_done()
53 if (sshdr->asc == 0x04 && sshdr->ascq == 2) { in tur_done()
55 * LUN not ready - Initialization command required in tur_done()
59 h->path_state = HP_SW_PATH_PASSIVE; in tur_done()
67 HP_SW_NAME, sshdr->sense_key, sshdr->asc, in tur_done()
68 sshdr->ascq); in tur_done()
[all …]
/linux-5.10/drivers/acpi/nfit/
Dintel.c1 // SPDX-License-Identifier: GPL-2.0
17 return sprintf(buf, "%s\n", acpi_desc->fwa_noidle ? "Y" : "N"); in firmware_activate_noidle_show()
32 if (val != acpi_desc->fwa_noidle) in firmware_activate_noidle_store()
33 acpi_desc->fwa_cap = NVDIMM_FWA_CAP_INVALID; in firmware_activate_noidle_store()
34 acpi_desc->fwa_noidle = val; in firmware_activate_noidle_store()
45 if (!test_bit(NVDIMM_BUS_FAMILY_INTEL, &nd_desc->bus_family_mask)) in intel_fwa_supported()
48 mask = &acpi_desc->family_dsm_mask[NVDIMM_BUS_FAMILY_INTEL]; in intel_fwa_supported()
72 if (!test_bit(NVDIMM_INTEL_GET_SECURITY_STATE, &nfit_mem->dsm_mask)) in intel_security_flags()
135 if (!test_bit(NVDIMM_INTEL_FREEZE_LOCK, &nfit_mem->dsm_mask)) in intel_security_freeze()
136 return -ENOTTY; in intel_security_freeze()
[all …]

12345678910>>...39