Home
last modified time | relevance | path

Searched refs:index (Results 8876 - 8900 of 25737) sorted by relevance

1...<<351352353354355356357358359360>>...1030

/kernel/linux/linux-5.10/drivers/ptp/
H A Dptp_ines.c156 unsigned int index; member
216 port->index = i; in ines_clock_init()
241 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port() argument
251 port = &clock->port[index]; in ines_find_port()
298 mask = TX_FIFO_NE_1 << port->index; in ines_find_txts()
511 mask = RX_FIFO_NE_1 << port->index; in ines_rxfifo_read()
711 unsigned int index) in ines_ptp_probe_channel()
716 if (index > INES_N_PORTS - 1) { in ines_ptp_probe_channel()
717 dev_err(device, "bad port index %u\n", index); in ines_ptp_probe_channel()
710 ines_ptp_probe_channel(struct device *device, unsigned int index) ines_ptp_probe_channel() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/xen-netback/
H A Dinterface.c212 u16 index; in xenvif_start_xmit() local
226 index = skb_get_queue_mapping(skb); in xenvif_start_xmit()
227 if (index >= num_queues) { in xenvif_start_xmit()
229 index, vif->dev->name); in xenvif_start_xmit()
230 index %= num_queues; in xenvif_start_xmit()
232 queue = &vif->queues[index]; in xenvif_start_xmit()
279 unsigned int index; in xenvif_get_stats() local
285 for (index = 0; index < num_queues; ++index) { in xenvif_get_stats()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H A Dtsnep_selftests.c234 int index; in check_gate() local
236 index = get_operation(curr, system_time, &next_time); in check_gate()
237 gate_open = curr->operation[index].properties & TSNEP_GCL_MASK; in check_gate()
238 if (index == curr->count - 1) in check_gate()
239 index = 0; in check_gate()
241 index++; in check_gate()
243 curr->operation[index].properties & TSNEP_GCL_MASK; in check_gate()
246 int index; in check_gate() local
250 index = get_operation(prev, system_time, &next_time); in check_gate()
263 index in check_gate()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dma35d1_serial.c560 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_write()
562 co->index); in ma35d1serial_console_write()
566 up = &ma35d1serial_ports[co->index]; in ma35d1serial_console_write()
601 if ((co->index < 0) || (co->index >= MA35_UART_NR)) { in ma35d1serial_console_setup()
602 pr_debug("Console Port%x out of range\n", co->index); in ma35d1serial_console_setup()
606 np = ma35d1serial_uart_nodes[co->index]; in ma35d1serial_console_setup()
607 p = &ma35d1serial_ports[co->index]; in ma35d1serial_console_setup()
623 port = &ma35d1serial_ports[co->index] in ma35d1serial_console_setup()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A Ddebugfs.c230 int index = ep->index; in ep_show() local
234 seq_printf(seq, "Endpoint index %d, named %s, dir %s:\n", in ep_show()
235 ep->index, ep->ep.name, decode_direction(ep->dir_in)); in ep_show()
240 dwc2_readl(hsotg, DIEPCTL(index)), in ep_show()
241 dwc2_readl(hsotg, DOEPCTL(index))); in ep_show()
244 dwc2_readl(hsotg, DIEPDMA(index)), in ep_show()
245 dwc2_readl(hsotg, DOEPDMA(index))); in ep_show()
248 dwc2_readl(hsotg, DIEPINT(index)), in ep_show()
249 dwc2_readl(hsotg, DOEPINT(index))); in ep_show()
[all...]
/kernel/linux/linux-6.6/drivers/ptp/
H A Dptp_ines.c151 unsigned int index; member
211 port->index = i; in ines_clock_init()
236 static struct ines_port *ines_find_port(struct device_node *node, u32 index) in ines_find_port() argument
246 port = &clock->port[index]; in ines_find_port()
293 mask = TX_FIFO_NE_1 << port->index; in ines_find_txts()
502 mask = RX_FIFO_NE_1 << port->index; in ines_rxfifo_read()
702 unsigned int index) in ines_ptp_probe_channel()
707 if (index > INES_N_PORTS - 1) { in ines_ptp_probe_channel()
708 dev_err(device, "bad port index %u\n", index); in ines_ptp_probe_channel()
701 ines_ptp_probe_channel(struct device *device, unsigned int index) ines_ptp_probe_channel() argument
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dpowernow-k8.c710 unsigned int index) in powernow_k8_acpi_pst_values()
717 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()
806 u32 freq, index; in fill_powernow_table_fidvid() local
821 index = fid | (vid<<8); in fill_powernow_table_fidvid()
822 powernow_table[i].driver_data = index; in fill_powernow_table_fidvid()
881 unsigned int index, in transition_frequency_fidvid()
889 pr_debug("cpu %d transition to index %u\n", smp_processor_id(), index); in transition_frequency_fidvid()
892 /* fid are the lower 8 bits of the index we stored into in transition_frequency_fidvid()
896 fid = data->powernow_table[index] in transition_frequency_fidvid()
709 powernow_k8_acpi_pst_values(struct powernow_k8_data *data, unsigned int index) powernow_k8_acpi_pst_values() argument
880 transition_frequency_fidvid(struct powernow_k8_data *data, unsigned int index, struct cpufreq_policy *policy) transition_frequency_fidvid() argument
984 powernowk8_target(struct cpufreq_policy *pol, unsigned index) powernowk8_target() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/sh/
H A Dusb-dmac.c45 * @sg_index: index of sg
69 * @index: index of this channel in the controller
79 unsigned int index; member
194 unsigned int index) in usb_dmac_chan_start_sg()
197 struct usb_dmac_sg *sg = desc->sg + index; in usb_dmac_chan_start_sg()
209 chan->index, sg, sg->size, &src_addr, &dst_addr); in usb_dmac_chan_start_sg()
642 if (uchan->index != dma_spec->args[0]) in usb_dmac_chan_filter()
709 unsigned int index) in usb_dmac_chan_probe()
716 uchan->index in usb_dmac_chan_probe()
193 usb_dmac_chan_start_sg(struct usb_dmac_chan *chan, unsigned int index) usb_dmac_chan_start_sg() argument
707 usb_dmac_chan_probe(struct usb_dmac *dmac, struct usb_dmac_chan *uchan, unsigned int index) usb_dmac_chan_probe() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/
H A Dbe.h140 static inline void index_adv(u32 *index, u32 val, u32 limit) in index_adv() argument
142 *index = MODULO((*index + val), limit); in index_adv()
145 static inline void index_inc(u32 *index, u32 limit) in index_inc() argument
147 *index = MODULO((*index + 1), limit); in index_inc()
160 static inline void *queue_index_node(struct be_queue_info *q, u16 index) in queue_index_node() argument
162 return q->dma_mem.va + index * q->entry_size; in queue_index_node()
170 static inline void index_dec(u32 *index, u32 limit) in index_dec() argument
172 *index in index_dec()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rcar-vin/
H A Drcar-v4l2.c391 if (f->index) in rvin_enum_fmt_vid_cap()
396 if (f->index) in rvin_enum_fmt_vid_cap()
401 if (f->index) in rvin_enum_fmt_vid_cap()
406 if (f->index) in rvin_enum_fmt_vid_cap()
419 if (matched == f->index) { in rvin_enum_fmt_vid_cap()
434 unsigned int index; in rvin_remote_rectangle() local
444 index = pad->index; in rvin_remote_rectangle()
447 index = vin->parallel.source_pad; in rvin_remote_rectangle()
450 fmt.pad = index; in rvin_remote_rectangle()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-pipe.c210 mxc_isi_bus_format_by_index(unsigned int index, unsigned int pad) in mxc_isi_bus_format_by_index() argument
221 if (!index) in mxc_isi_bus_format_by_index()
224 index--; in mxc_isi_bus_format_by_index()
396 unsigned int index; in mxc_isi_pipe_enum_mbus_code() local
412 if (code->index) in mxc_isi_pipe_enum_mbus_code()
422 if (code->index > 1) in mxc_isi_pipe_enum_mbus_code()
425 code->code = output_codes[code->index]; in mxc_isi_pipe_enum_mbus_code()
431 index = code->index; in mxc_isi_pipe_enum_mbus_code()
439 if (index in mxc_isi_pipe_enum_mbus_code()
[all...]
/kernel/linux/linux-6.6/drivers/net/xen-netback/
H A Dinterface.c210 u16 index; in xenvif_start_xmit() local
224 index = skb_get_queue_mapping(skb); in xenvif_start_xmit()
225 if (index >= num_queues) { in xenvif_start_xmit()
227 index, vif->dev->name); in xenvif_start_xmit()
228 index %= num_queues; in xenvif_start_xmit()
230 queue = &vif->queues[index]; in xenvif_start_xmit()
277 unsigned int index; in xenvif_get_stats() local
283 for (index = 0; index < num_queues; ++index) { in xenvif_get_stats()
[all...]
/kernel/linux/linux-6.6/drivers/phy/
H A Dphy-core.c559 * @index: the index of the phy
567 static struct phy *_of_phy_get(struct device_node *np, int index) in _of_phy_get() argument
575 index, &args); in _of_phy_get()
620 int index = 0; in of_phy_get() local
623 index = of_property_match_string(np, "phy-names", con_id); in of_phy_get()
625 phy = _of_phy_get(np, index); in of_phy_get()
736 int index = 0; in phy_get() local
742 index = of_property_match_string(dev->of_node, "phy-names", in phy_get()
745 index in phy_get()
905 devm_of_phy_get_by_index(struct device *dev, struct device_node *np, int index) devm_of_phy_get_by_index() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dsis5595.c271 int nr = attr->index; in in_show()
280 int nr = attr->index; in in_min_show()
289 int nr = attr->index; in in_max_show()
298 int nr = attr->index; in in_min_store()
318 int nr = attr->index; in in_max_store()
419 int nr = attr->index; in fan_show()
429 int nr = attr->index; in fan_min_show()
439 int nr = attr->index; in fan_min_store()
459 int nr = attr->index; in fan_div_show()
474 int nr = attr->index; in fan_div_store()
[all...]
H A Dlm78.c147 return sprintf(buf, "%d\n", IN_FROM_REG(data->in[attr->index])); in in_show()
155 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_min[attr->index])); in in_min_show()
163 return sprintf(buf, "%d\n", IN_FROM_REG(data->in_max[attr->index])); in in_max_show()
171 int nr = attr->index; in in_min_store()
191 int nr = attr->index; in in_max_store()
298 int nr = attr->index; in fan_show()
308 int nr = attr->index; in fan_min_show()
318 int nr = attr->index; in fan_min_store()
338 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index])); in fan_div_show()
352 int nr = attr->index; in fan_div_store()
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dcs35l56_hda.c643 if (!comps || cs35l56->index < 0 || cs35l56->index >= HDA_MAX_COMPONENTS) in cs35l56_hda_bind()
646 comps = &comps[cs35l56->index]; in cs35l56_hda_bind()
689 if (comps[cs35l56->index].dev == dev) in cs35l56_hda_unbind()
690 memset(&comps[cs35l56->index], 0, sizeof(*comps)); in cs35l56_hda_unbind()
833 property = "cirrus,dev-index"; in cs35l56_hda_read_acpi()
848 cs35l56->index = -1; in cs35l56_hda_read_acpi()
851 cs35l56->index = i; in cs35l56_hda_read_acpi()
859 if (cs35l56->index == -1) { in cs35l56_hda_read_acpi()
860 dev_dbg(cs35l56->base.dev, "No index foun in cs35l56_hda_read_acpi()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/atom/
H A Dsst-mfld-platform-pcm.c165 /* index 0 is not used in stream map */ in sst_get_stream_mapping()
177 int index; in sst_fill_stream_params() local
194 index = sst_get_stream_mapping(pstream->pcm->device, in sst_fill_stream_params()
197 if (index <= 0) in sst_fill_stream_params()
200 str_params->stream_id = index; in sst_fill_stream_params()
201 str_params->device_type = map[index].device_id; in sst_fill_stream_params()
202 str_params->task = map[index].task_id; in sst_fill_stream_params()
208 index = sst_get_stream_mapping(cstream->device->device, in sst_fill_stream_params()
211 if (index <= 0) in sst_fill_stream_params()
213 str_params->stream_id = index; in sst_fill_stream_params()
[all...]
/kernel/linux/linux-6.6/sound/usb/caiaq/
H A Daudio.c188 int index = substream->number; in snd_usb_caiaq_pcm_prepare() local
209 cdev->period_out_count[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
210 cdev->audio_out_buf_pos[index] = out_pos; in snd_usb_caiaq_pcm_prepare()
227 cdev->period_in_count[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
228 cdev->audio_in_buf_pos[index] = in_pos; in snd_usb_caiaq_pcm_prepare()
297 int index = sub->number; in snd_usb_caiaq_pcm_pointer() local
310 cdev->audio_out_buf_pos[index]); in snd_usb_caiaq_pcm_pointer()
313 cdev->audio_in_buf_pos[index]); in snd_usb_caiaq_pcm_pointer()
669 clear_bit(oinfo->index, &cdev->outurb_active_mask); in read_completed()
694 clear_bit(info->index, in write_completed()
[all...]
/kernel/linux/linux-6.6/sound/usb/
H A Dmixer_scarlett.c539 int index, int offset, int num, in add_new_ctl()
557 elem->head.id = index; in add_new_ctl()
585 int index, const char *name, in add_output_ctls()
594 index + 1, name); in add_output_ctls()
597 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); in add_output_ctls()
603 index + 1, name); in add_output_ctls()
606 2*index+1, USB_MIXER_S16, 2, mx, NULL, &elem); in add_output_ctls()
612 index + 1, name); in add_output_ctls()
615 2*index, USB_MIXER_S16, 1, mx, &info->opt_master, in add_output_ctls()
622 index in add_output_ctls()
536 add_new_ctl(struct usb_mixer_interface *mixer, const struct snd_kcontrol_new *ncontrol, usb_mixer_elem_resume_func_t resume, int index, int offset, int num, int val_type, int channels, const char *name, const struct scarlett_mixer_elem_enum_info *opt, struct usb_mixer_elem_info **elem_ret ) add_new_ctl() argument
584 add_output_ctls(struct usb_mixer_interface *mixer, int index, const char *name, const struct scarlett_device_info *info) add_output_ctls() argument
[all...]
/test/testfwk/xdevice/src/xdevice/_core/command/
H A Dconsole.py395 for index, param in enumerate(para_list):
397 if index + 1 == len(para_list):
399 elif "-" in str(para_list[index + 1]):
400 para_list.insert(index + 1, "retry_previous_command")
402 para_list[index] = "!%s" % param
851 for index in range(0, len(kits_params_list), 2):
853 {kits_params_list[index]: kits_params_list[index + 1]})
863 pos = split_list.index("--repeat")
866 pos = split_list.index("
[all...]
/test/xts/acts/multimedia/media/media_ndk_standard/AVPlayerNDK/entry/src/main/cpp/
H A Davplayer_ndk_test.cpp105 // 获取index下标的属性值
106 static int getParamAtIndex(int index, napi_env env, napi_callback_info info) in getParamAtIndex() argument
112 napi_typeof(env, args[index], &valuetype); in getParamAtIndex()
114 napi_get_value_int32(env, args[index], &value); in getParamAtIndex()
154 int index; in OhAvPlayerSetFdPathIndex() local
155 napi_get_value_int32(env, args[PARAM_0], &index); in OhAvPlayerSetFdPathIndex()
156 std::string filePath = FileList[index]; in OhAvPlayerSetFdPathIndex()
476 int32_t index = getParamAtIndex(PARAM_0, env, info); in OhAvPlayerSelectTrack() local
477 OH_AVErrCode avErrCode = OH_AVPlayer_SelectTrack(mainPlayer, index); in OhAvPlayerSelectTrack()
511 int index; in OhAvPlayerSetPlaybackSpeed() local
[all...]
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationIterator.java163 // Reading index in oldBuffer,
478 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
482 ceBuffer.appendUnsafe(Collation.ceFromCE32(d.ce32s[index++])); in appendCEsFromCE32()
487 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
491 ceBuffer.appendUnsafe(d.ces[index++]); in appendCEsFromCE32()
508 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
509 int defaultCE32 = d.getCE32FromContexts(index); // Default if no suffix match. in appendCEsFromCE32()
548 ce32 = nextCE32FromContraction(d, ce32, d.contexts, index + 2, defaultCE32, nextCp); in appendCEsFromCE32()
669 int index = Collation.indexFromCE32(ce32); in getCE32FromPrefix()
670 ce32 = d.getCE32FromContexts(index); // Defaul in getCE32FromPrefix()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DTimeZoneNamesImpl.java640 ZNames.NameTypeIndex index = nameTypeIndexFromKey(key); in setNameIfEmpty()
641 if (index == null) { return; } in setNameIfEmpty()
642 assert index.ordinal() < ZNames.NUM_NAME_TYPES; in setNameIfEmpty()
643 if (names[index.ordinal()] == null) { in setNameIfEmpty()
644 names[index.ordinal()] = value.getString(); in setNameIfEmpty()
726 private static NameType getNameType(int index) { in getNameType() argument
727 switch (NameTypeIndex.values[index]) { in getNameType()
743 throw new AssertionError("No NameType match for " + index); in getNameType()
788 int index = getNameTypeIndex(type); in getName()
789 if (_names != null && index < _name in getName()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DTimeZoneNamesImpl.java642 ZNames.NameTypeIndex index = nameTypeIndexFromKey(key); in setNameIfEmpty()
643 if (index == null) { return; } in setNameIfEmpty()
644 assert index.ordinal() < ZNames.NUM_NAME_TYPES; in setNameIfEmpty()
645 if (names[index.ordinal()] == null) { in setNameIfEmpty()
646 names[index.ordinal()] = value.getString(); in setNameIfEmpty()
728 private static NameType getNameType(int index) { in getNameType() argument
729 switch (NameTypeIndex.values[index]) { in getNameType()
745 throw new AssertionError("No NameType match for " + index); in getNameType()
790 int index = getNameTypeIndex(type); in getName()
791 if (_names != null && index < _name in getName()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
H A DCollationIterator.java165 // Reading index in oldBuffer,
480 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
484 ceBuffer.appendUnsafe(Collation.ceFromCE32(d.ce32s[index++])); in appendCEsFromCE32()
489 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
493 ceBuffer.appendUnsafe(d.ces[index++]); in appendCEsFromCE32()
510 int index = Collation.indexFromCE32(ce32); in appendCEsFromCE32()
511 int defaultCE32 = d.getCE32FromContexts(index); // Default if no suffix match. in appendCEsFromCE32()
550 ce32 = nextCE32FromContraction(d, ce32, d.contexts, index + 2, defaultCE32, nextCp); in appendCEsFromCE32()
671 int index = Collation.indexFromCE32(ce32); in getCE32FromPrefix()
672 ce32 = d.getCE32FromContexts(index); // Defaul in getCE32FromPrefix()
[all...]

Completed in 36 milliseconds

1...<<351352353354355356357358359360>>...1030