tag | line | file | source code |
sub | 338 | drivers/block/mcdx.c | struct cdrom_subchnl sub; |
sub | 342 | drivers/block/mcdx.c | if ((ans = verify_area(VERIFY_READ, (void*) arg, sizeof(sub)))) return ans; |
sub | 343 | drivers/block/mcdx.c | memcpy_fromfs(&sub, (void*) arg, sizeof(sub)); |
sub | 348 | drivers/block/mcdx.c | sub.cdsc_audiostatus = stuffp->audiostatus; |
sub | 349 | drivers/block/mcdx.c | sub.cdsc_adr = q.control; |
sub | 350 | drivers/block/mcdx.c | sub.cdsc_ctrl = q.control >> 4; |
sub | 351 | drivers/block/mcdx.c | sub.cdsc_trk = bcd2uint(q.tno); |
sub | 352 | drivers/block/mcdx.c | sub.cdsc_ind = bcd2uint(q.index); |
sub | 354 | drivers/block/mcdx.c | if (sub.cdsc_format == CDROM_LBA) { |
sub | 355 | drivers/block/mcdx.c | sub.cdsc_absaddr.lba = msf2log(&q.dt); |
sub | 356 | drivers/block/mcdx.c | sub.cdsc_reladdr.lba = msf2log(&q.tt); |
sub | 357 | drivers/block/mcdx.c | } else if (sub.cdsc_format == CDROM_MSF) { |
sub | 358 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.minute = bcd2uint(q.dt.minute); |
sub | 359 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.second = bcd2uint(q.dt.second); |
sub | 360 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.frame = bcd2uint(q.dt.frame); |
sub | 361 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.minute = bcd2uint(q.tt.minute); |
sub | 362 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.second = bcd2uint(q.tt.second); |
sub | 363 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.frame = bcd2uint(q.tt.frame); |
sub | 366 | drivers/block/mcdx.c | if ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof(sub)))) |
sub | 368 | drivers/block/mcdx.c | memcpy_tofs((void*) arg, &sub, sizeof(sub)); |
sub | 1382 | drivers/block/mcdx.c | mcdx_requestsubqcode(struct s_drive_stuff *stuffp, struct s_subqcode *sub, int tries) |
sub | 1387 | drivers/block/mcdx.c | sub->control = buf[1]; |
sub | 1388 | drivers/block/mcdx.c | sub->tno = buf[2]; |
sub | 1389 | drivers/block/mcdx.c | sub->index = buf[3]; |
sub | 1390 | drivers/block/mcdx.c | sub->tt.minute = buf[4]; |
sub | 1391 | drivers/block/mcdx.c | sub->tt.second = buf[5]; |
sub | 1392 | drivers/block/mcdx.c | sub->tt.frame = buf[6]; |
sub | 1393 | drivers/block/mcdx.c | sub->dt.minute = buf[8]; |
sub | 1394 | drivers/block/mcdx.c | sub->dt.second = buf[9]; |
sub | 1395 | drivers/block/mcdx.c | sub->dt.frame = buf[10]; |