Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 749) sorted by relevance

12345678910>>...30

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/umplock/
H A Dumplock_driver.c47 umplock_item items[MAX_ITEMS]; member
72 if (device.items[i].secure_id == secure_id) { in umplock_find_item()
94 if (device.items[i].references[j].pid == lock_cmd->pid) { in umplock_find_item_by_pid()
138 if (device.items[i_index].references[ref_index].pid == 0) { in do_umplock_create_locked()
143 device.items[i_index].references[ref_index].pid = lock_cmd->pid; in do_umplock_create_locked()
144 device.items[i_index].references[ref_index].ref_count = 0; in do_umplock_create_locked()
145 device.items[i_index].references[ref_index].down_count = 0; in do_umplock_create_locked()
155 device.items[i_index].secure_id = lock_item->secure_id; in do_umplock_create_locked()
156 device.items[i_index].id_ref_count = 0; in do_umplock_create_locked()
157 device.items[i_index].usage = lock_item->usage; in do_umplock_create_locked()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dpersist_data.py24 self.items = {
32 for k,v in self.items.items():
46 for k, v in self.items.items():
54 for k, v in self.items.items():
57 for k, v in self.items.items():
69 for k in self.items:
76 self.assertEqual(len(self.data), len(self.items))
79 self._iter_helper(set(self.items.keys()), self.data)
82 self._iter_helper(set(self.items.values()), self.data.itervalues())
85 self._iter_helper(set(self.items.items()), self.data.iteritems())
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c115 } *items; in vmw_overlay_send_put() local
123 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
130 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
131 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put()
134 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
141 items[i].registerId = i; in vmw_overlay_send_put()
146 items[SVGA_VIDEO_ENABLED].value = true; in vmw_overlay_send_put()
147 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put()
148 items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset; in vmw_overlay_send_put()
149 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put()
[all …]
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dthread_map.c37 int items; in thread_map__new_by_pid() local
42 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid()
43 if (items <= 0) in thread_map__new_by_pid()
46 threads = thread_map__alloc(items); in thread_map__new_by_pid()
48 for (i = 0; i < items; i++) in thread_map__new_by_pid()
50 threads->nr = items; in thread_map__new_by_pid()
54 for (i=0; i<items; i++) in thread_map__new_by_pid()
77 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local
110 items = scandir(path, &namelist, filter, NULL); in __thread_map__new_all_cpus()
111 if (items <= 0) in __thread_map__new_all_cpus()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c37 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 …]
/OK3568_Linux_fs/kernel/sound/pci/lola/
H A Dlola_clock.c128 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 Dlola_proc.c59 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()
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxselinux_ext.c328 SELinuxFreeItems(SELinuxListItemRec * items, int count) in SELinuxFreeItems() argument
333 freecon(items[k].octx); in SELinuxFreeItems()
334 freecon(items[k].dctx); in SELinuxFreeItems()
336 free(items); in SELinuxFreeItems()
340 SELinuxSendItemsToClient(ClientPtr client, SELinuxListItemRec * items, in SELinuxSendItemsToClient() argument
355 buf[pos] = items[k].id; in SELinuxSendItemsToClient()
360 buf[pos] = items[k].octx_len * 4; in SELinuxSendItemsToClient()
365 buf[pos] = items[k].dctx_len * 4; in SELinuxSendItemsToClient()
370 memcpy((char *) (buf + pos), items[k].octx, strlen(items[k].octx) + 1); in SELinuxSendItemsToClient()
371 pos += items[k].octx_len; in SELinuxSendItemsToClient()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/videostab/
H A Dring_buffer.hpp57 template <typename T> inline T& at(int idx, std::vector<T> &items) in at() argument
59 return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; in at()
62 template <typename T> inline const T& at(int idx, const std::vector<T> &items) in at() argument
64 return items[cv::borderInterpolate(idx, static_cast<int>(items.size()), cv::BORDER_WRAP)]; in at()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_core/
H A Dutils.js108 testCase.compare(visDataModel.items.count, 0);
118 testCase.compare(visDataModel.items.count, Math.min(data.batchSize, totalCount));
120 compareObj(testCase, visDataModel.items.get(0).model, expectedValues[0]);
123 while (visDataModel.items.count < totalCount) {
124 var startIndex = visDataModel.items.count
127 visDataModel.items.create(visDataModel.items.count - 1);
129 …testCase.tryCompare(visDataModel.items, "count", Math.min(totalCount, startIndex + data.batchSize)…
134 compareObj(testCase, visDataModel.items.get(i).model, expectedValues[i]);
151 testCase.verify(dataModel.items.count > 0);
155 testCase.compare(dataModel.items.count, 0);
[all …]
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Duboot-config.bbclass112 for f, v in ubootconfigflags.items():
114 items = v.split(',')
115 if items[0] and len(items) > 3:
117 d.appendVar('UBOOT_MACHINE', ' ' + items[0])
119 if len(items) > 1 and items[1]:
120 bb.debug(1, "Appending '%s' to IMAGE_FSTYPES." % items[1])
121 d.appendVar('IMAGE_FSTYPES', ' ' + items[1])
122 if len(items) > 2 and items[2]:
123 bb.debug(1, "Appending '%s' to UBOOT_BINARIES." % items[2])
124 d.appendVar('UBOOT_BINARIES', ' ' + items[2])
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/ni_routing/tools/
H A Dconvert_py_to_csv.py16 return D.items()
28 for dest, srcD in D.items():
32 S = sorted(S.items(), key = lambda src_destD : src_destD[0])
44 *(((value_to_name[dest],v),) for dest,v in destD.items())
59 for family, dst_src_map in ni_values.ni_route_values.items():
62 for device, dst_src_map in ni_values.ni_device_routes.items():
H A Dconvert_csv_to_c.py36 for src, destD in D.items():
37 for dest, val in destD.items():
41 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
44 D1 = sorted(D1_D.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
85 for src, destD in D.items():
86 for dest, val in destD.items():
90 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
96 D1 = [ k for k,v in D1_D.items() if v ]
237 sheets = sorted(self.items(), key=lambda i : tuple(i[0].split('-')[::-1]) )
428 sheets = sorted(self.items(), key=lambda i : i[0] )
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Dzutil.c51 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()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dworkqueue.rst22 While there are work items on the workqueue the worker executes the
23 functions associated with the work items one after the other. When
43 while an ST wq one for the whole system. Work items had to compete for
86 subsystems and drivers queue work items on and the backend mechanism
87 which manages worker-pools and processes the queued work items.
89 There are two worker-pools, one for normal work items and the other
91 worker-pools to serve work items queued on unbound workqueues - the
94 Subsystems and drivers can create and queue work items through special
96 aspects of the way the work items are executed by setting flags on the
118 number of the currently runnable workers. Generally, work items are
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drmMode.c1224 drmModeAtomicReqItemPtr items; member
1235 req->items = NULL; in drmModeAtomicAlloc()
1257 new->items = drmMalloc(old->size_items * sizeof(*new->items)); in drmModeAtomicDuplicate()
1258 if (!new->items) { in drmModeAtomicDuplicate()
1262 memcpy(new->items, old->items, in drmModeAtomicDuplicate()
1263 old->cursor * sizeof(*new->items)); in drmModeAtomicDuplicate()
1265 new->items = NULL; in drmModeAtomicDuplicate()
1285 new = realloc(base->items, in drmModeAtomicMerge()
1286 base->size_items * sizeof(*base->items)); in drmModeAtomicMerge()
1291 base->items = new; in drmModeAtomicMerge()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dproperty.c864 static int acpi_copy_property_array_u8(const union acpi_object *items, u8 *val, in acpi_copy_property_array_u8() argument
870 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u8()
872 if (items[i].integer.value > U8_MAX) in acpi_copy_property_array_u8()
875 val[i] = items[i].integer.value; in acpi_copy_property_array_u8()
880 static int acpi_copy_property_array_u16(const union acpi_object *items, in acpi_copy_property_array_u16() argument
886 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u16()
888 if (items[i].integer.value > U16_MAX) in acpi_copy_property_array_u16()
891 val[i] = items[i].integer.value; in acpi_copy_property_array_u16()
896 static int acpi_copy_property_array_u32(const union acpi_object *items, in acpi_copy_property_array_u32() argument
902 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u32()
[all …]
/OK3568_Linux_fs/u-boot/tools/patman/
H A Dsettings.py100 for setting_name, setting_value in project_defaults.items():
121 def items(self, section, *args, **kwargs): member in _ProjectConfigParser
135 project_items = ConfigParser.SafeConfigParser.items(
144 top_items = ConfigParser.SafeConfigParser.items(
154 return item_dict.items()
241 for name, val in config.items('settings'):
301 return config.items(section)
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/pysh/
H A Dpyshyacc.py68 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 …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxx11/btscanner/
H A Ddevice.cpp97 QList<QListWidgetItem *> items = ui->list->findItems(label, Qt::MatchExactly); in addDevice() local
98 if (items.empty()) { in addDevice()
206 QList<QListWidgetItem *> items = ui->list->findItems(address.toString(), Qt::MatchContains); in pairingDone() local
209 for (int var = 0; var < items.count(); ++var) { in pairingDone()
210 QListWidgetItem *item = items.at(var); in pairingDone()
214 for (int var = 0; var < items.count(); ++var) { in pairingDone()
215 QListWidgetItem *item = items.at(var); in pairingDone()
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Dtag_check.c134 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcmxtlv.c346 bcm_pack_xtlv_buf_from_mem(void **tlv_buf, uint16 *buflen, xtlv_desc_t *items, in bcm_pack_xtlv_buf_from_mem() argument
352 while (items->type != 0) { in bcm_pack_xtlv_buf_from_mem()
353 if ((items->len > 0) && (res = bcm_pack_xtlv_entry(&ptlv, in bcm_pack_xtlv_buf_from_mem()
354 buflen, items->type, in bcm_pack_xtlv_buf_from_mem()
355 items->len, items->ptr, opts) != BCME_OK)) { in bcm_pack_xtlv_buf_from_mem()
358 items++; in bcm_pack_xtlv_buf_from_mem()
369 bcm_unpack_xtlv_buf_to_mem(void *tlv_buf, int *buflen, xtlv_desc_t *items, bcm_xtlv_opts_t opts) in bcm_unpack_xtlv_buf_to_mem() argument
375 if (!elt || !items) { in bcm_unpack_xtlv_buf_to_mem()
382 xtlv_desc_t *dst_desc = items; in bcm_unpack_xtlv_buf_to_mem()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/glib-2.0/
H A Dglib-2.0_2.72.3.bb47 items = ["--cross-file=" + k for k,v in files.items() if v]
48 d.appendVar("EXTRA_OEMESON", " " + " ".join(items))
49 items = ["%s:%s" % (k, "True" if v else "False") for k,v in files.items()]
50 d.appendVarFlag("do_configure", "file-checksums", " " + " ".join(items))
/OK3568_Linux_fs/kernel/net/ceph/crush/
H A Dcrush.c49 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()
/OK3568_Linux_fs/kernel/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c38 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()

12345678910>>...30