/openbmc/openbmc/poky/bitbake/lib/bs4/tests/ |
H A D | test_builder_registry.py | 34 self.assertEqual(registry.lookup('fast', 'html'), 40 self.assertEqual(registry.lookup('strict', 'html'), 51 self.assertEqual(registry.lookup('xml'), None) 59 self.assertEqual(registry.lookup('lxml', 'xml'), 64 self.assertEqual(registry.lookup('html5lib'), 67 self.assertEqual(registry.lookup('html.parser'), 104 self.assertEqual(self.registry.lookup('foo'), None) 108 self.assertEqual(self.registry.lookup(), builder) 117 self.assertEqual(self.registry.lookup('baz'), None) 122 self.assertEqual(self.registry.lookup(), builder2) [all …]
|
/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-acpi.c | 114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info() 240 memset(&lookup, 0, sizeof(lookup)); in i2c_acpi_get_info() 242 lookup.index = -1; in i2c_acpi_get_info() 367 if (lookup->search_handle != lookup->adapter_handle) in i2c_acpi_lookup_speed() 370 if (lookup->speed <= lookup->min_speed) in i2c_acpi_lookup_speed() 371 lookup->min_speed = lookup->speed; in i2c_acpi_lookup_speed() 397 memset(&lookup, 0, sizeof(lookup)); in i2c_acpi_find_bus_speed() 401 lookup.index = -1; in i2c_acpi_find_bus_speed() 414 if (lookup.force_speed != lookup.min_speed) in i2c_acpi_find_bus_speed() 416 lookup.min_speed, lookup.force_speed); in i2c_acpi_find_bus_speed() [all …]
|
/openbmc/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() 124 int lookup; in sparx5_vcap_is2_port_keys() local 129 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_keys() 236 int lookup; in sparx5_vcap_is2_port_stickies() local 240 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_is2_port_stickies() 330 int lookup; in sparx5_vcap_es2_port_keys() local 335 for (lookup = 0; lookup < admin->lookups; ++lookup) { in sparx5_vcap_es2_port_keys() 340 lookup)); in sparx5_vcap_es2_port_keys() 409 int lookup; in sparx5_vcap_es2_port_stickies() local [all …]
|
H A D | sparx5_vcap_impl.c | 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() 385 lookup = 1; in sparx5_vcap_is2_cid_to_lookup() 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() 1871 for (lookup = 0; lookup < admin->lookups; ++lookup) in sparx5_vcap_es2_port_key_selection() 1908 for (lookup = 0; lookup < admin->lookups; ++lookup) in sparx5_vcap_port_key_deselection() [all …]
|
/openbmc/linux/net/qrtr/ |
H A D | ns.c | 283 if (lookup->service && lookup->service != srv->service) in server_del() 285 if (lookup->instance && lookup->instance != srv->instance) in server_del() 415 list_del(&lookup->li); in ctrl_cmd_del_client() 416 kfree(lookup); in ctrl_cmd_del_client() 484 if (lookup->service && lookup->service != service) in ctrl_cmd_new_server() 486 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_new_server() 534 lookup = kzalloc(sizeof(*lookup), GFP_KERNEL); in ctrl_cmd_new_lookup() 535 if (!lookup) in ctrl_cmd_new_lookup() 538 lookup->sq = *from; in ctrl_cmd_new_lookup() 577 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_del_lookup() [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-acpi.c | 761 if (!lookup->desc) { in acpi_populate_gpio_lookup() 768 lookup->index++; in acpi_populate_gpio_lookup() 770 if (lookup->n++ != lookup->index) in acpi_populate_gpio_lookup() 782 lookup->desc = desc; in acpi_populate_gpio_lookup() 799 lookup->info.polarity = lookup->active_low; in acpi_populate_gpio_lookup() 819 lookup); in acpi_gpio_resource_lookup() 825 if (!lookup->desc) in acpi_gpio_resource_lookup() 903 memset(&lookup, 0, sizeof(lookup)); in acpi_get_gpiod_by_index() 915 dev_name(&lookup.info.adev->dev), lookup.index, in acpi_get_gpiod_by_index() 916 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index() [all …]
|
/openbmc/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()
|
/openbmc/linux/drivers/mfd/ |
H A 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()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | firmware_handler.cpp | 200 auto item = lookup.find(session); in stat() 201 if (item == lookup.end()) in stat() 485 lookup[session] = curr; in open() 507 if (item == lookup.end()) in write() 561 if (item == lookup.end()) in writeMeta() 592 if (item == lookup.end()) in commit() 644 if (item == lookup.end()) in close() 716 if (!lookup.empty()) in close() 726 lookup.erase(item); in close() 780 for (auto item : lookup) in abortProcess() [all …]
|
/openbmc/qemu/qapi/ |
H A D | qapi-util.c | 61 const char *qapi_enum_lookup(const QEnumLookup *lookup, int val) in qapi_enum_lookup() argument 63 assert(val >= 0 && val < lookup->size); in qapi_enum_lookup() 65 return lookup->array[val]; in qapi_enum_lookup() 68 int qapi_enum_parse(const QEnumLookup *lookup, const char *buf, in qapi_enum_parse() argument 77 for (i = 0; i < lookup->size; i++) { in qapi_enum_parse() 78 if (!strcmp(buf, lookup->array[i])) { in qapi_enum_parse()
|
/openbmc/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()
|
/openbmc/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);
|
H 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 …]
|
/openbmc/linux/drivers/platform/x86/intel/int3472/ |
H A D | led.c | 55 int3472->pled.lookup.provider = int3472->pled.name; in skl_int3472_register_pled() 56 int3472->pled.lookup.dev_id = int3472->sensor_name; in skl_int3472_register_pled() 57 int3472->pled.lookup.con_id = "privacy-led"; in skl_int3472_register_pled() 58 led_add_lookup(&int3472->pled.lookup); in skl_int3472_register_pled() 72 led_remove_lookup(&int3472->pled.lookup); in skl_int3472_unregister_pled()
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | main.py | 4 import mako.lookup 65 lookup = mako.lookup.TemplateLookup(directories=[args.templatedir]) 69 print(function(lookup))
|
/openbmc/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() 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() 241 switch (ANA_VCAP_S2_CFG_IP6_CFG_GET(val) & (0x3 << lookup)) { in lan966x_vcap_is2_get_port_keysets() 276 int lookup; in lan966x_vcap_validate_keyset() local 327 u32 lookup; in lan966x_vcap_is1_add_default_fields() local [all …]
|
/openbmc/linux/drivers/tty/serdev/ |
H A D | core.c | 605 struct acpi_serdev_lookup *lookup = data; in acpi_serdev_parse_resource() local 612 if (lookup->index != -1 && lookup->n++ != lookup->index) in acpi_serdev_parse_resource() 615 status = acpi_get_handle(lookup->device_handle, in acpi_serdev_parse_resource() 617 &lookup->controller_handle); in acpi_serdev_parse_resource() 635 lookup->device_handle = acpi_device_handle(adev); in acpi_serdev_do_lookup() 636 lookup->controller_handle = NULL; in acpi_serdev_do_lookup() 637 lookup->n = 0; in acpi_serdev_do_lookup() 641 acpi_serdev_parse_resource, lookup); in acpi_serdev_do_lookup() 653 struct acpi_serdev_lookup lookup; in acpi_serdev_check_resources() local 662 ret = acpi_serdev_do_lookup(adev, &lookup); in acpi_serdev_check_resources() [all …]
|
/openbmc/linux/fs/smb/server/mgmt/ |
H A D | share_config.c | 128 struct ksmbd_share_config *lookup; in share_config_request() local 197 lookup = __share_lookup(name); in share_config_request() 198 if (lookup) in share_config_request() 199 lookup = __get_share_config(lookup); in share_config_request() 200 if (!lookup) { in share_config_request() 204 share = lookup; in share_config_request()
|
/openbmc/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
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A 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 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() 78 int lookup; in ocelot_chain_to_pag() local 86 lookup = ocelot_chain_to_lookup(chain); in ocelot_chain_to_pag() 300 filter->lookup != 0) { in ocelot_flower_parse_action() [all …]
|
/openbmc/linux/fs/orangefs/ |
H 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()
|
H 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,
|
/openbmc/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()
|
/openbmc/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:
|
/openbmc/linux/drivers/clk/x86/ |
H 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()
|