Lines Matching refs:cdb
677 unsigned char *cdb = srb->cmnd; in sd_scsi_read() local
681 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_read()
682 ((cdb[4] << 8) & 0x0000ff00) | ((cdb[5] << 0) & 0x000000ff); in sd_scsi_read()
683 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_read()
717 unsigned char *cdb = srb->cmnd; in sd_scsi_write() local
721 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in sd_scsi_write()
722 ((cdb[4] << 8) & 0x0000ff00) | ((cdb[5] << 0) & 0x000000ff); in sd_scsi_write()
723 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in sd_scsi_write()
1641 unsigned char *cdb = srb->cmnd; in ms_scsi_read() local
1645 u32 bn = ((cdb[2] << 24) & 0xff000000) | ((cdb[3] << 16) & 0x00ff0000) | in ms_scsi_read()
1646 ((cdb[4] << 8) & 0x0000ff00) | ((cdb[5] << 0) & 0x000000ff); in ms_scsi_read()
1647 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in ms_scsi_read()
1741 unsigned char *cdb = srb->cmnd; in ms_scsi_write() local
1744 u32 bn = ((cdb[2] << 24) & 0xff000000) | in ms_scsi_write()
1745 ((cdb[3] << 16) & 0x00ff0000) | in ms_scsi_write()
1746 ((cdb[4] << 8) & 0x0000ff00) | in ms_scsi_write()
1747 ((cdb[5] << 0) & 0x000000ff); in ms_scsi_write()
1748 u16 blen = ((cdb[7] << 8) & 0xff00) | ((cdb[8] << 0) & 0x00ff); in ms_scsi_write()