Lines Matching refs:bcs
1118 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap *) us->iobuf;
1201 if (usb_stor_access_xfer_buf((unsigned char *) bcs,
1205 bcs->Signature ==
1222 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
1232 bcs, US_BULK_CS_WRAP_LEN, &cswlen);
1241 bcs, US_BULK_CS_WRAP_LEN, NULL);
1251 residue = le32_to_cpu(bcs->Residue);
1253 le32_to_cpu(bcs->Signature), bcs->Tag,
1254 residue, bcs->Status);
1255 if (!(bcs->Tag == us->tag || (us->fflags & US_FL_BULK_IGNORE_TAG)) ||
1256 bcs->Status > US_BULK_STAT_PHASE) {
1267 us->bcs_signature = bcs->Signature;
1271 } else if (bcs->Signature != us->bcs_signature) {
1273 le32_to_cpu(bcs->Signature),
1289 if (bcs->Status == US_BULK_STAT_OK &&
1304 switch (bcs->Status) {