Home
last modified time | relevance | path

Searched refs:lookup (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/Linux-v5.10/drivers/i2c/
Di2c-core-acpi.c74 struct i2c_acpi_lookup *lookup = data; in i2c_acpi_fill_info() local
75 struct i2c_board_info *info = lookup->info; in i2c_acpi_fill_info()
82 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info()
85 status = acpi_get_handle(lookup->device_handle, in i2c_acpi_fill_info()
87 &lookup->adapter_handle); in i2c_acpi_fill_info()
92 lookup->speed = sb->connection_speed; in i2c_acpi_fill_info()
109 struct i2c_acpi_lookup *lookup) in i2c_acpi_do_lookup() argument
111 struct i2c_board_info *info = lookup->info; in i2c_acpi_do_lookup()
122 lookup->device_handle = acpi_device_handle(adev); in i2c_acpi_do_lookup()
127 i2c_acpi_fill_info, lookup); in i2c_acpi_do_lookup()
[all …]
/Linux-v5.10/net/qrtr/
Dns.c275 struct qrtr_lookup *lookup; in server_del() local
291 lookup = container_of(li, struct qrtr_lookup, li); in server_del()
292 if (lookup->service && lookup->service != srv->service) in server_del()
294 if (lookup->instance && lookup->instance != srv->instance) in server_del()
297 lookup_notify(&lookup->sq, srv, false); in server_del()
423 struct qrtr_lookup *lookup; in ctrl_cmd_del_client() local
448 lookup = container_of(li, struct qrtr_lookup, li); in ctrl_cmd_del_client()
449 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client()
451 if (lookup->sq.sq_port != port) in ctrl_cmd_del_client()
454 list_del(&lookup->li); in ctrl_cmd_del_client()
[all …]
/Linux-v5.10/drivers/gpio/
Dgpiolib-acpi.c644 struct acpi_gpio_lookup *lookup = data; in acpi_populate_gpio_lookup() local
649 if (!lookup->desc) { in acpi_populate_gpio_lookup()
654 if (lookup->info.quirks & ACPI_GPIO_QUIRK_ONLY_GPIOIO && gpioint) in acpi_populate_gpio_lookup()
655 lookup->index++; in acpi_populate_gpio_lookup()
657 if (lookup->n++ != lookup->index) in acpi_populate_gpio_lookup()
660 pin_index = lookup->pin_index; in acpi_populate_gpio_lookup()
664 lookup->desc = acpi_get_gpiod(agpio->resource_source.string_ptr, in acpi_populate_gpio_lookup()
666 lookup->info.pin_config = agpio->pin_config; in acpi_populate_gpio_lookup()
667 lookup->info.gpioint = gpioint; in acpi_populate_gpio_lookup()
676 if (lookup->info.gpioint) { in acpi_populate_gpio_lookup()
[all …]
/Linux-v5.10/arch/mips/pic32/pic32mzda/
Dinit.c115 static int __init pic32_of_prepare_platform_data(struct of_dev_auxdata *lookup) in pic32_of_prepare_platform_data() argument
122 for (; lookup->compatible; lookup++) { in pic32_of_prepare_platform_data()
123 np = of_find_compatible_node(NULL, NULL, lookup->compatible); in pic32_of_prepare_platform_data()
125 lookup->name = (char *)np->name; in pic32_of_prepare_platform_data()
126 if (lookup->phys_addr) in pic32_of_prepare_platform_data()
129 lookup->phys_addr = res.start; in pic32_of_prepare_platform_data()
/Linux-v5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_tc35876x.c26 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()
30 lookup[2].chip_hwnum = get_gpio_by_name("EN_VREG_LCD_V3P3"); in tc35876x_platform_data()
Dplatform_bt.c40 struct gpiod_lookup *lookup = table->table; in tng_bt_sfi_setup() local
51 lookup[0].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_DEVICE_WAKEUP); in tng_bt_sfi_setup()
52 lookup[1].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_SHUTDOWN); in tng_bt_sfi_setup()
53 lookup[2].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_HOST_WAKEUP); in tng_bt_sfi_setup()
/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot_flower.c19 #define VCAP_IS1_CHAIN(lookup) \ argument
20 (1 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP)
21 #define VCAP_IS2_CHAIN(lookup, pag) \ argument
22 (2 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP + (pag))
26 int lookup, pag; in ocelot_chain_to_block() local
40 for (lookup = 0; lookup < VCAP_IS1_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
41 if (chain == VCAP_IS1_CHAIN(lookup)) in ocelot_chain_to_block()
44 for (lookup = 0; lookup < VCAP_IS2_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block()
46 if (chain == VCAP_IS2_CHAIN(lookup, pag)) in ocelot_chain_to_block()
65 int lookup = ocelot_chain_to_lookup(chain); in ocelot_chain_to_pag() local
[all …]
/Linux-v5.10/fs/ocfs2/
Ddir.h45 struct ocfs2_dir_lookup_result *lookup);
54 struct ocfs2_dir_lookup_result *lookup);
59 struct ocfs2_dir_lookup_result *lookup) in ocfs2_add_entry() argument
63 inode, blkno, parent_fe_bh, lookup); in ocfs2_add_entry()
88 struct ocfs2_dir_lookup_result *lookup);
Ddir.c1007 struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry_dx() argument
1030 ret = ocfs2_dx_dir_search(name, namelen, dir, dx_root, lookup); in ocfs2_find_entry_dx()
1037 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_find_entry_dx()
1060 struct inode *dir, struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry() argument
1066 return ocfs2_find_entry_dx(name, namelen, dir, lookup); in ocfs2_find_entry()
1081 lookup->dl_leaf_bh = bh; in ocfs2_find_entry()
1082 lookup->dl_entry = res_dir; in ocfs2_find_entry()
1232 struct ocfs2_dir_lookup_result *lookup) in ocfs2_delete_entry_dx() argument
1235 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1236 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
[all …]
/Linux-v5.10/drivers/tty/serdev/
Dcore.c569 struct acpi_serdev_lookup *lookup = data; in acpi_serdev_parse_resource() local
579 if (lookup->index != -1 && lookup->n++ != lookup->index) in acpi_serdev_parse_resource()
584 status = acpi_get_handle(lookup->device_handle, in acpi_serdev_parse_resource()
586 &lookup->controller_handle); in acpi_serdev_parse_resource()
599 struct acpi_serdev_lookup *lookup) in acpi_serdev_do_lookup() argument
604 lookup->device_handle = acpi_device_handle(adev); in acpi_serdev_do_lookup()
605 lookup->controller_handle = NULL; in acpi_serdev_do_lookup()
606 lookup->n = 0; in acpi_serdev_do_lookup()
610 acpi_serdev_parse_resource, lookup); in acpi_serdev_do_lookup()
622 struct acpi_serdev_lookup lookup; in acpi_serdev_check_resources() local
[all …]
/Linux-v5.10/include/linux/
Dof_platform.h76 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
95 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
/Linux-v5.10/fs/orangefs/
Ddcache.c32 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup()
33 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup()
34 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup()
56 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
Dnamei.c130 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
137 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
139 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup()
145 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
146 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
147 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup()
153 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup()
154 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup()
159 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup()
428 .lookup = orangefs_lookup,
/Linux-v5.10/Documentation/bpf/
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-v5.10/drivers/clk/x86/
Dclk-pmc-atom.c33 struct clk_lookup *lookup; member
39 struct clk_lookup *lookup; member
197 pclk->lookup = clkdev_hw_create(&pclk->hw, init.name, NULL); in plt_clk_register()
198 if (!pclk->lookup) { in plt_clk_register()
210 clkdev_drop(pclk->lookup); in plt_clk_unregister()
229 pclk->lookup = clkdev_hw_create(pclk->clk, name, NULL); in plt_clk_register_fixed_rate()
230 if (!pclk->lookup) { in plt_clk_register_fixed_rate()
240 clkdev_drop(pclk->lookup); in plt_clk_unregister_fixed_rate()
/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_mh.c63 struct ip_vs_mh_lookup *lookup; member
111 l = &s->lookup[0]; in ip_vs_mh_reset()
209 dest = rcu_dereference_protected(s->lookup[c].dest, 1); in ip_vs_mh_populate()
215 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate()
241 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get()
258 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback()
274 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback()
378 kfree(s->lookup); in ip_vs_mh_state_free()
392 s->lookup = kcalloc(IP_VS_MH_TAB_SIZE, sizeof(struct ip_vs_mh_lookup), in ip_vs_mh_init_svc()
394 if (!s->lookup) { in ip_vs_mh_init_svc()
/Linux-v5.10/drivers/reset/
Dcore.c171 void reset_controller_add_lookup(struct reset_control_lookup *lookup, in reset_controller_add_lookup() argument
179 entry = &lookup[i]; in reset_controller_add_lookup()
689 const struct reset_control_lookup *lookup; in __reset_control_get_from_lookup() local
696 list_for_each_entry(lookup, &reset_lookup_list, list) { in __reset_control_get_from_lookup()
697 if (strcmp(lookup->dev_id, dev_id)) in __reset_control_get_from_lookup()
700 if ((!con_id && !lookup->con_id) || in __reset_control_get_from_lookup()
701 ((con_id && lookup->con_id) && in __reset_control_get_from_lookup()
702 !strcmp(con_id, lookup->con_id))) { in __reset_control_get_from_lookup()
704 rcdev = __reset_controller_by_name(lookup->provider); in __reset_control_get_from_lookup()
713 lookup->index, in __reset_control_get_from_lookup()
[all …]
/Linux-v5.10/drivers/of/
Dplatform.c296 static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup, in of_dev_lookup() argument
303 if (!lookup) in of_dev_lookup()
306 auxdata = lookup; in of_dev_lookup()
322 auxdata = lookup; in of_dev_lookup()
348 const struct of_dev_auxdata *lookup, in of_platform_bus_create() argument
377 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create()
398 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
470 const struct of_dev_auxdata *lookup, in of_platform_populate() argument
485 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
501 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
[all …]
/Linux-v5.10/drivers/clk/
Dclk-s2mps11.c27 struct clk_lookup *lookup; member
180 s2mps11_clks[i].lookup = clkdev_hw_create(&s2mps11_clks[i].hw, in s2mps11_clk_probe()
182 if (!s2mps11_clks[i].lookup) { in s2mps11_clk_probe()
199 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_probe()
215 if (!s2mps11_clks[i].lookup) in s2mps11_clk_remove()
217 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_remove()
/Linux-v5.10/drivers/thunderbolt/
Dxdomain.c1463 const struct tb_xdomain_lookup *lookup) in switch_find_xdomain() argument
1473 if (lookup->uuid) { in switch_find_xdomain()
1475 uuid_equal(xd->remote_uuid, lookup->uuid)) in switch_find_xdomain()
1477 } else if (lookup->link && in switch_find_xdomain()
1478 lookup->link == xd->link && in switch_find_xdomain()
1479 lookup->depth == xd->depth) { in switch_find_xdomain()
1481 } else if (lookup->route && in switch_find_xdomain()
1482 lookup->route == xd->route) { in switch_find_xdomain()
1486 xd = switch_find_xdomain(port->remote->sw, lookup); in switch_find_xdomain()
1512 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_uuid() local
[all …]
/Linux-v5.10/sound/soc/intel/skylake/
Dskl-ssp-clk.c23 struct clk_lookup *lookup; member
28 struct clk_lookup *lookup; member
273 clkdev_drop(pclk[id].lookup); in unregister_parent_src_clk()
281 clkdev_drop(dclk->clk[dclk->avail_clk_cnt]->lookup); in unregister_src_clk()
300 parent[i].lookup = clkdev_hw_create(parent[i].hw, pclk[i].name, in skl_register_parent_clks()
302 if (!parent[i].lookup) { in skl_register_parent_clks()
343 clkdev->lookup = clkdev_hw_create(&clkdev->hw, init.name, NULL); in register_skl_clk()
344 if (!clkdev->lookup) in register_skl_clk()
/Linux-v5.10/drivers/media/dvb-frontends/
Dstv0900_core.c591 const struct stv0900_table *lookup, in stv0900_get_rf_level() argument
602 if ((lookup == NULL) || (lookup->size <= 0)) in stv0900_get_rf_level()
609 imax = lookup->size - 1; in stv0900_get_rf_level()
610 if (INRANGE(lookup->table[imin].regval, agc_gain, in stv0900_get_rf_level()
611 lookup->table[imax].regval)) { in stv0900_get_rf_level()
615 if (INRANGE(lookup->table[imin].regval, in stv0900_get_rf_level()
617 lookup->table[i].regval)) in stv0900_get_rf_level()
623 rf_lvl = (s32)agc_gain - lookup->table[imin].regval; in stv0900_get_rf_level()
624 rf_lvl *= (lookup->table[imax].realval - in stv0900_get_rf_level()
625 lookup->table[imin].realval); in stv0900_get_rf_level()
[all …]
/Linux-v5.10/Documentation/driver-api/firmware/
Ddirect-fs-lookup.rst2 Direct filesystem lookup
5 Direct filesystem lookup is the most common form of firmware lookup performed
8 The filesystem lookup is implemented in fw_get_filesystem_firmware(), it
/Linux-v5.10/Documentation/filesystems/
Dpath-lookup.txt1 Path walking and name lookup locking
9 path string. Then repeating the lookup from the child dentry and finding its
16 Prior to 2.5.10, dcache_lock was acquired in d_lookup (dcache hash lookup) and
50 current->fs->cwd or current->fs->root) as the first parent of the lookup. Then
53 parent for the next lookup.
58 Turning the child into a parent for the next lookup requires more checks and
72 - lookup and create missing parts of the path on demand.
77 Dcache name lookup
79 In order to lookup a dcache (parent, name) tuple, we take a hash on the tuple
115 lookup of the old list veering off into the new (incorrect) list and missing
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/thermal/
Dthermal-generic-adc.txt6 temperature using voltage-temperature lookup table.
15 - temperature-lookup-table: Two dimensional array of Integer; lookup table
45 temperature-lookup-table = < (-40000) 2578

12345678910>>...16