/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | coresight-cti.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/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 15 not part of the CoreSight graph described in the general CoreSight bindings 22 number is defined at design time, the maximum of each defined in the DEVID 25 CTIs are interconnected in a star topology via the CTM, using a number of 27 described in the DEVID register. The star topology is not required to be 28 described in the bindings as the actual connections are software [all …]
|
/linux-5.10/Documentation/iio/ |
D | iio_configfs.rst | 8 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-5.10/Documentation/devicetree/bindings/spi/ |
D | spi-pl022.yaml | 1 # 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#" 22 - compatible 27 - const: arm,pl022 28 - const: arm,primecell 39 clock-names: [all …]
|
/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-cti-platform.c | 1 // 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 …]
|
D | coresight-cti.h | 1 /* 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 …]
|
D | coresight-cti-core.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include "coresight-priv.h" 23 #include "coresight-cti.h" 30 * We assume that the non-CPU CTIs are always powered as we do with sinks etc. 33 * the same CTM, in general this is the case but does not always have to be. 43 dev_get_drvdata(csdev->dev.parent) 56 * CTI device name list - for CTI not bound to cores. 60 /* write set of regs to hardware - call with spinlock claimed */ 63 struct cti_config *config = &drvdata->config; in cti_write_all_hw_regs() 66 CS_UNLOCK(drvdata->base); in cti_write_all_hw_regs() [all …]
|
/linux-5.10/drivers/iio/chemical/ |
D | scd30_core.c | 1 // 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-5.10/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-dbg-tlv.c | 8 * Copyright (C) 2018 - 2020 Intel Corporation 14 * This program is distributed in the hope that it will be useful, but 22 * The full GNU General Public License is included in this distribution 23 * in the file called COPYING. 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright (C) 2018 - 2020 Intel Corporation 34 * Redistribution and use in source and binary forms, with or without 40 * * Redistributions in binary form must reproduce the above copyright 41 * notice, this list of conditions and the following disclaimer in 51 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT [all …]
|
/linux-5.10/drivers/iio/adc/ |
D | dln2-adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for the Diolan DLN-2 USB-ADC adapter 10 #include <linux/types.h> 22 #define DLN2_ADC_MOD_NAME "dln2-adc" 49 * Plays similar role to iio_demux_table in subsystem core; except allocated 50 * in a fixed 8-element array. 62 struct iio_trigger *trig; member 64 /* Cached sample period in milliseconds */ 87 struct dln2_adc_demux_table *p = dln2->demux_count ? in dln2_adc_add_demux() 88 &dln2->demux[dln2->demux_count - 1] : NULL; in dln2_adc_add_demux() [all …]
|
D | stm32-dfsdm-adc.c | 1 // 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> 13 #include <linux/iio/hw-consumer.h> 15 #include <linux/iio/timer/stm32-lptim-trigger.h> 16 #include <linux/iio/timer/stm32-timer-trigger.h> 27 #include "stm32-dfsdm.h" 42 /* Limit filter output resolution to 31 bits. (i.e. sample range is +/-2^30) */ 45 * Data are output as two's complement data in a 24 bit field. [all …]
|
D | at91-sama5d2_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 98 /* Interrupt Enable Register - TS X measurement ready */ 100 /* Interrupt Enable Register - TS Y measurement ready */ 102 /* Interrupt Enable Register - TS pressure measurement ready */ 104 /* Interrupt Enable Register - Data ready */ 106 /* Interrupt Enable Register - general overrun error */ 108 /* Interrupt Enable Register - Pen detect */ 110 /* Interrupt Enable Register - No pen detect */ 118 /* Interrupt Status Register - Pen touching sense status */ [all …]
|
D | ti-adc108s102.c | 1 // 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-5.10/drivers/clk/bcm/ |
D | clk-kona.h | 24 #include <linux/clk-provider.h> 32 #define BAD_CLK_NAME ((const char *)-1) 41 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) 42 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) 43 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) 44 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) 48 #define ccu_policy_exists(ccu_policy) ((ccu_policy)->enable.offset != 0) 52 #define policy_exists(policy) ((policy)->offset != 0) 63 #define hyst_exists(hyst) ((hyst)->offset != 0) 68 (div)->u.s.frac_width > 0) [all …]
|
/linux-5.10/drivers/acpi/ |
D | resource.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/acpi/resource.c - ACPI device resources interpretation. 24 /* On X86 IO space is limited to the [0 - 64K] IO port range */ in acpi_iospace_resource_valid() 25 return res->end < 0x10003; in acpi_iospace_resource_valid() 31 * addresses mapping IO space in CPU physical address space, IO space 32 * resources can be placed anywhere in the 64-bit physical address space. 41 return ext_irq->resource_source.string_length == 0 && in is_gsi() 42 ext_irq->producer_consumer == ACPI_CONSUMER; in is_gsi() 53 u64 reslen = end - start + 1; in acpi_dev_resource_len_valid() 65 pr_debug("ACPI: invalid or unassigned resource %s [%016llx - %016llx] length [%016llx]\n", in acpi_dev_resource_len_valid() [all …]
|
/linux-5.10/arch/arm/include/asm/ |
D | div64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include <linux/types.h> 18 * In other words, a 64-bit dividend with a 32-bit divisor producing 19 * a 64-bit result and a 32-bit remainder. To accomplish this optimally 20 * we override the generic version in lib/div64.c to call our __do_div64 55 * In OABI configurations, some uses of the do_div function 57 * we can force the use of the out-of-line version for 66 * __div64_const32() code in asm-generic/div64.h. First there is 67 * gcc PR 15089 that tend to trig on more complex constructs, spurious 69 * referenced in the generated code, and those gcc versions are not able [all …]
|
/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac80211.c | 8 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 9 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 10 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation 16 * This program is distributed in the hope that it will be useful, but 21 * The full GNU General Public License is included in this distribution 22 * in the file called COPYING. 26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 31 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 32 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation [all …]
|
D | tx.c | 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2020 Intel Corporation 17 * This program is distributed in the hope that it will be useful, but 22 * The full GNU General Public License is included in this distribution 23 * in the file called COPYING. 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH [all …]
|
/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2020 Intel Corporation 17 * This program is distributed in the hope that it will be useful, but 22 * The full GNU General Public License is included in this distribution 23 * in the file called COPYING. 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH [all …]
|
/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | mac.h | 9 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation 15 * This program is distributed in the hope that it will be useful, but 20 * The full GNU General Public License is included in this distribution 21 * in the file called COPYING. 25 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2012 - 2014, 2018 - 2020 Intel Corporation 33 * Redistribution and use in source and binary forms, with or without 39 * * Redistributions in binary form must reproduce the above copyright 40 * notice, this list of conditions and the following disclaimer in 50 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT [all …]
|
/linux-5.10/drivers/ps3/ |
D | ps3-vuart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * vuart - An inter-partition data link service. 31 * The vuart provides a bi-directional byte stream data link between logical 63 * struct ps3_vuart_port_priv - private vuart device data. 86 BUG_ON(!dev->driver_priv); in to_port_priv() 87 return (struct ps3_vuart_port_priv *)dev->driver_priv; in to_port_priv() 91 * struct ports_bmp - bitmap indicating ports needing service. 106 pr_debug("%s:%d: ports_bmp: %016llxh\n", func, line, bmp->status); in _dump_ports_bmp() 143 struct vuart_triggers *trig) in ps3_vuart_get_triggers() argument 150 result = lv1_get_virtual_uart_param(dev->port_number, in ps3_vuart_get_triggers() [all …]
|
/linux-5.10/include/linux/iio/imu/ |
D | adis.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 14 #include <linux/iio/types.h> 25 * struct adis_timeouts - ADIS chip variant timeouts 26 * @reset_ms - Wait time after rst pin goes inactive 27 * @sw_reset_ms - Wait time after sw reset command 28 * @self_test_ms - Wait time after self test command 36 * struct adis_data - ADIS chip variant specific data 37 * @read_delay: SPI delay for read operations in us 38 * @write_delay: SPI delay for write operations in us [all …]
|
/linux-5.10/include/linux/iio/ |
D | iio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/iio/types.h> 37 * struct iio_chan_spec_ext_info - Extended channel info attribute 56 * struct iio_enum - Enum channel info attribute 87 * IIO_ENUM() - Initialize enum extended channel attribute 104 * IIO_ENUM_AVAILABLE() - Initialize enum available extended channel attribute 108 * Creates a read only attribute which lists all the available enum items in a 120 * struct iio_mount_matrix - iio mounting matrix 138 * IIO_MOUNT_MATRIX() - Initialize mount matrix extended channel attribute 151 * struct iio_event_spec - specification for a channel event [all …]
|
/linux-5.10/drivers/net/ethernet/atheros/alx/ |
D | hw.h | 9 * This file is distributed in the hope that it will be useful, but 24 * copyright notice and this permission notice appear in all copies. 28 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 30 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 32 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 37 #include <linux/types.h> 43 /* Transmit Packet Descriptor, contains 4 32-bit words. 46 * +----------------+----------------+ 47 * | vlan-tag | buf length | 48 * +----------------+----------------+ [all …]
|
/linux-5.10/drivers/staging/comedi/drivers/ |
D | das1800.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards 6 * COMEDI - Linux Control and Measurement Device Interface 14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st), 15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao), 16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da), 17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da), 18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st), 19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc), 20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st), [all …]
|
/linux-5.10/arch/powerpc/sysdev/xive/ |
D | spapr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/types.h> 28 #include <asm/xive-regs.h> 33 #include "xive-internal.h" 53 return -ENOMEM; in xive_irq_bitmap_add() 55 spin_lock_init(&xibm->lock); in xive_irq_bitmap_add() 56 xibm->base = base; in xive_irq_bitmap_add() 57 xibm->count = count; in xive_irq_bitmap_add() 58 xibm->bitmap = kzalloc(xibm->count, GFP_KERNEL); in xive_irq_bitmap_add() 59 if (!xibm->bitmap) { in xive_irq_bitmap_add() [all …]
|