Home
last modified time | relevance | path

Searched refs:index (Results 6951 - 6975 of 22383) sorted by relevance

1...<<271272273274275276277278279280>>...896

/kernel/linux/linux-6.6/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c384 st->magn[0].index, in magn_3d_parse_report()
386 st->magn[1].index, st->magn[1].report_id, in magn_3d_parse_report()
387 st->magn[2].index, st->magn[2].report_id); in magn_3d_parse_report()
412 if (st->magn[i].index >= 0) { in magn_3d_parse_report()
452 if (st->rot_attributes.sensitivity.index < 0) { in magn_3d_parse_report()
458 dev_dbg(&pdev->dev, "Sensitivity index:report %d:%d\n", in magn_3d_parse_report()
459 st->rot_attributes.sensitivity.index, in magn_3d_parse_report()
499 magn_state->rot_attributes.sensitivity.index = -1; in hid_magn_3d_probe()
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-loongson-liointc.c227 int index = of_property_match_string(node, in liointc_init() local
230 if (index < 0) in liointc_init()
233 priv->core_isr[i] = of_iomap(node, index); in liointc_init()
331 int sz, i, index, revision, err = 0; in liointc_of_init() local
335 index = 0; in liointc_of_init()
338 index = of_property_match_string(node, "reg-names", "main"); in liointc_of_init()
342 if (of_address_to_resource(node, index, &res)) in liointc_of_init()
/kernel/linux/linux-6.6/net/sched/
H A Dact_bpf.c144 .index = prog->tcf_index, in tcf_bpf_dump()
293 u32 index; in tcf_bpf_init() local
307 index = parm->index; in tcf_bpf_init()
308 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init()
310 ret = tcf_idr_create(tn, index, est, act, in tcf_bpf_init()
313 tcf_idr_cleanup(tn, index); in tcf_bpf_init()
H A Dact_mpls.c175 u32 index; in tcf_mpls_init() local
191 index = parm->index; in tcf_mpls_init()
193 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init()
201 ret = tcf_idr_create(tn, index, est, a, &act_mpls_ops, bind, in tcf_mpls_init()
204 tcf_idr_cleanup(tn, index); in tcf_mpls_init()
338 .index = m->tcf_index, in tcf_mpls_dump()
H A Dact_sample.c45 u32 psample_group_num, rate, index; in tcf_sample_init() local
63 index = parm->index; in tcf_sample_init()
64 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init()
72 ret = tcf_idr_create(tn, index, est, a, in tcf_sample_init()
75 tcf_idr_cleanup(tn, index); in tcf_sample_init()
218 .index = s->tcf_index, in tcf_sample_dump()
H A Dact_nat.c47 u32 index; in tcf_nat_init() local
60 index = parm->index; in tcf_nat_init()
61 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_nat_init()
63 ret = tcf_idr_create_from_flags(tn, index, est, a, &act_nat_ops, in tcf_nat_init()
66 tcf_idr_cleanup(tn, index); in tcf_nat_init()
273 .index = p->tcf_index, in tcf_nat_dump()
H A Dact_ipt.c109 u32 index = 0; in __tcf_ipt_init() local
120 index = nla_get_u32(tb[TCA_IPT_INDEX]); in __tcf_ipt_init()
122 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init()
133 tcf_idr_cleanup(tn, index); in __tcf_ipt_init()
142 tcf_idr_cleanup(tn, index); in __tcf_ipt_init()
147 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init()
150 tcf_idr_cleanup(tn, index); in __tcf_ipt_init()
H A Dact_ctinfo.c163 u32 dscpmask = 0, dscpstatemask, index; in tcf_ctinfo_init() local
212 index = actparm->index; in tcf_ctinfo_init()
213 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init()
215 ret = tcf_idr_create_from_flags(tn, index, est, a, in tcf_ctinfo_init()
218 tcf_idr_cleanup(tn, index); in tcf_ctinfo_init()
287 .index = ci->tcf_index, in tcf_ctinfo_dump()
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/
H A Dconf.c454 int ret, index; in conf_get_string_array() local
461 for (index = 0; index < array_size; index++) { in conf_get_string_array()
463 array[index] = def; in conf_get_string_array()
465 sprintf(buf, "%i", index); in conf_get_string_array()
466 array[index] = conf_get_string(cfg, buf, NULL, def); in conf_get_string_array()
/kernel/liteos_a/kernel/extended/plimit/
H A Dlos_devicelimit.c490 INT32 index = 0; in DevLimitItemSetAccess() local
493 accArray[index] = 'r'; in DevLimitItemSetAccess()
494 index++; in DevLimitItemSetAccess()
497 accArray[index] = 'w'; in DevLimitItemSetAccess()
498 index++; in DevLimitItemSetAccess()
501 accArray[index] = 'm'; in DevLimitItemSetAccess()
502 index++; in DevLimitItemSetAccess()
/kernel/liteos_a/testsuites/unittest/container/
H A DIt_container_test.cpp128 char index = 0; in GetLine() local
137 if (index >= count) { in GetLine()
138 return index + 1; in GetLine()
141 array[index] = head; in GetLine()
142 index++; in GetLine()
145 return index + 1; in GetLine()
151 return (index + 1); in GetLine()
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_asrc_dma.c144 enum asrc_pair_index index = pair->index; in fsl_asrc_dma_hw_params() local
177 dma_params_fe->addr = asrc->paddr + asrc->get_fifo_addr(!dir, index); in fsl_asrc_dma_hw_params()
290 config_be.src_addr = asrc->paddr + asrc->get_fifo_addr(OUT, index); in fsl_asrc_dma_hw_params()
293 config_be.dst_addr = asrc->paddr + asrc->get_fifo_addr(IN, index); in fsl_asrc_dma_hw_params()
418 if (asrc->pair[pair->index] == pair) in fsl_asrc_dma_shutdown()
419 asrc->pair[pair->index] = NULL; in fsl_asrc_dma_shutdown()
/kernel/linux/linux-6.6/net/dsa/
H A Ddevlink.c306 err = ds->ops->port_setup(ds, dp->index); in dsa_port_devlink_setup()
311 id = (const unsigned char *)&dst->index; in dsa_port_devlink_setup()
312 len = sizeof(dst->index); in dsa_port_devlink_setup()
314 attrs.phys.port_number = dp->index; in dsa_port_devlink_setup()
334 err = devlink_port_register(dl, dlp, dp->index); in dsa_port_devlink_setup()
337 ds->ops->port_teardown(ds, dp->index); in dsa_port_devlink_setup()
352 ds->ops->port_teardown(ds, dp->index); in dsa_port_devlink_teardown()
/kernel/liteos_a/testsuites/unittest/process/plimits/
H A Dprocess_plimits_test.cpp591 char index = 0; in GetLine() local
600 if (index >= count) { in GetLine()
601 return index + 1; in GetLine()
604 array[index] = head; in GetLine()
605 index++; in GetLine()
608 return index + 1; in GetLine()
614 return (index + 1); in GetLine()
/third_party/ffmpeg/libavcodec/
H A Dhcadec.c68 unsigned int index; in ath_init1() local
73 index = acc >> 13; in ath_init1()
75 if (index >= 654) { in ath_init1()
80 ath[i] = ath_base_curve[index]; in ath_init1()
254 static void run_imdct(HCAContext *c, ChannelContext *ch, int index, float *out) in run_imdct() argument
265 int index, unsigned band_count, unsigned base_band_count, in apply_intensity_stereo()
268 float ratio_l = intensity_ratio_table[ch2->intensity[index]]; in apply_intensity_stereo()
264 apply_intensity_stereo(HCAContext *s, ChannelContext *ch1, ChannelContext *ch2, int index, unsigned band_count, unsigned base_band_count, unsigned stereo_band_count) apply_intensity_stereo() argument
/third_party/ffmpeg/libavfilter/
H A Daf_aecho.c167 int i, j, chan, av_uninit(index); \
176 index = ctx->delay_index; \
183 int ix = index + max_samples - ctx->samples[j]; \
190 dbuf[index] = in; \
192 index = MOD(index + 1, max_samples); \
195 ctx->delay_index = index; \
/third_party/ffmpeg/libavformat/
H A Drdt.c144 * 2: mdpr index in rdt_load_mdpr()
161 /* read index of MDPR chunk numbers */ in rdt_load_mdpr()
180 if (ff_rm_read_mdpr_codecdata(rdt->rmctx, pb, st, rdt->rmst[st->index], size, NULL) < 0) in rdt_load_mdpr()
307 res = ff_rm_parse_packet(rdt->rmctx, &pb.pub, st, rdt->rmst[st->index], in rdt_parse_packet()
324 st, rdt->rmst[st->index], pkt); in rdt_parse_packet()
329 pkt->stream_index = st->index; in rdt_parse_packet()
425 int count = s->streams[n]->index + 1, err; in rdt_parse_sdp_line()
437 rdt->rmst[s->streams[n]->index] = ff_rm_alloc_rmstream(); in rdt_parse_sdp_line()
438 if (!rdt->rmst[s->streams[n]->index]) in rdt_parse_sdp_line()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
H A DCalendarCalc.java343 public void textChanged(int index) { in textChanged() argument
344 String rightString = calendars[index].text.getText(); in textChanged()
355 Date date = calendars[index].format.parse(rightString, status); in textChanged()
360 if (i != index) { in textChanged()
368 int start = calendars[index].text.getSelectionStart(); in textChanged()
369 int end = calendars[index].text.getSelectionEnd(); in textChanged()
373 calendars[index].text.select(start,end); in textChanged()
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_a4xx.c56 uint32_t index = nir_src_as_uint(*ssbo); in byte_offset_to_address() local
57 unsigned cb = A4XX_SSBO_CB_BASE(index); in byte_offset_to_address()
139 * 0: The SSBO buffer index.
226 unsigned index = nir_src_as_uint(instr->src[0]); in get_image_offset() local
235 assert(const_state->image_dims.mask & (1 << index)); in get_image_offset()
238 const_state->image_dims.off[index]; in get_image_offset()
240 index += ctx->s->info.num_ssbos; in get_image_offset()
241 cb = A4XX_SSBO_CB_BASE(index); in get_image_offset()
326 /* src[] = { index, coord, sample_index, value }. const_index[] = {} */
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_io_arrays_to_elements.c47 * inputs), skip the outermost array index. Process the rest normally. in get_io_offset()
50 *array_index = nir_ssa_for_src(b, (*p)->arr.index, 1); in get_io_offset()
59 unsigned index = nir_src_as_uint((*p)->arr.index); in get_io_offset() local
62 offset += size * index; in get_io_offset()
64 *xfb_offset += index * glsl_get_component_slots((*p)->type) * 4; in get_io_offset()
72 *element_index += num_elements * index; in get_io_offset()
215 if (!nir_src_is_const((*p)->arr.index)) in deref_has_indirect()
/third_party/mesa3d/src/compiler/glsl/
H A Dlink_uniform_blocks.cpp41 : index(0), offset(0), buffer_size(0), variables(variables), in ubo_visitor()
58 unsigned index; member in __anon7178::ubo_visitor
112 assert(this->index < this->num_variables); in visit_field()
114 gl_uniform_buffer_variable *v = &this->variables[this->index++]; in visit_field()
283 blocks[i].Uniforms = &variables[(*parcel).index]; in process_block_array_leaf()
313 (unsigned)(ptrdiff_t)(&variables[parcel->index] - blocks[i].Uniforms); in process_block_array_leaf()
398 assert(parcel.index == num_variables); in create_buffer_blocks()
530 * Returns the index of the new block in the array.
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_shader.c361 enum pipe_shader_type shader, uint index, in softpipe_set_constant_buffer()
388 pipe_resource_reference(&softpipe->constants[shader][index], NULL); in softpipe_set_constant_buffer()
389 softpipe->constants[shader][index] = constants; in softpipe_set_constant_buffer()
391 pipe_resource_reference(&softpipe->constants[shader][index], constants); in softpipe_set_constant_buffer()
395 draw_set_mapped_constant_buffer(softpipe->draw, shader, index, data, size); in softpipe_set_constant_buffer()
398 softpipe->mapped_constants[shader][index] = data; in softpipe_set_constant_buffer()
399 softpipe->const_buffer_size[shader][index] = size; in softpipe_set_constant_buffer()
360 softpipe_set_constant_buffer(struct pipe_context *pipe, enum pipe_shader_type shader, uint index, bool take_ownership, const struct pipe_constant_buffer *cb) softpipe_set_constant_buffer() argument
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_private.h100 const char *lvp_get_instance_entry_name(int index);
101 const char *lvp_get_physical_device_entry_name(int index);
102 const char *lvp_get_device_entry_name(int index);
104 bool lvp_instance_entrypoint_is_enabled(int index, uint32_t core_version,
106 bool lvp_physical_device_entrypoint_is_enabled(int index, uint32_t core_version,
108 bool lvp_device_entrypoint_is_enabled(int index, uint32_t core_version,
601 uint32_t index);
/third_party/node/deps/cares/src/lib/
H A Dares__iface_ips.c360 /* Retrieve name from interface index. in ares__iface_ips_enumerate()
403 * which corresponds to the index rather than the name. Check and in ares__iface_ips_enumerate()
530 unsigned int index = 0; in ares__if_nametoindex()
540 index = ares__iface_ips_get_ll_scope(ips, i); in ares__if_nametoindex()
547 return index; in ares__if_nametoindex()
551 const char *ares__if_indextoname(unsigned int index, char *name, in ares__if_indextoname() argument
558 return if_indextoname(index, name); in ares__if_indextoname()
569 if (index == 0) { in ares__if_indextoname()
581 ares__iface_ips_get_ll_scope(ips, i) == index) { in ares__if_indextoname()
/third_party/icu/icu4c/source/tools/ctestfw/
H A Duperf.cpp327 UPerfFunction* UPerfTest::runIndexedTest( int32_t /*index*/, UBool /*exec*/, const char* & /*name*/, char* /*par*/ ) in runIndexedTest()
331 switch (index) { in runIndexedTest()
344 int32_t index = 0; in runTestLoop() local
356 this->runIndexedTest( index, false, name ); in runTestLoop()
365 UPerfFunction* testFunction = this->runIndexedTest( index, true, name, par ); in runTestLoop()
468 index++; in runTestLoop()
490 int32_t index = 0; in usage() local
493 this->runIndexedTest( index, false, name ); in usage()
497 index++; in usage()

Completed in 26 milliseconds

1...<<271272273274275276277278279280>>...896