Lines Matching refs:pccb
341 static void usb_show_srb(struct scsi_cmd *pccb) in usb_show_srb() argument
344 printf("SRB: len %d datalen 0x%lX\n ", pccb->cmdlen, pccb->datalen); in usb_show_srb()
346 printf("%02X ", pccb->cmd[i]); in usb_show_srb()
1423 struct scsi_cmd *pccb = &usb_ccb; in usb_stor_get_info() local
1425 pccb->pdata = usb_stor_buf; in usb_stor_get_info()
1428 pccb->lun = dev_desc->lun; in usb_stor_get_info()
1431 if (usb_inquiry(pccb, ss)) { in usb_stor_get_info()
1463 if (usb_test_unit_ready(pccb, ss)) { in usb_stor_get_info()
1466 pccb->sense_buf[2], pccb->sense_buf[12], in usb_stor_get_info()
1467 pccb->sense_buf[13]); in usb_stor_get_info()
1472 pccb->pdata = (unsigned char *)cap; in usb_stor_get_info()
1473 memset(pccb->pdata, 0, 8); in usb_stor_get_info()
1474 if (usb_read_capacity(pccb, ss) != 0) { in usb_stor_get_info()