Home
last modified time | relevance | path

Searched refs:track (Results 1 – 25 of 40) sorted by relevance

12

/drivers/gpu/drm/radeon/
Dr200.c150 struct r100_cs_track *track; in r200_packet0_check() local
160 track = (struct r100_cs_track *)p->track; in r200_packet0_check()
188 track->zb.robj = reloc->robj; in r200_packet0_check()
189 track->zb.offset = idx_value; in r200_packet0_check()
190 track->zb_dirty = true; in r200_packet0_check()
201 track->cb[0].robj = reloc->robj; in r200_packet0_check()
202 track->cb[0].offset = idx_value; in r200_packet0_check()
203 track->cb_dirty = true; in r200_packet0_check()
231 track->textures[i].robj = reloc->robj; in r200_packet0_check()
232 track->tex_dirty = true; in r200_packet0_check()
[all …]
Dr600_cs.c300 static void r600_cs_track_init(struct r600_cs_track *track) in r600_cs_track_init() argument
305 track->sq_config = DX9_CONSTS; in r600_cs_track_init()
307 track->cb_color_base_last[i] = 0; in r600_cs_track_init()
308 track->cb_color_size[i] = 0; in r600_cs_track_init()
309 track->cb_color_size_idx[i] = 0; in r600_cs_track_init()
310 track->cb_color_info[i] = 0; in r600_cs_track_init()
311 track->cb_color_view[i] = 0xFFFFFFFF; in r600_cs_track_init()
312 track->cb_color_bo[i] = NULL; in r600_cs_track_init()
313 track->cb_color_bo_offset[i] = 0xFFFFFFFF; in r600_cs_track_init()
314 track->cb_color_bo_mc[i] = 0xFFFFFFFF; in r600_cs_track_init()
[all …]
Devergreen_cs.c118 static void evergreen_cs_track_init(struct evergreen_cs_track *track) in evergreen_cs_track_init() argument
123 track->cb_color_fmask_bo[i] = NULL; in evergreen_cs_track_init()
124 track->cb_color_cmask_bo[i] = NULL; in evergreen_cs_track_init()
125 track->cb_color_cmask_slice[i] = 0; in evergreen_cs_track_init()
126 track->cb_color_fmask_slice[i] = 0; in evergreen_cs_track_init()
130 track->cb_color_bo[i] = NULL; in evergreen_cs_track_init()
131 track->cb_color_bo_offset[i] = 0xFFFFFFFF; in evergreen_cs_track_init()
132 track->cb_color_info[i] = 0; in evergreen_cs_track_init()
133 track->cb_color_view[i] = 0xFFFFFFFF; in evergreen_cs_track_init()
134 track->cb_color_pitch[i] = 0; in evergreen_cs_track_init()
[all …]
Dr300.c636 struct r100_cs_track *track; in r300_packet0_check() local
644 track = (struct r100_cs_track *)p->track; in r300_packet0_check()
676 track->cb[i].robj = reloc->robj; in r300_packet0_check()
677 track->cb[i].offset = idx_value; in r300_packet0_check()
678 track->cb_dirty = true; in r300_packet0_check()
689 track->zb.robj = reloc->robj; in r300_packet0_check()
690 track->zb.offset = idx_value; in r300_packet0_check()
691 track->zb_dirty = true; in r300_packet0_check()
734 track->textures[i].robj = reloc->robj; in r300_packet0_check()
735 track->tex_dirty = true; in r300_packet0_check()
[all …]
Dr100.c1307 struct r100_cs_track *track; in r100_packet3_load_vbpntr() local
1313 track = (struct r100_cs_track *)p->track; in r100_packet3_load_vbpntr()
1321 track->num_arrays = c; in r100_packet3_load_vbpntr()
1333 track->arrays[i + 0].esize = idx_value >> 8; in r100_packet3_load_vbpntr()
1334 track->arrays[i + 0].robj = reloc->robj; in r100_packet3_load_vbpntr()
1335 track->arrays[i + 0].esize &= 0x7F; in r100_packet3_load_vbpntr()
1344 track->arrays[i + 1].robj = reloc->robj; in r100_packet3_load_vbpntr()
1345 track->arrays[i + 1].esize = idx_value >> 24; in r100_packet3_load_vbpntr()
1346 track->arrays[i + 1].esize &= 0x7F; in r100_packet3_load_vbpntr()
1358 track->arrays[i + 0].robj = reloc->robj; in r100_packet3_load_vbpntr()
[all …]
Dr100_track.h85 int r100_cs_track_check(struct radeon_device *rdev, struct r100_cs_track *track);
86 void r100_cs_track_clear(struct radeon_device *rdev, struct r100_cs_track *track);
/drivers/gpu/drm/i915/gvt/
Dpage_track.c53 struct intel_vgpu_page_track *track; in intel_vgpu_register_page_track() local
56 track = intel_vgpu_find_page_track(vgpu, gfn); in intel_vgpu_register_page_track()
57 if (track) in intel_vgpu_register_page_track()
60 track = kzalloc(sizeof(*track), GFP_KERNEL); in intel_vgpu_register_page_track()
61 if (!track) in intel_vgpu_register_page_track()
64 track->handler = handler; in intel_vgpu_register_page_track()
65 track->priv_data = priv; in intel_vgpu_register_page_track()
67 ret = radix_tree_insert(&vgpu->page_track_tree, gfn, track); in intel_vgpu_register_page_track()
69 kfree(track); in intel_vgpu_register_page_track()
85 struct intel_vgpu_page_track *track; in intel_vgpu_unregister_page_track() local
[all …]
Dgtt.c812 struct intel_vgpu_page_track *track; in intel_vgpu_find_spt_by_gfn() local
814 track = intel_vgpu_find_page_track(vgpu, gfn); in intel_vgpu_find_spt_by_gfn()
815 if (track && track->handler == ppgtt_write_protection_handler) in intel_vgpu_find_spt_by_gfn()
816 return track->priv_data; in intel_vgpu_find_spt_by_gfn()
/drivers/block/
Damiflop.c193 int track; /* current track (-1 == unknown) */ member
406 if (unit[drive].track % 2 != 0) in fd_select()
553 unit[drive].track = -1; in fd_calibrate()
558 unit[drive].track = 0; in fd_calibrate()
566 static int fd_seek(int drive, int track) in fd_seek() argument
572 printk("seeking drive %d to track %d\n",drive,track); in fd_seek()
576 if (unit[drive].track == track) { in fd_seek()
584 if (unit[drive].track < 0 && !fd_calibrate(drive)) { in fd_seek()
590 cnt = unit[drive].track/2 - track/2; in fd_seek()
593 if (track % 2 != 0) in fd_seek()
[all …]
Dataflop.c162 int track; /* to be formatted */ member
294 int track; /* current head position or -1 if member
364 #define IS_BUFFERED(drive,side,track) \ argument
365 (BufferDrive == (drive) && BufferSide == (side) && BufferTrack == (track))
535 FDC_WRITE( FDCREG_TRACK, UD.track ); in fd_select_drive()
716 SUD.track = -1; in fd_error()
767 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
786 *p++ = desc->track; in do_format()
803 ReqTrack = desc->track; in do_format()
859 if (UD.track == -1) in do_fd_action()
[all …]
Dswim.c31 unsigned char track; member
185 int track; member
424 static inline int swim_track(struct floppy_state *fs, int track) in swim_track() argument
429 ret = swim_seek(base, track - fs->track); in swim_track()
432 fs->track = track; in swim_track()
435 fs->track = 0; in swim_track()
456 int side, int track, in swim_read_sector() argument
465 swim_track(fs, track); in swim_read_sector()
485 if ((header.side != side) || (header.track != track) || in swim_read_sector()
498 int side, track, sector; in floppy_read_sectors() local
[all …]
Dfloppy.c849 (mode || drive_state[drive].track != NEED_1_RECAL)) in reset_fdc_info()
850 drive_state[drive].track = NEED_2_RECAL; in reset_fdc_info()
1462 drive_state[current_drive].track = NEED_2_RECAL; in interpret_errors()
1546 drive_state[current_drive].track = NEED_2_RECAL; in seek_interrupt()
1551 if (drive_state[current_drive].track >= 0 && in seek_interrupt()
1552 drive_state[current_drive].track != reply_buffer[ST1] && in seek_interrupt()
1563 drive_state[current_drive].track = reply_buffer[ST1]; in seek_interrupt()
1595 int track; in seek_floppy() local
1614 if (drive_state[current_drive].track <= NEED_1_RECAL) { in seek_floppy()
1619 …(drive_state[current_drive].track <= NO_TRACK || drive_state[current_drive].track == raw_cmd->trac… in seek_floppy()
[all …]
Dpktcdvd.c1520 static int pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information … in pkt_get_track_info() argument
1528 cgc.cmd[4] = (track & 0xff00) >> 8; in pkt_get_track_info()
1529 cgc.cmd[5] = track & 0xff; in pkt_get_track_info()
1757 int ret, track; in pkt_probe_settings() local
1779 track = 1; /* (di.last_track_msb << 8) | di.last_track_lsb; */ in pkt_probe_settings()
1780 ret = pkt_get_track_info(pd, track, 1, &ti); in pkt_probe_settings()
/drivers/of/unittest-data/
Doverlay.dts26 track@30 {
30 track@40 {
49 ride_200_left: track@10 {
53 ride_200_right: track@20 {
Doverlay_base.dts61 track@30 {
65 track@40 {
/drivers/cdrom/
Dgdrom.c298 static int get_entry_lba(int track) in get_entry_lba() argument
300 return (cpu_to_be32(track & 0xffffff00) - GD_SESSION_OFFSET); in get_entry_lba()
303 static int get_entry_q_ctrl(int track) in get_entry_q_ctrl() argument
305 return (track & 0x000000f0) >> 4; in get_entry_q_ctrl()
308 static int get_entry_track(int track) in get_entry_track() argument
310 return (track & 0x0000ff00) >> 8; in get_entry_track()
316 int fentry, lentry, track, data, err; in gdrom_get_last_session() local
335 track = get_entry_track(gd.toc->last); in gdrom_get_last_session()
337 data = gd.toc->entry[track - 1]; in gdrom_get_last_session()
340 track--; in gdrom_get_last_session()
[all …]
/drivers/ide/
Dide-cd_ioctl.c315 static int ide_cd_get_toc_entry(ide_drive_t *drive, int track, in ide_cd_get_toc_entry() argument
334 if (track == CDROM_LEADOUT) in ide_cd_get_toc_entry()
336 else if (track < toc->hdr.first_track || track > toc->hdr.last_track) in ide_cd_get_toc_entry()
339 *ent = &toc->ent[track - toc->hdr.first_track]; in ide_cd_get_toc_entry()
Dide-disk.c134 unsigned int sect, head, cyl, track; in __ide_do_rw_disk() local
136 track = (int)block / drive->sect; in __ide_do_rw_disk()
138 head = track % drive->head; in __ide_do_rw_disk()
139 cyl = track / drive->head; in __ide_do_rw_disk()
Dide-cd.h58 u8 track; member
Dide-cd.c1174 toc->ent[i].track = bcd2bin(toc->ent[i].track); in ide_cd_read_toc()
/drivers/acpi/
Dosl.c83 } track; member
256 map->track.refcount++; in acpi_os_get_iomem()
341 map->track.refcount++; in acpi_os_map_iomem()
364 map->track.refcount = 1; in acpi_os_map_iomem()
384 track.rwork); in acpi_os_map_remove()
393 if (--map->track.refcount) in acpi_os_drop_map_ref()
398 INIT_RCU_WORK(&map->track.rwork, acpi_os_map_remove); in acpi_os_drop_map_ref()
399 queue_rcu_work(system_wq, &map->track.rwork); in acpi_os_drop_map_ref()
/drivers/block/zram/
DKconfig35 With this feature, admin can track the state of allocated blocks
/drivers/ata/
Dlibata-scsi.c1454 u32 sect, head, cyl, track; in ata_scsi_verify_xlat() local
1460 track = (u32)block / dev->sectors; in ata_scsi_verify_xlat()
1461 cyl = track / dev->heads; in ata_scsi_verify_xlat()
1462 head = track % dev->heads; in ata_scsi_verify_xlat()
1466 (u32)block, track, cyl, head, sect); in ata_scsi_verify_xlat()
/drivers/gpu/drm/i915/
DKconfig.debug77 Enable additional logging that may help track down the cause of
/drivers/usb/gadget/
DKconfig60 trying to track down. Never enable these messages for a
74 trying to track down. Never enable these messages for a

12