req_task 1705 drivers/block/mtip32xx/mtip32xx.c ide_task_request_t *req_task, req_task 1723 drivers/block/mtip32xx/mtip32xx.c int intotal = outtotal + req_task->out_size; req_task 1726 drivers/block/mtip32xx/mtip32xx.c taskout = req_task->out_size; req_task 1727 drivers/block/mtip32xx/mtip32xx.c taskin = req_task->in_size; req_task 1763 drivers/block/mtip32xx/mtip32xx.c switch (req_task->data_phase) { req_task 1784 drivers/block/mtip32xx/mtip32xx.c fis.command = req_task->io_ports[7]; req_task 1785 drivers/block/mtip32xx/mtip32xx.c fis.features = req_task->io_ports[1]; req_task 1786 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = req_task->io_ports[2]; req_task 1787 drivers/block/mtip32xx/mtip32xx.c fis.lba_low = req_task->io_ports[3]; req_task 1788 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid = req_task->io_ports[4]; req_task 1789 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi = req_task->io_ports[5]; req_task 1791 drivers/block/mtip32xx/mtip32xx.c fis.device = req_task->io_ports[6] & ~0x10; req_task 1793 drivers/block/mtip32xx/mtip32xx.c if ((req_task->in_flags.all == 0) && (req_task->out_flags.all & 1)) { req_task 1794 drivers/block/mtip32xx/mtip32xx.c req_task->in_flags.all = req_task 1797 drivers/block/mtip32xx/mtip32xx.c fis.lba_low_ex = req_task->hob_ports[3]; req_task 1798 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid_ex = req_task->hob_ports[4]; req_task 1799 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi_ex = req_task->hob_ports[5]; req_task 1800 drivers/block/mtip32xx/mtip32xx.c fis.features_ex = req_task->hob_ports[1]; req_task 1801 drivers/block/mtip32xx/mtip32xx.c fis.sect_cnt_ex = req_task->hob_ports[2]; req_task 1804 drivers/block/mtip32xx/mtip32xx.c req_task->in_flags.all = IDE_TASKFILE_STD_IN_FLAGS; req_task 1864 drivers/block/mtip32xx/mtip32xx.c if ((req_task->data_phase == TASKFILE_IN) && !(task_file_data & 1)) { req_task 1866 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[7] = reply->control; req_task 1869 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[7] = reply->command; req_task 1883 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[1] = reply->features; req_task 1884 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[2] = reply->sect_count; req_task 1885 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[3] = reply->lba_low; req_task 1886 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[4] = reply->lba_mid; req_task 1887 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[5] = reply->lba_hi; req_task 1888 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[6] = reply->device; req_task 1890 drivers/block/mtip32xx/mtip32xx.c if (req_task->out_flags.all & 1) { req_task 1892 drivers/block/mtip32xx/mtip32xx.c req_task->hob_ports[3] = reply->lba_low_ex; req_task 1893 drivers/block/mtip32xx/mtip32xx.c req_task->hob_ports[4] = reply->lba_mid_ex; req_task 1894 drivers/block/mtip32xx/mtip32xx.c req_task->hob_ports[5] = reply->lba_hi_ex; req_task 1895 drivers/block/mtip32xx/mtip32xx.c req_task->hob_ports[1] = reply->features_ex; req_task 1896 drivers/block/mtip32xx/mtip32xx.c req_task->hob_ports[2] = reply->sect_cnt_ex; req_task 1903 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[7], req_task 1904 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[1], req_task 1905 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[2], req_task 1906 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[3], req_task 1907 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[4], req_task 1908 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[5], req_task 1909 drivers/block/mtip32xx/mtip32xx.c req_task->io_ports[6]); req_task 2011 drivers/block/mtip32xx/mtip32xx.c ide_task_request_t req_task; req_task 2014 drivers/block/mtip32xx/mtip32xx.c if (copy_from_user(&req_task, (void __user *) arg, req_task 2015 drivers/block/mtip32xx/mtip32xx.c sizeof(req_task))) req_task 2018 drivers/block/mtip32xx/mtip32xx.c outtotal = sizeof(req_task); req_task 2021 drivers/block/mtip32xx/mtip32xx.c &req_task, outtotal); req_task 2023 drivers/block/mtip32xx/mtip32xx.c if (copy_to_user((void __user *) arg, &req_task, req_task 2024 drivers/block/mtip32xx/mtip32xx.c sizeof(req_task))) req_task 3260 drivers/block/mtip32xx/mtip32xx.c ide_task_request_t req_task; req_task 3269 drivers/block/mtip32xx/mtip32xx.c if (copy_from_user(&req_task, (void __user *) arg, req_task 3273 drivers/block/mtip32xx/mtip32xx.c if (get_user(req_task.out_size, &compat_req_task->out_size)) req_task 3276 drivers/block/mtip32xx/mtip32xx.c if (get_user(req_task.in_size, &compat_req_task->in_size)) req_task 3282 drivers/block/mtip32xx/mtip32xx.c &req_task, outtotal); req_task 3284 drivers/block/mtip32xx/mtip32xx.c if (copy_to_user((void __user *) arg, &req_task, req_task 3289 drivers/block/mtip32xx/mtip32xx.c if (put_user(req_task.out_size, &compat_req_task->out_size)) req_task 3292 drivers/block/mtip32xx/mtip32xx.c if (put_user(req_task.in_size, &compat_req_task->in_size)) req_task 466 drivers/ide/ide-taskfile.c ide_task_request_t *req_task; req_task 478 drivers/ide/ide-taskfile.c req_task = memdup_user(buf, tasksize); req_task 479 drivers/ide/ide-taskfile.c if (IS_ERR(req_task)) req_task 480 drivers/ide/ide-taskfile.c return PTR_ERR(req_task); req_task 482 drivers/ide/ide-taskfile.c taskout = req_task->out_size; req_task 483 drivers/ide/ide-taskfile.c taskin = req_task->in_size; req_task 518 drivers/ide/ide-taskfile.c memcpy(&cmd.hob, req_task->hob_ports, HDIO_DRIVE_HOB_HDR_SIZE - 2); req_task 519 drivers/ide/ide-taskfile.c memcpy(&cmd.tf, req_task->io_ports, HDIO_DRIVE_TASK_HDR_SIZE); req_task 530 drivers/ide/ide-taskfile.c if (req_task->out_flags.all) { req_task 533 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.data) req_task 536 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.nsector_hob) req_task 538 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.sector_hob) req_task 540 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.lcyl_hob) req_task 542 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.hcyl_hob) req_task 545 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.error_feature) req_task 547 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.nsector) req_task 549 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.sector) req_task 551 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.lcyl) req_task 553 drivers/ide/ide-taskfile.c if (req_task->out_flags.b.hcyl) req_task 561 drivers/ide/ide-taskfile.c if (req_task->in_flags.b.data) req_task 564 drivers/ide/ide-taskfile.c if (req_task->req_cmd == IDE_DRIVE_TASK_RAW_WRITE) { req_task 566 drivers/ide/ide-taskfile.c if (req_task->data_phase == TASKFILE_IN_DMAQ || req_task 567 drivers/ide/ide-taskfile.c req_task->data_phase == TASKFILE_IN_DMA) req_task 573 drivers/ide/ide-taskfile.c switch (req_task->data_phase) { req_task 619 drivers/ide/ide-taskfile.c if (req_task->req_cmd == IDE_DRIVE_TASK_NO_DATA) req_task 634 drivers/ide/ide-taskfile.c memcpy(req_task->hob_ports, &cmd.hob, HDIO_DRIVE_HOB_HDR_SIZE - 2); req_task 635 drivers/ide/ide-taskfile.c memcpy(req_task->io_ports, &cmd.tf, HDIO_DRIVE_TASK_HDR_SIZE); req_task 638 drivers/ide/ide-taskfile.c req_task->in_flags.all == 0) { req_task 639 drivers/ide/ide-taskfile.c req_task->in_flags.all = IDE_TASKFILE_STD_IN_FLAGS; req_task 641 drivers/ide/ide-taskfile.c req_task->in_flags.all |= (IDE_HOB_STD_IN_FLAGS << 8); req_task 644 drivers/ide/ide-taskfile.c if (copy_to_user(buf, req_task, tasksize)) { req_task 663 drivers/ide/ide-taskfile.c kfree(req_task);