Searched refs:ary (Results 1 – 2 of 2) sorted by relevance
/qemu/hw/nvram/ |
H A D | xlnx-efuse.c | 124 uint32_t *ary = s->ro_bits; in efuse_ro_bits_sort() local 127 if (ary && cnt > 1) { in efuse_ro_bits_sort() 128 qsort(ary, cnt, sizeof(ary[0]), efuse_ro_bits_cmp); in efuse_ro_bits_sort() 134 const uint32_t *ary = s->ro_bits; in efuse_ro_bits_find() local 137 if (!ary || !cnt) { in efuse_ro_bits_find() 141 return bsearch(&k, ary, cnt, sizeof(ary[0]), efuse_ro_bits_cmp) != NULL; in efuse_ro_bits_find()
|
H A D | xlnx-versal-efuse-ctrl.c | 333 XlnxEFuseLkSpec *ary = s->extra_pg0_lock_spec; in efuse_lk_spec_sort() local 335 const uint32_t sz = sizeof(ary[0]); in efuse_lk_spec_sort() 338 if (ary && cnt) { in efuse_lk_spec_sort() 339 qsort(ary, cnt, sz, efuse_lk_spec_cmp); in efuse_lk_spec_sort() 345 const XlnxEFuseLkSpec *ary = s->extra_pg0_lock_spec; in efuse_lk_spec_find() local 347 const uint32_t sz = sizeof(ary[0]); in efuse_lk_spec_find() 351 if (ary && cnt) { in efuse_lk_spec_find() 354 item = bsearch(&k, ary, cnt, sz, efuse_lk_spec_cmp); in efuse_lk_spec_find()
|