Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 24 of 24) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dsvga_overlay.h142 uint32 *offsets) /* OUT (optional) */ in VMwareVideoGetAttributes() argument
148 if (offsets) { in VMwareVideoGetAttributes()
149 offsets[0] = 0; in VMwareVideoGetAttributes()
163 if (offsets) { in VMwareVideoGetAttributes()
164 offsets[1] = *size; in VMwareVideoGetAttributes()
176 if (offsets) { in VMwareVideoGetAttributes()
177 offsets[2] = *size; in VMwareVideoGetAttributes()
Dvmwgfx_resource.c716 const struct vmw_surface_offset *cur_offset = &srf->offsets[i]; in vmw_surface_dma_encode()
791 kfree(srf->offsets); in vmw_surface_res_free()
1147 kfree(srf->offsets); in vmw_user_surface_free()
1355 srf->offsets = kmalloc(srf->num_sizes * sizeof(*srf->offsets), in vmw_surface_define_ioctl()
1373 cur_offset = srf->offsets; in vmw_surface_define_ioctl()
1445 kfree(srf->offsets); in vmw_surface_define_ioctl()
Dvmwgfx_drv.h120 struct vmw_surface_offset *offsets; member
/drivers/mtd/tests/
Dmtd_stresstest.c45 static int *offsets; variable
175 offs = offsets[eb]; in do_write()
180 offs = offsets[eb] = 0; in do_write()
191 offsets[eb + 1] = 0; in do_write()
205 offsets[eb++] = mtd->erasesize; in do_write()
208 offsets[eb] = offs; in do_write()
298 offsets = kmalloc(ebcnt * sizeof(int), GFP_KERNEL); in mtd_stresstest_init()
299 if (!readbuf || !writebuf || !offsets) { in mtd_stresstest_init()
304 offsets[i] = mtd->erasesize; in mtd_stresstest_init()
326 kfree(offsets); in mtd_stresstest_init()
/drivers/staging/comedi/drivers/
Djr3_pci.c696 get_s16(&channel->offsets.fx), in jr3_pci_poll_subdevice()
697 get_s16(&channel->offsets.fy), in jr3_pci_poll_subdevice()
698 get_s16(&channel->offsets.fz), in jr3_pci_poll_subdevice()
699 get_s16(&channel->offsets.mx), in jr3_pci_poll_subdevice()
700 get_s16(&channel->offsets.my), in jr3_pci_poll_subdevice()
701 get_s16(&channel->offsets.mz)); in jr3_pci_poll_subdevice()
703 set_s16(&channel->offsets.fx, 0); in jr3_pci_poll_subdevice()
704 set_s16(&channel->offsets.fy, 0); in jr3_pci_poll_subdevice()
705 set_s16(&channel->offsets.fz, 0); in jr3_pci_poll_subdevice()
706 set_s16(&channel->offsets.mx, 0); in jr3_pci_poll_subdevice()
[all …]
Djr3_pci.h394 struct six_axis_array offsets; /* offset 0x0088 */ member
/drivers/net/wireless/bcmdhd/include/
Dtrxhdr.h63 uint32 offsets[TRX_MAX_OFFSET]; /* Offsets of partitions from start of header */ member
65 uint32 offsets[1]; /* Offsets of partitions from start of header */ member
/drivers/gpu/drm/nouveau/
Dnv17_tv_modes.c361 uint32_t offsets[] = { base, base + 0x1c, base + 0x40, base + 0x5c }; in tv_save_filter() local
365 regs[i][j] = nv_read_ptv(dev, offsets[i]+4*j); in tv_save_filter()
373 uint32_t offsets[] = { base, base + 0x1c, base + 0x40, base + 0x5c }; in tv_load_filter() local
377 nv_write_ptv(dev, offsets[i]+4*j, regs[i][j]); in tv_load_filter()
/drivers/gpu/drm/radeon/
Dmkregtable.c557 struct list_head offsets; member
578 list_add_tail(&offset->list, &t->offsets); in table_offset_add()
583 INIT_LIST_HEAD(&t->offsets); in table_init()
624 list_for_each_entry(offset, &t->offsets, list) { in table_build()
/drivers/staging/omapdrm/
Domap_fb.c377 if (size > (bos[i]->size - mode_cmd->offsets[i])) { in omap_framebuffer_init()
379 bos[i]->size - mode_cmd->offsets[i], size); in omap_framebuffer_init()
385 plane->offset = mode_cmd->offsets[i]; in omap_framebuffer_init()
/drivers/staging/android/
Dbinder.h144 const void *offsets; member
Dbinder.c1553 tr->data.ptr.buffer, tr->data.ptr.offsets, in binder_transaction()
1561 tr->data.ptr.buffer, tr->data.ptr.offsets, in binder_transaction()
1599 if (copy_from_user(offp, tr->data.ptr.offsets, tr->offsets_size)) { in binder_transaction()
2502 tr.data.ptr.offsets = tr.data.ptr.buffer + in binder_thread_read()
2524 tr.data.ptr.buffer, tr.data.ptr.offsets); in binder_thread_read()
/drivers/acpi/
Dbattery.c378 struct acpi_offsets *offsets, int num) in extract_package() argument
388 if (offsets[i].mode) { in extract_package()
389 u8 *ptr = (u8 *)battery + offsets[i].offset; in extract_package()
400 int *x = (int *)((u8 *)battery + offsets[i].offset); in extract_package()
/drivers/staging/iio/Documentation/
Ddevice.txt41 and for associate parameters such as offsets and scales.
Dsysfs-bus-iio212 is for devices (or drivers) that apply offsets to compensate
/drivers/gpu/drm/
Ddrm_crtc_helper.c867 fb->offsets[i] = mode_cmd->offsets[i]; in drm_helper_mode_fill_fb_struct()
/drivers/video/omap2/dss/
Ddsi.c2142 static const u8 offsets[] = { 0, 4, 8, 12, 16 }; in dsi_set_lane_config() local
2156 unsigned offset = offsets[i]; in dsi_set_lane_config()
2176 unsigned offset = offsets[i]; in dsi_set_lane_config()
2333 const u8 *offsets; in dsi_cio_wait_tx_clk_esc_reset() local
2336 offsets = offsets_old; in dsi_cio_wait_tx_clk_esc_reset()
2338 offsets = offsets_new; in dsi_cio_wait_tx_clk_esc_reset()
2352 if (!in_use[i] || (l & (1 << offsets[i]))) in dsi_cio_wait_tx_clk_esc_reset()
2361 if (!in_use[i] || (l & (1 << offsets[i]))) in dsi_cio_wait_tx_clk_esc_reset()
/drivers/net/wireless/ath/carl9170/
Dmain.c1815 __le32 offsets[RW]; in carl9170_read_eeprom() local
1828 offsets[j] = cpu_to_le32(AR9170_EEPROM_START + in carl9170_read_eeprom()
1832 RB, (u8 *) &offsets, in carl9170_read_eeprom()
/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c1192 __le32 offsets[TRX_MAX_OFFSET]; /* Offsets of partitions from start of member
1209 actual_len = le32_to_cpu(trx->offsets[TRX_OFFSETS_DLFWLEN_IDX]); in check_file()
/drivers/mtd/
DKconfig32 the offsets, lengths and names of all the images stored in the
/drivers/net/ethernet/sun/
Dcassini.c4374 const int offsets; /* neg. values for 2nd arg to cas_read_phy */ member
4408 if (ethtool_register_table[i].offsets < 0) { in cas_read_regs()
4410 -ethtool_register_table[i].offsets); in cas_read_regs()
4413 val= readl(cp->regs+ethtool_register_table[i].offsets); in cas_read_regs()
/drivers/scsi/aic7xxx/
Daic7xxx.reg1382 /* These offsets are either to values that are initialized by the board's
1579 * Kernel and sequencer offsets into the queue of
Daic79xx.reg3887 * Kernel and sequencer offsets into the queue of
4279 * BIOS SCB offsets
/drivers/scsi/aic7xxx_old/
Daic7xxx.reg1148 /* These offsets are either to values that are initialized by the board's