/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/drv/ |
H A D | ddr_phy_t12_v101.h | 297 #define DDR_VREF_GET_HOST_MAX(rank, val) \ 300 val = PHY_VRFTRES_HVREF_MASK; \ 302 val = PHY_VRFTRES_RXDIFFCAL_MASK; \ 306 #define DDR_PHY_VREF_HOST_SET(base_phy, rank, bytenum, byte_index, val) \ 312 ddr_write(hvreft | val, base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index)); \ 313 ddr_write(hvreft | val, base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index + 1)); \ 317 ddr_write(hvreft | (val << PHY_VRFTRES_RXDIFFCAL_BIT), base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index)); \ 318 ddr_write(hvreft | (val << PHY_VRFTRES_RXDIFFCAL_BIT), base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index + 1)); \ 322 #define DDR_PHY_VREF_HOST_GET(base_phy, rank, byte_index, val) \ 325 val [all...] |
H A D | ddr_phy_t12_v100.h | 298 #define DDR_VREF_GET_HOST_MAX(rank, val) \ 301 val = PHY_VRFTRES_HVREF_MASK; \ 303 val = PHY_VRFTRES_RXDIFFCAL_MASK; \ 307 #define DDR_PHY_VREF_HOST_SET(base_phy, rank, bytenum, byte_index, val) \ 313 ddr_write(hvreft | val, base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index)); \ 314 ddr_write(hvreft | val, base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index + 1)); \ 318 ddr_write(hvreft | (val << PHY_VRFTRES_RXDIFFCAL_BIT), base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index)); \ 319 ddr_write(hvreft | (val << PHY_VRFTRES_RXDIFFCAL_BIT), base_phy + DDR_PHY_HVREFT_STATUS(rank, byte_index + 1)); \ 323 #define DDR_PHY_VREF_HOST_GET(base_phy, rank, byte_index, val) \ 326 val [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | opus_rc.c | 109 void ff_opus_rc_enc_cdf(OpusRangeCoder *rc, int val, const uint16_t *cdf) in ff_opus_rc_enc_cdf() argument 111 opus_rc_enc_update(rc, (!!val)*cdf[val], cdf[val + 1], cdf[0], 1); in ff_opus_rc_enc_cdf() 131 void ff_opus_rc_enc_log(OpusRangeCoder *rc, int val, uint32_t bits) in ff_opus_rc_enc_log() argument 134 opus_rc_enc_update(rc, (!!val)*bits, bits + !!val, bits + 1, 1); in ff_opus_rc_enc_log() local 161 void ff_opus_rc_put_raw(OpusRangeCoder *rc, uint32_t val, uint32_t count) in ff_opus_rc_put_raw() argument 166 rc->rb.cacheval |= av_mod_uintp2(val, to_write) << rc->rb.cachelen; in ff_opus_rc_put_raw() 174 rc->rb.cacheval = av_mod_uintp2(val >> to_writ in ff_opus_rc_put_raw() 204 ff_opus_rc_enc_uint(OpusRangeCoder *rc, uint32_t val, uint32_t size) ff_opus_rc_enc_uint() argument 226 ff_opus_rc_enc_uint_step(OpusRangeCoder *rc, uint32_t val, int k0) ff_opus_rc_enc_uint_step() argument 317 int i = 1, val = FFABS(*value), pos = *value > 0; ff_opus_rc_enc_laplace() local [all...] |
H A D | h263enc.h | 38 void ff_h263_encode_motion(PutBitContext *pb, int val, int f_code); 41 static inline int h263_get_motion_length(int val, int f_code) in h263_get_motion_length() argument 45 if (val == 0) { in h263_get_motion_length() 50 val = sign_extend(val, 6 + bit_size); in h263_get_motion_length() 51 sign = val >> 31; in h263_get_motion_length() 52 val = (val ^ sign) - sign; /* val = FFABS(val) */ in h263_get_motion_length() [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | pdftoippprinter.c | 142 const char *val; /* Option value */ in apply_filters() local 278 if ((val = cupsGetOption("output-format", num_options, options)) != NULL) { in apply_filters() 279 if (!strcmp(val, "raster")) { in apply_filters() 292 val); in apply_filters() 298 val); in apply_filters() 304 } else if (!strcmp(val, "apple-raster")) { in apply_filters() 317 val); in apply_filters() 323 val); in apply_filters() 333 val); in apply_filters() 338 } else if (!strcmp(val, "pd in apply_filters() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
H A D | bloat.py | 164 def parse_one(val): 166 if (val.startswith('operator') and 167 not (val[8].isalnum() or val[8] == '_')): 169 return (val, '') 170 co = val.find('::') 171 lt = val.find('<') 172 pa = val.find('(') 173 co = len(val) if co == -1 else co 174 lt = len(val) i [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/ |
H A D | bq25700_charger.c | 482 * Most of the val -> idx conversions can be computed, given the minimum, 604 int val; in bq25700_field_read() local 606 ret = regmap_field_read(charger->rmap_fields[field_id], &val); in bq25700_field_read() 610 return val; in bq25700_field_read() 614 enum bq25700_fields field_id, unsigned int val) in bq25700_field_write() 616 return regmap_field_write(charger->rmap_fields[field_id], val); in bq25700_field_write() 657 u32 val = 0; in bq25700_dump_regs() local 668 regmap_read(charger->regmap, 0x12, &val); in bq25700_dump_regs() 669 DBG("REG0x12 : 0x%x\n", val); in bq25700_dump_regs() 670 regmap_read(charger->regmap, 0x14, &val); in bq25700_dump_regs() 613 bq25700_field_write(struct bq25700_device *charger, enum bq25700_fields field_id, unsigned int val) bq25700_field_write() argument 758 u32 val = 0; bq25703_dump_regs() local 1112 bq25700_power_supply_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) bq25700_power_supply_get_property() argument 1237 bq2570x_pd_notifier_call(struct notifier_block *nb, unsigned long val, void *v) bq2570x_pd_notifier_call() argument 1772 u8 val; bq25700_otg_vbus_is_enabled() local [all...] |
/third_party/backends/backend/ |
H A D | tamarack.c | 319 static unsigned char sign_mag (double val) in sign_mag() argument 321 if (val > 100) val = 100; in sign_mag() 322 if (val < -100) val = -100; in sign_mag() 323 if (val >= 0) return ( val); in sign_mag() 324 else return ((unsigned char)(-val)) | 0x80; in sign_mag() 341 set_double (dwp.wdb.xres, (int) SANE_UNFIX (s->val[OPT_RESOLUTION].w)); in scan_area_and_windows() 342 set_double (dwp.wdb.yres, (int) SANE_UNFIX (s->val[OPT_RESOLUTIO in scan_area_and_windows() 1090 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int *info) sane_control_option() argument [all...] |
H A D | matsushita.c | 646 if (dev->opt[i].type == SANE_TYPE_STRING && dev->val[i].s) in matsushita_free() 648 free (dev->val[i].s); in matsushita_free() 1064 memset (dev->val, 0, sizeof (dev->val)); in matsushita_init_options() 1078 dev->val[OPT_NUM_OPTS].w = OPT_NUM_OPTIONS; in matsushita_init_options() 1098 dev->val[OPT_MODE].s = (SANE_Char *) strdup (""); /* will be set later */ in matsushita_init_options() 1109 dev->val[OPT_RESOLUTION].w = resolutions_list_300[1]; in matsushita_init_options() 1117 dev->val[OPT_DUPLEX].w = SANE_FALSE; in matsushita_init_options() 1129 dev->val[OPT_FEEDER_MODE].s = strdup (feeder_mode_list[0]); in matsushita_init_options() 1147 dev->val[OPT_PAPER_SIZ in matsushita_init_options() 1849 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument [all...] |
H A D | canon_lide70.c | 335 chndl->val[opt_num_opts].w = num_options; in init_options() 337 DBG (2, "val[opt_num_opts]: %d\n", chndl->val[opt_num_opts].w); in init_options() 350 chndl->val[opt_mode_group].w = 0; in init_options() 363 chndl->val[opt_mode].s = malloc (od->size); in init_options() 364 if (!chndl->val[opt_mode].s) in init_options() 366 strcpy (chndl->val[opt_mode].s, init_mode); in init_options() 380 chndl->val[opt_threshold].w = init_threshold; in init_options() 397 chndl->val[opt_resolution].w = init_resolution; in init_options() 411 chndl->val[opt_non_blockin in init_options() [all...] |
H A D | hp-accessor.c | 176 void (*setint)(HpAccessor this, HpData data, int val); 203 sanei_hp_accessor_setint (HpAccessor this, HpData data, int val) in sanei_hp_accessor_setint() argument 206 (*this->type->setint)(this, data, val); in sanei_hp_accessor_setint() 270 hp_accessor_int_setint (HpAccessor this, HpData data, int val) in hp_accessor_int_setint() argument 272 *(int *)hp_data_data(data, this->data_offset) = val; in hp_accessor_int_setint() 301 int val = *(int *)hp_data_data(data, this->data_offset); in hp_accessor_bool_get() local 302 *(SANE_Bool*)valp = val ? SANE_TRUE : SANE_FALSE; in hp_accessor_bool_get() 416 return choice->val; in hp_accessor_choice_getint() 420 hp_accessor_choice_setint (HpAccessor _this, HpData data, int val) in hp_accessor_choice_setint() argument 437 if (choice->val in hp_accessor_choice_setint() 563 unsigned short val; _v_get() local 578 _v_set(HpAccessorVector this, unsigned char * data, unsigned short val) _v_set() argument 648 _vector_scale(HpAccessorVector this, unsigned short val) _vector_scale() argument 698 _gamma_vector_scale(HpAccessorVector __sane_unused__ this, unsigned short val) _gamma_vector_scale() argument 749 _matrix_vector_scale(HpAccessorVector this, unsigned short val) _matrix_vector_scale() argument 881 sanei_hp_accessor_geometry_new(HpAccessor val, HpAccessor lim, hp_bool_t is_br, HpAccessor resolution) sanei_hp_accessor_geometry_new() argument [all...] |
H A D | pieusb.c | 491 free (scanner->val[OPT_MODE].s); in sane_close() 492 free (scanner->val[OPT_HALFTONE_PATTERN].s); in sane_close() 525 * @param val Pointer to value to set or get 531 void *val, SANE_Int * info) in sane_control_option() 614 *(SANE_Word *) val = scanner->val[option].w; in sane_control_option() 615 DBG (DBG_info_sane, "get %s [#%d] val=%d\n", name, option,scanner->val[option].w); in sane_control_option() 620 memcpy (val, scanner->val[optio in sane_control_option() 530 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument [all...] |
H A D | kvs1025.c | 120 SANE_Action action, void *val, SANE_Int * info) in sane_control_option() 122 return kv_control_option ((PKV_DEV) handle, option, action, val, info); in sane_control_option() 138 int resolution = dev->val[OPT_RESOLUTION].w; in sane_get_parameters() 209 if (!strcmp (dev->val[OPT_MANUALFEED].s, "off")) in sane_start() 335 if (dev->val[OPT_SWDESKEW].w){ in sane_start() 338 if (dev->val[OPT_SWCROP].w){ in sane_start() 341 if (dev->val[OPT_SWDESPECK].w){ in sane_start() 344 if (dev->val[OPT_SWDEROTATE].w || dev->val[OPT_ROTATE].w){ in sane_start() 349 if (dev->val[OPT_SWDESKE in sane_start() 119 sane_control_option(SANE_Handle handle, SANE_Int option, SANE_Action action, void *val, SANE_Int * info) sane_control_option() argument [all...] |
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | pngcp.c | 945 int val = dp->value[opt]; in next_opt() local 950 if (val == lo) in next_opt() 954 assert(hi > val); in next_opt() 956 if (hi == val+1) /* only 2 entries */ in next_opt() 959 val = hi; in next_opt() 962 else if (val == hi) in next_opt() 965 assert(val > lo+1); /* else 'end' set above */ in next_opt() 967 if (val == lo+2) /* only three entries to test */ in next_opt() 970 val = (lo + val)/ in next_opt() 1379 int i = 0, negate = (strncmp(arg+2, "no-", 3) == 0), val; opt_check() local 1921 int val; search_compression() local 1932 int val; set_compression() local 1944 int val; set_ICC_profile_compression() local 1964 int val; set_text_compression() local 2020 int val; write_png() local 2043 int val; write_png() local 2053 int val; write_png() local 2190 int val; cp_one_file() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_neon.c | 55 *p1 = vcombine_u8(row0.val[0], row8.val[0]); in Load4x16_NEON() 56 *p0 = vcombine_u8(row0.val[1], row8.val[1]); in Load4x16_NEON() 57 *q0 = vcombine_u8(row0.val[2], row8.val[2]); in Load4x16_NEON() 58 *q1 = vcombine_u8(row0.val[3], row8.val[3]); in Load4x16_NEON() 77 LOADQ_LANE_32b(in.val[0], 0); in Load4x16_NEON() 78 LOADQ_LANE_32b(in.val[ in Load4x16_NEON() [all...] |
/third_party/toybox/toys/other/ |
H A D | blockdev.c | 45 long long val = 0; in blockdev_main() local 58 if (flag & FLAG_setbsz) val = TT.setbsz; in blockdev_main() 59 else val = !!(flag & FLAG_setro); in blockdev_main() 61 if (flag & FLAG_setra) val = TT.setra; in blockdev_main() 63 xioctl(fd, cmds[i], &val); in blockdev_main() 66 if (!flag) printf("%lld\n", (toys.optflags & FLAG_getsz) ? val >> 9: val); in blockdev_main()
|
/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
H A D | checks.c | 208 if (!data_is_one_string(prop->val)) { in check_is_string() 227 str = prop->val.val; in check_is_string_list() 228 rem = prop->val.len; in check_is_string_list() 252 if (prop->val.len != sizeof(cell_t)) { in check_is_cell() 339 if (prop && !prop->val.len) { in check_unit_address_vs_reg() 442 struct marker *m = prop->val.markers; in check_duplicate_label_node() 463 if (prop->val.len != sizeof(cell_t)) { in check_phandle_prop() 464 FAIL_PROP(c, dti, node, prop, "bad length (%d) %s property", prop->val.len, prop->name); in check_phandle_prop() 468 m = prop->val in check_phandle_prop() [all...] |
/third_party/musl/src/thread/ |
H A D | pthread_rwlock_tryrdlock.c | 5 int val, cnt; in __pthread_rwlock_tryrdlock() local 7 val = rw->_rw_lock; in __pthread_rwlock_tryrdlock() 8 cnt = val & 0x7fffffff; in __pthread_rwlock_tryrdlock() 11 } while (a_cas(&rw->_rw_lock, val, val+1) != val); in __pthread_rwlock_tryrdlock()
|
H A D | __timedwait.c | 11 static int __futex4_cp(volatile void *addr, int op, int val, const struct timespec *to) in __futex4_cp() argument 23 r = __syscall_cp(SYS_futex, addr, op, val, useconds); in __futex4_cp() 25 return __syscall_cp(SYS_futex, addr, op & ~FUTEX_PRIVATE, val, useconds); in __futex4_cp() 32 r = __syscall_cp(SYS_futex_time64, addr, op, val, in __futex4_cp() 37 r = __syscall_cp(SYS_futex, addr, op, val, to); in __futex4_cp() 39 return __syscall_cp(SYS_futex, addr, op & ~FUTEX_PRIVATE, val, to); in __futex4_cp() 46 int __timedwait_cp(volatile int *addr, int val, in __timedwait_cp() argument 66 r = -__futex4_cp(addr, FUTEX_WAIT|priv, val, top); in __timedwait_cp() 77 int __timedwait(volatile int *addr, int val, in __timedwait() argument 82 r = __timedwait_cp(addr, val, cl in __timedwait() [all...] |
/third_party/libunwind/libunwind/src/tilegx/ |
H A D | Ginit.c | 88 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() argument 96 Debug (16, "mem[%llx] <- %llx\n", (long long) addr, (long long) *val); in access_mem() 97 *(unw_word_t *) (intptr_t) addr = *val; in access_mem() 101 *val = *(unw_word_t *) (intptr_t) addr; in access_mem() 102 Debug (16, "mem[%llx] -> %llx\n", (long long) addr, (long long) *val); in access_mem() 108 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() argument 123 *(unw_word_t *) (intptr_t) addr = (tilegx_reg_t) *val; in access_reg() 124 Debug (12, "%s <- %llx\n", unw_regname (reg), (long long) *val); in access_reg() 128 *val = (tilegx_reg_t) *(unw_word_t *) (intptr_t) addr; in access_reg() 129 Debug (12, "%s -> %llx\n", unw_regname (reg), (long long) *val); in access_reg() [all...] |
/third_party/node/deps/npm/node_modules/debug/src/ |
H A D | node.js | 136 let val = process.env[key]; 137 if (/^(yes|on|true|enabled)$/i.test(val)) { 138 val = true; 139 } else if (/^(no|off|false|disabled)$/i.test(val)) { 140 val = false; 141 } else if (val === 'null') { 142 val = null; 144 val = Number(val); 147 obj[prop] = val; [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | compilation-cache-table-inl.h | 72 FixedArray val = FixedArray::cast(object); in HashForObject() local 73 if (val.map() == roots.fixed_cow_array_map()) { in HashForObject() 74 DCHECK_EQ(4, val.length()); in HashForObject() 75 String source = String::cast(val.get(1)); in HashForObject() 76 int language_unchecked = Smi::ToInt(val.get(2)); in HashForObject() 79 int position = Smi::ToInt(val.get(3)); in HashForObject() 80 Object shared_or_smi = val.get(0); in HashForObject() 92 DCHECK_GE(val.length(), JSRegExp::kMinDataArrayLength); in HashForObject() 93 return RegExpHash(String::cast(val.get(JSRegExp::kSourceIndex)), in HashForObject() 94 Smi::cast(val in HashForObject() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | numericEnumMappedType.js | 24 declare function val(): number; 26 enum N1 { A = val(), B = val() } 27 enum N2 { C = val(), D = val() } 59 N1[N1["A"] = val()] = "A";
60 N1[N1["B"] = val()] = "B";
64 N2[N2["C"] = val()] = "C";
65 N2[N2["D"] = val()] = "D";
92 declare function val() [all...] |
/third_party/node/deps/brotli/c/dec/ |
H A D | bit_reader.h | 64 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val); 207 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliSafeGetBits() 213 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliSafeGetBits() 239 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliTakeBits() 240 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliTakeBits() 241 BROTLI_LOG(("[BrotliTakeBits] %d %d %d val: %6x\n", in BrotliTakeBits() 242 (int)br->avail_in, (int)br->bit_pos_, (int)n_bits, (int)*val)); in BrotliTakeBits() 253 uint32_t val; in BrotliReadBits24() local 255 BrotliTakeBits(br, n_bits, &val); in BrotliReadBits24() 256 return val; in BrotliReadBits24() 206 BrotliSafeGetBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeGetBits() argument 238 BrotliTakeBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliTakeBits() argument 273 uint32_t val; BrotliReadBits32() local 291 BrotliSafeReadBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeReadBits() argument 304 BrotliSafeReadBits32( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeReadBits32() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | bit_reader.h | 64 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val); 207 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliSafeGetBits() 213 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliSafeGetBits() 239 BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) { in BrotliTakeBits() 240 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliTakeBits() 241 BROTLI_LOG(("[BrotliTakeBits] %d %d %d val: %6x\n", in BrotliTakeBits() 242 (int)br->avail_in, (int)br->bit_pos_, (int)n_bits, (int)*val)); in BrotliTakeBits() 253 uint32_t val; in BrotliReadBits24() local 255 BrotliTakeBits(br, n_bits, &val); in BrotliReadBits24() 256 return val; in BrotliReadBits24() 206 BrotliSafeGetBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeGetBits() argument 238 BrotliTakeBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliTakeBits() argument 273 uint32_t val; BrotliReadBits32() local 291 BrotliSafeReadBits( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeReadBits() argument 304 BrotliSafeReadBits32( BrotliBitReader* const br, uint32_t n_bits, uint32_t* val) BrotliSafeReadBits32() argument [all...] |