Home
last modified time | relevance | path

Searched refs:cmdp (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/scsi/
Dgdth.c2432 register gdth_cmd_str *cmdp; in gdth_fill_cache_cmd() local
2438 cmdp = ha->pccb; in gdth_fill_cache_cmd()
2450 cmdp->Service = CACHESERVICE; in gdth_fill_cache_cmd()
2451 cmdp->RequestBuffer = scp; in gdth_fill_cache_cmd()
2464 cmdp->OpCode = cmndinfo->OpCode; /* special cache cmd. */ in gdth_fill_cache_cmd()
2466 cmdp->OpCode = GDT_RESERVE_DRV; in gdth_fill_cache_cmd()
2468 cmdp->OpCode = GDT_RELEASE_DRV; in gdth_fill_cache_cmd()
2471 cmdp->OpCode = GDT_MOUNT; in gdth_fill_cache_cmd()
2473 cmdp->OpCode = GDT_UNMOUNT; in gdth_fill_cache_cmd()
2475 cmdp->OpCode = GDT_FLUSH; in gdth_fill_cache_cmd()
[all …]
Daha1542.c187 static int aha1542_out(unsigned int base, unchar * cmdp, int len) in aha1542_out() argument
201 outb(*cmdp, DATA(base)); in aha1542_out()
210 outb(*cmdp++, DATA(base)); in aha1542_out()
226 static int __init aha1542_in(unsigned int base, unchar * cmdp, int len) in aha1542_in() argument
233 *cmdp++ = inb(DATA(base)); in aha1542_in()
247 static int __init aha1542_in1(unsigned int base, unchar * cmdp, int len) in aha1542_in1() argument
254 *cmdp++ = inb(DATA(base)); in aha1542_in1()
323 unchar *cmdp; in aha1542_test_port() local
359 cmdp = &inquiry_result[0]; in aha1542_test_port()
363 *cmdp++ = inb(DATA(bse)); in aha1542_test_port()
Dtmscsim.c444 dc390_cmd_scp_t* cmdp = ((dc390_cmd_scp_t*)(&pcmd->SCp)); in dc390_pci_map() local
451 cmdp->saved_dma_handle = sg_dma_address(pSRB->pSegmentList); in dc390_pci_map()
456 …DEBUG1(printk("%s(): Mapped sense buffer %p at %x\n", __func__, pcmd->sense_buffer, cmdp->saved_dm… in dc390_pci_map()
483 DEBUG1(dc390_cmd_scp_t* cmdp = ((dc390_cmd_scp_t*)(&pcmd->SCp))); in dc390_pci_unmap()
487 DEBUG1(printk("%s(): Unmapped sense buffer at %x\n", __func__, cmdp->saved_dma_handle)); in dc390_pci_unmap()
Datp870u.c51 unsigned char i, j, c, target_id, lun,cmdp; in atp870u_intr_handle() local
78 cmdp = inb(dev->ioport[c] + 0x10); in atp870u_intr_handle()
233 if (cmdp == 0x44 || i==0x80) { in atp870u_intr_handle()
240 if (cmdp == 0x41) { in atp870u_intr_handle()
Dsg.c694 if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) { in sg_new_write()
698 if (!access_ok(VERIFY_READ, hp->cmdp, hp->cmd_len)) { in sg_new_write()
702 if (__copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) { in sg_new_write()
Dpmcraid.c5246 struct pmcraid_cmd *cmdp = pinstance->cmd_list[i]; in pmcraid_init_buffers() local
5247 pmcraid_init_cmdblk(cmdp, i); in pmcraid_init_buffers()
5248 cmdp->drv_inst = pinstance; in pmcraid_init_buffers()
5249 list_add_tail(&cmdp->free_list, &pinstance->free_cmd_pool); in pmcraid_init_buffers()
/linux-3.4.99/include/scsi/
Dsg.h96 unsigned char __user *cmdp; /* [i], [*i] points to command to perform */ member
/linux-3.4.99/fs/
Dcompat_ioctl.c237 compat_uptr_t cmdp; /* [i], [*i] points to command to perform */ member
328 unsigned char __user *cmdp; in sg_ioctl_trans() local
331 if (get_user(data, &sgio32->cmdp)) in sg_ioctl_trans()
333 cmdp = compat_ptr(data); in sg_ioctl_trans()
339 if (put_user(cmdp, &sgio->cmdp) || in sg_ioctl_trans()
/linux-3.4.99/block/
Dscsi_ioctl.c226 if (copy_from_user(rq->cmd, hdr->cmdp, hdr->cmd_len)) in blk_fill_sghdr_rq()
651 hdr.cmdp = ((struct cdrom_generic_command __user*) arg)->cmd; in scsi_cmd_ioctl()