Home
last modified time | relevance | path

Searched +full:lookup +full:- +full:table (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
Dtables_nphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
73 /* The N-PHY tables. */
78 #define B43_NTAB8(table, offset) (((table) << 10) | (offset) | B43_NTAB_8BIT) argument
79 #define B43_NTAB16(table, offset) (((table) << 10) | (offset) | B43_NTAB_16BIT) argument
80 #define B43_NTAB32(table, offset) (((table) << 10) | (offset) | B43_NTAB_32BIT) argument
82 /* Static N-PHY tables */
83 #define B43_NTAB_FRAMESTRUCT B43_NTAB32(0x0A, 0x000) /* Frame Struct Table */
85 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000) /* Frame Lookup Table */
87 #define B43_NTAB_TMAP B43_NTAB32(0x0C, 0x000) /* T Map Table */
89 #define B43_NTAB_TDTRN B43_NTAB32(0x0E, 0x000) /* TDTRN Table */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dtables_nphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
73 /* The N-PHY tables. */
78 #define B43_NTAB8(table, offset) (((table) << 10) | (offset) | B43_NTAB_8BIT) argument
79 #define B43_NTAB16(table, offset) (((table) << 10) | (offset) | B43_NTAB_16BIT) argument
80 #define B43_NTAB32(table, offset) (((table) << 10) | (offset) | B43_NTAB_32BIT) argument
82 /* Static N-PHY tables */
83 #define B43_NTAB_FRAMESTRUCT B43_NTAB32(0x0A, 0x000) /* Frame Struct Table */
85 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000) /* Frame Lookup Table */
87 #define B43_NTAB_TMAP B43_NTAB32(0x0C, 0x000) /* T Map Table */
89 #define B43_NTAB_TDTRN B43_NTAB32(0x0E, 0x000) /* TDTRN Table */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.h1 /* SPDX-License-Identifier: GPL-2.0-only */
48 /*! Read the raw table data from the specified row of the Egress CTL
49 * Filter table, and unpack it into the fields of rec.
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
51 * table_index - The table row to read (max 23).
58 * specified row of the Egress CTL Filter table.
59 * rec - [IN] The bitfield values to write to the table row.
60 * table_index - The table row to write(max 23).
66 /*! Read the raw table data from the specified row of the Egress
67 * Packet Classifier table, and unpack it into the fields of rec.
[all …]
Dmacsec_struct.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 * table.
21 /*! The match mask is per-nibble. 0 means don't care, i.e. every value
43 * Classifier table.
122 /*! Mask is per-byte.
142 /*! Mask is per-byte.
151 /*! Mask is per-byte.
156 /*! Mask is per-byte.
171 /*! Mask is per-byte.
176 /*! Mask is per-byte.
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.h1 /* SPDX-License-Identifier: GPL-2.0-only */
48 /*! Read the raw table data from the specified row of the Egress CTL
49 * Filter table, and unpack it into the fields of rec.
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
51 * table_index - The table row to read (max 23).
58 * specified row of the Egress CTL Filter table.
59 * rec - [IN] The bitfield values to write to the table row.
60 * table_index - The table row to write(max 23).
66 /*! Read the raw table data from the specified row of the Egress
67 * Packet Classifier table, and unpack it into the fields of rec.
[all …]
Dmacsec_struct.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 * table.
21 /*! The match mask is per-nibble. 0 means don't care, i.e. every value
43 * Classifier table.
122 /*! Mask is per-byte.
142 /*! Mask is per-byte.
151 /*! Mask is per-byte.
156 /*! Mask is per-byte.
171 /*! Mask is per-byte.
176 /*! Mask is per-byte.
[all …]
/kernel/linux/linux-6.6/net/netfilter/ipvs/
Dip_vs_mh.c1 // SPDX-License-Identifier: GPL-2.0
8 /* The mh algorithm is to assign a preference list of all the lookup
9 * table positions to each destination and populate the table with
10 * the most-preferred position of destinations. Then it is to select
12 * up a the lookup table.
16 https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-eisenbud.pdf
49 /* Available prime numbers for MH table */
53 /* For IPVS MH entry hash table */
58 #define IP_VS_MH_TAB_INDEX (CONFIG_IP_VS_MH_TAB_INDEX - 8)
63 struct ip_vs_mh_lookup *lookup; member
[all …]
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_mh.c1 // SPDX-License-Identifier: GPL-2.0
8 /* The mh algorithm is to assign a preference list of all the lookup
9 * table positions to each destination and populate the table with
10 * the most-preferred position of destinations. Then it is to select
12 * up a the lookup table.
16 https://www.usenix.org/system/files/conference/nsdi16/nsdi16-paper-eisenbud.pdf
49 /* Available prime numbers for MH table */
53 /* For IPVS MH entry hash table */
58 #define IP_VS_MH_TAB_INDEX (CONFIG_IP_VS_MH_TAB_INDEX - 8)
63 struct ip_vs_mh_lookup *lookup; member
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_pipapo.h1 // SPDX-License-Identifier: GPL-2.0-only
8 /* Count of concatenated fields depends on count of 32-bit nftables registers */
18 /* Bits to be grouped together in table buckets depending on set size */
25 #define NFT_PIPAPO_GROUPS_PER_BYTE(f) (BITS_PER_BYTE / (f)->bb)
27 /* If a lookup table gets bigger than NFT_PIPAPO_LT_SIZE_HIGH, switch to the
28 * small group width, and switch to the big group width if the table gets
31 * Picking 2MiB as threshold (for a single table) avoids as much as possible
32 * crossing page boundaries on most architectures (x86-64 and MIPS huge pages,
34 * keeps performance nice in case kvmalloc() gives us non-contiguous areas.
39 #define NFT_PIPAPO_LT_SIZE_LOW NFT_PIPAPO_LT_SIZE_THRESHOLD - \
[all …]
Dnft_set_pipapo.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2019-2020 Red Hat GmbH
15 * -------
17 * Match packet bytes against entries composed of ranged or non-ranged packet
22 * --- fields --->
33 * ------------------
53 * Translate the set to a sequence of lookup tables, one per field. Each table
65 * next-field rules the current rule maps to.
69 * To match, we perform table lookups using the values of grouped packet bits,
73 * A stand-alone, reference implementation, also including notes about possible
[all …]
/kernel/linux/linux-6.6/net/netfilter/
Dnft_set_pipapo.h1 // SPDX-License-Identifier: GPL-2.0-only
8 /* Count of concatenated fields depends on count of 32-bit nftables registers */
18 /* Bits to be grouped together in table buckets depending on set size */
25 #define NFT_PIPAPO_GROUPS_PER_BYTE(f) (BITS_PER_BYTE / (f)->bb)
27 /* If a lookup table gets bigger than NFT_PIPAPO_LT_SIZE_HIGH, switch to the
28 * small group width, and switch to the big group width if the table gets
31 * Picking 2MiB as threshold (for a single table) avoids as much as possible
32 * crossing page boundaries on most architectures (x86-64 and MIPS huge pages,
34 * keeps performance nice in case kvmalloc() gives us non-contiguous areas.
39 #define NFT_PIPAPO_LT_SIZE_LOW NFT_PIPAPO_LT_SIZE_THRESHOLD - \
[all …]
Dnft_set_pipapo.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2019-2020 Red Hat GmbH
15 * -------
17 * Match packet bytes against entries composed of ranged or non-ranged packet
22 * --- fields --->
33 * ------------------
53 * Translate the set to a sequence of lookup tables, one per field. Each table
65 * next-field rules the current rule maps to.
69 * To match, we perform table lookups using the values of grouped packet bits,
73 * A stand-alone, reference implementation, also including notes about possible
[all …]
/kernel/linux/linux-6.6/fs/squashfs/
Dexport.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
14 * The export code uses an inode lookup table to map inode numbers passed in
15 * filehandles to an inode location on disk. This table is stored compressed
16 * into metadata blocks. A second index table is used to locate these. This
17 * second index table for speed of access (and because it is small) is read at
20 * The inode lookup table is used only by the export code, inode disk
22 * without an intermediate lookup for all operations except the export ops.
37 * Look-up inode number (ino) in table, returning the inode location.
41 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_inode_lookup()
[all …]
/kernel/linux/linux-5.10/fs/squashfs/
Dexport.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Squashfs - a compressed read only filesystem for Linux
14 * The export code uses an inode lookup table to map inode numbers passed in
15 * filehandles to an inode location on disk. This table is stored compressed
16 * into metadata blocks. A second index table is used to locate these. This
17 * second index table for speed of access (and because it is small) is read at
20 * The inode lookup table is used only by the export code, inode disk
22 * without an intermediate lookup for all operations except the export ops.
37 * Look-up inode number (ino) in table, returning the inode location.
41 struct squashfs_sb_info *msblk = sb->s_fs_info; in squashfs_inode_lookup()
[all …]
/kernel/linux/linux-6.6/Documentation/filesystems/
Dsquashfs.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Squashfs is a compressed read-only filesystem for Linux.
14 Squashfs is intended for general read-only filesystem use, for archival
19 Mailing list: squashfs-devel@lists.sourceforge.net
23 ----------------------
39 Tail-end packing (fragments) yes no
44 32-bit uids/gids yes no
57 -----------------
59 As squashfs is a read-only filesystem, the mksquashfs program must be used to
64 The squashfs-tools development tree is now located on kernel.org
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dsquashfs.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Squashfs is a compressed read-only filesystem for Linux.
14 Squashfs is intended for general read-only filesystem use, for archival
19 Mailing list: squashfs-devel@lists.sourceforge.net
23 ----------------------
39 Tail-end packing (fragments) yes no
44 32-bit uids/gids yes no
57 -----------------
59 As squashfs is a read-only filesystem, the mksquashfs program must be used to
64 The squashfs-tools development tree is now located on kernel.org
[all …]
/kernel/linux/linux-6.6/include/linux/
Dof_platform.h1 /* SPDX-License-Identifier: GPL-2.0+ */
17 * struct of_dev_auxdata - lookup table entry for device names & platform_data
23 * This lookup table allows the caller of of_platform_populate() to override
24 * the names of devices when creating devices from the device tree. The table
29 * the device name to look up a specific device, but the Linux-specific names
33 * Note: Using an auxdata lookup table should be considered a last resort when
45 /* Macro to simplify populating a lookup table */
84 const struct of_dev_auxdata *lookup,
87 const struct of_dev_auxdata *lookup,
104 return -ENODEV; in of_platform_device_destroy()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dof_platform.h1 /* SPDX-License-Identifier: GPL-2.0+ */
16 * struct of_dev_auxdata - lookup table entry for device names & platform_data
22 * This lookup table allows the caller of of_platform_populate() to override
23 * the names of devices when creating devices from the device tree. The table
28 * the device name to look up a specific device, but the Linux-specific names
32 * Note: Using an auxdata lookup table should be considered a last resort when
44 /* Macro to simplify populating a lookup table */
76 const struct of_dev_auxdata *lookup,
79 const struct of_dev_auxdata *lookup,
89 const struct of_dev_auxdata *lookup, in of_platform_populate() argument
[all …]
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_tc35876x.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <asm/intel-mid.h>
14 .table = {
15 GPIO_LOOKUP("0000:00:0c.0", -1, "bridge-reset", GPIO_ACTIVE_HIGH),
16 GPIO_LOOKUP("0000:00:0c.0", -1, "bl-en", GPIO_ACTIVE_HIGH),
17 GPIO_LOOKUP("0000:00:0c.0", -1, "vadd", GPIO_ACTIVE_HIGH),
25 struct gpiod_lookup_table *table = &tc35876x_gpio_table; in tc35876x_platform_data() local
26 struct gpiod_lookup *lookup = table->table; in tc35876x_platform_data() local
28 lookup[0].chip_hwnum = get_gpio_by_name("LCMB_RXEN"); in tc35876x_platform_data()
29 lookup[1].chip_hwnum = get_gpio_by_name("6S6P_BL_EN"); in tc35876x_platform_data()
[all …]
Dplatform_bt.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <asm/intel-family.h>
15 #include <asm/intel-mid.h>
25 .table = {
26 GPIO_LOOKUP("0000:00:0c.0", -1, "device-wakeup", GPIO_ACTIVE_HIGH),
27 GPIO_LOOKUP("0000:00:0c.0", -1, "shutdown", GPIO_ACTIVE_HIGH),
28 GPIO_LOOKUP("0000:00:0c.0", -1, "host-wakeup", GPIO_ACTIVE_HIGH),
34 #define TNG_BT_SFI_GPIO_SHUTDOWN "BT-reset"
39 struct gpiod_lookup_table *table = &tng_bt_sfi_gpio_table; in tng_bt_sfi_setup() local
40 struct gpiod_lookup *lookup = table->table; in tng_bt_sfi_setup() local
[all …]
/kernel/linux/linux-6.6/Documentation/powerpc/
Dassociativity.rst9 are represented as being members of a sub-grouping domain. This performance
17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property".
18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1.
20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used.
23 ------
27 ------
28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity
34 The “ibm,associativity-reference-points” property contains a list of one or more numbers
43 if they belong to the same higher-level domains. For mismatch at every higher
48 -------
[all …]
/kernel/linux/linux-5.10/Documentation/powerpc/
Dassociativity.rst9 are represented as being members of a sub-grouping domain. This performance
17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property".
18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1.
20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used.
23 ------
27 ------
28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity
34 The “ibm,associativity-reference-points” property contains a list of one or more numbers
43 if they belong to the same higher-level domains. For mismatch at every higher
48 -------
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/
Dgeneric-adc-thermal.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laxman Dewangan <ldewangan@nvidia.com>
16 temperature using voltage-temperature lookup table.
20 const: generic-adc-thermal
22 '#thermal-sensor-cells':
25 io-channels:
28 io-channel-names:
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dseg6_local.h2 * SR-IPv6 implementation
34 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
40 /* adjacency segment (IPv6 cross-connect) */
42 /* lookup of next seg NH in table */
44 /* decap and L2 cross-connect */
46 /* decap and IPv6 cross-connect */
48 /* decap and IPv4 cross-connect */
50 /* decap and lookup of DA in v6 table */
52 /* decap and lookup of DA in v4 table */
60 /* lookup last seg in table */
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dseg6_local.h2 * SR-IPv6 implementation
31 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1)
37 /* adjacency segment (IPv6 cross-connect) */
39 /* lookup of next seg NH in table */
41 /* decap and L2 cross-connect */
43 /* decap and IPv6 cross-connect */
45 /* decap and IPv4 cross-connect */
47 /* decap and lookup of DA in v6 table */
49 /* decap and lookup of DA in v4 table */
57 /* lookup last seg in table */
[all …]

12345678910>>...44