Home
last modified time | relevance | path

Searched +full:trigger +full:- +full:value (Results 1 – 25 of 1103) sorted by relevance

12345678910>>...45

/linux/Documentation/leds/
H A Dledtrig-transient.rst2 LED Transient Trigger
5 The leds timer trigger does not currently have an interface to activate
8 to be off. The delay_on value specifies the time period an LED should stay
9 in on state, followed by a delay_off value that specifies how long the LED
10 should stay in off state. The on and off cycle repeats until the trigger
15 Without one shot timer interface, user space can still use timer trigger to
20 Transient trigger addresses the need for one shot timer activation. The
21 transient trigger can be enabled and disabled just like the other leds
25 triggers it supports and a default trigger. During registration, activation
26 routine for the default trigger gets called. During registration of an led
[all …]
H A Dleds-class.rst8 of the LED (taking a value 0-max_brightness). Most LEDs don't have hardware
9 brightness support so will just be turned on for non-zero brightness settings.
11 The class also introduces the optional concept of an LED trigger. A trigger
13 complex. A simple trigger isn't configurable and is designed to slot into
14 existing subsystems with minimal additional code. Examples are the disk-activity,
15 nand-disk and sharpsl-charge triggers. With led triggers disabled, the code
19 parameters and work on a per LED basis. The timer trigger is an example.
20 The timer trigger will periodically change the LED brightness between
23 You can change the brightness value of a LED independently of the timer
24 trigger. However, if you set the brightness value to LED_OFF it will
[all …]
/linux/drivers/gpio/
H A Dgpio-rda.c1 // SPDX-License-Identifier: GPL-2.0-only
48 void __iomem *base = rda_gpio->base; in rda_gpio_update()
52 spin_lock_irqsave(&rda_gpio->lock, flags); in rda_gpio_update()
61 spin_unlock_irqrestore(&rda_gpio->lock, flags); in rda_gpio_update()
68 void __iomem *base = rda_gpio->base; in rda_gpio_irq_mask()
70 u32 value; in rda_gpio_irq_mask() local
72 value = BIT(offset) << RDA_GPIO_IRQ_RISE_SHIFT; in rda_gpio_irq_mask()
73 value |= BIT(offset) << RDA_GPIO_IRQ_FALL_SHIFT; in rda_gpio_irq_mask()
75 writel_relaxed(value, base + RDA_GPIO_INT_CTRL_CLR); in rda_gpio_irq_mask()
91 void __iomem *base = rda_gpio->base; in rda_gpio_set_irq()
[all …]
H A Dgpio-pmic-eic-sprd.c1 // SPDX-License-Identifier: GPL-2.0
33 #define SPRD_PMIC_EIC_BIT(x) ((x) & (SPRD_PMIC_EIC_PER_BANK_NR - 1))
48 * struct sprd_pmic_eic - PMIC EIC controller
71 regmap_update_bits(pmic_eic->map, pmic_eic->offset + reg, in sprd_pmic_eic_update()
79 u32 value; in sprd_pmic_eic_read() local
82 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_read()
86 return !!(value & BIT(SPRD_PMIC_EIC_BIT(offset))); in sprd_pmic_eic_read()
113 int value) in sprd_pmic_eic_set() argument
123 u32 reg, value; in sprd_pmic_eic_set_debounce() local
127 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_set_debounce()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-timer-stm328 - "reset"
10 used as trigger output (TRGO).
11 - "enable"
13 as trigger output.
14 - "update"
15 The update event is selected as trigger output.
18 - "compare_pulse"
19 The trigger output send a positive pulse
21 - "OC1REF"
22 OC1REF signal is used as trigger output.
[all …]
H A Dsysfs-driver-w1_therm7 (typical -55 degC to 125 degC), if not values will be trimmed
9 stored in a 8bit register in the device. Lowest value is
11 master level, refer to Documentation/w1/w1-generic.rst for
21 (WO) writing that file will either trigger a save of the
41 * '-xx': xx is kernel error when reading power status
54 power is lost. Trigger a 'save' to EEPROM command to keep
55 values after power-on. Read or write are :
59 * '-xx': xx is kernel error when reading the resolution
62 Some DS18B20 clones are fixed in 12-bit resolution, so the
80 * If no bulk read has been triggered, it will trigger
[all …]
H A Dsysfs-bus-iio-trigger-sysfs3 Contact: linux-iio@vger.kernel.org
5 This file is provided by the iio-trig-sysfs stand-alone trigger
6 driver. Writing this file with any value triggers an event
7 driven driver, associated with this trigger, to capture data
9 automated testing or in situations, where other trigger methods
11 X is the IIO index of the trigger.
15 Contact: linux-iio@vger.kernel.org
18 trigger. In order to associate the trigger with an IIO device
20 /sys/bus/iio/devices/iio:deviceY/trigger/current_trigger.
24 Contact: linux-iio@vger.kernel.org
[all …]
H A Dsysfs-bus-counter3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
16 MTCLKA-MTCLKB:
20 MTCLKC-MTCLKD:
26 Contact: linux-iio@vger.kernel.org
33 Contact: linux-iio@vger.kernel.org
39 Contact: linux-iio@vger.kernel.org
45 Contact: linux-iio@vger.kernel.org
47 Count value ceiling for Count Y. This is the upper limit for the
52 Contact: linux-iio@vger.kernel.org
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-tpdm.h1 /* SPDX-License-Identifier: GPL-2.0 */
20 /* CMB subunit trigger pattern registers */
22 /* CMB subunit trigger pattern mask registers */
59 /* Enable bit for DSB subunit trigger type */
68 /* Enable bit for DSB subunit trigger timestamp */
97 /* Register value for integration test */
102 * Number of cycles to write value when
217 * struct dsb_dataset - specifics associated to dsb dataset
220 * @edge_ctrl: Save value for edge control
221 * @edge_ctrl_mask: Save value for edge control mask
[all …]
/linux/include/linux/
H A Dleds.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/leds/common.h>
47 * struct led_lookup_data - represents a single LED lookup entry
66 * with in-driver hard-coded LED names used as a fallback when
79 * only LEDs exposed by drivers of hot-pluggable devices should
122 /* Brightness off also disables hw-blinking so it is a separate action */
134 * Set LED brightness level immediately - it can block the caller for
166 const char *default_trigger; /* Trigger to use */
180 /* Protects the trigger data below */
183 struct led_trigger *trigger; member
[all …]
/linux/Documentation/trace/
H A Dhistogram-design.rst1 .. SPDX-License-Identifier: GPL-2.0
20 generally be truncated - only enough to make the point is displayed.
28 of the hist trigger internals described in this document. Specific
35 can do with histograms - create one with a single key on a single
38 # echo 'hist:keys=pid' >> events/sched/sched_waking/trigger
60 pid as a key and with a single value, hitcount, which even if not
63 The hitcount value is a per-bucket value that's automatically
68 bucket contains a value for that bucket, counting the number of times
73 To keep track of each key and value field in the histogram, hist_data
78 key and one value; in this case the one value is the hitcount value,
[all …]
H A Dhistogram.rst15 2. Histogram Trigger Command
18 A histogram trigger command is an event trigger command that
24 The format of a hist trigger is as follows::
31 using the key(s) and value(s) named. Keys and values correspond to
33 numeric fields - on an event hit, the value(s) will be added to a
35 in place of an explicit value field - this is simply a count of
37 value will be automatically created and used as the only value.
45 useful for providing more fine-grained summaries of event data.
50 key. If a hist trigger is given a name using the 'name' parameter,
52 name, and trigger hits will update this common data. Only triggers
[all …]
/linux/drivers/clk/bcm/
H A Dclk-kona.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include <linux/clk-provider.h>
24 #define BAD_CLK_NAME ((const char *)-1)
30 * should be defined such that 0 is the desired default value.
33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag))
34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag)))
35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag))
36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag)))
40 #define ccu_policy_exists(ccu_policy) ((ccu_policy)->enable.offset != 0)
44 #define policy_exists(policy) ((policy)->offset != 0)
[all …]
/linux/drivers/pwm/
H A Dpwm-bcm-kona.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * a subsequent rising edge of the trigger bit.
26 * 3) If the smooth bit and trigger bit are both low, the output is a constant
29 * 4) If the smooth bit is set on the rising edge of the trigger bit, output
69 * Clear trigger bit but set smooth bit to maintain old output.
74 unsigned int value = readl(kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_prepare_for_settings() local
76 value |= 1 << PWM_CONTROL_SMOOTH_SHIFT(chan); in kona_pwmc_prepare_for_settings()
77 value &= ~(1 << PWM_CONTROL_TRIGGER_SHIFT(chan)); in kona_pwmc_prepare_for_settings()
78 writel(value, kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_prepare_for_settings()
81 * There must be a min 400ns delay between clearing trigger and setting in kona_pwmc_prepare_for_settings()
[all …]
/linux/Documentation/admin-guide/media/
H A Dmgb4.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ---------------
13 There are two types of parameters - global / PCI card related, found under
23 | 0 - No module present
24 | 1 - FPDL3
25 | 2 - GMSL
33 | 1 - FPDL3
34 | 2 - GMSL
42 PRODUCT-REVISION-SERIES-SERIAL
55 | 0 - single
[all …]
/linux/drivers/net/phy/
H A Ddp83640_reg.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define PTP_TSTS 0x0017 /* PTP Trigger Status Register */
20 #define PTP_TXTS 0x001c /* PTP Transmit Timestamp Register, in four 16-bit reads */
21 #define PTP_RXTS 0x001d /* PTP Receive Timestamp Register, in six? 16-bit reads */
26 #define PTP_TRIG 0x0014 /* PTP Trigger Configuration Register */
57 #define TRIG_SEL_SHIFT (10) /* PTP Trigger Select */
59 #define TRIG_DIS (1<<9) /* Disable PTP Trigger */
60 #define TRIG_EN (1<<8) /* Enable PTP Trigger */
61 #define TRIG_READ (1<<7) /* Read PTP Trigger */
62 #define TRIG_LOAD (1<<6) /* Load PTP Trigger */
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_bpf_ma.c1 // SPDX-License-Identifier: GPL-2.0
27 char data[_size - sizeof(void *)]; \
37 __type(value, struct map_value_##_size); \
52 __type(value, struct map_value_percpu_##_size); \
58 struct generic_map_value *value; in batch_alloc() local
64 value = bpf_map_lookup_elem(map, &key); in batch_alloc()
65 if (!value) { in batch_alloc()
74 old = bpf_kptr_xchg(&value->data, new); in batch_alloc()
85 struct generic_map_value *value; in batch_free() local
91 value = bpf_map_lookup_elem(map, &key); in batch_free()
[all …]
/linux/include/uapi/linux/
H A Dcomedi.h1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org>
32 * NOTE: 'comedi_config --init-data' is deprecated
40 /* length of nth chunk of firmware data -*/
78 /* counters -- these are arbitrary values */
120 /* try to use a real-time interrupt while performing command */
123 /* wake up on end-of-scan events */
154 /* trigger sources */
159 #define TRIG_NONE 0x00000001 /* never trigger */
[all …]
/linux/Documentation/misc-devices/
H A Dapds990x.rst1 .. SPDX-License-Identifier: GPL-2.0
17 -----------
25 using clear channel only. Lux value and the threshold level on the HW
29 only lux values. Lux value is calculated using information from the both
30 channels. HW threshold level is calculated from the given lux value to match
48 -----
52 RO - shows detected chip type and version
55 RW - enable / disable chip. Uses counting logic
60 RO - measured lux value
65 RO - lux0_input max value.
[all …]
/linux/include/linux/pinctrl/
H A Dpinconf-generic.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2011 ST-Ericsson SA
6 * Written on behalf of Linaro for ST-Ericsson
24 * enum pin_config_param - possible pin configuration parameters
26 * weakly drives the last value on a tristate bus, also known as a "bus
28 * bus to change the value by driving the bus high or low and switching to
31 * transition from say pull-up to pull-down implies that you disable
32 * pull-up in the process, this setting disables all biasing.
34 * mode, also know as "third-state" (tristate) or "high-Z" or "floating".
40 * impedance to GROUND). If the argument is != 0 pull-down is enabled,
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dfile.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2008-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
54 IWL_UCODE_TLV_PROBE_MAX_LEN = 6, /* a u32 value */
55 IWL_UCODE_TLV_PAN = 7, /* deprecated -- only used in DVM */
56 IWL_UCODE_TLV_MEM_DESC = 7, /* replaces PAN in non-DVM */
117 /* TLVs 0x1000-0x2000 are for internal driver usage */
169 * enum iwl_ucode_tlv_flag - ucode API flags
205 * enum iwl_ucode_tlv_api - ucode api
[all …]
H A Derror-dump.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2014-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
17 * enum iwl_fw_error_dump_type - types of data in the dump file
18 * @IWL_FW_ERROR_DUMP_CSR: Control Status Registers - from offset 0
25 * @IWL_FW_ERROR_DUMP_PRPH: range of periphery registers - there can be several
39 * for that reason is not in use in any other place in the Linux Wi-Fi
68 * struct iwl_fw_error_dump_data - data for one type
80 * struct iwl_dump_file_name_info - data for dump file name addition
[all …]
/linux/drivers/clocksource/
H A Dtimer-vf-pit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012-2013 Freescale Semiconductor, Inc.
58 /* set the max load value and start the clock source counter */ in pit_clocksource_init()
64 return clocksource_mmio_init(clksrc_base + PITCVAL, "vf-pit", rate, in pit_clocksource_init()
72 * set a new value to PITLDVAL register will not restart the timer, in pit_set_next_event()
74 * value, the timer must be disabled and enabled again. in pit_set_next_event()
79 __raw_writel(delta - 1, clkevt_base + PITLDVAL); in pit_set_next_event()
105 * and reload the counter value from PITLDVAL when PITCVAL reach zero, in pit_timer_interrupt()
112 evt->event_handler(evt); in pit_timer_interrupt()
137 * The value for the LDVAL register trigger is calculated as: in pit_clockevent_init()
[all …]
/linux/drivers/iio/pressure/
H A Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * A internal hardware trigger is also implemented to dispatch registered IIO
16 * trigger consumers upon "sample ready" interrupts.
26 * ensure explicit synchronization with external trigger events
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
41 * declares a valid interrupt line. In this case, the internal hardware trigger
45 * internal hardware trigger is attached as the highest sampling rate seems to
[all …]
/linux/drivers/iio/adc/
H A Dat91_adc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 #include <linux/iio/trigger.h>
41 #define AT91_ADC_TRGEN (1 << 0) /* Trigger Enable */
42 #define AT91_ADC_TRGSEL (7 << 1) /* Trigger Selection */
103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */
129 /* Trigger Register bit field */
137 (st->registers->channel_base + (ch * 4))
139 (readl_relaxed(st->reg_base + reg))
141 (writel_relaxed(val, st->reg_base + reg))
161 * struct at91_adc_trigger - description of triggers
[all …]

12345678910>>...45