Home
last modified time | relevance | path

Searched refs:index (Results 176 – 200 of 9797) sorted by relevance

12345678910>>...392

/openbmc/qemu/docs/
H A Dindex.rst14 about/index
15 system/index
16 user/index
17 tools/index
18 interop/index
19 specs/index
20 devel/index
/openbmc/linux/sound/usb/
H A Dmixer_us16x08.c184 int index = ucontrol->id.index; in snd_us16x08_route_get() local
197 int index = ucontrol->id.index; in snd_us16x08_route_put() local
253 int index = ucontrol->id.index; in snd_us16x08_master_get() local
267 int index = ucontrol->id.index; in snd_us16x08_master_put() local
363 int index = ucontrol->id.index; in snd_us16x08_channel_get() local
377 int index = ucontrol->id.index; in snd_us16x08_channel_put() local
422 int index = ucontrol->id.index; in snd_us16x08_comp_get() local
436 int index = ucontrol->id.index; in snd_us16x08_comp_put() local
490 int index = ucontrol->id.index; in snd_us16x08_eqswitch_get() local
506 int index = ucontrol->id.index; in snd_us16x08_eqswitch_put() local
[all …]
/openbmc/linux/arch/mips/sgi-ip27/
H A Dip27-klconfig.c20 int index, j; in find_component() local
23 index = 0; in find_component()
28 index = j; in find_component()
29 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
33 index++; /* next component */ in find_component()
36 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
37 kli = KLCF_COMP(brd, index); in find_component()
/openbmc/qemu/tests/qemu-iotests/
H A D251120 index=0
123 filters+=" -e s/$ofs/status_fail_offset_$index/"
124 index=$((index + 1))
127 index=0
130 filters+=" -e s/$ofs/read_fail_offset_$index/"
131 index=$((index + 1))
/openbmc/linux/drivers/video/fbdev/
H A Dsbuslib.c125 unsigned int index, count, i; in sbusfb_ioctl_helper() local
127 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
151 cmap.start = index + i; in sbusfb_ioctl_helper()
164 unsigned int index, count, i; in sbusfb_ioctl_helper() local
167 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
174 if (index > cmap->len || count > cmap->len - index) in sbusfb_ioctl_helper()
178 red = cmap->red[index + i] >> 8; in sbusfb_ioctl_helper()
244 cmap.start = c.index + i; in sbusfb_compat_ioctl()
257 unsigned int index, i; in sbusfb_compat_ioctl() local
262 index = c.index; in sbusfb_compat_ioctl()
[all …]
/openbmc/linux/drivers/char/agp/
H A Defficeon-agp.c160 int index, freed = 0; in efficeon_free_gatt_table() local
162 for (index = 0; index < EFFICEON_L1_SIZE; index++) { in efficeon_free_gatt_table()
165 efficeon_private.l1_table[index] = 0; in efficeon_free_gatt_table()
172 EFFICEON_ATTPAGE, index); in efficeon_free_gatt_table()
194 int index; in efficeon_create_gatt_table() local
208 for (index = 0 ; index < l1_pages ; index++) { in efficeon_create_gatt_table()
213 page = efficeon_private.l1_table[index]; in efficeon_create_gatt_table()
258 int index = pg_start + i; in efficeon_insert_memory() local
266 page += (index & 0x3ff); in efficeon_insert_memory()
299 int index = pg_start + i; in efficeon_remove_memory() local
[all …]
/openbmc/linux/fs/squashfs/
H A Dfile.c49 int index) in locate_meta_index() argument
244 index /= SQUASHFS_META_INDEXES * skip; in fill_meta_index()
246 while (offset < index) { in fill_meta_index()
254 offset = index < meta->offset + meta->entries ? index : in fill_meta_index()
348 if (res < index) { in read_blocklist()
416 if (i != page->index) in squashfs_copy_cache()
453 int index = page->index >> (msblk->block_log - PAGE_SHIFT); in squashfs_read_folio() local
455 int expected = index == file_end ? in squashfs_read_folio()
557 pgoff_t index; in squashfs_readahead() local
576 index = pages[0]->index >> shift; in squashfs_readahead()
[all …]
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c23 unsigned int index; member
118 splane->index, #reg, \ in __shmob_drm_plane_setup()
119 lcdc_read(sdev, reg(splane->index)), \ in __shmob_drm_plane_setup()
129 lcdc_write(sdev, LDBCR, LDBCR_UPC(splane->index)); in __shmob_drm_plane_setup()
133 lcdc_write(sdev, LDBnBSIFR(splane->index), format); in __shmob_drm_plane_setup()
135 lcdc_write(sdev, LDBnBSSZR(splane->index), in __shmob_drm_plane_setup()
138 lcdc_write(sdev, LDBnBLOCR(splane->index), in __shmob_drm_plane_setup()
141 lcdc_write(sdev, LDBnBSMWR(splane->index), in __shmob_drm_plane_setup()
151 LDBCR_UPF(splane->index) | LDBCR_UPD(splane->index)); in __shmob_drm_plane_setup()
218 lcdc_write(sdev, LDBnBSIFR(splane->index), 0); in shmob_drm_plane_disable()
[all …]
/openbmc/linux/fs/overlayfs/
H A Dnamei.c660 if (!d_is_dir(index) && d_inode(index)->i_nlink == 1) { in ovl_verify_index()
676 index, d_inode(index)->i_mode & S_IFMT, err); in ovl_verify_index()
681 index, d_inode(index)->i_mode & S_IFMT, in ovl_verify_index()
759 dput(index); in ovl_get_index_fh()
799 dput(index); in ovl_lookup_index()
812 index, d_inode(index)->i_mode & S_IFMT, in ovl_lookup_index()
839 dput(index); in ovl_lookup_index()
844 dput(index); in ovl_lookup_index()
1292 .index = index, in ovl_lookup()
1319 dput(index); in ovl_lookup()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.h175 u32 index, bool enable);
177 u32 index, bool enable);
179 u32 index, bool enable);
181 u32 index, u32 divider);
183 u32 index, u32 divider);
185 u32 index, u32 divider);
187 u32 index, u32 step_time);
206 enum r600_power_level index,
213 enum r600_power_level index);
215 enum r600_power_level index);
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_draw.h107 mask = FB_SHIFT_HIGH(p, ~(u32)0, index); in fb_shifted_pixels_mask_u32()
110 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_u32()
111 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
114 if(index + bswapmask < 32) in fb_shifted_pixels_mask_u32()
117 (index + bswapmask) & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
123 u32 index, in fb_shifted_pixels_mask_long() argument
129 mask = FB_SHIFT_HIGH(p, ~0UL, index); in fb_shifted_pixels_mask_long()
132 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_long()
133 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_long()
136 if(index + bswapmask < BITS_PER_LONG) in fb_shifted_pixels_mask_long()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci-mxs.c89 int ehci_hcd_init(int index, enum usb_init_type init, in ehci_hcd_init() argument
97 if ((index < 0) || (index >= ARRAY_SIZE(mxs_port))) { in ehci_hcd_init()
98 printf("Invalid port index (index = %d)!\n", index); in ehci_hcd_init()
102 ret = board_ehci_hcd_init(index); in ehci_hcd_init()
106 port = &mxs_port[index]; in ehci_hcd_init()
135 int ehci_hcd_stop(int index) in ehci_hcd_stop() argument
143 if ((index < 0) || (index >= ARRAY_SIZE(mxs_port))) { in ehci_hcd_stop()
144 printf("Invalid port index (index = %d)!\n", index); in ehci_hcd_stop()
148 port = &mxs_port[index]; in ehci_hcd_stop()
170 board_ehci_hcd_exit(index); in ehci_hcd_stop()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_console.c99 if (hp->index == index) { in hvc_get_by_index()
156 int r, donecr = 0, index = co->index; in hvc_console_print() local
177 r = cons_ops[index]->put_chars(vtermnos[index], c, i); in hvc_console_print()
194 hvc_console_flush(cons_ops[index], vtermnos[index]); in hvc_console_print()
202 *index = c->index; in hvc_console_device()
208 if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES) in hvc_console_setup()
223 .index = -1,
275 if (index == hvc_console.index) in hvc_check_console()
289 if (index < 0 || index >= MAX_NR_HVC_CONSOLES) in hvc_instantiate()
705 if (hp->index == hvc_console.index) { in __hvc_poll()
[all …]
/openbmc/u-boot/net/
H A Deth_common.c15 int eth_env_get_enetaddr_by_index(const char *base_name, int index, in eth_env_get_enetaddr_by_index() argument
19 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_get_enetaddr_by_index()
23 int eth_env_set_enetaddr_by_index(const char *base_name, int index, in eth_env_set_enetaddr_by_index() argument
27 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_set_enetaddr_by_index()
43 int eth_mac_skip(int index) in eth_mac_skip() argument
48 sprintf(enetvar, index ? "eth%dmacskip" : "ethmacskip", index); in eth_mac_skip()
/openbmc/linux/net/batman-adv/
H A Dhash.h81 u32 index; in batadv_hash_add() local
90 index = choose(data, hash->size); in batadv_hash_add()
91 head = &hash->table[index]; in batadv_hash_add()
92 list_lock = &hash->list_locks[index]; in batadv_hash_add()
134 u32 index; in batadv_hash_remove() local
139 index = choose(data, hash->size); in batadv_hash_remove()
140 head = &hash->table[index]; in batadv_hash_remove()
142 spin_lock_bh(&hash->list_locks[index]); in batadv_hash_remove()
152 spin_unlock_bh(&hash->list_locks[index]); in batadv_hash_remove()
/openbmc/linux/arch/mips/pci/
H A Dmsi-octeon.c70 int index; in arch_setup_msi_irq() local
124 for (index = 0; index < msi_irq_size/64; index++) { in arch_setup_msi_irq()
127 msi_free_irq_bitmask[index] |= search_mask << irq; in arch_setup_msi_irq()
148 irq += index*64; in arch_setup_msi_irq()
200 int index = 0; in arch_teardown_msi_irq() local
209 index = irq / 64; in arch_teardown_msi_irq()
219 (msi_multiple_irq_bitmask[index] in arch_teardown_msi_irq()
233 msi_free_irq_bitmask[index] &= ~bitmask; in arch_teardown_msi_irq()
234 msi_multiple_irq_bitmask[index] &= ~bitmask; in arch_teardown_msi_irq()
316 cvmx_write_csr(msi_rcv_reg[index], 1ull << bit); in __octeon_msi_do_interrupt()
[all …]
/openbmc/linux/Documentation/staging/
H A Dspeculation.rst24 int load_array(int *array, unsigned int index)
26 if (index >= MAX_ARRAY_ELEMS)
29 return array[index];
34 CMP <index>, #MAX_ARRAY_ELEMS
39 LDR <returnval>, [<array>, <index>]
43 speculatively loads array[index], even if index >= MAX_ARRAY_ELEMS. This
55 val1 = load_array(arr1, index);
78 A call to array_index_nospec(index, size) returns a sanitized index
86 if (index >= MAX_ARRAY_ELEMS)
89 index = array_index_nospec(index, MAX_ARRAY_ELEMS);
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_rmap_btree.h22 #define XFS_RMAP_REC_ADDR(block, index) \ argument
25 (((index) - 1) * sizeof(struct xfs_rmap_rec))))
27 #define XFS_RMAP_KEY_ADDR(block, index) \ argument
30 ((index) - 1) * 2 * sizeof(struct xfs_rmap_key)))
32 #define XFS_RMAP_HIGH_KEY_ADDR(block, index) \ argument
36 ((index) - 1) * 2 * sizeof(struct xfs_rmap_key)))
38 #define XFS_RMAP_PTR_ADDR(block, index, maxrecs) \ argument
42 ((index) - 1) * sizeof(xfs_rmap_ptr_t)))
/openbmc/linux/arch/s390/crypto/
H A Dsha_common.c20 unsigned int index, n; in s390_sha_update() local
23 index = ctx->count % bsize; in s390_sha_update()
26 if ((index + len) < bsize) in s390_sha_update()
30 if (index) { in s390_sha_update()
31 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update()
33 data += bsize - index; in s390_sha_update()
34 len -= bsize - index; in s390_sha_update()
35 index = 0; in s390_sha_update()
47 memcpy(ctx->buf + index , data, len); in s390_sha_update()
/openbmc/qemu/hw/vfio/
H A Dhelpers.c39 .index = index, in vfio_disable_irqindex()
52 .index = index, in vfio_unmask_single_irqindex()
65 .index = index, in vfio_mask_single_irqindex()
93 switch (index) { in index_to_str()
122 irq_set->index = index; in vfio_set_irq_signaling()
139 name = index_to_str(vbasedev, index); in vfio_set_irq_signaling()
347 int index, const char *name) in vfio_region_setup() argument
361 region->nr = index; in vfio_region_setup()
396 munmap(region->mmaps[index].mmap, region->mmaps[index].size); in vfio_subregion_unmap()
398 region->mmaps[index].mmap = NULL; in vfio_subregion_unmap()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dsca3300.c82 .scan_index = index, \
99 .scan_index = index, \
111 .scan_index = index, \
357 if ((index < 0) || (index >= sca_data->chip->num_avail_modes)) in sca3300_set_op_mode()
381 *index = i; in sca3300_get_op_mode()
388 unsigned int index; in sca3300_set_frequency() local
419 int index; in sca3300_write_raw() local
450 int index; in sca3300_read_raw() local
465 index = data->chip->incli_scale_map[index]; in sca3300_read_raw()
470 index = data->chip->accel_scale_map[index]; in sca3300_read_raw()
[all …]
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_pid.c49 st->index = 0; in wf_pid_run()
51 st->index = (st->index + 1) % hlen; in wf_pid_run()
52 st->samples[st->index] = new_sample; in wf_pid_run()
53 st->errors[st->index] = error; in wf_pid_run()
58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run()
62 deriv = st->errors[st->index] - in wf_pid_run()
63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run()
105 st->index = st->tindex = 0; in wf_cpu_pid_run()
107 st->index = (st->index + 1) % hlen; in wf_cpu_pid_run()
108 st->powers[st->index] = new_power; in wf_cpu_pid_run()
[all …]
/openbmc/linux/mm/
H A Dtruncate.c336 pgoff_t index; in truncate_inode_pages_range() local
362 index = start; in truncate_inode_pages_range()
363 while (index < end && find_lock_entries(mapping, &index, end - 1, in truncate_inode_pages_range()
382 end = folio->index; in truncate_inode_pages_range()
400 index = start; in truncate_inode_pages_range()
401 while (index < end) { in truncate_inode_pages_range()
406 if (index == start) in truncate_inode_pages_range()
409 index = start; in truncate_inode_pages_range()
623 pgoff_t index; in invalidate_inode_pages2_range() local
633 index = start; in invalidate_inode_pages2_range()
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disph3a_af.c36 int index; in h3a_af_setup_regs() local
76 for (index = 0; index <= 8; index += 2) { in h3a_af_setup_regs()
79 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs()
88 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs()
158 int index; in h3a_af_validate_params() local
199 for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { in h3a_af_validate_params()
232 int index; in h3a_af_set_params() local
261 for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { in h3a_af_set_params()
262 if (cur_cfg->iir.coeff_set0[index] != in h3a_af_set_params()
263 user_cfg->iir.coeff_set0[index]) { in h3a_af_set_params()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dirq.c235 int index = *(loff_t *) v; in show_interrupts() local
239 if (index == 0) { in show_interrupts()
245 if (index < NR_IRQS_BASE) { in show_interrupts()
253 if (index < nr_irqs) { in show_interrupts()
254 show_msi_interrupt(p, index); in show_interrupts()
257 for (index = 0; index < NR_ARCH_IRQS; index++) { in show_interrupts()
304 int index; in register_external_irq() local
311 index = ext_hash(code); in register_external_irq()
324 int index = ext_hash(code); in unregister_external_irq() local
343 int index; in do_ext_interrupt() local
[all …]

12345678910>>...392