Home
last modified time | relevance | path

Searched refs:lookups (Results 1 – 19 of 19) sorted by relevance

/drivers/gpio/
Dgpio-aggregator.c37 struct gpiod_lookup_table *lookups; member
48 struct gpiod_lookup_table *lookups; in aggr_add_gpio() local
50 lookups = krealloc(aggr->lookups, struct_size(lookups, table, *n + 2), in aggr_add_gpio()
52 if (!lookups) in aggr_add_gpio()
55 lookups->table[*n] = GPIO_LOOKUP_IDX(key, hwnum, NULL, *n, 0); in aggr_add_gpio()
58 memset(&lookups->table[*n], 0, sizeof(lookups->table[*n])); in aggr_add_gpio()
60 aggr->lookups = lookups; in aggr_add_gpio()
131 aggr->lookups = kzalloc(struct_size(aggr->lookups, table, 1), in new_device_store()
133 if (!aggr->lookups) { in new_device_store()
147 aggr->lookups->dev_id = kasprintf(GFP_KERNEL, "%s.%d", DRV_NAME, id); in new_device_store()
[all …]
DTODO67 - Pull semantics for legacy device tree (OF) GPIO lookups into
69 lookups for polarity inversion, open drain and what not. As we now
/drivers/soc/qcom/
Dpdr_interface.c40 struct list_head lookups; member
90 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_locator_new_server()
172 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_notifier_work()
204 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_notifier_new_server()
228 list_for_each_entry(pds, &pdr->lookups, node) { in pdr_notifier_del_server()
314 list_for_each_entry(iter, &pdr->lookups, node) { in pdr_indication_cb()
483 list_for_each_entry_safe(pds, tmp, &pdr->lookups, node) { in pdr_locator_work()
540 list_for_each_entry(tmp, &pdr->lookups, node) { in pdr_add_lookup()
549 list_add(&pds->node, &pdr->lookups); in pdr_add_lookup()
583 list_for_each_entry(tmp, &pdr->lookups, node) { in pdr_restart_pd()
[all …]
Dqmi_interface.c220 list_add(&svc->list_node, &qmi->lookups); in qmi_add_lookup()
465 list_for_each_entry(svc, &qmi->lookups, list_node) in qmi_handle_net_reset()
632 INIT_LIST_HEAD(&qmi->lookups); in qmi_handle_init()
709 list_for_each_entry_safe(svc, tmp, &qmi->lookups, list_node) { in qmi_handle_release()
/drivers/soc/tegra/fuse/
Dfuse-tegra.c507 if (fuse->soc->lookups) { in tegra_init_fuse()
508 size_t size = sizeof(*fuse->lookups) * fuse->soc->num_lookups; in tegra_init_fuse()
510 fuse->lookups = kmemdup(fuse->soc->lookups, size, GFP_KERNEL); in tegra_init_fuse()
511 if (fuse->lookups) in tegra_init_fuse()
512 nvmem_add_cell_lookups(fuse->lookups, fuse->soc->num_lookups); in tegra_init_fuse()
Dfuse-tegra30.c285 .lookups = tegra124_fuse_lookups,
456 .lookups = tegra210_fuse_lookups,
513 .lookups = tegra186_fuse_lookups,
606 .lookups = tegra194_fuse_lookups,
671 .lookups = tegra234_fuse_lookups,
Dfuse.h33 const struct nvmem_cell_lookup *lookups; member
67 struct nvmem_cell_lookup *lookups; member
/drivers/net/ethernet/microchip/lan966x/
Dlan966x_vcap_impl.c23 int lookups; /* number of lookups in this vcap type */ member
32 .lookups = LAN966X_ES0_LOOKUPS,
40 .lookups = LAN966X_IS1_LOOKUPS,
49 .lookups = LAN966X_IS2_LOOKUPS,
629 admin->lookups = cfg->lookups; in lan966x_vcap_admin_alloc()
630 admin->lookups_per_instance = cfg->lookups; in lan966x_vcap_admin_alloc()
Dlan966x_vcap_debugfs.c25 for (int l = 0; l < admin->lookups; ++l) { in lan966x_vcap_is1_port_keys()
140 for (int l = 0; l < admin->lookups; ++l) { in lan966x_vcap_is2_port_keys()
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_debugfs.c86 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is0_port_keys()
129 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_keys()
240 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_stickies()
335 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_es2_port_keys()
413 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_es2_port_stickies()
Dsparx5_vcap_impl.c55 int lookups; /* number of lookups in this vcap type */ member
69 .lookups = SPARX5_IS0_LOOKUPS,
81 .lookups = SPARX5_IS0_LOOKUPS,
93 .lookups = SPARX5_IS0_LOOKUPS,
105 .lookups = SPARX5_IS2_LOOKUPS,
117 .lookups = SPARX5_IS2_LOOKUPS,
127 .lookups = SPARX5_ES0_LOOKUPS,
136 .lookups = SPARX5_ES2_LOOKUPS,
1806 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is0_port_key_selection()
1831 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_key_selection()
[all …]
/drivers/net/ethernet/microchip/vcap/
Dvcap_api_kunit.c1341 .lookups = 4, in vcap_api_encode_rule_test()
1580 .lookups = 4, in vcap_api_rule_insert_in_order_test()
1618 .lookups = 4, in vcap_api_rule_insert_reverse_order_test()
1681 .lookups = 4, in vcap_api_rule_remove_at_end_test()
1753 .lookups = 4, in vcap_api_rule_remove_in_middle_test()
1828 .lookups = 4, in vcap_api_rule_remove_in_front_test()
1887 .lookups = 4, in vcap_api_next_lookup_basic_test()
1895 .lookups = 4, in vcap_api_next_lookup_basic_test()
1934 .lookups = 6, in vcap_api_next_lookup_advanced_test()
1941 .lookups = 6, in vcap_api_next_lookup_advanced_test()
[all …]
Dvcap_api_debugfs_kunit.c407 .lookups = 4, in vcap_api_show_admin_test()
498 .lookups = 4, in vcap_api_show_admin_rule_test()
DKconfig21 - A number of lookups
Dvcap_api.h173 int lookups; /* number of lookups in this vcap type */ member
Dvcap_api_debugfs.c286 out->prf(out->dst, "lookups: %d\n", admin->lookups); in vcap_show_admin_info()
Dvcap_api.c3235 return lookup == admin->lookups - 1; in vcap_is_last_chain()
/drivers/base/firmware_loader/
DKconfig55 over firmware lookups using your filesystem over the supported
/drivers/hid/
DKconfig57 the hid events at all (no parsing, no lookups). This lets applications