| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vcap_debugfs.c | 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() 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() 130 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is2_port_keys() 135 if (ANA_ACL_VCAP_S2_CFG_SEC_ENA_GET(value) & BIT(lookup)) in sparx5_vcap_is2_port_keys() 142 ANA_ACL_VCAP_S2_KEY_SEL(port->portno, lookup)); in sparx5_vcap_is2_port_keys() 236 int lookup; in sparx5_vcap_is2_port_stickies() local [all …]
|
| /linux/net/qrtr/ |
| H A D | ns.c | 298 struct qrtr_lookup *lookup; in server_del() local 314 lookup = container_of(li, struct qrtr_lookup, li); in server_del() 315 if (lookup->service && lookup->service != srv->service) in server_del() 317 if (lookup->instance && lookup->instance != srv->instance) in server_del() 320 lookup_notify(&lookup->sq, srv, false); in server_del() 428 struct qrtr_lookup *lookup; in ctrl_cmd_del_client() local 453 lookup = container_of(li, struct qrtr_lookup, li); in ctrl_cmd_del_client() 454 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client() 456 if (lookup->sq.sq_port != port) in ctrl_cmd_del_client() 459 list_del(&lookup->li); in ctrl_cmd_del_client() [all …]
|
| /linux/arch/mips/pic32/pic32mzda/ |
| H A D | init.c | 90 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/drivers/gpio/ |
| H A D | gpiolib-acpi-core.c | 710 struct acpi_gpio_lookup *lookup = data; in acpi_populate_gpio_lookup() local 711 struct acpi_gpio_params *params = &lookup->params; in acpi_populate_gpio_lookup() 712 struct acpi_gpio_info *info = lookup->info; in acpi_populate_gpio_lookup() 717 if (!lookup->desc) { in acpi_populate_gpio_lookup() 726 if (lookup->n++ != params->crs_entry_index) in acpi_populate_gpio_lookup() 738 lookup->desc = desc; in acpi_populate_gpio_lookup() 764 static int acpi_gpio_resource_lookup(struct acpi_gpio_lookup *lookup) in acpi_gpio_resource_lookup() argument 766 struct acpi_gpio_info *info = lookup->info; in acpi_gpio_resource_lookup() 775 lookup); in acpi_gpio_resource_lookup() 781 if (!lookup->desc) in acpi_gpio_resource_lookup() [all …]
|
| H A D | gpiolib-shared.c | 43 struct gpiod_lookup_table *lookup; member 450 struct gpiod_lookup_table *lookup; in gpio_shared_add_proxy_lookup() local 470 if (ref->lookup) in gpio_shared_add_proxy_lookup() 480 lookup = kzalloc_flex(*lookup, table, 2); in gpio_shared_add_proxy_lookup() 481 if (!lookup) in gpio_shared_add_proxy_lookup() 487 lookup->dev_id = dev_id; in gpio_shared_add_proxy_lookup() 488 lookup->table[0] = GPIO_LOOKUP(no_free_ptr(key), 0, in gpio_shared_add_proxy_lookup() 491 ref->lookup = lookup; in gpio_shared_add_proxy_lookup() 492 gpiod_add_lookup_table(ref->lookup); in gpio_shared_add_proxy_lookup() 608 if (ref->lookup) { in gpio_device_teardown_shared() [all …]
|
| H A D | gpio-virtuser.c | 1366 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_get_lookup_count() local 1371 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_get_lookup_count() 1372 count += list_count_nodes(&lookup->entry_list); in gpio_virtuser_get_lookup_count() 1382 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_make_lookup_table() local 1396 list_for_each_entry(lookup, &dev->lookup_list, siblings) { in gpio_virtuser_make_lookup_table() 1398 list_for_each_entry(entry, &lookup->entry_list, siblings) { in gpio_virtuser_make_lookup_table() 1402 lookup->con_id, idx++, entry->flags); in gpio_virtuser_make_lookup_table() 1425 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_make_device_swnode() local 1437 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_make_device_swnode() 1438 ids[i++] = lookup->con_id; in gpio_virtuser_make_device_swnode() [all …]
|
| H A D | gpio-ath79.c | 227 struct gpiod_lookup_table *lookup; in ath79_gpio_register_wifi_descriptors() local 231 lookup = devm_kzalloc(dev, in ath79_gpio_register_wifi_descriptors() 232 struct_size(lookup, table, ATH79K_WIFI_DESCS + 1), in ath79_gpio_register_wifi_descriptors() 234 if (!lookup) in ath79_gpio_register_wifi_descriptors() 243 lookup->dev_id = NULL; in ath79_gpio_register_wifi_descriptors() 246 lookup->table[i] = in ath79_gpio_register_wifi_descriptors() 255 gpiod_add_lookup_table(lookup); in ath79_gpio_register_wifi_descriptors()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_privacy_screen_x86.c | 16 struct drm_privacy_screen_lookup lookup; member 63 .lookup = { 73 .lookup = { 92 arch_init_data[i].lookup.provider); in drm_privacy_screen_lookup_init() 95 arch_lookup = arch_init_data[i].lookup; in drm_privacy_screen_lookup_init()
|
| /linux/drivers/leds/ |
| H A D | led-test.c | 65 struct led_lookup_data lookup; in led_test_class_add_lookup_and_get() local 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()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_vcap_impl.c | 101 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/fs/ocfs2/ |
| H 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);
|
| /linux/include/linux/ |
| H A D | of_platform.h | 84 const struct of_dev_auxdata *lookup, 87 const struct of_dev_auxdata *lookup, 109 const struct of_dev_auxdata *lookup, in of_platform_populate() argument 115 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument
|
| /linux/fs/orangefs/ |
| H A D | dcache.c | 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() 55 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
|
| /linux/sound/soc/mediatek/mt8186/ |
| H A D | mt8186-audsys-clk.c | 99 cl = afe_priv->lookup[i]; in mt8186_audsys_clk_unregister() 117 afe_priv->lookup = devm_kcalloc(afe->dev, CLK_AUD_NR_CLK, in mt8186_audsys_clk_register() 118 sizeof(*afe_priv->lookup), in mt8186_audsys_clk_register() 121 if (!afe_priv->lookup) in mt8186_audsys_clk_register() 147 afe_priv->lookup[i] = cl; in mt8186_audsys_clk_register()
|
| /linux/Documentation/bpf/ |
| H 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/clk/x86/ |
| H A D | clk-pmc-atom.c | 22 struct clk_lookup *lookup; member 28 struct clk_lookup *lookup; member 189 pclk->lookup = clkdev_hw_create(&pclk->hw, init.name, NULL); in plt_clk_register() 190 if (!pclk->lookup) { in plt_clk_register() 202 clkdev_drop(pclk->lookup); in plt_clk_unregister() 221 pclk->lookup = clkdev_hw_create(pclk->clk, name, NULL); in plt_clk_register_fixed_rate() 222 if (!pclk->lookup) { in plt_clk_register_fixed_rate() 232 clkdev_drop(pclk->lookup); in plt_clk_unregister_fixed_rate()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_mh.c | 62 struct ip_vs_mh_lookup *lookup; member 110 l = &s->lookup[0]; in ip_vs_mh_reset() 207 dest = rcu_dereference_protected(s->lookup[c].dest, 1); in ip_vs_mh_populate() 213 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate() 239 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get() 256 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback() 272 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback() 375 kfree(s->lookup); in ip_vs_mh_state_free() 389 s->lookup = kzalloc_objs(struct ip_vs_mh_lookup, IP_VS_MH_TAB_SIZE); in ip_vs_mh_init_svc() 390 if (!s->lookup) { in ip_vs_mh_init_svc()
|
| /linux/drivers/clk/ |
| H A D | clk-s2mps11.c | 28 struct clk_lookup *lookup; member 186 s2mps11_clks[i].lookup = clkdev_hw_create(&s2mps11_clks[i].hw, in s2mps11_clk_probe() 188 if (!s2mps11_clks[i].lookup) { in s2mps11_clk_probe() 205 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_probe() 221 if (!s2mps11_clks[i].lookup) in s2mps11_clk_remove() 223 clkdev_drop(s2mps11_clks[i].lookup); in s2mps11_clk_remove()
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | stv0900_core.c | 590 const struct stv0900_table *lookup, in stv0900_get_rf_level() argument 601 if ((lookup == NULL) || (lookup->size <= 0)) in stv0900_get_rf_level() 608 imax = lookup->size - 1; in stv0900_get_rf_level() 609 if (INRANGE(lookup->table[imin].regval, agc_gain, in stv0900_get_rf_level() 610 lookup->table[imax].regval)) { in stv0900_get_rf_level() 614 if (INRANGE(lookup->table[imin].regval, in stv0900_get_rf_level() 616 lookup->table[i].regval)) in stv0900_get_rf_level() 622 rf_lvl = (s32)agc_gain - lookup->table[imin].regval; in stv0900_get_rf_level() 623 rf_lvl *= (lookup->table[imax].realval - in stv0900_get_rf_level() 624 lookup->table[imin].realval); in stv0900_get_rf_level() [all …]
|
| /linux/Documentation/mm/ |
| H A D | swap-table.rst | 42 structure. Each lookup will go through multiple nodes. Can we do better? 49 Swap cache lookup within the cluster can be a very simple array lookup. 57 With swap table, swap cache lookup can achieve great locality, simpler, 68 Swap table lookup is protected by RCU and atomic read. If the lookup
|
| /linux/Documentation/driver-api/firmware/ |
| H 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/sound/soc/mediatek/mt8195/ |
| H A D | mt8195-audsys-clk.c | 163 cl = afe_priv->lookup[i]; in mt8195_audsys_clk_unregister() 181 afe_priv->lookup = devm_kcalloc(afe->dev, CLK_AUD_NR_CLK, in mt8195_audsys_clk_register() 182 sizeof(*afe_priv->lookup), in mt8195_audsys_clk_register() 185 if (!afe_priv->lookup) in mt8195_audsys_clk_register() 211 afe_priv->lookup[i] = cl; in mt8195_audsys_clk_register()
|
| /linux/sound/soc/mediatek/mt8188/ |
| H A D | mt8188-audsys-clk.c | 157 cl = afe_priv->lookup[i]; in mt8188_audsys_clk_unregister() 175 afe_priv->lookup = devm_kcalloc(afe->dev, CLK_AUD_NR_CLK, in mt8188_audsys_clk_register() 176 sizeof(*afe_priv->lookup), in mt8188_audsys_clk_register() 179 if (!afe_priv->lookup) in mt8188_audsys_clk_register() 206 afe_priv->lookup[i] = cl; in mt8188_audsys_clk_register()
|
| /linux/include/drm/ |
| H A D | drm_privacy_screen_machine.h | 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/scsi/elx/libefc/ |
| H A D | efc_nport.c | 96 xa_init(&nport->lookup); in efc_nport_alloc() 152 xa_destroy(&nport->lookup); in efc_nport_free() 153 xa_erase(&domain->lookup, nport->fc_id); in efc_nport_free() 169 nport = xa_load(&domain->lookup, d_id); in efc_nport_find() 185 rc = xa_err(xa_store(&nport->domain->lookup, fc_id, nport, GFP_ATOMIC)); in efc_nport_attach() 195 xa_for_each(&nport->lookup, index, node) { in efc_nport_attach() 219 xa_for_each(&nport->lookup, index, node) { in efc_nport_shutdown() 294 if (xa_empty(&nport->lookup)) { in __efc_nport_common() 296 xa_erase(&domain->lookup, nport->fc_id); in __efc_nport_common() 511 xa_for_each(&nport->lookup, index, node) in __efc_nport_attached() [all …]
|