Home
last modified time | relevance | path

Searched +full:trig +full:- +full:in +full:- +full:types (Results 1 – 25 of 42) sorted by relevance

12

/linux/Documentation/devicetree/bindings/arm/
H A Darm,coresight-cti.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 ---
5 $id: http://devicetree.org/schemas/arm/arm,coresight-cti.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 to one or more CoreSight components and/or a CPU, with CTIs interconnected in
21 number is defined at design time, the maximum of each defined in the DEVID
24 CTIs are interconnected in a star topology via the CTM, using a number of
26 described in the DEVID register. The star topology is not required to be
27 described in the bindings as the actual connections are software
30 In general the connections between CTI and components via the trigger signals
[all …]
/linux/arch/arm64/boot/dts/arm/
H A Djuno-cs-r1r2.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
8 clock-names = "apb_pclk";
9 power-domains = <&scpi_devpd 0>;
10 out-ports {
13 remote-endpoint = <&etf1_in_port>;
17 in-ports {
27 compatible = "arm,coresight-tmc", "arm,primecell";
31 clock-names = "apb_pclk";
32 power-domains = <&scpi_devpd 0>;
[all …]
H A Djuno-base.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include "juno-clocks.dtsi"
3 #include "juno-motherboard.dtsi"
11 compatible = "arm,armv7-timer-mem";
13 clock-frequency = <50000000>;
14 #address-cells = <1>;
15 #size-cells = <1>;
19 frame-number = <1>;
31 #mbox-cells = <1>;
33 clock-names = "apb_pclk";
[all …]
/linux/Documentation/iio/
H A Diio_configfs.rst8 Configfs is a filesystem-based manager of kernel objects. IIO uses some
18 In order to use configfs support in IIO we need to select it at compile
24 $ mount -t configfs none /config
38 trigger types. A new trigger type is usually implemented as a separate
39 kernel module following the interface in include/linux/iio/sw_trigger.h::
42 * drivers/iio/trigger/iio-trig-sample.c
59 * This undoes the actions in iio_trig_sample_probe
69 .name = "trig-sample",
77 iio-trig-sample module will create 'trig-sample' trigger type directory
78 /config/iio/triggers/trig-sample.
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-platform.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <dt-bindings/arm/coresight-cti-dt.h>
14 #include "coresight-cti.h"
15 #include "coresight-priv.h"
17 /* Number of CTI signals in the v8 architecturally defined connection */
23 #define CTI_DT_CONNS "trig-conns"
26 #define CTI_DT_V8ARCH_COMPAT "arm,coresight-cti-v8-arch"
27 #define CTI_DT_CSDEV_ASSOC "arm,cs-dev-assoc"
28 #define CTI_DT_TRIGIN_SIGS "arm,trig-in-sigs"
29 #define CTI_DT_TRIGOUT_SIGS "arm,trig-out-sigs"
[all …]
H A Dcoresight-cti.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 #include <linux/types.h>
18 #include "coresight-priv.h"
22 * 0x000 - 0x144: CTI programming and status
23 * 0xEDC - 0xEF8: CTI integration test.
24 * 0xF00 - 0xFFC: Coresight management registers.
43 #define ITCHOUT 0xEE4 /* WO RW-600 */
44 #define ITTRIGOUT 0xEE8 /* WO RW-600 */
55 * CTI CSSoc 400 has 8 IO triggers - other CTIs can be impl def.
56 * Max of in and out defined in the DEVID register.
[all …]
/linux/drivers/iio/light/
H A Dacpi-als.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (C) 2012-2013 Martin Liska <marxin.liska@gmail.com>
12 * Copyright (C) 2013-2014 Marek Vasut <marex@denx.de>
29 #define ACPI_ALS_DEVICE_NAME "acpi-als"
33 * So far, there's only one channel in here, but the specification for
63 struct iio_trigger *trig; member
69 * All types of properties the ACPI0008 block can report. The ALI, ALC, ALT
73 * The _ALR property returns tables that can be used to fine-tune the values
90 status = acpi_evaluate_integer(als->device->handle, prop, NULL, in acpi_als_read_value()
94 acpi_evaluation_failure_warn(als->device->handle, prop, status); in acpi_als_read_value()
[all …]
/linux/drivers/iio/chemical/
H A Dscd30_core.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <linux/iio/types.h>
29 #include <linux/types.h>
53 return state->command(state, cmd, arg, NULL, 0); in scd30_command_write()
61 ret = state->command(state, cmd, 0, &tmp, sizeof(tmp)); in scd30_command_read()
79 * Power-on-reset causes sensor to produce some glitch on i2c bus and in scd30_reset()
80 * some controllers end up in error state. Try to recover by placing in scd30_reset()
93 sign = (float32 & BIT(31)) ? -1 : 1, in scd30_float_to_fp()
100 exp -= 127; in scd30_float_to_fp()
102 exp = -exp; in scd30_float_to_fp()
[all …]
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-pl022.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: spi-controller.yaml#
14 - $ref: /schemas/arm/primecell.yaml#
23 - compatible
28 - const: arm,pl022
29 - const: arm,primecell
[all …]
/linux/drivers/iio/adc/
H A Dmcp3911.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Microchip MCP3911, Two-channel Analog Front End
58 /* Internal voltage reference in mV */
120 struct iio_trigger *trig; member
136 reg = MCP3911_REG_READ(reg, adc->dev_addr); in mcp3911_read()
137 ret = spi_write_then_read(adc->spi, &reg, 1, val, len); in mcp3911_read()
142 *val >>= ((4 - len) * 8); in mcp3911_read()
143 dev_dbg(&adc->sp in mcp3911_read()
667 mcp3911_set_trigger_state(struct iio_trigger * trig,bool enable) mcp3911_set_trigger_state() argument
[all...]
H A Dstm32-dfsdm-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
10 #include <linux/dma-mapping.h>
11 #include <linux/iio/adc/stm32-dfsdm-adc.h>
14 #include <linux/iio/hw-consumer.h>
16 #include <linux/iio/timer/stm32-lptim-trigger.h>
17 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-dfsdm.h"
44 /* Limit filter output resolution to 31 bits. (i.e. sample range is +/-2^30) */
47 * Data are output as two's complement data in a 24 bit field.
[all …]
H A Dat91-sama5d2_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/dma-mapping.h>
31 #include <linux/nvmem-consumer.h>
36 #include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
110 /* Interrupt Enable Register - TS X measurement ready */
112 /* Interrupt Enable Register - TS Y measurement ready */
114 /* Interrupt Enable Register - TS pressure measurement ready */
116 /* Interrupt Enable Register - Data ready */
118 /* Interrupt Enable Register - general overrun error */
120 /* Interrupt Enable Register - Pen detect */
[all …]
H A Dti-adc108s102.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2013-2015 Intel Corporation.
18 #include <linux/iio/types.h>
29 * In case of ACPI, we use the hard-wired 5000 mV of the Galileo and IOT2000
31 * via the vref-supply regulator.
38 * chips. The ADC108S102 effectively returns a 12-bit result with the 2
39 * least-significant bits unset.
45 * 16-bit SPI command format:
47 * [13:11] 3-bit channel address
53 * 16-bit SPI response format:
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-dbg-tlv.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2018-2024 Intel Corporation
6 #include "iwl-drv.h"
7 #include "iwl-trans.h"
8 #include "iwl-dbg-tlv.h"
13 * enum iwl_dbg_tlv_type - debug TLV types
24 IWL_UCODE_TLV_TYPE_DEBUG_INFO - IWL_UCODE_TLV_DEBUG_BASE,
34 * struct iwl_dbg_tlv_ver_data - debug TLV version struct
44 * struct iwl_dbg_tlv_timer_node - timer node struct
71 u32 len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_add()
[all …]
/linux/drivers/iio/proximity/
H A Dhx9023s.c1 // SPDX-License-Identifier: GPL-2.0
29 #include <linux/types.h>
41 #include <linux/iio/types.h>
137 struct iio_trigger *trig; member
158 * Serialize access to channel configuration in
314 return regmap_update_bits(data->regmap, HX9023S_INTERRUPT_CFG, in hx9023s_interrupt_enable()
320 return regmap_update_bits(data->regmap, HX9023S_INTERRUPT_CFG, in hx9023s_interrupt_disable()
327 return regmap_update_bits(data->regmap, in hx9023s_data_lock()
332 return regmap_update_bits(data->regmap, in hx9023s_data_lock()
348 ch_pos[i] = data->ch_data[i].channel_positive == HX9023S_NOT_CONNECTED ? in hx9023s_ch_cfg()
[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)
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)
55 #define hyst_exists(hyst) ((hyst)->offset != 0)
[all …]
/linux/drivers/acpi/
H A Dresource.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/acpi/resource.c - ACPI device resources interpretation.
25 /* On X86 IO space is limited to the [0 - 64K] IO port range */ in acpi_iospace_resource_valid()
26 return res->end < 0x10003; in acpi_iospace_resource_valid()
32 * addresses mapping IO space in CPU physical address space, IO space
33 * resources can be placed anywhere in the 64-bit physical address space.
42 return ext_irq->resource_source.string_length == 0 && in is_gsi()
43 ext_irq->producer_consumer == ACPI_CONSUMER; in is_gsi()
54 u64 reslen = end - start + 1; in acpi_dev_resource_len_valid()
66 pr_debug("ACPI: invalid or unassigned resource %s [%016llx - %016llx] length [%016llx]\n", in acpi_dev_resource_len_valid()
[all …]
/linux/drivers/iio/accel/
H A Dkionix-kx022a.c1 // SPDX-License-Identifier: GPL-2.0-only
20 #include <linux/types.h>
29 #include "kionix-kx022a.h"
34 * 258 bytes of sample data. The quirk to know is that the amount of bytes in
89 * The HW does not set WHO_AM_I reg as read-only but we don't want to write it
90 * so we still include it in the read-only ranges.
269 struct iio_trigger *trig; member
283 * Prevent toggling the sensor stby/active state (PC1 bit) in the
307 return &data->orientation; in kx022a_get_mount_matrix()
393 * range is typically +-2G/4G/8G/16G, distributed over the amount of bits.
[all …]
H A Dmma7455_core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * IIO accel core driver for Freescale MMA7455L 3-axis 10-bit accelerometer
7 * - 8-bit mode with different scales
8 * - INT1/INT2 interrupts
9 * - Offset calibration
10 * - Events
22 #include <linux/types.h>
46 * When MMA7455 is used in 10-bit it has a fullscale of -8g
47 * corresponding to raw value -512. The userspace interface
68 struct device *dev = regmap_get_device(mma7455->regmap); in mma7455_drdy()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
8 #include "iwl-drv.h"
12 #include "iwl-io.h"
13 #include "iwl-prph.h"
14 #include "iwl-csr.h"
15 #include "iwl-fh.h"
17 * struct iwl_fw_dump_ptrs - set of pointers needed for the fw-error-dump
[all …]
/linux/include/linux/iio/imu/
H A Dadis.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
16 #include <linux/iio/types.h>
28 * struct adis_timeouts - ADIS chip variant timeouts
29 * @reset_ms - Wait time after rst pin goes inactive
30 * @sw_reset_ms - Wai
116 struct iio_trigger *trig; global() member
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dmac.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022, 2024 Intel Corporation
11 * AUX indices follows - 1 for non-CDB, 2 for CDB.
31 * enum iwl_mac_protection_flags - MAC context flags
50 * enum iwl_mac_types - Supported MAC types
54 * @FW_MAC_TYPE_PIBSS: Pseudo-IBSS
78 * enum iwl_tsf_id - TSF hw timer ID
94 * struct iwl_mac_data_ap - configuration data for AP MAC context
95 * @beacon_time: beacon transmit time in system time
96 * @beacon_tsf: beacon transmit time in TSF
[all …]
/linux/include/linux/
H A Dleds.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include <dt-bindings/leds/common.h>
17 #include <linux/types.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
68 * in new LED class drivers.
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
143 * Activate hardware accelerated blink, delays are in milliseconds
[all …]
/linux/drivers/pinctrl/intel/
H A Dpinctrl-baytrail.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013, Intel Corporation
18 #include <linux/types.h>
28 #include <linux/pinctrl/pinconf-generic.h>
30 #include "pinctrl-intel.h"
570 offset -= comm->pin_base; in byt_gpio_reg()
579 reg_offset = comm->pad_map[offset] * 16; in byt_gpio_reg()
583 return comm->pad_regs + reg_offset + reg; in byt_gpio_reg()
606 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_simple_mux()
632 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_mixed_mux()
[all …]
/linux/arch/x86/pci/
H A Dirq.c1 // SPDX-License-Identifier: GPL-2.0
3 * Low-Level PCI Support for PC -- Routing of Interrupts
5 * (c) 1999--2000 Martin Mares <mj@ucw.cz>
8 #include <linux/types.h>
22 #include <asm/pc-conf-reg.h>
81 if (rt->signature != PIRQ_SIGNATURE || in pirq_check_routing_table()
82 rt->version != PIRQ_VERSION || in pirq_check_routing_table()
83 rt->size % 16 || in pirq_check_routing_table()
84 rt->size < sizeof(struct irq_routing_table) || in pirq_check_routing_table()
85 (limit && rt->size > limit - addr)) in pirq_check_routing_table()
[all …]

12