Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v4.19/drivers/i2c/
Di2c-core-acpi.c50 struct i2c_acpi_lookup *lookup = data; in i2c_acpi_fill_info() local
51 struct i2c_board_info *info = lookup->info; in i2c_acpi_fill_info()
62 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info()
65 status = acpi_get_handle(lookup->device_handle, in i2c_acpi_fill_info()
67 &lookup->adapter_handle); in i2c_acpi_fill_info()
72 lookup->speed = sb->connection_speed; in i2c_acpi_fill_info()
89 struct i2c_acpi_lookup *lookup) in i2c_acpi_do_lookup() argument
91 struct i2c_board_info *info = lookup->info; in i2c_acpi_do_lookup()
103 lookup->device_handle = acpi_device_handle(adev); in i2c_acpi_do_lookup()
108 i2c_acpi_fill_info, lookup); in i2c_acpi_do_lookup()
[all …]
/Linux-v4.19/drivers/gpio/
Dgpiolib-acpi.c506 struct acpi_gpio_lookup *lookup = data; in acpi_populate_gpio_lookup() local
511 if (lookup->n++ == lookup->index && !lookup->desc) { in acpi_populate_gpio_lookup()
513 int pin_index = lookup->pin_index; in acpi_populate_gpio_lookup()
518 lookup->desc = acpi_get_gpiod(agpio->resource_source.string_ptr, in acpi_populate_gpio_lookup()
520 lookup->info.gpioint = in acpi_populate_gpio_lookup()
530 if (lookup->info.gpioint) { in acpi_populate_gpio_lookup()
531 lookup->info.flags = GPIOD_IN; in acpi_populate_gpio_lookup()
532 lookup->info.polarity = agpio->polarity; in acpi_populate_gpio_lookup()
533 lookup->info.triggering = agpio->triggering; in acpi_populate_gpio_lookup()
535 lookup->info.flags = acpi_gpio_to_gpiod_flags(agpio); in acpi_populate_gpio_lookup()
[all …]
/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dinit.c123 static int __init pic32_of_prepare_platform_data(struct of_dev_auxdata *lookup) in pic32_of_prepare_platform_data() argument
130 for (; lookup->compatible; lookup++) { in pic32_of_prepare_platform_data()
131 np = of_find_compatible_node(NULL, NULL, lookup->compatible); in pic32_of_prepare_platform_data()
133 lookup->name = (char *)np->name; in pic32_of_prepare_platform_data()
134 if (lookup->phys_addr) in pic32_of_prepare_platform_data()
137 lookup->phys_addr = res.start; in pic32_of_prepare_platform_data()
/Linux-v4.19/arch/arm/mach-integrator/
Dimpd1.c388 struct gpiod_lookup_table *lookup; in impd1_probe() local
392 lookup = devm_kzalloc(&dev->dev, in impd1_probe()
393 sizeof(*lookup) + 3 * sizeof(struct gpiod_lookup), in impd1_probe()
397 lookup->dev_id = mmciname; in impd1_probe()
412 lookup->table[0].chip_label = chipname; in impd1_probe()
413 lookup->table[0].chip_hwnum = 3; in impd1_probe()
414 lookup->table[0].con_id = "wp"; in impd1_probe()
415 lookup->table[1].chip_label = chipname; in impd1_probe()
416 lookup->table[1].chip_hwnum = 4; in impd1_probe()
417 lookup->table[1].con_id = "cd"; in impd1_probe()
[all …]
/Linux-v4.19/fs/ocfs2/
Ddir.h59 struct ocfs2_dir_lookup_result *lookup);
68 struct ocfs2_dir_lookup_result *lookup);
73 struct ocfs2_dir_lookup_result *lookup) in ocfs2_add_entry() argument
77 inode, blkno, parent_fe_bh, lookup); in ocfs2_add_entry()
102 struct ocfs2_dir_lookup_result *lookup);
Ddir.c1025 struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry_dx() argument
1048 ret = ocfs2_dx_dir_search(name, namelen, dir, dx_root, lookup); in ocfs2_find_entry_dx()
1055 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_find_entry_dx()
1078 struct inode *dir, struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry() argument
1084 return ocfs2_find_entry_dx(name, namelen, dir, lookup); in ocfs2_find_entry()
1099 lookup->dl_leaf_bh = bh; in ocfs2_find_entry()
1100 lookup->dl_entry = res_dir; in ocfs2_find_entry()
1250 struct ocfs2_dir_lookup_result *lookup) in ocfs2_delete_entry_dx() argument
1253 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx()
1254 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx()
[all …]
Dnamei.c83 struct ocfs2_dir_lookup_result *lookup,
91 struct ocfs2_dir_lookup_result *lookup,
260 struct ocfs2_dir_lookup_result lookup = { NULL, }; in ocfs2_mknod() local
305 dentry->d_name.len, &lookup); in ocfs2_mknod()
451 &lookup); in ocfs2_mknod()
474 ocfs2_free_dir_lookup_result(&lookup); in ocfs2_mknod()
700 struct ocfs2_dir_lookup_result lookup = { NULL, }; in ocfs2_link() local
766 dentry->d_name.len, &lookup); in ocfs2_link()
812 parent_fe_bh, &lookup); in ocfs2_link()
842 ocfs2_free_dir_lookup_result(&lookup); in ocfs2_link()
[all …]
/Linux-v4.19/drivers/thunderbolt/
Dswitch.c1562 struct tb_sw_lookup *lookup = data; in tb_switch_match() local
1566 if (sw->tb != lookup->tb) in tb_switch_match()
1569 if (lookup->uuid) in tb_switch_match()
1570 return !memcmp(sw->uuid, lookup->uuid, sizeof(*lookup->uuid)); in tb_switch_match()
1572 if (lookup->route) { in tb_switch_match()
1573 return sw->config.route_lo == lower_32_bits(lookup->route) && in tb_switch_match()
1574 sw->config.route_hi == upper_32_bits(lookup->route); in tb_switch_match()
1578 if (!lookup->depth) in tb_switch_match()
1581 return sw->link == lookup->link && sw->depth == lookup->depth; in tb_switch_match()
1595 struct tb_sw_lookup lookup; in tb_switch_find_by_link_depth() local
[all …]
Dxdomain.c1280 const struct tb_xdomain_lookup *lookup) in switch_find_xdomain() argument
1294 if (lookup->uuid) { in switch_find_xdomain()
1295 if (uuid_equal(xd->remote_uuid, lookup->uuid)) in switch_find_xdomain()
1297 } else if (lookup->link && in switch_find_xdomain()
1298 lookup->link == xd->link && in switch_find_xdomain()
1299 lookup->depth == xd->depth) { in switch_find_xdomain()
1301 } else if (lookup->route && in switch_find_xdomain()
1302 lookup->route == xd->route) { in switch_find_xdomain()
1306 xd = switch_find_xdomain(port->remote->sw, lookup); in switch_find_xdomain()
1332 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_uuid() local
[all …]
/Linux-v4.19/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-v4.19/arch/x86/platform/intel-mid/device_libs/
Dplatform_bt.c44 struct gpiod_lookup *lookup = table->table; in tng_bt_sfi_setup() local
55 lookup[0].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_DEVICE_WAKEUP); in tng_bt_sfi_setup()
56 lookup[1].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_SHUTDOWN); in tng_bt_sfi_setup()
57 lookup[2].chip_hwnum = get_gpio_by_name(TNG_BT_SFI_GPIO_HOST_WAKEUP); in tng_bt_sfi_setup()
/Linux-v4.19/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.c133 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup()
140 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup()
142 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup()
148 new_op->upcall.req.lookup.d_name, in orangefs_lookup()
149 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup()
150 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup()
156 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup()
157 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup()
162 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup()
434 .lookup = orangefs_lookup,
/Linux-v4.19/drivers/clk/
Dclk-s2mps11.c43 struct clk_lookup *lookup; member
196 s2mps11_clks[i].lookup = clkdev_hw_create(&s2mps11_clks[i].hw, in s2mps11_clk_probe()
198 if (!s2mps11_clks[i].lookup) { in s2mps11_clk_probe()
215 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_probe()
231 if (!s2mps11_clks[i].lookup) in s2mps11_clk_remove()
233 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_remove()
/Linux-v4.19/drivers/clk/x86/
Dclk-pmc-atom.c40 struct clk_lookup *lookup; member
46 struct clk_lookup *lookup; member
196 pclk->lookup = clkdev_hw_create(&pclk->hw, init.name, NULL); in plt_clk_register()
197 if (!pclk->lookup) { in plt_clk_register()
209 clkdev_drop(pclk->lookup); in plt_clk_unregister()
228 pclk->lookup = clkdev_hw_create(pclk->clk, name, NULL); in plt_clk_register_fixed_rate()
229 if (!pclk->lookup) { in plt_clk_register_fixed_rate()
239 clkdev_drop(pclk->lookup); in plt_clk_unregister_fixed_rate()
/Linux-v4.19/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-v4.19/drivers/of/
Dplatform.c302 static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup, in of_dev_lookup() argument
309 if (!lookup) in of_dev_lookup()
312 auxdata = lookup; in of_dev_lookup()
328 auxdata = lookup; in of_dev_lookup()
354 const struct of_dev_auxdata *lookup, in of_platform_bus_create() argument
383 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create()
404 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create()
476 const struct of_dev_auxdata *lookup, in of_platform_populate() argument
490 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate()
504 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
[all …]
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-ssp-clk.c22 struct clk_lookup *lookup; member
27 struct clk_lookup *lookup; member
272 clkdev_drop(pclk[id].lookup); in unregister_parent_src_clk()
282 clkdev_drop(dclk->clk[cnt]->lookup); in unregister_src_clk()
301 parent[i].lookup = clkdev_hw_create(parent[i].hw, pclk[i].name, in skl_register_parent_clks()
303 if (!parent[i].lookup) { in skl_register_parent_clks()
344 clkdev->lookup = clkdev_hw_create(&clkdev->hw, init.name, NULL); in register_skl_clk()
345 if (!clkdev->lookup) in register_skl_clk()
/Linux-v4.19/drivers/media/dvb-frontends/
Dstv0900_core.c601 const struct stv0900_table *lookup, in stv0900_get_rf_level() argument
612 if ((lookup == NULL) || (lookup->size <= 0)) in stv0900_get_rf_level()
619 imax = lookup->size - 1; in stv0900_get_rf_level()
620 if (INRANGE(lookup->table[imin].regval, agc_gain, in stv0900_get_rf_level()
621 lookup->table[imax].regval)) { in stv0900_get_rf_level()
625 if (INRANGE(lookup->table[imin].regval, in stv0900_get_rf_level()
627 lookup->table[i].regval)) in stv0900_get_rf_level()
633 rf_lvl = (s32)agc_gain - lookup->table[imin].regval; in stv0900_get_rf_level()
634 rf_lvl *= (lookup->table[imax].realval - in stv0900_get_rf_level()
635 lookup->table[imin].realval); in stv0900_get_rf_level()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/thermal/
Dthermal-generic-adc.txt6 temperature using voltage-temperature lookup table.
11 - temperature-lookup-table: Two dimensional array of Integer; lookup table
39 temperature-lookup-table = < (-40000) 2578
/Linux-v4.19/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
Dcore.rst13 direct-fs-lookup
15 lookup-order
/Linux-v4.19/drivers/reset/
Dcore.c159 void reset_controller_add_lookup(struct reset_control_lookup *lookup, in reset_controller_add_lookup() argument
167 entry = &lookup[i]; in reset_controller_add_lookup()
548 const struct reset_control_lookup *lookup; in __reset_control_get_from_lookup() local
558 list_for_each_entry(lookup, &reset_lookup_list, list) { in __reset_control_get_from_lookup()
559 if (strcmp(lookup->dev_id, dev_id)) in __reset_control_get_from_lookup()
562 if ((!con_id && !lookup->con_id) || in __reset_control_get_from_lookup()
563 ((con_id && lookup->con_id) && in __reset_control_get_from_lookup()
564 !strcmp(con_id, lookup->con_id))) { in __reset_control_get_from_lookup()
566 rcdev = __reset_controller_by_name(lookup->provider); in __reset_control_get_from_lookup()
575 lookup->index, in __reset_control_get_from_lookup()
/Linux-v4.19/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-v4.19/drivers/misc/mic/scif/
Dscif_rma.c386 window->dma_addr_lookup.lookup = in scif_create_remote_lookup()
389 sizeof(*window->dma_addr_lookup.lookup), in scif_create_remote_lookup()
391 if (!window->dma_addr_lookup.lookup) { in scif_create_remote_lookup()
396 window->num_pages_lookup.lookup = in scif_create_remote_lookup()
399 sizeof(*window->num_pages_lookup.lookup), in scif_create_remote_lookup()
401 if (!window->num_pages_lookup.lookup) { in scif_create_remote_lookup()
411 err = scif_map_page(&window->dma_addr_lookup.lookup[j], in scif_create_remote_lookup()
418 err = scif_map_page(&window->num_pages_lookup.lookup[j], in scif_create_remote_lookup()
450 if (lup->lookup && lup->lookup[j]) in scif_destroy_remote_lookup()
451 scif_unmap_single(lup->lookup[j], in scif_destroy_remote_lookup()
[all …]

12345678910>>...14