/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_82599.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 10 * ixgbe_dcb_config_rx_arbiter_82599 - Config Rx Data arbiter 14 * @bwg_id: bandwidth grouping indexed by traffic class 15 * @prio_type: priority type indexed by traffic class 16 * @prio_tc: priority to tc assignments indexed by priority 27 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82599() 28 u32 credit_refill = 0; in ixgbe_dcb_config_rx_arbiter_82599() 29 u32 credit_max = 0; in ixgbe_dcb_config_rx_arbiter_82599() 30 u8 i = 0; in ixgbe_dcb_config_rx_arbiter_82599() [all …]
|
D | ixgbe_dcb_82598.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 10 * ixgbe_dcb_config_rx_arbiter_82598 - Config Rx data arbiter 14 * @prio_type: priority type indexed by traffic class 23 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598() 24 u32 credit_refill = 0; in ixgbe_dcb_config_rx_arbiter_82598() 25 u32 credit_max = 0; in ixgbe_dcb_config_rx_arbiter_82598() 26 u8 i = 0; in ixgbe_dcb_config_rx_arbiter_82598() 42 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_rx_arbiter_82598() 65 return 0; in ixgbe_dcb_config_rx_arbiter_82598() [all …]
|
/Linux-v5.10/fs/overlayfs/ |
D | export.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. 24 return 0; in ovl_encode_maybe_copy_up() 41 * Before encoding a non-upper directory file handle from real layer N, we need 53 * copied up and renamed, upper dir /a will be indexed by lower dir /a from 54 * layer 1. The dir /a from layer 2 will never be indexed, so the algorithm (*) 62 * ovl_lookup_real_ancestor() will find the indexed ancestor /a/b and decoding 66 * entry /a in the lower layers above layer N and find the indexed dir /a from 82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() 83 return oe->numlower; in ovl_connectable_layer() [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/v4l/ |
D | pixfmt-indexed.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-indexed: 6 Indexed Format 16 .. flat-table:: Indexed Image Format 17 :header-rows: 2 18 :stub-columns: 0 20 * - Identifier 21 - Code 22 - 23 - :cspan:`7` Byte 0 [all …]
|
/Linux-v5.10/drivers/iio/light/ |
D | tsl2772.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 26 #define PROX_STAT_CAL 0 31 #define TRITON_ID 0x00 32 #define SWORDFISH_ID 0x30 33 #define HALIBUT_ID 0x20 39 * TAOS Register definitions - Note: depending on device, some of these register 47 #define TSL2772_CNTRL 0x00 48 #define TSL2772_ALS_TIME 0X01 49 #define TSL2772_PRX_TIME 0x02 [all …]
|
/Linux-v5.10/drivers/infiniband/sw/rxe/ |
D | rxe_pool.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 11 #define RXE_POOL_CACHE_FLAGS (0) 14 RXE_POOL_ATOMIC = BIT(0), 59 /* only used if indexed or keyed */ 77 /* only used if indexed or keyed */ 104 /* assign an index to an indexed object and insert object into 120 /* lookup an indexed object from index. takes a reference on object */ 130 #define rxe_add_ref(elem) kref_get(&(elem)->pelem.ref_cnt) 133 #define rxe_drop_ref(elem) kref_put(&(elem)->pelem.ref_cnt, rxe_elem_release)
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/css_2401_system/ |
D | isys_stream2mmio_global.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 29 * Stream2MMIO 0 has 8 SIDs that are indexed by 32 * Stream2MMIO 1 has 4 SIDs that are indexed by 35 * Stream2MMIO 2 has 4 SIDs that are indexed by
|
/Linux-v5.10/drivers/iio/adc/ |
D | axp288_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * axp288_adc.c - X-Powers AXP288 PMIC ADC Driver 23 * This mask enables all ADCs except for the battery temp-sensor (TS), that is 24 * left as-is to avoid breaking charging on devices without a temp-sensor. 26 #define AXP288_ADC_EN_MASK 0xF0 27 #define AXP288_ADC_TS_ENABLE 0x01 30 #define AXP288_ADC_TS_BIAS_20UA (0 << 4) 34 #define AXP288_ADC_TS_CURRENT_ON_OFF_MASK GENMASK(1, 0) 35 #define AXP288_ADC_TS_CURRENT_OFF (0 << 0) 36 #define AXP288_ADC_TS_CURRENT_ON_WHEN_CHARGING (1 << 0) [all …]
|
D | ingenic-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2019 Artur Rojek <contact@artur-rojek.eu> 6 * based on drivers/mfd/jz4740-adc.c 9 #include <dt-bindings/iio/adc/ingenic,adc.h> 22 #define JZ_ADC_REG_ENABLE 0x00 23 #define JZ_ADC_REG_CFG 0x04 24 #define JZ_ADC_REG_CTRL 0x08 25 #define JZ_ADC_REG_STATUS 0x0c 26 #define JZ_ADC_REG_ADSAME 0x10 27 #define JZ_ADC_REG_ADWAIT 0x14 [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu_state.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ 50 in[0] = val; in CRASHDUMP_WRITE() 58 in[0] = target; in CRASHDUMP_READ() 66 in[0] = 0; in CRASHDUMP_FINI() 67 in[1] = 0; in CRASHDUMP_FINI() 91 list_add_tail(&obj->node, &a6xx_state->objs); in state_kcalloc() 92 return &obj->data; in state_kcalloc() 106 * Allocate 1MB for the crashdumper scratch region - 8k for the script and 110 #define A6XX_CD_DATA_SIZE (SZ_1M - 8192) [all …]
|
/Linux-v5.10/fs/ocfs2/ |
D | dir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* -*- mode: c; c-basic-offset: 8; -*- 3 * vim: noexpandtab sw=8 ts=8 sts=0: 26 struct buffer_head *dl_dx_root_bh; /* Root of indexed 29 struct buffer_head *dl_dx_leaf_bh; /* Indexed leaf block */ 31 * indexed leaf */ 61 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent), in ocfs2_add_entry() 62 dentry->d_name.name, dentry->d_name.len, in ocfs2_add_entry()
|
/Linux-v5.10/samples/pktgen/ |
D | parameters.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 echo "Usage: $0 [-vx] -i ethX" 9 echo " -i : (\$DEV) output interface/device (required)" 10 echo " -s : (\$PKT_SIZE) packet size" 11 echo " -d : (\$DEST_IP) destination IP. CIDR (e.g. 198.18.0.0/15) is also allowed" 12 echo " -m : (\$DST_MAC) destination MAC-addr" 13 echo " -p : (\$DST_PORT) destination PORT range (e.g. 433-444) is also allowed" 14 echo " -t : (\$THREADS) threads to start" 15 echo " -f : (\$F_THREAD) index of first thread (zero indexed CPU number)" 16 echo " -c : (\$SKB_CLONE) SKB clones send before alloc new SKB" [all …]
|
/Linux-v5.10/drivers/platform/x86/ |
D | apple-gmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> 19 #include <linux/apple-gmux.h> 31 * A `Lattice XP2`_ on pre-retinas, a `Renesas R4F2113`_ on retinas. 34 * dual GPUs but no built-in display.) 38 * to access a pre-retina gmux are infixed ``_pio_``, those for a retina gmux 50 bool indexed; member 72 #define GMUX_PORT_VERSION_MAJOR 0x04 73 #define GMUX_PORT_VERSION_MINOR 0x05 74 #define GMUX_PORT_VERSION_RELEASE 0x06 [all …]
|
/Linux-v5.10/drivers/staging/iio/cdc/ |
D | ad7746.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #define AD7746_REG_STATUS 0 44 #define AD7746_STATUS_RDYCAP BIT(0) 50 #define AD7746_CAPSETUP_CACHOP BIT(0) 54 #define AD7746_VTSETUP_VTMD_INT_TEMP (0 << 5) 60 #define AD7746_VTSETUP_VTCHOP BIT(0) 69 #define AD7746_EXCSETUP_EXCLVL(x) (((x) & 0x3) << 0) 76 #define AD7746_CONF_MODE_IDLE (0 << 0) 77 #define AD7746_CONF_MODE_CONT_CONV (1 << 0) 78 #define AD7746_CONF_MODE_SINGLE_CONV (2 << 0) [all …]
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | cpcihp_zt5550.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 #define CSR_HCINDEX 0x00 19 #define CSR_HCDATA 0x04 20 #define CSR_INTSTAT 0x08 21 #define CSR_INTMASK 0x09 22 #define CSR_CNT0CMD 0x0C 23 #define CSR_CNT1CMD 0x0E 24 #define CSR_CNT0 0x10 25 #define CSR_CNT1 0x14 28 #define CNT0_INT_MASK 0x01 [all …]
|
/Linux-v5.10/include/uapi/linux/ |
D | dcbnl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 2008-2011, Intel Corporation. 16 * Place - Suite 330, Boston, MA 02111-1307 USA. 29 #define IEEE_8021QAZ_TSA_STRICT 0 39 * @tc_tx_bw: tc tx bandwidth indexed by traffic class 40 * @tc_rx_bw: tc rx bandwidth indexed by traffic class 41 * @tc_tsa: TSA Assignment table, indexed by traffic class 43 * @tc_reco_bw: recommended tc bandwidth indexed by traffic class for TLV 44 * @tc_reco_tsa: recommended tc bandwidth indexed by traffic class for TLV 45 * @reco_prio_tc: recommended tc tx bandwidth indexed by traffic class for TLV [all …]
|
/Linux-v5.10/drivers/pcmcia/ |
D | cirrus.h | 33 #define PD67_MISC_CTL_1 0x16 /* Misc control 1 */ 34 #define PD67_FIFO_CTL 0x17 /* FIFO control */ 35 #define PD67_MISC_CTL_2 0x1E /* Misc control 2 */ 36 #define PD67_CHIP_INFO 0x1f /* Chip information */ 37 #define PD67_ATA_CTL 0x026 /* 6730: ATA control */ 38 #define PD67_EXT_INDEX 0x2e /* Extension index */ 39 #define PD67_EXT_DATA 0x2f /* Extension data */ 41 /* PD6722 extension registers -- indexed in PD67_EXT_INDEX */ 42 #define PD67_DATA_MASK0 0x01 /* Data mask 0 */ 43 #define PD67_DATA_MASK1 0x02 /* Data mask 1 */ [all …]
|
/Linux-v5.10/fs/xfs/ |
D | xfs_extent_busy.h | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 16 * Busy block/extent entry. Indexed by a rbtree in perag to mark blocks that 23 struct rb_node rb_node; /* ag by-bno indexed search tree */ 29 #define XFS_EXTENT_BUSY_DISCARDED 0x01 /* undergoing a discard op. */ 30 #define XFS_EXTENT_BUSY_SKIP_DISCARD 0x02 /* do not discard */
|
/Linux-v5.10/drivers/acpi/acpica/ |
D | rsinfo.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsinfo - Dispatch and Info tables 20 * The tables for Large descriptors are indexed by bits 6:0 of the AML 21 * descriptor type byte. The tables for Small descriptors are indexed by 23 * descriptors are indexed by the acpi_resource_type field. 25 /* Dispatch table for resource-to-AML (Set Resource) conversion functions */ 27 acpi_rs_set_irq, /* 0x00, ACPI_RESOURCE_TYPE_IRQ */ 28 acpi_rs_convert_dma, /* 0x01, ACPI_RESOURCE_TYPE_DMA */ 29 acpi_rs_set_start_dpf, /* 0x02, ACPI_RESOURCE_TYPE_START_DEPENDENT */ 30 acpi_rs_convert_end_dpf, /* 0x03, ACPI_RESOURCE_TYPE_END_DEPENDENT */ [all …]
|
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 14 /* read operations, indexed using DWORDS */ 17 /* write operations, indexed using DWORDS */ 20 u32 __iomem *hw_addr = READ_ONCE((hw)->hw_addr); \ 23 } while (0) 28 u32 __iomem *sw_addr = READ_ONCE((hw)->sw_addr); \ 31 } while (0) 42 #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta)) 45 #define fm10k_unbind_hw_stats_32b(s) ((s)->base_h = 0)
|
/Linux-v5.10/drivers/iio/gyro/ |
D | adis16080.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #define ADIS16080_DIN_GYRO (0 << 10) /* Gyroscope output */ 26 * 0: No changes to control register. 37 * struct adis16080_state - device instance specific data 58 .tx_buf = &st->buf, in adis16080_read_sample() 62 .rx_buf = &st->buf, in adis16080_read_sample() 67 st->buf = cpu_to_be16(addr | ADIS16080_DIN_WRITE); in adis16080_read_sample() 69 ret = spi_sync_transfer(st->us, t, ARRAY_SIZE(t)); in adis16080_read_sample() 70 if (ret == 0) in adis16080_read_sample() 71 *val = sign_extend32(be16_to_cpu(st->buf), 11); in adis16080_read_sample() [all …]
|
/Linux-v5.10/include/linux/ |
D | omap-dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define OMAP1_DMA_TOUT_IRQ (1 << 0) 40 #define OMAP_DMA_DATA_TYPE_S8 0x00 41 #define OMAP_DMA_DATA_TYPE_S16 0x01 42 #define OMAP_DMA_DATA_TYPE_S32 0x02 44 #define OMAP_DMA_SYNC_ELEMENT 0x00 45 #define OMAP_DMA_SYNC_FRAME 0x01 46 #define OMAP_DMA_SYNC_BLOCK 0x02 47 #define OMAP_DMA_SYNC_PACKET 0x03 49 #define OMAP_DMA_DST_SYNC_PREFETCH 0x02 [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | system_global.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 // SPDX-License-Identifier: GPL-2.0-or-later 15 * - The system is hetereogeneous; Multiple cells and devices classes 16 * - The cell and device instances are homogeneous, each device type 18 * - Device instances supporting a subset of the class capabilities are 28 /* per-frame parameter handling support */ 76 DDR0_ID = 0, 81 ISP0_ID = 0, 86 SP0_ID = 0, 91 MMU0_ID = 0, [all …]
|
/Linux-v5.10/drivers/iio/health/ |
D | afe440x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * AFE440X Heart Rate Monitors and Low-Cost Pulse Oximeters 5 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/ 13 #define AFE440X_CONTROL0 0x00 14 #define AFE440X_LED2STC 0x01 15 #define AFE440X_LED2ENDC 0x02 16 #define AFE440X_LED1LEDSTC 0x03 17 #define AFE440X_LED1LEDENDC 0x04 18 #define AFE440X_ALED2STC 0x05 19 #define AFE440X_ALED2ENDC 0x06 [all …]
|
/Linux-v5.10/Documentation/driver-api/iio/ |
D | core.rst | 8 :file:`drivers/iio/industrialio-*` 11 ---------------------- 13 * struct iio_dev - industrial I/O device 14 * iio_device_alloc() - allocate an :c:type:`iio_dev` from a driver 15 * iio_device_free() - free an :c:type:`iio_dev` from a driver 16 * iio_device_register() - register a device with the IIO subsystem 17 * iio_device_unregister() - unregister a device from the IIO 63 :file:`Documentation/ABI/testing/sysfs-bus-iio` file in the Linux kernel 69 struct iio_chan_spec - specification of a single channel 112 * set **.indexed** field of :c:type:`iio_chan_spec` to 1. In this case the [all …]
|