/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_aux_backlight.c | 115 u8 vals[2] = { 0x0 }; in intel_dp_aux_set_backlight() local 117 vals[0] = level; in intel_dp_aux_set_backlight() 121 vals[0] = (level & 0xFF00) >> 8; in intel_dp_aux_set_backlight() 122 vals[1] = (level & 0xFF); in intel_dp_aux_set_backlight() 125 vals, sizeof(vals)) < 0) { in intel_dp_aux_set_backlight()
|
/kernel/linux/linux-6.6/drivers/phy/hisilicon/ |
H A D | phy-histb-combphy.c | 199 u32 vals[3]; in histb_combphy_probe() local 226 vals, ARRAY_SIZE(vals)); in histb_combphy_probe() 233 mode->reg = vals[0]; in histb_combphy_probe() 234 mode->shift = vals[1]; in histb_combphy_probe() 235 mode->mask = vals[2]; in histb_combphy_probe()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
H A D | gen_disasm.py | 136 for i, (_, vals) in enumerate(desc.get('derived', [])): 137 for j, val in enumerate(vals): 173 def evaluate_forward_derived(vals, ctx, ordering): 174 for j, expr in enumerate(vals): 186 for vals in derivf: 187 evaled = evaluate_forward_derived(vals, ctx, ordering)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 616 * @vals: the parameter values 622 const u32 *params, u32 *vals) in t4vf_query_params() 645 *vals++ = be32_to_cpu(p->val); in t4vf_query_params() 654 * @vals: the parameter values 660 const u32 *params, const u32 *vals) in t4vf_set_params() 679 p->val = cpu_to_be32(*vals++); in t4vf_set_params() 849 u32 params[7], vals[7]; in t4vf_get_sge_params() local 866 v = t4vf_query_params(adapter, 7, params, vals); in t4vf_get_sge_params() 869 sge_params->sge_control = vals[0]; in t4vf_get_sge_params() 870 sge_params->sge_host_page_size = vals[ in t4vf_get_sge_params() 621 t4vf_query_params(struct adapter *adapter, unsigned int nparams, const u32 *params, u32 *vals) t4vf_query_params() argument 659 t4vf_set_params(struct adapter *adapter, unsigned int nparams, const u32 *params, const u32 *vals) t4vf_set_params() argument 968 u32 params[7], vals[7]; t4vf_get_vpd_params() local 991 u32 params[7], vals[7]; t4vf_get_dev_params() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 617 * @vals: the parameter values 623 const u32 *params, u32 *vals) in t4vf_query_params() 646 *vals++ = be32_to_cpu(p->val); in t4vf_query_params() 655 * @vals: the parameter values 661 const u32 *params, const u32 *vals) in t4vf_set_params() 680 p->val = cpu_to_be32(*vals++); in t4vf_set_params() 850 u32 params[7], vals[7]; in t4vf_get_sge_params() local 867 v = t4vf_query_params(adapter, 7, params, vals); in t4vf_get_sge_params() 870 sge_params->sge_control = vals[0]; in t4vf_get_sge_params() 871 sge_params->sge_host_page_size = vals[ in t4vf_get_sge_params() 622 t4vf_query_params(struct adapter *adapter, unsigned int nparams, const u32 *params, u32 *vals) t4vf_query_params() argument 660 t4vf_set_params(struct adapter *adapter, unsigned int nparams, const u32 *params, const u32 *vals) t4vf_set_params() argument 969 u32 params[7], vals[7]; t4vf_get_vpd_params() local 992 u32 params[7], vals[7]; t4vf_get_dev_params() local [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | abs_rdb_predicates.cpp | 231 std::vector<std::string> vals;
in In() local 232 vals.reserve(values.size());
in In() 238 vals.emplace_back(std::move(*val));
in In() 240 predicates_.AddOperation(DistributedRdb::IN, field, vals);
in In() 314 std::vector<std::string> vals;
in NotIn() local 315 vals.reserve(values.size());
in NotIn() 321 vals.emplace_back(std::move(*val));
in NotIn() 323 predicates_.AddOperation(DistributedRdb::NOT_IN, field, vals);
in NotIn()
|
/third_party/skia/tools/viewer/ |
H A D | ParticlesSlide.cpp | 333 float* vals = data + uni.fSlot; in draw() 344 vals[0] = mousePos.fX; in draw() 345 vals[1] = mousePos.fY; in draw() 350 for (int c = 0; c < uni.fColumns; ++c, vals += uni.fRows) { in draw() 351 for (int r = 0; r < uni.fRows; ++r, ++vals) { in draw() 358 (unsigned int*)vals, ~0); in draw() 374 for (int c = 0; c < uni.fColumns; ++c, vals += uni.fRows) { in draw() 376 ImGui::DragScalarN(uni.fName.c_str(), dataType, vals, uni.fRows, 1.0f); in draw()
|
/third_party/skia/bench/ |
H A D | DashBench.cpp | 184 SkScalar vals[] = { SkIntToScalar(4), SkIntToScalar(4) }; in MakeDashBench() local 185 fPE = SkDashPathEffect::Make(vals, 2, 0); in MakeDashBench() 222 SkScalar vals[] = { SK_Scalar1, SK_Scalar1 }; in DashLineBench() local 223 fPE = SkDashPathEffect::Make(vals, 2, 0); in DashLineBench() 261 SkScalar vals[] = { SkIntToScalar(dashLength), SkIntToScalar(dashLength) }; in DrawPointsDashingBench() local 262 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DrawPointsDashingBench() 386 SkScalar vals[] = { SkIntToScalar(dashLength), SkIntToScalar(dashLength) }; in DashGridBench() local 387 fPathEffect = SkDashPathEffect::Make(vals, 2, SK_Scalar1); in DashGridBench()
|
/third_party/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 219 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 220 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 228 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 230 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 240 static const int vals[] = {1, 1, 2, 3, 5, 8}; in TYPED_TEST() local 242 TypeParam my_set(vals, vals + 6); in TYPED_TEST() 251 static const int vals[] in TYPED_TEST() local 265 static const int vals[] = {1, 1, 2, 3, 5, 8}; TYPED_TEST() local 279 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 292 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 304 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local 319 static const int vals[] = {1, 1, 2, 3, 5, 8}; TEST() local [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_effect_test.cpp | 29 scalar vals[] = { 10.0, 20.0 }; in TestDrawDashPathEffect() local 31 pen.SetPathEffect(PathEffect::CreateDashPathEffect(vals, 2, 25)); in TestDrawDashPathEffect()
|
/third_party/ltp/tools/sparse/sparse-src/validation/backend/ |
H A D | pointer-param.c | 12 static int vals[5], valt[5], valr[5]; in foo() local 19 usei(vals); in foo()
|
/third_party/rust/crates/clap/examples/ |
H A D | escaped-positional.rs | 27 .map(|vals| vals.collect::<Vec<_>>()) in main()
|
/third_party/astc-encoder/Source/ |
H A D | astcenc_color_quantize.cpp | 1208 float vals[4]; in quantize_hdr_rgbo() variable 1209 vals[0] = color_bak.lane<0>(); in quantize_hdr_rgbo() 1210 vals[1] = color_bak.lane<1>(); in quantize_hdr_rgbo() 1211 vals[2] = color_bak.lane<2>(); in quantize_hdr_rgbo() 1212 vals[3] = color_bak.lane<3>(); in quantize_hdr_rgbo() 1219 vals[i] = astc::clamp(vals[i], 0.0f, 65020.0f); in quantize_hdr_rgbo() 1220 ivals[i] = astc::flt2int_rtn(vals[i] * (1.0f / 512.0f)); in quantize_hdr_rgbo() 1224 float rgb_errorsum = (cvals[0] - vals[0]) + (cvals[1] - vals[ in quantize_hdr_rgbo() [all...] |
H A D | astcenc_vecmathlib_neon_4.h | 640 alignas(16) int vals[4]; in gatheri() local 641 vals[0] = base[idx[0]]; in gatheri() 642 vals[1] = base[idx[1]]; in gatheri() 643 vals[2] = base[idx[2]]; in gatheri() 644 vals[3] = base[idx[3]]; in gatheri() 645 return vint4(vals); in gatheri() 850 alignas(16) float vals[4]; in gatherf() local 851 vals[0] = base[idx[0]]; in gatherf() 852 vals[1] = base[idx[1]]; in gatherf() 853 vals[ in gatherf() [all...] |
/kernel/linux/linux-6.6/include/linux/iio/ |
H A D | iio-gts-helper.h | 199 int iio_gts_avail_times(struct iio_gts *gts, const int **vals, int *type, 201 int iio_gts_all_avail_scales(struct iio_gts *gts, const int **vals, int *type, 204 const int **vals, int *type, int *length);
|
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-raw-ram.c | 35 u16 *our_buf = (u16 *)data->vals; in regmap_raw_ram_gather_write() 64 u16 *our_buf = (u16 *)data->vals; in regmap_raw_ram_read() 85 kfree(data->vals); in regmap_raw_ram_free_context()
|
/third_party/node/test/parallel/ |
H A D | test-buffer-inheritance.js | 23 const vals = [new T(4), T(4)]; 25 vals.forEach(function(t) {
|
/third_party/spirv-tools/source/util/ |
H A D | hash_combine.h | 35 inline size_t hash_combine(std::size_t hash, const std::vector<T>& vals) { in hash_combine() argument 36 for (const T& val : vals) { in hash_combine()
|
/kernel/linux/linux-6.6/drivers/input/ |
H A D | input.c | 108 struct input_value *vals, unsigned int count) in input_to_handler() 111 struct input_value *end = vals; in input_to_handler() 115 for (v = vals; v != vals + count; v++) { in input_to_handler() 122 count = end - vals; in input_to_handler() 129 handler->events(handle, vals, count); in input_to_handler() 131 for (v = vals; v != vals + count; v++) in input_to_handler() 143 struct input_value *vals, unsigned int count) in input_pass_values() 157 count = input_to_handler(handle, vals, coun in input_pass_values() 107 input_to_handler(struct input_handle *handle, struct input_value *vals, unsigned int count) input_to_handler() argument 142 input_pass_values(struct input_dev *dev, struct input_value *vals, unsigned int count) input_pass_values() argument [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | headergen2.c | 223 printvalue(ti->vals[i], ti->low); in printtypeinfo() 284 if (elem->index->vals[j]->value == i) { in printdelem() 285 val = elem->index->vals[j]; in printdelem() 473 dst = findfout(db->enums[i]->vals[j]->file); in main() 476 if (0xffff0000 & db->enums[i]->vals[j]->value) in main() 477 fprintf(dst, "\t%s = 0x%08"PRIx64",\n", db->enums[i]->vals[j]->name, in main() 478 db->enums[i]->vals[j]->value); in main() 480 fprintf(dst, "\t%s = %"PRIu64",\n", db->enums[i]->vals[j]->name, in main() 481 db->enums[i]->vals[j]->value); in main()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_pci.c | 243 STACK_OF(CONF_VALUE) *vals; in r2i_pci() 249 vals = X509V3_parse_list(value); in r2i_pci() 250 for (i = 0; i < sk_CONF_VALUE_num(vals); i++) { in r2i_pci() 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() 319 sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); in r2i_pci()
|
/third_party/skia/src/codec/ |
H A D | SkAndroidCodec.cpp | 28 float sum = xyz.vals[rgbIdx][0] + xyz.vals[rgbIdx][1] + xyz.vals[rgbIdx][2]; in load_gamut() 29 rgb[rgbIdx].fX = xyz.vals[rgbIdx][0] / sum; in load_gamut() 30 rgb[rgbIdx].fY = xyz.vals[rgbIdx][1] / sum; in load_gamut()
|
/third_party/openssl/crypto/x509/ |
H A D | v3_pci.c | 243 STACK_OF(CONF_VALUE) *vals; in r2i_pci() 249 vals = X509V3_parse_list(value); in r2i_pci() 250 for (i = 0; i < sk_CONF_VALUE_num(vals); i++) { in r2i_pci() 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() 319 sk_CONF_VALUE_pop_free(vals, X509V3_conf_free); in r2i_pci()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | rtq6056.c | 313 const int **vals, int *type, int *length, in rtq6056_adc_read_avail() 318 *vals = rtq6056_samp_freq_list; in rtq6056_adc_read_avail() 323 *vals = rtq6056_avg_sample_list; in rtq6056_adc_read_avail() 400 int vals[2] = { priv->shunt_resistor_uohm, 1000000 }; in shunt_resistor_show() local 402 return iio_format_value(buf, IIO_VAL_FRACTIONAL, 1, vals); in shunt_resistor_show() 455 u16 vals[RTQ6056_MAX_CHANNEL]; in rtq6056_buffer_trigger_handler() member 472 data.vals[i++] = raw; in rtq6056_buffer_trigger_handler() 311 rtq6056_adc_read_avail(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, const int **vals, int *type, int *length, long mask) rtq6056_adc_read_avail() argument
|
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | latent_entropy_plugin.c | 134 vec<constructor_elt, va_gc> *vals; in handle_latent_entropy_attribute() local 186 vec_alloc(vals, nelt); in handle_latent_entropy_attribute() 192 CONSTRUCTOR_APPEND_ELT(vals, fld, random_const); in handle_latent_entropy_attribute() 196 DECL_INITIAL(*node) = build_constructor(type, vals); in handle_latent_entropy_attribute() 226 vec_alloc(vals, nelt); in handle_latent_entropy_attribute() 232 CONSTRUCTOR_APPEND_ELT(vals, cst, rand_cst); in handle_latent_entropy_attribute() 239 DECL_INITIAL(*node) = build_constructor(type, vals); in handle_latent_entropy_attribute()
|