Home
last modified time | relevance | path

Searched full:lookup (Results 1 – 25 of 1705) sorted by relevance

12345678910>>...69

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_debugfs.c34 return "no lookup"; in sparx5_vcap_is0_etype_str()
58 return "no lookup"; in sparx5_vcap_is0_mpls_str()
70 return "no lookup"; in sparx5_vcap_is0_mlbs_str()
81 int lookup; in sparx5_vcap_is0_port_keys() local
86 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is0_port_keys()
87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys()
89 /* Get lookup state */ in sparx5_vcap_is0_port_keys()
91 ANA_CL_ADV_CL_CFG(port->portno, lookup)); in sparx5_vcap_is0_port_keys()
124 int lookup; in sparx5_vcap_is2_port_keys() local
129 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_keys()
[all …]
/linux/tools/perf/pmu-events/arch/x86/broadwell/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state",
8 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
13 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
18 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
23 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
28 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
33 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state",
38 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
43 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state",
48 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
[all …]
/linux/drivers/i2c/
H A Di2c-core-acpi.c106 struct i2c_acpi_lookup *lookup = data; in i2c_acpi_fill_info() local
107 struct i2c_board_info *info = lookup->info; in i2c_acpi_fill_info()
114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info()
117 status = acpi_get_handle(lookup->device_handle, in i2c_acpi_fill_info()
119 &lookup->adapter_handle); in i2c_acpi_fill_info()
124 lookup->speed = sb->connection_speed; in i2c_acpi_fill_info()
146 struct i2c_acpi_lookup *lookup) in i2c_acpi_do_lookup() argument
148 struct i2c_board_info *info = lookup->info; in i2c_acpi_do_lookup()
162 lookup->device_handle = acpi_device_handle(adev); in i2c_acpi_do_lookup()
167 i2c_acpi_fill_info, lookup); in i2c_acpi_do_lookup()
[all …]
/linux/tools/perf/pmu-events/arch/x86/skylake/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state",
8 … "PublicDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
13 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state",
18 "PublicDescription": "L3 Lookup any request that access cache and found line in I-state.",
23 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state",
28 "PublicDescription": "L3 Lookup any request that access cache and found line in M-state.",
33 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state",
38 … "PublicDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
43 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state",
48 … "PublicDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
[all …]
/linux/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh19 # Helpers to map a VCAP IS1 and VCAP IS2 lookup and policy to a chain number
21 # VCAP IS1 lookup 0: 10000
22 # VCAP IS1 lookup 1: 11000
23 # VCAP IS1 lookup 2: 12000
24 # VCAP IS2 lookup 0 policy 0: 20000
25 # VCAP IS2 lookup 0 policy 1: 20001
26 # VCAP IS2 lookup 0 policy 255: 20255
27 # VCAP IS2 lookup 1 policy 0: 21000
28 # VCAP IS2 lookup 1 policy 1: 21001
29 # VCAP IS2 lookup 1 policy 255: 21255
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dtables_nphy.h85 #define B43_NTAB_FRAMELT B43_NTAB8 (0x18, 0x000) /* Frame Lookup Table */
95 #define B43_NTAB_PILOTLT B43_NTAB32(0x14, 0x000) /* Pilot Lookup Table */
117 #define B43_NTAB_C0_ESTPLT B43_NTAB8 (0x1A, 0x000) /* Estimate Power Lookup Table Core 0 */
119 #define B43_NTAB_C0_ADJPLT B43_NTAB8 (0x1A, 0x040) /* Adjust Power Lookup Table Core 0 */
121 #define B43_NTAB_C0_GAINCTL B43_NTAB32(0x1A, 0x0C0) /* Gain Control Lookup Table Core 0 */
123 #define B43_NTAB_C0_IQLT B43_NTAB32(0x1A, 0x140) /* IQ Lookup Table Core 0 */
125 #define B43_NTAB_C0_LOFEEDTH B43_NTAB16(0x1A, 0x1C0) /* Local Oscillator Feed Through Lookup Table…
127 #define B43_NTAB_C1_ESTPLT B43_NTAB8 (0x1B, 0x000) /* Estimate Power Lookup Table Core 1 */
129 #define B43_NTAB_C1_ADJPLT B43_NTAB8 (0x1B, 0x040) /* Adjust Power Lookup Table Core 1 */
131 #define B43_NTAB_C1_GAINCTL B43_NTAB32(0x1B, 0x0C0) /* Gain Control Lookup Table Core 1 */
[all …]
/linux/net/qrtr/
H A Dns.c39 [QRTR_TYPE_NEW_LOOKUP] = "new-lookup",
40 [QRTR_TYPE_DEL_LOOKUP] = "del-lookup",
192 pr_err("failed to send lookup notification\n"); in lookup_notify()
269 struct qrtr_lookup *lookup; in server_del() local
285 lookup = container_of(li, struct qrtr_lookup, li); in server_del()
286 if (lookup->service && lookup->service != srv->service) in server_del()
288 if (lookup->instance && lookup->instance != srv->instance) in server_del()
291 lookup_notify(&lookup->sq, srv, false); in server_del()
387 struct qrtr_lookup *lookup; in ctrl_cmd_del_client() local
412 lookup = container_of(li, struct qrtr_lookup, li); in ctrl_cmd_del_client()
[all …]
/linux/tools/perf/pmu-events/arch/x86/ivybridge/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
12 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state.",
21 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state.",
30 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
39 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in E or S-s…
48 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in I-state.…
57 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in M-state.…
66 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in MESI-sta…
75 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
84 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state.",
[all …]
/linux/tools/perf/pmu-events/arch/x86/sandybridge/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
12 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state.",
21 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state.",
30 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
39 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in E or S-s…
48 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in I-state.…
57 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in M-state.…
66 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in MESI-sta…
75 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
84 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state.",
[all …]
/linux/tools/perf/pmu-events/arch/x86/haswell/
H A Duncore-cache.json3 … "BriefDescription": "L3 Lookup any request that access cache and found line in E or S-state.",
12 "BriefDescription": "L3 Lookup any request that access cache and found line in I-state.",
21 "BriefDescription": "L3 Lookup any request that access cache and found line in M-state.",
30 "BriefDescription": "L3 Lookup any request that access cache and found line in MESI-state.",
39 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in E or S-s…
48 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in I-state.…
57 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in M-state.…
66 …"BriefDescription": "L3 Lookup external snoop request that access cache and found line in MESI-sta…
75 … "BriefDescription": "L3 Lookup read request that access cache and found line in E or S-state.",
84 "BriefDescription": "L3 Lookup read request that access cache and found line in I-state.",
[all …]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.h16 #define VCAP_CID_LOOKUP_SIZE 100000 /* Chains in a lookup */
17 #define VCAP_CID_INGRESS_L0 1000000 /* Ingress Stage 1 Lookup 0 */
18 #define VCAP_CID_INGRESS_L1 1100000 /* Ingress Stage 1 Lookup 1 */
19 #define VCAP_CID_INGRESS_L2 1200000 /* Ingress Stage 1 Lookup 2 */
20 #define VCAP_CID_INGRESS_L3 1300000 /* Ingress Stage 1 Lookup 3 */
21 #define VCAP_CID_INGRESS_L4 1400000 /* Ingress Stage 1 Lookup 4 */
22 #define VCAP_CID_INGRESS_L5 1500000 /* Ingress Stage 1 Lookup 5 */
27 #define VCAP_CID_INGRESS_STAGE2_L0 8000000 /* Ingress Stage 2 Lookup 0 */
28 #define VCAP_CID_INGRESS_STAGE2_L1 8100000 /* Ingress Stage 2 Lookup 1 */
29 #define VCAP_CID_INGRESS_STAGE2_L2 8200000 /* Ingress Stage 2 Lookup 2 */
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_mh.c8 /* The mh algorithm is to assign a preference list of all the lookup
12 * up a the lookup table.
63 struct ip_vs_mh_lookup *lookup; member
111 l = &s->lookup[0]; in ip_vs_mh_reset()
170 * the population for the dests and reset lookup table. in ip_vs_mh_populate()
208 dest = rcu_dereference_protected(s->lookup[c].dest, 1); in ip_vs_mh_populate()
214 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate()
240 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get()
257 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback()
273 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback()
[all …]
/linux/Documentation/bpf/
H A Dprog_sk_lookup.rst8 into the socket lookup performed by the transport layer when a packet is to be
31 latency spikes during socket lookup.
54 ``SK_PASS`` signifies that the socket lookup should continue on to regular
55 hashtable-based lookup, while ``SK_DROP`` causes the transport layer to drop the
69 is used as the result of the socket lookup.
73 selected a socket, socket lookup fails.
75 socket lookup continues on.
81 receives information about the packet that triggered the socket lookup. Namely:
/linux/fs/orangefs/
H A Dnamei.c112 * in theory we could skip a lookup here (if the intent is to in orangefs_lookup()
113 * create) in order to avoid a potentially failed lookup, but in orangefs_lookup()
114 * leaving it in can skip a valid lookup and try to create a file in orangefs_lookup()
116 * -EEXIST on O_EXCL opens, which is broken if we skip this lookup in orangefs_lookup()
129 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
136 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
138 strscpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name); in orangefs_lookup()
141 "%s: doing lookup on %s under %pU,%d\n", in orangefs_lookup()
143 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
144 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
[all …]
H A Ddcache.c25 gossip_debug(GOSSIP_DCACHE_DEBUG, "%s: attempting lookup.\n", __func__); in orangefs_revalidate_lookup()
31 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup()
32 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup()
34 memcpy(new_op->upcall.req.lookup.d_name, name->name, in orangefs_revalidate_lookup()
51 "%s:%s:%d lookup failure.\n", in orangefs_revalidate_lookup()
55 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
70 "%s:%s:%d lookup failure.\n", in orangefs_revalidate_lookup()
/linux/net/l3mdev/
H A Dl3mdev.c79 lookup_by_table_id_t lookup; in l3mdev_ifindex_lookup_by_table_id() local
92 lookup = hdlr->dev_lookup; in l3mdev_ifindex_lookup_by_table_id()
93 if (!lookup) in l3mdev_ifindex_lookup_by_table_id()
96 ifindex = lookup(net, table_id); in l3mdev_ifindex_lookup_by_table_id()
141 * @net: network namespace for device index lookup
210 * l3mdev_link_scope_lookup - IPv6 route lookup based on flow for link
212 * @net: network namespace for device index lookup
213 * @fl6: IPv6 flow struct for lookup
242 * @net: network namespace for device index lookup
285 /* oif set to L3mdev directs lookup to its table; in l3mdev_update_flow()
/linux/drivers/mfd/
H A Darizona-spi.c46 static void arizona_spi_acpi_remove_lookup(void *lookup) in arizona_spi_acpi_remove_lookup() argument
48 gpiod_remove_lookup_table(lookup); in arizona_spi_acpi_remove_lookup()
54 struct gpiod_lookup_table *lookup; in arizona_spi_acpi_windows_probe() local
62 lookup = devm_kzalloc(arizona->dev, in arizona_spi_acpi_windows_probe()
63 struct_size(lookup, table, ARRAY_SIZE(arizona_soc_gpios) + 1), in arizona_spi_acpi_windows_probe()
65 if (!lookup) in arizona_spi_acpi_windows_probe()
68 lookup->dev_id = dev_name(arizona->dev); in arizona_spi_acpi_windows_probe()
69 memcpy(lookup->table, arizona_soc_gpios, sizeof(arizona_soc_gpios)); in arizona_spi_acpi_windows_probe()
71 gpiod_add_lookup_table(lookup); in arizona_spi_acpi_windows_probe()
72 ret = devm_add_action_or_reset(arizona->dev, arizona_spi_acpi_remove_lookup, lookup); in arizona_spi_acpi_windows_probe()
[all …]
/linux/net/netfilter/
H A Dnft_set_pipapo.c53 * Translate the set to a sequence of lookup tables, one per field. Each table
88 * - allocate a lookup table with one column ("bucket") for each possible
116 * - insert references to the rules in the lookup table, selecting buckets
128 * these bits are set in the lookup table:
144 * rules from the lookup table to rules belonging to the same entry in
145 * the next lookup table, done by pipapo_map().
152 * given lookup table #0 for field 0 (see example above):
167 * and lookup table #1 for field 1 with:
182 * we need to map rules for 10.0.0.5 in lookup table #0 (rule #0) to 1024
183 * in lookup tabl
[all...]
H A Dnft_set_pipapo.h27 /* If a lookup table gets bigger than NFT_PIPAPO_LT_SIZE_HIGH, switch to the
106 * struct nft_pipapo_field - Lookup, mapping tables and related data for a field
108 * @bsize: Size of each bucket in lookup table, in longs
111 * @bb: Number of bits grouped together in lookup table buckets
112 * @lt: Lookup table: 'groups' rows of buckets
126 * struct nft_pipapo_scratch - percpu data used for lookup and matching
129 * @__map: store partial matching results during lookup
138 * struct nft_pipapo_match - Data used for lookup and matching
140 * @bsize_max: Maximum lookup table bucket size of all fields, in longs
143 * @f: Fields, with lookup an
[all...]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_impl.c101 int lookup = 0; in lan966x_vcap_is1_cid_to_lookup() local
105 lookup = 1; in lan966x_vcap_is1_cid_to_lookup()
108 lookup = 2; in lan966x_vcap_is1_cid_to_lookup()
110 return lookup; in lan966x_vcap_is1_cid_to_lookup()
124 lan966x_vcap_is1_get_port_keysets(struct net_device *ndev, int lookup, in lan966x_vcap_is1_get_port_keysets() argument
132 val = lan_rd(lan966x, ANA_VCAP_S1_CFG(port->chip_port, lookup)); in lan966x_vcap_is1_get_port_keysets()
184 lan966x_vcap_is2_get_port_keysets(struct net_device *dev, int lookup, in lan966x_vcap_is2_get_port_keysets() argument
200 if (ANA_VCAP_S2_CFG_SNAP_DIS_GET(val) & (BIT(0) << lookup)) in lan966x_vcap_is2_get_port_keysets()
209 if (ANA_VCAP_S2_CFG_OAM_DIS_GET(val) & (BIT(0) << lookup)) in lan966x_vcap_is2_get_port_keysets()
218 if (ANA_VCAP_S2_CFG_ARP_DIS_GET(val) & (BIT(0) << lookup)) in lan966x_vcap_is2_get_port_keysets()
[all …]
/linux/arch/mips/pic32/pic32mzda/
H A Dinit.c90 static int __init pic32_of_prepare_platform_data(struct of_dev_auxdata *lookup) in pic32_of_prepare_platform_data() argument
97 for (; lookup->compatible; lookup++) { in pic32_of_prepare_platform_data()
98 np = of_find_compatible_node(NULL, NULL, lookup->compatible); in pic32_of_prepare_platform_data()
100 lookup->name = (char *)np->name; in pic32_of_prepare_platform_data()
101 if (lookup->phys_addr) { in pic32_of_prepare_platform_data()
106 lookup->phys_addr = res.start; in pic32_of_prepare_platform_data()
/linux/tools/perf/pmu-events/arch/arm64/ampere/ampereonex/
H A Dmmu.json45 "PublicDescrition": "Data-side S1 page walk cache lookup",
48 "BriefDescription": "Data-side S1 page walk cache lookup"
57 "PublicDescrition": "Data-side S2 page walk cache lookup",
60 "BriefDescription": "Data-side S2 page walk cache lookup"
129 "PublicDescrition": "Instruction-side S1 page walk cache lookup",
132 "BriefDescription": "Instruction-side S1 page walk cache lookup"
141 "PublicDescrition": "Instruction-side S2 page walk cache lookup",
144 "BriefDescription": "Instruction-side S2 page walk cache lookup"
/linux/drivers/gpio/
H A Dgpio-virtuser.c1036 /* Can be negative to indicate lookup by name. */
1118 * Negative number here means: 'key' represents a line name to lookup. in gpio_virtuser_lookup_entry_config_offset_store()
1122 * GPIOLIB uses the U16_MAX value to indicate lookup by line name so in gpio_virtuser_lookup_entry_config_offset_store()
1371 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_get_lookup_count() local
1376 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_get_lookup_count()
1377 count += list_count_nodes(&lookup->entry_list); in gpio_virtuser_get_lookup_count()
1387 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_make_lookup_table() local
1401 list_for_each_entry(lookup, &dev->lookup_list, siblings) { in gpio_virtuser_make_lookup_table()
1403 list_for_each_entry(entry, &lookup->entry_list, siblings) { in gpio_virtuser_make_lookup_table()
1407 lookup->con_id, idx++, entry->flags); in gpio_virtuser_make_lookup_table()
[all …]
/linux/include/drm/
H A Ddrm_privacy_screen_machine.h15 * struct drm_privacy_screen_lookup - static privacy-screen lookup list entry
17 * Used for the static lookup-list for mapping privacy-screen consumer
21 /** @list: Lookup list list-entry. */
31 void drm_privacy_screen_lookup_add(struct drm_privacy_screen_lookup *lookup);
32 void drm_privacy_screen_lookup_remove(struct drm_privacy_screen_lookup *lookup);
/linux/drivers/leds/
H A Dled-test.c65 struct led_lookup_data lookup; in led_test_class_add_lookup_and_get() local
73 /* Then make the LED available for lookup */ in led_test_class_add_lookup_and_get()
74 lookup.provider = cdev->name; in led_test_class_add_lookup_and_get()
75 lookup.dev_id = dev_name(dev); in led_test_class_add_lookup_and_get()
76 lookup.con_id = "led-test-1"; in led_test_class_add_lookup_and_get()
77 led_add_lookup(&lookup); in led_test_class_add_lookup_and_get()
85 led_remove_lookup(&lookup); in led_test_class_add_lookup_and_get()

12345678910>>...69