Searched refs:index (Results 1 - 25 of 6121) sorted by last modified time

1234567891011>>

/linux-master/kernel/trace/
H A Dtrace_probe.c162 trace_probe_log.index = 0;
170 void trace_probe_log_set_index(int index) argument
172 trace_probe_log.index = index;
185 if (i == trace_probe_log.index)
193 if (trace_probe_log.index >= trace_probe_log.argc) {
2081 * Return the smallest index of different type argument (start from 1).
/linux-master/kernel/dma/
H A Dswiotlb.c71 * from each index.
111 * @index: The slot index to start searching in this area for next round.
117 unsigned int index; member in struct:io_tlb_area
284 mem->areas[i].index = 0;
861 int index = (tlb_addr - mem->start) >> IO_TLB_SHIFT; local
862 phys_addr_t orig_addr = mem->slots[index].orig_addr;
863 size_t alloc_size = mem->slots[index].alloc_size;
936 static unsigned int wrap_area_index(struct io_tlb_pool *mem, unsigned int index) argument
938 if (index >
1027 unsigned int index, slots_checked, count = 0, i; local
1147 int index = -1; local
1190 int index; local
1262 int index; local
1352 int index; local
1412 int index, nslots, aindex; local
1719 int index; local
[all...]
/linux-master/include/linux/
H A Dslab.h368 * This restriction comes from byte sized index implementation.
370 * byte sized index which can represent 2^8 entries, the size of the object
373 * size and give up to use byte sized index.
622 unsigned int index; local
627 index = kmalloc_index(size);
629 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index],
638 unsigned int index; local
643 index = kmalloc_index(size);
645 kmalloc_caches[kmalloc_type(flags, _RET_IP_)][index],
/linux-master/drivers/usb/typec/tcpm/
H A Dtcpm.c271 int svid_index; /* current SVID index */
690 "Bad log buffer index %d\n", port->logbuffer_head);
696 "Log buffer index %d is NULL\n", port->logbuffer_head);
1646 port->plug_prime_desc.index = TYPEC_PLUG_SOP_P;
3784 unsigned int max, op, pdo_max, index; local
3787 index = rdo_index(rdo);
3788 if (!index || index > port->nr_src_pdo)
3791 pdo = port->src_pdo[index - 1];
3833 port->op_vsafe5v = index
[all...]
/linux-master/drivers/usb/dwc3/
H A Dgadget.c161 * dwc3_ep_inc_trb - increment a trb index.
162 * @index: Pointer to the TRB index to increment.
164 * The index should never point to the link TRB. After incrementing,
168 static void dwc3_ep_inc_trb(u8 *index) argument
170 (*index)++;
171 if (*index == (DWC3_TRB_NUM - 1))
172 *index = 0;
1157 * @index: The index o
1163 dwc3_ep_prev_trb(struct dwc3_ep *dep, u8 index) argument
[all...]
/linux-master/drivers/usb/core/
H A Dhub.c875 * @port1: port index
5266 unsigned index; local
5297 for (index = 0; index < udev->descriptor.bNumConfigurations; index++) {
5298 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength);
5307 for (index = 0; index < udev->descriptor.bNumConfigurations; index++) {
5308 old_length = le16_to_cpu(udev->config[index]
[all...]
/linux-master/drivers/slimbus/
H A Dqcom-ngd-ctrl.c572 int index, offset; local
576 index = offset/SLIM_MSGQ_BUF_LEN;
578 desc = &ctrl->txdesc[index];
/linux-master/drivers/edac/
H A Dversal_edac.c368 u32 index; local
372 for (index = 0; index < XDDR_MAX_ROW_CNT; index++) {
373 err_addr |= (row & BIT(0)) << priv->row_bit[index];
377 for (index = 0; index < XDDR_MAX_COL_CNT; index++) {
378 err_addr |= (pinf.col & BIT(0)) << priv->col_bit[index];
382 for (index
685 u32 index, regval; local
[all...]
/linux-master/drivers/clk/sunxi-ng/
H A Dccu-sun50i-h6.c668 { .index = 1, .div = 36621 },
1188 .bypass_index = 0, /* index of 24 MHz oscillator */
H A Dccu-sun50i-a64.c232 { .index = 3, .shift = 6, .width = 2 },
276 { .index = 1, .div = 2 },
940 .bypass_index = 1, /* index of 24 MHz oscillator */
/linux-master/arch/x86/mm/
H A Dfault.c178 unsigned index = pgd_index(address); local
184 pgd += index;
185 pgd_k = init_mm.pgd + index;
478 static void show_ldttss(const struct desc_ptr *gdt, const char *name, u16 index) argument
480 u32 offset = (index >> 3) * sizeof(struct desc_struct);
484 if (index == 0) {
490 pr_alert("%s: 0x%hx -- out of bounds\n", name, index);
497 name, index);
506 name, index, addr, (desc.limit0 | (desc.limit1 << 16)));
/linux-master/arch/powerpc/platforms/pseries/
H A Diommu.c104 /* Default DMA window table is at index 0, while DDW at 1. SR-IOV
105 * adapters only have table on index 1.
116 static int tce_build_pSeries(struct iommu_table *tbl, long index, argument
132 tcep = ((__be64 *)tbl->it_base) + index;
146 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) argument
150 tcep = ((__be64 *)tbl->it_base) + index;
156 static unsigned long tce_get_pseries(struct iommu_table *tbl, long index) argument
160 tcep = ((__be64 *)tbl->it_base) + index;
664 static int tce_exchange_pseries(struct iommu_table *tbl, long index, unsigned argument
668 unsigned long ioba = (unsigned long) index << tb
[all...]
/linux-master/tools/testing/cxl/test/
H A Dcxl.c650 int index; member in struct:target_map_ctx
659 ctx->target_map[ctx->index++] = pdev->id;
661 if (ctx->index > ctx->target_count) {
/linux-master/drivers/cxl/core/
H A Dport.c533 unsigned long index; local
536 xa_for_each(&port->endpoints, index, ep)
1033 unsigned long index; local
1036 xa_for_each(&port->dports, index, dport)
1439 unsigned long index; local
1443 xa_for_each(&port->dports, index, dport) {
/linux-master/arch/x86/xen/
H A Denlighten_pv.c62 #include <asm/msr-index.h>
1265 op.u.firmware_info.index = nr;
1286 op.u.firmware_info.index = nr;
/linux-master/sound/soc/sof/
H A Dsof-audio.h234 int (*parse_manifest)(struct snd_soc_component *scomp, int index,
371 int index; /* pipeline ID */ member in struct:snd_sof_control
469 * with the index as the queue ID.
/linux-master/sound/soc/meson/
H A Daxg-card.c104 int *index)
107 struct snd_soc_dai_link *pad = &card->dai_link[*index];
117 lb = &card->dai_link[*index + 1];
141 priv->link_data[*index + 1] = priv->link_data[*index];
150 *index += 1;
247 int *index)
250 struct snd_soc_dai_link *link = &card->dai_link[*index];
258 priv->link_data[*index] = be;
279 ret = axg_card_add_tdm_loopback(card, index);
103 axg_card_add_tdm_loopback(struct snd_soc_card *card, int *index) argument
245 axg_card_parse_tdm(struct snd_soc_card *card, struct device_node *node, int *index) argument
308 axg_card_add_link(struct snd_soc_card *card, struct device_node *np, int *index) argument
[all...]
/linux-master/sound/soc/intel/avs/
H A Dtopology.c1543 static int avs_route_load(struct snd_soc_component *comp, int index, argument
1572 static int avs_widget_load(struct snd_soc_component *comp, int index, argument
1629 static int avs_widget_ready(struct snd_soc_component *comp, int index, argument
1639 static int avs_dai_load(struct snd_soc_component *comp, int index, argument
1656 static int avs_link_load(struct snd_soc_component *comp, int index, struct snd_soc_dai_link *link, argument
1694 static int avs_manifest(struct snd_soc_component *comp, int index, argument
1857 avs_control_load(struct snd_soc_component *comp, int index, struct snd_kcontrol_new *ctmpl, argument
/linux-master/sound/soc/codecs/
H A Dcs35l56.c140 int index = e->shift_l; local
148 addr = cs35l56_asp1_mixer_regs[index];
167 int index = e->shift_l; local
176 addr = cs35l56_asp1_mixer_regs[index];
/linux-master/sound/pci/hda/
H A Dcs35l56_hda.c691 if (!comps || cs35l56->index < 0 || cs35l56->index >= HDA_MAX_COMPONENTS)
694 comps = &comps[cs35l56->index];
737 if (comps[cs35l56->index].dev == dev)
738 memset(&comps[cs35l56->index], 0, sizeof(*comps));
883 property = "cirrus,dev-index";
898 cs35l56->index = -1;
901 cs35l56->index = i;
909 if (cs35l56->index == -1) {
910 dev_dbg(cs35l56->base.dev, "No index foun
[all...]
/linux-master/sound/pci/emu10k1/
H A Demu10k1.c25 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable
36 module_param_array(index, int, NULL, 0444);
37 MODULE_PARM_DESC(index, "Index value for the EMU10K1 soundcard.");
86 err = snd_devm_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE,
159 arg->index = 1;
/linux-master/net/core/
H A Dgro.c270 static void __napi_gro_flush_chain(struct napi_struct *napi, u32 index, argument
273 struct list_head *head = &napi->gro_hash[index].list;
281 napi->gro_hash[index].count--;
284 if (!napi->gro_hash[index].count)
285 __clear_bit(index, &napi->gro_bitmask);
H A Dfilter.c5796 BPF_CALL_5(bpf_skb_get_xfrm_state, struct sk_buff *, skb, u32, index,
5802 if (!sp || unlikely(index >= sp->len || flags))
5805 x = sp->xvec[index];
/linux-master/lib/
H A Dscatterlist.c1278 pgoff_t index = start / PAGE_SIZE; local
1281 XA_STATE(xas, xa, index);
/linux-master/kernel/bpf/
H A Dverifier.c2710 * of fd index into fd_array, interpreted as u16.
3374 * insn index within the same state, e.g.: 3->4->5->3, so just because current
3375 * instruction index is the same as state's first_idx doesn't mean we are
3570 * @idx is an index of the instruction we are currently processing;
3571 * @subseq_idx is an index of the subsequent instruction that:
4124 * some instruction index, it can be correctly and safely used to "short
4126 * index. I.e., if we jumped to that instruction from a completely different
5122 * index'es we need to make sure that whatever we use
5129 verbose(env, "R%d min value is negative, either use unsigned index or do a if (index >
[all...]

Completed in 443 milliseconds

1234567891011>>