Home
last modified time | relevance | path

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

12345678910>>...36

/openbmc/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
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 …]
/openbmc/u-boot/arch/x86/include/asm/
H A Dpch_common.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define SATA_SIRI 0xa0 /* SATA Indexed Register Index */
11 #define SATA_SIRD 0xa4 /* SATA Indexed Register Data */
12 #define SATA_SP 0xd0 /* Scratchpad */
14 #define INTR_LN 0x3c
15 #define IDE_TIM_PRI 0x40 /* IDE timings, primary */
18 #define IDE_ISP_5_CLOCKS (0 << 12)
21 #define IDE_RCT_4_CLOCKS (0 << 8)
32 #define IDE_TIME0 (1 << 0)
33 #define IDE_TIM_SEC 0x42 /* IDE timings, secondary */
[all …]
/openbmc/linux/fs/overlayfs/
H A Dexport.c1 // 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()
91 return 0; in ovl_connectable_layer()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/css_2401_system/
H A Disys_stream2mmio_global.h1 /* 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
/openbmc/u-boot/include/dm/
H A Dfdtaddr.h1 /* SPDX-License-Identifier: GPL-2.0+ */
18 * devfdt_get_addr() - Get the reg property of a device
27 * devfdt_get_addr_ptr() - Return pointer to the address of the reg property
37 * devfdt_remap_addr() - Return pointer to the memory-mapped I/O address
47 * devfdt_remap_addr_index() - Return indexed pointer to the memory-mapped
59 * devfdt_remap_addr_name() - Get the reg property of a device, indexed by
60 * name, as a memory-mapped I/O pointer
62 * 'reg-names' property providing named-based identification. @index
63 * indicates the value to search for in 'reg-names'.
72 * devfdt_map_physmem() - Read device address from reg property of the
[all …]
/openbmc/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. */
58 in[0] = val; in CRASHDUMP_WRITE()
66 in[0] = target; in CRASHDUMP_READ()
74 in[0] = 0; in CRASHDUMP_FINI()
75 in[1] = 0; in CRASHDUMP_FINI()
99 list_add_tail(&obj->node, &a6xx_state->objs); in state_kcalloc()
100 return &obj->data; in state_kcalloc()
114 * Allocate 1MB for the crashdumper scratch region - 8k for the script and
118 #define A6XX_CD_DATA_SIZE (SZ_1M - 8192)
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.h1 /* 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)
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/fs/xfs/
H A Dxfs_extent_busy.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
17 * Busy block/extent entry. Indexed by a rbtree in perag to mark blocks that
21 struct rb_node rb_node; /* ag by-bno indexed search tree */
27 #define XFS_EXTENT_BUSY_DISCARDED 0x01 /* undergoing a discard op. */
28 #define XFS_EXTENT_BUSY_SKIP_DISCARD 0x02 /* do not discard */
/openbmc/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 …]
/openbmc/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 …]
/openbmc/docs/designs/
H A Dgpio-based-cable-presence.md1 ## GPIO-based Cable Presence Detection
5 Created: 2021-07-29
9 The intent of this new daemon design is to report GPIO-based cable presence
18 …intel.com/content/www/us/en/products/docs/servers/ipmi/ipmi-second-gen-interface-spec-v2-rev1-1.ht…
19 2. https://www.dmtf.org/sites/default/files/Redfish_Cable_Management_Proposal_WIP_04-2021.pdf
30 Presence states. This new daemon will resIDe in openbmc/dbus-sensors. Its
66 or to turn on base on how phosphor-led-manager is configured. No action is taken
86 new SDR name is cable[0-1]. The SDR name implies that this SDR has the presence
87 state for cable0 and cable1. Meanwhile, the bit position for cable0 is 0 and the
90 if there are 20 cable indexed from 0 to 19, we shall see two SDRs. One is
[all …]

12345678910>>...36