Home
last modified time | relevance | path

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

12345678910>>...41

/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
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 …]
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 …]
/kernel/linux/linux-5.10/fs/overlayfs/
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()
83 return oe->numlower; in ovl_connectable_layer()
[all …]
/kernel/linux/linux-6.6/fs/overlayfs/
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 …]
/kernel/linux/linux-6.6/drivers/iio/adc/
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 …]
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 …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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 …]
/kernel/linux/linux-5.10/drivers/iio/light/
Dtsl2772.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/iio/light/
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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/
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
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/css_2401_system/
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
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_pool.h1 /* 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)
/kernel/linux/linux-5.10/drivers/iio/adc/
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>
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 …]
Daxp288_adc.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/
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 …]
/kernel/linux/linux-5.10/fs/ocfs2/
Ddir.h1 /* 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()
/kernel/linux/linux-5.10/samples/pktgen/
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 " -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 …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dapple-gmux.c1 // 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 …]
/kernel/linux/linux-6.6/samples/pktgen/
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 …]
/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
Dad7746.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/pci/hotplug/
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 …]

12345678910>>...41