/linux-6.12.1/drivers/i2c/ |
D | i2c-core-acpi.c | 106 struct i2c_acpi_lookup *lookup = data; in i2c_acpi_fill_info() local 107 struct i2c_board_info *info = lookup->info; in i2c_acpi_fill_info() 114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info() 117 status = acpi_get_handle(lookup->device_handle, in i2c_acpi_fill_info() 119 &lookup->adapter_handle); in i2c_acpi_fill_info() 124 lookup->speed = sb->connection_speed; in i2c_acpi_fill_info() 146 struct i2c_acpi_lookup *lookup) in i2c_acpi_do_lookup() argument 148 struct i2c_board_info *info = lookup->info; in i2c_acpi_do_lookup() 162 lookup->device_handle = acpi_device_handle(adev); in i2c_acpi_do_lookup() 167 i2c_acpi_fill_info, lookup); in i2c_acpi_do_lookup() [all …]
|
/linux-6.12.1/drivers/net/ethernet/microchip/sparx5/ |
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 …]
|
D | sparx5_vcap_impl.c | 363 int lookup = 0; in sparx5_vcap_is0_cid_to_lookup() local 366 lookup = 1; in sparx5_vcap_is0_cid_to_lookup() 368 lookup = 2; in sparx5_vcap_is0_cid_to_lookup() 370 lookup = 3; in sparx5_vcap_is0_cid_to_lookup() 372 lookup = 4; in sparx5_vcap_is0_cid_to_lookup() 374 lookup = 5; in sparx5_vcap_is0_cid_to_lookup() 376 return lookup; in sparx5_vcap_is0_cid_to_lookup() 382 int lookup = 0; in sparx5_vcap_is2_cid_to_lookup() local 385 lookup = 1; in sparx5_vcap_is2_cid_to_lookup() 387 lookup = 2; in sparx5_vcap_is2_cid_to_lookup() [all …]
|
/linux-6.12.1/net/qrtr/ |
D | ns.c | 269 struct qrtr_lookup *lookup; in server_del() local 285 lookup = container_of(li, struct qrtr_lookup, li); in server_del() 286 if (lookup->service && lookup->service != srv->service) in server_del() 288 if (lookup->instance && lookup->instance != srv->instance) in server_del() 291 lookup_notify(&lookup->sq, srv, false); in server_del() 387 struct qrtr_lookup *lookup; in ctrl_cmd_del_client() local 412 lookup = container_of(li, struct qrtr_lookup, li); in ctrl_cmd_del_client() 413 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client() 415 if (lookup->sq.sq_port != port) in ctrl_cmd_del_client() 418 list_del(&lookup->li); in ctrl_cmd_del_client() [all …]
|
/linux-6.12.1/drivers/gpio/ |
D | gpiolib-acpi.c | 756 struct acpi_gpio_lookup *lookup = data; in acpi_populate_gpio_lookup() local 761 if (!lookup->desc) { in acpi_populate_gpio_lookup() 767 if (lookup->info.quirks & ACPI_GPIO_QUIRK_ONLY_GPIOIO && gpioint) in acpi_populate_gpio_lookup() 768 lookup->index++; in acpi_populate_gpio_lookup() 770 if (lookup->n++ != lookup->index) in acpi_populate_gpio_lookup() 773 pin_index = lookup->pin_index; in acpi_populate_gpio_lookup() 777 if (lookup->info.quirks & ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER) in acpi_populate_gpio_lookup() 782 lookup->desc = desc; in acpi_populate_gpio_lookup() 783 lookup->info.pin_config = agpio->pin_config; in acpi_populate_gpio_lookup() 784 lookup->info.debounce = agpio->debounce_timeout; in acpi_populate_gpio_lookup() [all …]
|
D | gpio-virtuser.c | 1396 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_get_lookup_count() local 1401 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_get_lookup_count() 1402 count += list_count_nodes(&lookup->entry_list); in gpio_virtuser_get_lookup_count() 1412 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_make_lookup_table() local 1426 list_for_each_entry(lookup, &dev->lookup_list, siblings) { in gpio_virtuser_make_lookup_table() 1427 list_for_each_entry(entry, &lookup->entry_list, siblings) { in gpio_virtuser_make_lookup_table() 1431 lookup->con_id, i, entry->flags); in gpio_virtuser_make_lookup_table() 1446 struct gpio_virtuser_lookup *lookup; in gpio_virtuser_make_device_swnode() local 1458 list_for_each_entry(lookup, &dev->lookup_list, siblings) in gpio_virtuser_make_device_swnode() 1459 ids[i++] = lookup->con_id; in gpio_virtuser_make_device_swnode() [all …]
|
/linux-6.12.1/arch/mips/pic32/pic32mzda/ |
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-6.12.1/drivers/mfd/ |
D | arizona-spi.c | 46 static void arizona_spi_acpi_remove_lookup(void *lookup) in arizona_spi_acpi_remove_lookup() argument 48 gpiod_remove_lookup_table(lookup); in arizona_spi_acpi_remove_lookup() 54 struct gpiod_lookup_table *lookup; in arizona_spi_acpi_windows_probe() local 62 lookup = devm_kzalloc(arizona->dev, in arizona_spi_acpi_windows_probe() 63 struct_size(lookup, table, ARRAY_SIZE(arizona_soc_gpios) + 1), in arizona_spi_acpi_windows_probe() 65 if (!lookup) in arizona_spi_acpi_windows_probe() 68 lookup->dev_id = dev_name(arizona->dev); in arizona_spi_acpi_windows_probe() 69 memcpy(lookup->table, arizona_soc_gpios, sizeof(arizona_soc_gpios)); in arizona_spi_acpi_windows_probe() 71 gpiod_add_lookup_table(lookup); in arizona_spi_acpi_windows_probe() 72 ret = devm_add_action_or_reset(arizona->dev, arizona_spi_acpi_remove_lookup, lookup); in arizona_spi_acpi_windows_probe()
|
/linux-6.12.1/drivers/platform/x86/intel/int3472/ |
D | led.c | 44 int3472->pled.lookup.provider = int3472->pled.name; in skl_int3472_register_pled() 45 int3472->pled.lookup.dev_id = int3472->sensor_name; in skl_int3472_register_pled() 46 int3472->pled.lookup.con_id = "privacy-led"; in skl_int3472_register_pled() 47 led_add_lookup(&int3472->pled.lookup); in skl_int3472_register_pled() 57 led_remove_lookup(&int3472->pled.lookup); in skl_int3472_unregister_pled()
|
/linux-6.12.1/drivers/gpu/drm/ |
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-6.12.1/drivers/net/ethernet/microchip/lan966x/ |
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-6.12.1/drivers/tty/serdev/ |
D | core.c | 598 struct acpi_serdev_lookup *lookup = data; in acpi_serdev_parse_resource() local 605 if (lookup->index != -1 && lookup->n++ != lookup->index) in acpi_serdev_parse_resource() 608 status = acpi_get_handle(lookup->device_handle, in acpi_serdev_parse_resource() 610 &lookup->controller_handle); in acpi_serdev_parse_resource() 623 struct acpi_serdev_lookup *lookup) in acpi_serdev_do_lookup() argument 628 lookup->device_handle = acpi_device_handle(adev); in acpi_serdev_do_lookup() 629 lookup->controller_handle = NULL; in acpi_serdev_do_lookup() 630 lookup->n = 0; in acpi_serdev_do_lookup() 634 acpi_serdev_parse_resource, lookup); in acpi_serdev_do_lookup() 646 struct acpi_serdev_lookup lookup; in acpi_serdev_check_resources() local [all …]
|
/linux-6.12.1/fs/ocfs2/ |
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);
|
D | dir.c | 1011 struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry_dx() argument 1034 ret = ocfs2_dx_dir_search(name, namelen, dir, dx_root, lookup); in ocfs2_find_entry_dx() 1041 lookup->dl_dx_root_bh = dx_root_bh; in ocfs2_find_entry_dx() 1064 struct inode *dir, struct ocfs2_dir_lookup_result *lookup) in ocfs2_find_entry() argument 1070 return ocfs2_find_entry_dx(name, namelen, dir, lookup); in ocfs2_find_entry() 1085 lookup->dl_leaf_bh = bh; in ocfs2_find_entry() 1086 lookup->dl_entry = res_dir; in ocfs2_find_entry() 1236 struct ocfs2_dir_lookup_result *lookup) in ocfs2_delete_entry_dx() argument 1239 struct buffer_head *dx_root_bh = lookup->dl_dx_root_bh; in ocfs2_delete_entry_dx() 1240 struct buffer_head *leaf_bh = lookup->dl_leaf_bh; in ocfs2_delete_entry_dx() [all …]
|
/linux-6.12.1/fs/smb/server/mgmt/ |
D | share_config.c | 129 struct ksmbd_share_config *lookup; in share_config_request() local 210 lookup = __share_lookup(name); in share_config_request() 211 if (lookup) in share_config_request() 212 lookup = __get_share_config(lookup); in share_config_request() 213 if (!lookup) { in share_config_request() 217 share = lookup; in share_config_request()
|
/linux-6.12.1/drivers/net/ethernet/mscc/ |
D | ocelot_flower.c | 20 #define VCAP_IS1_CHAIN(lookup) \ argument 21 (1 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP) 22 #define VCAP_IS2_CHAIN(lookup, pag) \ argument 23 (2 * VCAP_BLOCK + (lookup) * VCAP_LOOKUP + (pag)) 30 int lookup, pag; in ocelot_chain_to_block() local 44 for (lookup = 0; lookup < VCAP_IS1_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block() 45 if (chain == VCAP_IS1_CHAIN(lookup)) in ocelot_chain_to_block() 48 for (lookup = 0; lookup < VCAP_IS2_NUM_LOOKUPS; lookup++) in ocelot_chain_to_block() 50 if (chain == VCAP_IS2_CHAIN(lookup, pag)) in ocelot_chain_to_block() 78 int lookup; in ocelot_chain_to_pag() local [all …]
|
/linux-6.12.1/drivers/reset/ |
D | core.c | 198 void reset_controller_add_lookup(struct reset_control_lookup *lookup, in reset_controller_add_lookup() argument 206 entry = &lookup[i]; in reset_controller_add_lookup() 876 struct gpiod_lookup_table *lookup __free(kfree) = kzalloc(struct_size(lookup, table, 2), in __reset_add_reset_gpio_lookup() 878 if (!lookup) in __reset_add_reset_gpio_lookup() 881 lookup->dev_id = kasprintf(GFP_KERNEL, "reset-gpio.%d", id); in __reset_add_reset_gpio_lookup() 882 if (!lookup->dev_id) in __reset_add_reset_gpio_lookup() 887 lookup->table[0] = GPIO_LOOKUP(no_free_ptr(label), gpio, "reset", in __reset_add_reset_gpio_lookup() 891 gpiod_add_lookup_table(no_free_ptr(lookup)); in __reset_add_reset_gpio_lookup() 1096 const struct reset_control_lookup *lookup; in __reset_control_get_from_lookup() local 1103 list_for_each_entry(lookup, &reset_lookup_list, list) { in __reset_control_get_from_lookup() [all …]
|
/linux-6.12.1/include/linux/ |
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-6.12.1/net/netfilter/ipvs/ |
D | ip_vs_mh.c | 63 struct ip_vs_mh_lookup *lookup; member 111 l = &s->lookup[0]; in ip_vs_mh_reset() 208 dest = rcu_dereference_protected(s->lookup[c].dest, 1); in ip_vs_mh_populate() 214 RCU_INIT_POINTER(s->lookup[c].dest, new_dest); in ip_vs_mh_populate() 240 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get() 257 dest = rcu_dereference(s->lookup[ihash].dest); in ip_vs_mh_get_fallback() 273 dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get_fallback() 377 kfree(s->lookup); in ip_vs_mh_state_free() 391 s->lookup = kcalloc(IP_VS_MH_TAB_SIZE, sizeof(struct ip_vs_mh_lookup), in ip_vs_mh_init_svc() 393 if (!s->lookup) { in ip_vs_mh_init_svc()
|
/linux-6.12.1/fs/orangefs/ |
D | namei.c | 130 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 strscpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name); in orangefs_lookup() 144 new_op->upcall.req.lookup.d_name, in orangefs_lookup() 145 &new_op->upcall.req.lookup.parent_refn.khandle, in orangefs_lookup() 146 new_op->upcall.req.lookup.parent_refn.fs_id); in orangefs_lookup() 152 &new_op->downcall.resp.lookup.refn.khandle, in orangefs_lookup() 153 new_op->downcall.resp.lookup.refn.fs_id, in orangefs_lookup() 158 inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); in orangefs_lookup() 422 .lookup = orangefs_lookup,
|
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 strscpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name); in orangefs_revalidate_lookup() 56 if (!match_handle(new_op->downcall.resp.lookup.refn.khandle, in orangefs_revalidate_lookup()
|
/linux-6.12.1/drivers/clk/x86/ |
D | clk-pmc-atom.c | 22 struct clk_lookup *lookup; member 28 struct clk_lookup *lookup; member 186 pclk->lookup = clkdev_hw_create(&pclk->hw, init.name, NULL); in plt_clk_register() 187 if (!pclk->lookup) { in plt_clk_register() 199 clkdev_drop(pclk->lookup); in plt_clk_unregister() 218 pclk->lookup = clkdev_hw_create(pclk->clk, name, NULL); in plt_clk_register_fixed_rate() 219 if (!pclk->lookup) { in plt_clk_register_fixed_rate() 229 clkdev_drop(pclk->lookup); in plt_clk_unregister_fixed_rate()
|
/linux-6.12.1/Documentation/bpf/ |
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-6.12.1/sound/soc/mediatek/mt8186/ |
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-6.12.1/drivers/of/ |
D | platform.c | 285 static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *lookup, in of_dev_lookup() argument 292 if (!lookup) in of_dev_lookup() 295 auxdata = lookup; in of_dev_lookup() 311 auxdata = lookup; in of_dev_lookup() 337 const struct of_dev_auxdata *lookup, in of_platform_bus_create() argument 365 auxdata = of_dev_lookup(lookup, bus); in of_platform_bus_create() 386 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); in of_platform_bus_create() 456 const struct of_dev_auxdata *lookup, in of_platform_populate() argument 470 rc = of_platform_bus_create(child, matches, lookup, parent, true); in of_platform_populate() 484 const struct of_dev_auxdata *lookup, in of_platform_default_populate() argument [all …]
|