/linux-master/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 | ni_names.py | 44 k:v for k,v in comedi_h.__dict__.items() 51 val_dict = {v:k for k,v in name_dict.items()}
|
H A D | make_blank_csv.py | 20 fieldnames = [sig for sig_val, sig in sorted(value_to_name.items())]
|
H A D | csv_collection.py | 32 r[key]:{f:strip(c) for f,c in r.items() 38 D = {k:v for k,v in D.items() if v}
|
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(), ke [all...] |
/linux-master/drivers/staging/media/atomisp/pci/base/refcount/src/ |
H A D | refcount.c | 37 struct ia_css_refcount_entry *items; member in struct:ia_css_refcount_list 49 if (!myrefcount.items) { 56 if ((&myrefcount.items[i])->data == 0) { 59 return &myrefcount.items[i]; 62 if ((&myrefcount.items[i])->data == ptr) { 64 return &myrefcount.items[i]; 79 if (myrefcount.items) { 84 myrefcount.items = 86 if (!myrefcount.items) 89 memset(myrefcount.items, [all...] |
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_overlay.c | 109 } *items; local 117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; 124 items = (typeof(items))&cmds[1]; 125 flush = (struct vmw_escape_video_flush *)&items[num_items]; 127 /* the size is header + number of items */ 128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); 135 items[i].registerId = i; 140 items[SVGA_VIDEO_ENABLED].value = true; 141 items[SVGA_VIDEO_FLAG [all...] |
/linux-master/tools/perf/scripts/perl/Perf-Trace-Util/ |
H A D | Context.c | 38 if (items != 1) 61 if (items != 1) 84 if (items != 1) 112 PERL_UNUSED_VAR(items); /* -W */
|
/linux-master/sound/pci/lola/ |
H A D | lola_clock.c | 128 chip->clock.items = val & 0xff; 130 chip->clock.items); 131 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { 133 chip->clock.items); 137 nitems = chip->clock.items; 143 unsigned short items[4]; local 152 items[0] = val & 0xfff; 153 items[1] = (val >> 16) & 0xfff; 154 items[2] = res_ex & 0xfff; 155 items[ [all...] |
H A D | lola_proc.c | 59 unsigned short items[4]; local 64 items[0] = val & 0xfff; 65 items[1] = (val >> 16) & 0xfff; 66 items[2] = res_ex & 0xfff; 67 items[3] = (res_ex >> 16) & 0xfff; 69 unsigned char type = items[j] >> 8; 70 unsigned int freq = items[j] & 0xff;
|
/linux-master/include/uapi/sound/sof/ |
H A D | header.h | 59 * @count: count of tlv items 60 * @items: consecutive variable size tlv items 67 struct sof_manifest_tlv items[]; member in struct:sof_manifest
|
/linux-master/drivers/gpu/drm/vmwgfx/device_include/ |
H A D | svga_overlay.h | 72 } items[1]; member in struct:SVGAEscapeVideoSetRegs 99 } items[1]; member in struct:__anon710 109 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon712
|
/linux-master/tools/cgroup/ |
H A D | memcg_shrinker.py | 31 items = line.split(' ') 32 ino = int(items[0]) 34 shrinkers.append((int(items[1]), shrinker, ino))
|
/linux-master/tools/perf/util/ |
H A D | thread_map.c | 38 int items; local 43 items = scandir(name, &namelist, filter, NULL); 44 if (items <= 0) 47 threads = thread_map__alloc(items); 49 for (i = 0; i < items; i++) 51 threads->nr = items; 55 for (i=0; i<items; i++) 78 int max_threads = 32, items, i; local 111 items = scandir(path, &namelist, filter, NULL); 112 if (items < 185 int items, total_tasks = 0; local [all...] |
H A D | config.h | 17 struct list_head items; member in struct:perf_config_section 62 * perf_config_items__for_each - iterate thru all the items 77 perf_config_items__for_each_entry(§ion->items, item)
|
/linux-master/net/ceph/crush/ |
H A D | crush.c | 49 kfree(b->h.items); 57 kfree(b->h.items); 63 kfree(b->h.items); 72 kfree(b->h.items); 79 kfree(b->h.items);
|
/linux-master/tools/testing/kunit/ |
H A D | kunit_config.py | 46 for name, value in self._entries.items(): 53 for name, value in self._entries.items(): 65 for name, value in self._entries.items(): 73 for name, value in other._entries.items():
|
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc_helper.py | 19 """ For a list, return a list of the unique items in the list. """ 57 def print_sll(items): 58 print("\n".join(str(s) for s in items))
|
/linux-master/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...] |
/linux-master/tools/testing/radix-tree/ |
H A D | test.c | 114 * Scan only the passed (start, start+nr] for present items 120 struct item *items[chunk]; local 131 nfound = radix_tree_gang_lookup(root, (void **)items, 135 assert(items[i]->index == start + into + i); 141 * Scan the entire tree, only expecting present items (start, start+nr] 146 struct item *items[chunk]; local 154 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, 158 assert(items[i]->index == this_index); 162 // items[0]->index, items[nfoun [all...] |
H A D | tag_check.c | 134 struct item *items[BATCH]; local 139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items, 144 struct item *item = items[i]; 153 index = items[nr_found - 1]->index + 1; 311 struct item *items[BATCH]; local 318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); 320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0); 326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1); 329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0);
|
/linux-master/fs/ceph/ |
H A D | metric.c | 37 s32 items = 0; local 71 items++; 84 items++; 97 items++; 110 items++; 121 items++; 133 items++; 143 items++; 153 items++; 163 items [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | syscall-counts.py | 63 for id, val in sorted(syscalls.items(),
|
/linux-master/sound/virtio/ |
H A D | virtio_kctl.c | 79 uinfo->value.enumerated.items = 80 le32_to_cpu(kinfo->value.enumerated.items); 82 if (i >= uinfo->value.enumerated.items) 85 strscpy(uinfo->value.enumerated.name, kctl->items[i].item, 309 * virtsnd_kctl_get_enum_items() - Query items for the ENUMERATED element type. 325 unsigned int n = le32_to_cpu(kinfo->value.enumerated.items); 333 kctl->items = devm_kcalloc(&vdev->dev, n, sizeof(*kctl->items), 335 if (!kctl->items) { 340 sg_init_one(&sg, kctl->items, [all...] |
/linux-master/security/selinux/ss/ |
H A D | avtab.c | 346 u32 items, items2, val, i; local 373 items = 0; 375 val = le32_to_cpu(buf32[items++]); 381 val = le32_to_cpu(buf32[items++]); 387 val = le32_to_cpu(buf32[items++]); 394 val = le32_to_cpu(buf32[items++]); 413 datum.u.data = le32_to_cpu(buf32[items++]); 420 if (items != items2) { 421 pr_err("SELinux: avtab: entry only had %d items, expected %d\n", 422 items2, items); [all...] |