/linux/drivers/i2c/ |
A D | i2c-core-acpi.c | 114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info() 217 memset(&lookup, 0, sizeof(lookup)); in i2c_acpi_get_info() 219 lookup.index = -1; in i2c_acpi_get_info() 342 if (lookup->search_handle != lookup->adapter_handle) in i2c_acpi_lookup_speed() 345 if (lookup->speed <= lookup->min_speed) in i2c_acpi_lookup_speed() 346 lookup->min_speed = lookup->speed; in i2c_acpi_lookup_speed() 372 memset(&lookup, 0, sizeof(lookup)); in i2c_acpi_find_bus_speed() 376 lookup.index = -1; in i2c_acpi_find_bus_speed() 389 if (lookup.force_speed != lookup.min_speed) in i2c_acpi_find_bus_speed() 391 lookup.min_speed, lookup.force_speed); in i2c_acpi_find_bus_speed() [all …]
|
/linux/net/qrtr/ |
A D | ns.c | 292 if (lookup->service && lookup->service != srv->service) in server_del() 294 if (lookup->instance && lookup->instance != srv->instance) in server_del() 454 list_del(&lookup->li); in ctrl_cmd_del_client() 455 kfree(lookup); in ctrl_cmd_del_client() 535 if (lookup->service && lookup->service != service) in ctrl_cmd_new_server() 537 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_new_server() 584 lookup = kzalloc(sizeof(*lookup), GFP_KERNEL); in ctrl_cmd_new_lookup() 585 if (!lookup) in ctrl_cmd_new_lookup() 588 lookup->sq = *from; in ctrl_cmd_new_lookup() 653 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_del_lookup() [all …]
|
/linux/drivers/gpio/ |
A D | gpiolib-acpi.c | 727 if (!lookup->desc) { in acpi_populate_gpio_lookup() 734 lookup->index++; in acpi_populate_gpio_lookup() 736 if (lookup->n++ != lookup->index) in acpi_populate_gpio_lookup() 748 lookup->desc = desc; in acpi_populate_gpio_lookup() 764 lookup->info.polarity = lookup->active_low; in acpi_populate_gpio_lookup() 784 lookup); in acpi_gpio_resource_lookup() 790 if (!lookup->desc) in acpi_gpio_resource_lookup() 870 memset(&lookup, 0, sizeof(lookup)); in acpi_get_gpiod_by_index() 882 dev_name(&lookup.info.adev->dev), lookup.index, in acpi_get_gpiod_by_index() 883 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index() [all …]
|
/linux/drivers/mfd/ |
A D | arizona-spi.c | 65 static void arizona_spi_acpi_remove_lookup(void *lookup) in arizona_spi_acpi_remove_lookup() argument 67 gpiod_remove_lookup_table(lookup); in arizona_spi_acpi_remove_lookup() 72 struct gpiod_lookup_table *lookup; in arizona_spi_acpi_probe() local 80 lookup = devm_kzalloc(arizona->dev, in arizona_spi_acpi_probe() 81 struct_size(lookup, table, ARRAY_SIZE(arizona_soc_gpios) + 1), in arizona_spi_acpi_probe() 83 if (!lookup) in arizona_spi_acpi_probe() 86 lookup->dev_id = dev_name(arizona->dev); in arizona_spi_acpi_probe() 87 memcpy(lookup->table, arizona_soc_gpios, sizeof(arizona_soc_gpios)); in arizona_spi_acpi_probe() 89 gpiod_add_lookup_table(lookup); in arizona_spi_acpi_probe() 90 ret = devm_add_action_or_reset(arizona->dev, arizona_spi_acpi_remove_lookup, lookup); in arizona_spi_acpi_probe()
|
/linux/arch/mips/pic32/pic32mzda/ |
A D | init.c | 98 static int __init pic32_of_prepare_platform_data(struct of_dev_auxdata *lookup) in pic32_of_prepare_platform_data() argument 105 for (; lookup->compatible; lookup++) { in pic32_of_prepare_platform_data() 106 np = of_find_compatible_node(NULL, NULL, lookup->compatible); in pic32_of_prepare_platform_data() 108 lookup->name = (char *)np->name; in pic32_of_prepare_platform_data() 109 if (lookup->phys_addr) in pic32_of_prepare_platform_data() 112 lookup->phys_addr = res.start; in pic32_of_prepare_platform_data()
|
/linux/drivers/tty/serdev/ |
A D | core.c | 594 struct acpi_serdev_lookup *lookup = data; in acpi_serdev_parse_resource() local 601 if (lookup->index != -1 && lookup->n++ != lookup->index) in acpi_serdev_parse_resource() 604 status = acpi_get_handle(lookup->device_handle, in acpi_serdev_parse_resource() 606 &lookup->controller_handle); in acpi_serdev_parse_resource() 624 lookup->device_handle = acpi_device_handle(adev); in acpi_serdev_do_lookup() 625 lookup->controller_handle = NULL; in acpi_serdev_do_lookup() 626 lookup->n = 0; in acpi_serdev_do_lookup() 630 acpi_serdev_parse_resource, lookup); in acpi_serdev_do_lookup() 642 struct acpi_serdev_lookup lookup; in acpi_serdev_check_resources() local 651 ret = acpi_serdev_do_lookup(adev, &lookup); in acpi_serdev_check_resources() [all …]
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 19 #define VCAP_IS1_CHAIN(lookup) \ argument 20 (1 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP) 21 #define VCAP_IS2_CHAIN(lookup, pag) \ argument 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 68 return chain - VCAP_IS2_CHAIN(lookup, 0); in ocelot_chain_to_pag() [all …]
|
/linux/fs/ksmbd/mgmt/ |
A D | share_config.c | 122 struct ksmbd_share_config *lookup; in share_config_request() local 173 lookup = __share_lookup(name); in share_config_request() 174 if (lookup) in share_config_request() 175 lookup = __get_share_config(lookup); in share_config_request() 176 if (!lookup) { in share_config_request() 180 share = lookup; in share_config_request()
|
/linux/fs/ocfs2/ |
A D | dir.h | 43 struct ocfs2_dir_lookup_result *lookup); 52 struct ocfs2_dir_lookup_result *lookup); 57 struct ocfs2_dir_lookup_result *lookup) in ocfs2_add_entry() argument 61 inode, blkno, parent_fe_bh, lookup); in ocfs2_add_entry() 86 struct ocfs2_dir_lookup_result *lookup);
|
A D | dir.c | 1079 lookup->dl_leaf_bh = bh; in ocfs2_find_entry() 1080 lookup->dl_entry = res_dir; in ocfs2_find_entry() 1502 &lookup->dl_hinfo, in ocfs2_dx_dir_insert() 1508 lookup->dl_dx_leaf_bh); in ocfs2_dx_dir_insert() 1531 bh = lookup->dl_dx_root_bh; in ocfs2_remove_block_from_free_list() 1682 lookup); in __ocfs2_add_entry() 3047 &lookup->dl_hinfo); in ocfs2_expand_inline_dir() 3175 blocks_wanted, lookup, in ocfs2_extend_dir() 4182 namelen, lookup); in ocfs2_prepare_dx_dir_for_insert() 4293 lookup, &bh); in ocfs2_prepare_dir_for_insert() [all …]
|
/linux/include/linux/ |
A D | of_platform.h | 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 95 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
|
/linux/fs/orangefs/ |
A D | namei.c | 131 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_lookup() 138 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_lookup() 140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 146 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 147 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup() 148 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup() 154 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup() 155 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup() 160 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup() 432 .lookup = orangefs_lookup,
|
A D | dcache.c | 34 new_op->upcall.req.lookup.sym_follow = ORANGEFS_LOOKUP_LINK_NO_FOLLOW; in orangefs_revalidate_lookup() 35 new_op->upcall.req.lookup.parent_refn = parent->refn; in orangefs_revalidate_lookup() 36 strncpy(new_op->upcall.req.lookup.d_name, in orangefs_revalidate_lookup() 58 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
|
/linux/net/netfilter/ipvs/ |
A D | ip_vs_mh.c | 63 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/drivers/clk/x86/ |
A D | clk-pmc-atom.c | 33 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/Documentation/bpf/ |
A D | prog_sk_lookup.rst | 8 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/drivers/of/ |
A D | platform.c | 297 static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup, in of_dev_lookup() argument 304 if (!lookup) in of_dev_lookup() 307 auxdata = lookup; in of_dev_lookup() 323 auxdata = lookup; in of_dev_lookup() 349 const struct of_dev_auxdata *lookup, in of_platform_bus_create() argument 378 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create() 399 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create() 471 const struct of_dev_auxdata *lookup, in of_platform_populate() argument 486 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate() 502 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument [all …]
|
/linux/drivers/media/dvb-frontends/ |
A D | stv0900_core.c | 602 if ((lookup == NULL) || (lookup->size <= 0)) in stv0900_get_rf_level() 609 imax = lookup->size - 1; in stv0900_get_rf_level() 611 lookup->table[imax].regval)) { in stv0900_get_rf_level() 617 lookup->table[i].regval)) in stv0900_get_rf_level() 625 lookup->table[imin].realval); in stv0900_get_rf_level() 627 lookup->table[imin].regval); in stv0900_get_rf_level() 631 else if (agc_gain < lookup->table[lookup->size-1].regval) in stv0900_get_rf_level() 684 if ((lookup != NULL) && lookup->size) { in stv0900_carr_get_quality() 697 imax = lookup->size - 1; in stv0900_carr_get_quality() 700 lookup->table[imax].regval)) { in stv0900_carr_get_quality() [all …]
|
/linux/drivers/clk/ |
A D | clk-s2mps11.c | 27 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() 200 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_probe() 216 if (!s2mps11_clks[i].lookup) in s2mps11_clk_remove() 218 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_remove()
|
/linux/sound/soc/intel/skylake/ |
A D | skl-ssp-clk.c | 23 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/Documentation/filesystems/ |
A D | path-lookup.txt | 1 Path walking and name lookup locking 9 path string. Then repeating the lookup from the child dentry and finding its 53 parent for the next lookup. 72 - lookup and create missing parts of the path on demand. 77 Dcache name lookup 121 lookup can be retried. 166 lookup operations. If a file is renamed from 'A' to 'B', a lookup must only 167 find either 'A' or 'B'. So if a lookup of 'A' returns NULL, a subsequent lookup 173 retrying a negative lookup result if a rename was in progress. 199 lookup which does not increment the refcount on the dentry or write to [all …]
|
/linux/drivers/reset/ |
A D | core.c | 179 entry = &lookup[i]; in reset_controller_add_lookup() 899 const struct reset_control_lookup *lookup; in __reset_control_get_from_lookup() local 906 list_for_each_entry(lookup, &reset_lookup_list, list) { in __reset_control_get_from_lookup() 907 if (strcmp(lookup->dev_id, dev_id)) in __reset_control_get_from_lookup() 910 if ((!con_id && !lookup->con_id) || in __reset_control_get_from_lookup() 911 ((con_id && lookup->con_id) && in __reset_control_get_from_lookup() 912 !strcmp(con_id, lookup->con_id))) { in __reset_control_get_from_lookup() 914 rcdev = __reset_controller_by_name(lookup->provider); in __reset_control_get_from_lookup() 923 lookup->index, in __reset_control_get_from_lookup() 1238 const struct reset_control_lookup *lookup; in reset_control_get_count_from_lookup() local [all …]
|
/linux/drivers/thunderbolt/ |
A D | xdomain.c | 1703 if (lookup->uuid) { in switch_find_xdomain() 1707 } else if (lookup->link && in switch_find_xdomain() 1711 } else if (lookup->route && in switch_find_xdomain() 1742 struct tb_xdomain_lookup lookup; in tb_xdomain_find_by_uuid() local 1745 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_uuid() 1746 lookup.uuid = uuid; in tb_xdomain_find_by_uuid() 1775 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_link_depth() 1776 lookup.link = link; in tb_xdomain_find_by_link_depth() 1777 lookup.depth = depth; in tb_xdomain_find_by_link_depth() 1803 memset(&lookup, 0, sizeof(lookup)); in tb_xdomain_find_by_route() [all …]
|
/linux/Documentation/driver-api/firmware/ |
A D | direct-fs-lookup.rst | 2 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/Documentation/devicetree/bindings/thermal/ |
A D | thermal-generic-adc.txt | 6 temperature using voltage-temperature lookup table. 15 - temperature-lookup-table: Two dimensional array of Integer; lookup table 45 temperature-lookup-table = < (-40000) 2578
|