/openbmc/phosphor-mrw-tools/ |
H A D | inventory.pl | 18 my @items, my %item, my %inventory; 73 push @items, { %item }; 87 transform(\@items, \%inventory); 105 my $items = shift @_; 108 removeConnectors($items); 110 removeProcModule($items); 112 renameSegmentWithType("PROC", "cpu", $items); 114 renameSegmentWithType("SYS", "system", $items); 115 renameType("SYS", "SYSTEM", $items); 117 renameSegmentWithType("NODE", "chassis", $items); [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_overlay.c | 109 } *items; in vmw_overlay_send_put() local 117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 124 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put() 125 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put() 128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put() 135 items[i].registerId = i; in vmw_overlay_send_put() 140 items[SVGA_VIDEO_ENABLED].value = true; in vmw_overlay_send_put() 141 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put() 142 items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset; in vmw_overlay_send_put() 143 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/base/refcount/src/ |
H A D | refcount.c | 37 struct ia_css_refcount_entry *items; member 49 if (!myrefcount.items) { in refcount_find_entry() 56 if ((&myrefcount.items[i])->data == 0) { in refcount_find_entry() 59 return &myrefcount.items[i]; in refcount_find_entry() 62 if ((&myrefcount.items[i])->data == ptr) { in refcount_find_entry() 64 return &myrefcount.items[i]; in refcount_find_entry() 79 if (myrefcount.items) { in ia_css_refcount_init() 84 myrefcount.items = in ia_css_refcount_init() 86 if (!myrefcount.items) in ia_css_refcount_init() 89 memset(myrefcount.items, 0, in ia_css_refcount_init() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | thread_map.c | 38 int items; in thread_map__new_by_pid() local 43 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid() 44 if (items <= 0) in thread_map__new_by_pid() 47 threads = thread_map__alloc(items); in thread_map__new_by_pid() 49 for (i = 0; i < items; i++) in thread_map__new_by_pid() 51 threads->nr = items; in thread_map__new_by_pid() 55 for (i=0; i<items; i++) in thread_map__new_by_pid() 78 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local 111 items = scandir(path, &namelist, filter, NULL); in __thread_map__new_all_cpus() 112 if (items <= 0) in __thread_map__new_all_cpus() [all …]
|
/openbmc/linux/sound/pci/lola/ |
H A D | lola_clock.c | 128 chip->clock.items = val & 0xff; in lola_init_clock_widget() 130 chip->clock.items); in lola_init_clock_widget() 131 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { in lola_init_clock_widget() 133 chip->clock.items); in lola_init_clock_widget() 137 nitems = chip->clock.items; in lola_init_clock_widget() 143 unsigned short items[4]; in lola_init_clock_widget() local 152 items[0] = val & 0xfff; in lola_init_clock_widget() 153 items[1] = (val >> 16) & 0xfff; in lola_init_clock_widget() 154 items[2] = res_ex & 0xfff; in lola_init_clock_widget() 155 items[3] = (res_ex >> 16) & 0xfff; in lola_init_clock_widget() [all …]
|
H A D | lola_proc.c | 59 unsigned short items[4]; in print_clock_widget() local 64 items[0] = val & 0xfff; in print_clock_widget() 65 items[1] = (val >> 16) & 0xfff; in print_clock_widget() 66 items[2] = res_ex & 0xfff; in print_clock_widget() 67 items[3] = (res_ex >> 16) & 0xfff; in print_clock_widget() 69 unsigned char type = items[j] >> 8; in print_clock_widget() 70 unsigned int freq = items[j] & 0xff; in print_clock_widget()
|
/openbmc/webui-vue/docs/guide/components/table/ |
H A D | index.md | 17 - `items` - renders table items 23 empty message if there are no items in the table 37 :items="items" 46 items: [ 96 :items="items" 104 items: [...], 162 <b-table hover responsive="md" :items="items" :fields="fields"> 188 items: [...], 211 total filtered items count. 224 count and total filtered items count. [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | writesensor.mako.cpp |
|
H A D | readfru.mako.cpp |
|
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_py_to_csv.py | 15 return D.items() 27 for dest, srcD in D.items(): 31 S = sorted(S.items(), key = lambda src_destD : src_destD[0]) 43 *(((value_to_name[dest],v),) for dest,v in destD.items()) 58 for family, dst_src_map in ni_values.ni_route_values.items(): 61 for device, dst_src_map in ni_values.ni_device_routes.items():
|
H A D | convert_csv_to_c.py | 35 for src, destD in D.items(): 36 for dest, val in destD.items(): 40 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals)) 43 D1 = sorted(D1_D.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals)) 84 for src, destD in D.items(): 85 for dest, val in destD.items(): 89 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals)) 95 D1 = [ k for k,v in D1_D.items() if v ] 233 sheets = sorted(self.items(), key=lambda i : tuple(i[0].split('-')[::-1]) ) 421 sheets = sorted(self.items(), key=lambda i : i[0] )
|
/openbmc/u-boot/lib/zlib/ |
H A D | zutil.c | 51 extern voidp calloc OF((uInt items, uInt size)); 56 voidpf zcalloc(voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 59 items += size - size; /* make compiler happy */ in zcalloc() 60 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc() 61 (voidpf)calloc(items, size); in zcalloc()
|
/openbmc/pyphosphor/obmc/dbuslib/ |
H A D | introspection.py | 106 items = {} 109 items[path] = {} 110 items[path]['interfaces'] = interfaces 112 return items 115 items = {} 120 items.update(self._discover_flat(path, parser)) 134 items.update(callback(path + k, parser)) 136 return items
|
/openbmc/openbmc-test-automation/lib/ |
H A D | openbmc_ffdc_list.py | 316 return FFDC_BMC_CMD[i_type].items() 326 return FFDC_BMC_FILE[i_type].items() 336 return FFDC_GET_REQUEST[i_type].items() 346 return FFDC_GET_REDFISH_REQUEST[i_type].items() 409 return FFDC_METHOD_CALL[i_type].items() 427 return FFDC_OS_ALL_DISTROS_FILE[i_type].items() 447 return eval(distro_file)[i_type].items()
|
H A D | func_args.py | 166 return {k: source_to_object(v) for (k, v) in args.items()} 168 return collections.OrderedDict((k, v) for (k, v) in args.items()) 170 return DotDict((k, v) for (k, v) in args.items()) 172 return NormalizedDict((k, v) for (k, v) in args.items())
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | uboot-config.bbclass | 121 for f, v in ubootconfigflags.items(): 124 items = v.split(',') 125 if items[0] and len(items) > 3: 127 d.appendVar('UBOOT_MACHINE', ' ' + items[0]) 129 if len(items) > 1 and items[1]: 130 bb.debug(1, "Appending '%s' to IMAGE_FSTYPES." % items[1]) 131 d.appendVar('IMAGE_FSTYPES', ' ' + items[1]) 132 if len(items) > 2 and items[2]: 133 bb.debug(1, "Appending '%s' to UBOOT_BINARIES." % items[2]) 134 d.appendVar('UBOOT_BINARIES', ' ' + items[2])
|
/openbmc/linux/tools/perf/tests/ |
H A D | attr.py | 205 items = list(filter(None, pattern.split(a))) 207 if items[0] == "AT_HWCAP": 208 value = int(items[-1], 16) 211 value = int(items[-1], 0) 213 value = items[-1] 214 return (items[0], value) 258 parser_items = parser_event.items(section); 266 base_items = parser_base.items('event') 305 for exp_name, exp_event in expect.items(): 309 for res_name, res_event in result.items(): [all …]
|
/openbmc/linux/net/ceph/crush/ |
H A D | crush.c | 49 kfree(b->h.items); in crush_destroy_bucket_uniform() 57 kfree(b->h.items); in crush_destroy_bucket_list() 63 kfree(b->h.items); in crush_destroy_bucket_tree() 72 kfree(b->h.items); in crush_destroy_bucket_straw() 79 kfree(b->h.items); in crush_destroy_bucket_straw2()
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 68 def __init__(self, name, items, cmds): argument 70 self.items = list(items) 99 def __init__(self, name, items): argument 101 self.items = items 260 items = get_production(productions, 'in')[1:] 265 items = get_production(productions, 'wordlist')[1:] 267 items = [] 270 p[0] = ('for_clause', ForLoop(name, items, do_group[1:])) 293 items = [] 295 items = p[6][1:] [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | metric.c | 36 s32 items = 0; in ceph_mdsc_send_metrics() local 70 items++; in ceph_mdsc_send_metrics() 83 items++; in ceph_mdsc_send_metrics() 96 items++; in ceph_mdsc_send_metrics() 109 items++; in ceph_mdsc_send_metrics() 120 items++; in ceph_mdsc_send_metrics() 132 items++; in ceph_mdsc_send_metrics() 142 items++; in ceph_mdsc_send_metrics() 152 items++; in ceph_mdsc_send_metrics() 162 items++; in ceph_mdsc_send_metrics() [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | tag_check.c | 134 struct item *items[BATCH]; in gang_check() local 139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items, in gang_check() 144 struct item *item = items[i]; in gang_check() 153 index = items[nr_found - 1]->index + 1; in gang_check() 311 struct item *items[BATCH]; in single_check() local 318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check() 320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0); in single_check() 326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1); in single_check() 329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
|
H A D | test.c | 120 struct item *items[chunk]; in item_gang_check_present() local 131 nfound = radix_tree_gang_lookup(root, (void **)items, in item_gang_check_present() 135 assert(items[i]->index == start + into + i); in item_gang_check_present() 146 struct item *items[chunk]; in item_full_scan() local 154 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, in item_full_scan() 158 assert(items[i]->index == this_index); in item_full_scan() 167 nfound = radix_tree_gang_lookup(root, (void **)items, in item_full_scan()
|
/openbmc/linux/tools/perf/scripts/perl/Perf-Trace-Util/ |
H A D | Context.c | 38 if (items != 1) in XS() 61 if (items != 1) in XS() 84 if (items != 1) in XS() 112 PERL_UNUSED_VAR(items); /* -W */ in XS()
|
/openbmc/u-boot/tools/patman/ |
H A D | settings.py | 99 for setting_name, setting_value in project_defaults.items(): 132 def items(self, section, *args, **kwargs): member in _ProjectConfigParser 146 project_items = ConfigParser.SafeConfigParser.items( 155 top_items = ConfigParser.SafeConfigParser.items( 253 for name, val in config.items('settings'): 313 return config.items(section)
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | QPL-1.0 | 12 … this license. Whole or partial distribution of the Software, or software items that link with the… 30 …able components and other software items that link with the original or modified versions of the S… 32 …ine-executable forms of these items are also able to receive and use the complete machine-readable… 33 …licitly license all recipients of your items to use and re-distribute original and modified versio… 35 c. If the items are not available to the general public, and the initial developer of the Software …
|