Searched refs:index (Results 101 - 125 of 6121) sorted by relevance

1234567891011>>

/linux-master/include/sound/
H A Demu10k1_synth.h19 int index; /* sequencer client index */ member in struct:snd_emu10k1_synth_arg
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dhandles.h14 #define NV50_DISP_HANDLE_CRC_CTX(head, i) (0xfc000000 | head->base.index << 1 | i)
/linux-master/drivers/usb/gadget/function/
H A Du_midi.h20 int index; member in struct:f_midi_opts
/linux-master/drivers/cpuidle/
H A Dcpuidle-tegra.c164 int index, unsigned int cpu)
176 if (index == TEGRA_CC6) {
188 switch (index) {
208 return err ?: index;
211 static int tegra_cpuidle_adjust_state_index(int index, unsigned int cpu) argument
217 if (cpu > 0 || index != TEGRA_C7 || tegra_get_chip_id() != TEGRA30)
218 return index;
222 index = TEGRA_C1;
224 index = TEGRA_CC6;
226 return index;
163 tegra_cpuidle_state_enter(struct cpuidle_device *dev, int index, unsigned int cpu) argument
229 tegra_cpuidle_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
262 tegra114_enter_s2idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_irq.c35 * @index: starting index previously returned by ice_get_res
37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) argument
41 entry = xa_erase(&pf->irq_tracker.entries, index);
51 * is used, always allocate new entry at the lowest possible index. Set
62 unsigned int index; local
73 ret = xa_alloc(&pf->irq_tracker.entries, &index, entry, limit,
80 entry->index = index;
81 entry->dynamic = index >
365 unsigned long start, index, max_idx; local
[all...]
/linux-master/security/selinux/include/
H A Dconditional.h21 int security_get_bool_value(u32 index);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-nvram.c26 static ssize_t opal_nvram_read(char *buf, size_t count, loff_t *index) argument
31 if (*index >= nvram_size)
33 off = *index;
39 *index += count;
47 static ssize_t opal_nvram_write(char *buf, size_t count, loff_t *index) argument
52 if (*index >= nvram_size)
54 off = *index;
77 *index += count;
/linux-master/include/linux/
H A Dcgroup_rdma.h45 enum rdmacg_resource_type index);
48 enum rdmacg_resource_type index);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A Dbase.c67 nvkm_dma_oclass_base_get(struct nvkm_oclass *sclass, int index, argument
71 if (index < count) {
72 const struct nvkm_sclass *oclass = &nvkm_dma_sclass[index];
76 return index;
82 nvkm_dma_oclass_fifo_get(struct nvkm_oclass *oclass, int index) argument
85 if (index < count) {
86 oclass->base = nvkm_dma_sclass[index];
87 return index;
/linux-master/arch/arm/mach-imx/
H A Dcpuidle-imx5.c12 struct cpuidle_driver *drv, int index)
15 return index;
11 imx5_cpuidle_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-interrupt-rsl.c42 void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block);
81 int index; local
138 for (index = 0; index < num_ports; index++)
139 __cvmx_interrupt_gmxx_rxx_int_en_enable(index, interface);
/linux-master/arch/sparc/prom/
H A Dmemory.c20 int index; local
22 index = 0;
24 sp_banks[index].base_addr = (unsigned long) p->start_adr;
25 sp_banks[index].num_bytes = p->num_bytes;
26 index++;
29 return index;
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-fpu.c9 int ptrace_get_fpr(struct task_struct *child, int index, unsigned long *data) argument
12 unsigned int fpidx = index - PT_FPR0;
15 if (index > PT_FPSCR)
22 // On 32-bit the index we are passed refers to 32-bit words
35 int ptrace_put_fpr(struct task_struct *child, int index, unsigned long data) argument
38 unsigned int fpidx = index - PT_FPR0;
41 if (index > PT_FPSCR)
48 // On 32-bit the index we are passed refers to 32-bit words
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dsgx.h69 unsigned long index; local
71 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page);
73 return section->phys_addr + index * PAGE_SIZE;
79 unsigned long index; local
81 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page);
83 return section->virt_addr + index * PAGE_SIZE;
/linux-master/arch/mips/include/asm/
H A Drtlx.h33 int rtlx_open(int index, int can_sleep);
34 int rtlx_release(int index);
35 ssize_t rtlx_read(int index, void __user *buff, size_t count);
36 ssize_t rtlx_write(int index, const void __user *buffer, size_t count);
37 unsigned int rtlx_read_poll(int index, int can_sleep);
38 unsigned int rtlx_write_poll(int index);
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex.h9 #include "index-layout.h"
10 #include "index-session.h"
13 #include "volume-index.h"
16 * The index is a high-level structure which represents the totality of the UDS index. It manages
18 * volume or the volume index. It also manages administrative tasks such as saving and loading the
19 * index.
21 * The index is divided into a number of independent zones and assigns each request to a zone based
29 struct uds_index *index; member in struct:index_zone
70 int __must_check uds_save_index(struct uds_index *index);
[all...]
/linux-master/drivers/base/regmap/
H A Dregcache-flat.c38 unsigned int index = regcache_flat_get_index(map, reg); local
40 cache[index] = map->reg_defaults[i].def;
58 unsigned int index = regcache_flat_get_index(map, reg); local
60 *value = cache[index];
69 unsigned int index = regcache_flat_get_index(map, reg); local
71 cache[index] = value;
/linux-master/fs/xfs/libxfs/
H A Dxfs_ialloc_btree.h30 #define XFS_INOBT_REC_ADDR(mp, block, index) \
34 (((index) - 1) * sizeof(xfs_inobt_rec_t))))
36 #define XFS_INOBT_KEY_ADDR(mp, block, index) \
40 ((index) - 1) * sizeof(xfs_inobt_key_t)))
42 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \
47 ((index) - 1) * sizeof(xfs_inobt_ptr_t)))
H A Dxfs_refcount_btree.h29 #define XFS_REFCOUNT_REC_ADDR(block, index) \
33 (((index) - 1) * sizeof(struct xfs_refcount_rec))))
35 #define XFS_REFCOUNT_KEY_ADDR(block, index) \
39 ((index) - 1) * sizeof(struct xfs_refcount_key)))
41 #define XFS_REFCOUNT_PTR_ADDR(block, index, maxrecs) \
46 ((index) - 1) * sizeof(xfs_refcount_ptr_t)))
H A Dxfs_alloc_btree.h31 #define XFS_ALLOC_REC_ADDR(mp, block, index) \
35 (((index) - 1) * sizeof(xfs_alloc_rec_t))))
37 #define XFS_ALLOC_KEY_ADDR(mp, block, index) \
41 ((index) - 1) * sizeof(xfs_alloc_key_t)))
43 #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \
48 ((index) - 1) * sizeof(xfs_alloc_ptr_t)))
/linux-master/fs/xfs/scrub/
H A Drcbag_btree.h38 #define RCBAG_REC_ADDR(block, index) \
41 (((index) - 1) * sizeof(struct rcbag_rec))))
43 #define RCBAG_KEY_ADDR(block, index) \
46 ((index) - 1) * sizeof(struct rcbag_key)))
48 #define RCBAG_PTR_ADDR(block, index, maxrecs) \
52 ((index) - 1) * sizeof(rcbag_ptr_t)))
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe.h45 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__)
47 "pd#%d %s: " fmt, (pd)->elem.index, __func__, ##__VA_ARGS__)
49 "ah#%d %s: " fmt, (ah)->elem.index, __func__, ##__VA_ARGS__)
51 "srq#%d %s: " fmt, (srq)->elem.index, __func__, ##__VA_ARGS__)
53 "qp#%d %s: " fmt, (qp)->elem.index, __func__, ##__VA_ARGS__)
55 "cq#%d %s: " fmt, (cq)->elem.index, __func__, ##__VA_ARGS__)
57 "mr#%d %s: " fmt, (mr)->elem.index, __func__, ##__VA_ARGS__)
59 "mw#%d %s: " fmt, (mw)->elem.index, __func__, ##__VA_ARGS__)
66 "uc#%d %s: " fmt, (uc)->elem.index, __func__, ##__VA_ARGS__)
68 "pd#%d %s: " fmt, (pd)->elem.index, __func_
[all...]
/linux-master/drivers/hwmon/
H A Dw83793.c116 #define W83793_REG_BEEP(index) (0x53 + (index))
117 #define W83793_REG_ALARM(index) (0x4b + (index))
146 #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */
147 #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */
159 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \
160 (nr) == 1 ? 0x220 : 0x218) + (index))
324 int index = sensor_attr->index; local
357 int index = sensor_attr->index >> 3; local
378 int index = sensor_attr->index >> 3; local
468 int index = sensor_attr->index; local
486 int index = sensor_attr->index; local
515 int index = sensor_attr->index; local
534 int index = sensor_attr->index; local
567 int index = sensor_attr->index; local
585 int index = sensor_attr->index; local
626 int index = sensor_attr->index; local
651 int index = sensor_attr->index; local
792 int index = sensor_attr->index; local
817 int index = sensor_attr->index; local
876 int index = sensor_attr->index; local
891 int index = sensor_attr->index; local
916 int index = sensor_attr->index; local
932 int index = sensor_attr->index; local
958 int index = sensor_attr->index; local
978 int index = sensor_attr->index; local
[all...]
/linux-master/fs/squashfs/
H A Dnamei.c29 * Directories are sorted, and can contain a directory index to speed up
31 * storing the index/filename mapping to the first directory header
33 * and at lookup the index is scanned linearly looking for the first filename
36 * The general idea of the index is ensure only one metadata block needs to be
56 * Lookup name in the directory index, returning the location of the metadata
57 * block containing it, and the directory index this represents.
59 * If we get an error reading the index then return the part of the index
60 * (if any) we have managed to read - the index isn't essential, just
71 struct squashfs_dir_index *index; local
[all...]
/linux-master/tools/testing/radix-tree/
H A Dbenchmark.c56 unsigned long index; local
61 for (index = 0 ; index < size ; index += step)
62 item_insert(root, index);
77 unsigned long index; local
82 for (index = 0 ; index < size ; index += step)
83 radix_tree_tag_set(root, index,
98 unsigned long index; local
[all...]

Completed in 325 milliseconds

1234567891011>>