Home
last modified time | relevance | path

Searched +full:0 +full:- +full:indexed (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.c1 // 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 …]
H A Dixgbe_dcb_82598.c1 // 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
21 u32 reg = 0; in ixgbe_dcb_config_rx_arbiter_82598()
22 u32 credit_refill = 0; in ixgbe_dcb_config_rx_arbiter_82598()
23 u32 credit_max = 0; in ixgbe_dcb_config_rx_arbiter_82598()
24 u8 i = 0; in ixgbe_dcb_config_rx_arbiter_82598()
40 for (i = 0; i < MAX_TRAFFIC_CLASS; i++) { in ixgbe_dcb_config_rx_arbiter_82598()
63 return 0; in ixgbe_dcb_config_rx_arbiter_82598()
[all …]
/linux/drivers/iio/adc/
H A Dingenic-adc.c1 // 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>
24 #define JZ_ADC_REG_ENABLE 0x00
25 #define JZ_ADC_REG_CFG 0x04
26 #define JZ_ADC_REG_CTRL 0x08
27 #define JZ_ADC_REG_STATUS 0x0c
28 #define JZ_ADC_REG_ADSAME 0x10
29 #define JZ_ADC_REG_ADWAIT 0x14
[all …]
H A Daxp288_adc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * axp288_adc.c - X-Powers AXP288 PMIC ADC Driver
24 * This mask enables all ADCs except for the battery temp-sensor (TS), that is
25 * left as-is to avoid breaking charging on devices without a temp-sensor.
27 #define AXP288_ADC_EN_MASK 0xF0
28 #define AXP288_ADC_TS_ENABLE 0x01
31 #define AXP288_ADC_TS_BIAS_20UA (0 << 4)
35 #define AXP288_ADC_TS_CURRENT_ON_OFF_MASK GENMASK(1, 0)
36 #define AXP288_ADC_TS_CURRENT_OFF (0 << 0)
37 #define AXP288_ADC_TS_CURRENT_ON_WHEN_CHARGING (1 << 0)
[all …]
H A Dqcom-spmi-rradc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2017, 2019, The Linux Foundation. All rights reserved.
28 #include <soc/qcom/qcom-spmi-pmic.h>
30 #define DRIVER_NAME "qcom-spmi-rradc"
32 #define RR_ADC_EN_CTL 0x46
33 #define RR_ADC_SKIN_TEMP_LSB 0x50
34 #define RR_ADC_SKIN_TEMP_MSB 0x51
35 #define RR_ADC_CTL 0x52
37 #define RR_ADC_LOG 0x53
38 #define RR_ADC_LOG_CLR_CTRL BIT(0)
[all …]
H A Drtq6056.c1 // SPDX-License-Identifier: GPL-2.0
27 #define RTQ6056_REG_CONFIG 0x00
28 #define RTQ6056_REG_SHUNTVOLT 0x01
29 #define RTQ6056_REG_BUSVOLT 0x02
30 #define RTQ6056_REG_POWER 0x03
31 #define RTQ6056_REG_CURRENT 0x04
32 #define RTQ6056_REG_CALIBRATION 0x05
33 #define RTQ6056_REG_MASKENABLE 0x06
34 #define RTQ6056_REG_ALERTLIMIT 0x07
35 #define RTQ6056_REG_MANUFACTID 0xFE
[all …]
/linux/drivers/iio/light/
H A Dtsl2772.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org>
28 #define PROX_STAT_CAL 0
33 #define TRITON_ID 0x00
34 #define SWORDFISH_ID 0x30
35 #define HALIBUT_ID 0x20
41 * TAOS Register definitions - Note: depending on device, some of these register
49 #define TSL2772_CNTRL 0x00
50 #define TSL2772_ALS_TIME 0X01
51 #define TSL2772_PRX_TIME 0x02
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-indexed.rst1 .. 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/include/uapi/linux/
H A Ddcbnl.h1 /* 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/samples/pktgen/
H A Dparameters.sh2 # 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 " -k : (\$UDP_CSUM) enable UDP tx checksum"
15 echo " -t : (\$THREADS) threads to start"
16 echo " -f : (\$F_THREAD) index of first thread (zero indexed CPU number)"
[all …]
/linux/drivers/iio/cdc/
H A Dad7746.c1 // SPDX-License-Identifier: GPL-2.0
26 #define AD7746_REG_STATUS 0
43 #define AD7746_STATUS_RDYCAP BIT(0)
49 #define AD7746_CAPSETUP_CACHOP BIT(0)
54 #define AD7746_VTSETUP_VTMD_INT_TEMP 0
60 #define AD7746_VTSETUP_VTCHOP BIT(0)
69 #define AD7746_EXCSETUP_EXCLVL_MASK GENMASK(1, 0)
74 #define AD7746_CONF_MODE_MASK GENMASK(2, 0)
75 #define AD7746_CONF_MODE_IDLE 0
84 #define AD7746_CAPDAC_DACP_MASK GENMASK(6, 0)
[all …]
/linux/drivers/md/dm-vdo/indexer/
H A Dgeometry.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 * many index sub-components.
24 /* Number of sparsely-indexed chapters in a volume */
28 /* Virtual chapter remapped from physical chapter 0 */
59 /* Number of densely-indexed chapters in a volume */
82 /* The default number of sparsely-indexed chapters in a volume */
83 DEFAULT_SPARSE_CHAPTERS_PER_VOLUME = 0,
114 * converted from a non-lvm volume to an lvm volume.
119 return !!(geometry->chapters_per_volume & 1); in uds_is_reduced_index_geometry()
125 return geometry->sparse_chapters_per_volume > 0; in uds_is_sparse_index_geometry()
/linux/drivers/pci/hotplug/
H A Dcpcihp_zt5550.h1 /* 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/drivers/pcmcia/
H A Dcirrus.h33 #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/drivers/acpi/acpica/
H A Drsinfo.c1 // 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/include/linux/
H A Domap-dma.h1 /* 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/drivers/iio/gyro/
H A Dadis16080.c1 // 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/drivers/staging/media/atomisp/pci/
H A Dsystem_global.h1 /* 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
73 DDR0_ID = 0,
78 ISP0_ID = 0,
83 SP0_ID = 0,
88 MMU0_ID = 0,
94 DMA0_ID = 0,
[all …]
/linux/fs/xfs/
H A Dxfs_extent_busy.h1 // 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 the group to mark blocks
20 struct rb_node rb_node; /* group by-bno indexed search tree */
26 #define XFS_EXTENT_BUSY_DISCARDED 0x01 /* undergoing a discard op. */
27 #define XFS_EXTENT_BUSY_SKIP_DISCARD 0x02 /* do not discard */
/linux/block/
H A Dbadblocks.c1 // SPDX-License-Identifier: GPL-2.0
5 * - Heavily based on MD badblocks code from Neil Brown
45 * +--------+
47 * +--------+
48 * +-------------+ +-------------+
50 * +-------------+ +-------------+
54 * +-------------+ +--------+ +-------------+
56 * +-------------+ +--------+ +-------------+
60 * +--------+
62 * +--------+
[all …]
/linux/drivers/iio/health/
H A Dafe440x.h1 /* 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/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c1 // SPDX-License-Identifier: GPL-2.0
21 return -ENOMEM; in sja1105_insert_gate_entry()
23 e->rule = rule; in sja1105_insert_gate_entry()
24 e->gate_state = gate_state; in sja1105_insert_gate_entry()
25 e->interval = entry_time; in sja1105_insert_gate_entry()
27 if (list_empty(&gating_cfg->entries)) { in sja1105_insert_gate_entry()
28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry()
32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry()
33 if (p->interval == e->interval) { in sja1105_insert_gate_entry()
36 rc = -EBUSY; in sja1105_insert_gate_entry()
[all …]
/linux/drivers/dpll/zl3073x/
H A Dregs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
12 * 25 19 18 16 15 7 6 0
13 * +------------------------------------------+
15 * +------------------------------------------+
17 * page_offset ... <0x00..0x7F>
20 * max_offset .... maximal offset for indexed registers
21 * (for non-indexed regs max_offset == page_offset)
24 #define ZL_REG_OFFSET_MASK GENMASK(6, 0)
28 #define ZL_REG_ADDR_MASK GENMASK(15, 0)
37 * ZL_REG_IDX - define indexed register
[all …]
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gpu_state.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */
69 in[0] = val; in CRASHDUMP_WRITE()
77 in[0] = target; in CRASHDUMP_READ()
85 in[0] = 0; in CRASHDUMP_FINI()
86 in[1] = 0; in CRASHDUMP_FINI()
110 list_add_tail(&obj->node, &a6xx_state->objs); in state_kcalloc()
111 return &obj->data; in state_kcalloc()
125 * Allocate 1MB for the crashdumper scratch region - 8k for the script and
129 #define A6XX_CD_DATA_SIZE (SZ_1M - 8192)
[all …]
/linux/arch/x86/boot/
H A Dvideo.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* -*- linux-c -*- ------------------------------------------------------- *
5 * Copyright 2007 rPath, Inc. - All Rights Reserved
7 * ----------------------------------------------------------------------- */
10 * Header file for the real-mode video probing code
21 * NORMAL_VGA (-1)
22 * EXTENDED_VGA (-2)
23 * ASK_VGA (-3)
24 * Video modes numbered by menu position -- NOT RECOMMENDED because of lack
25 * of compatibility when extending the table. These are between 0x00 and 0xff.
[all …]

12345678910>>...24