Lines Matching refs:tbytes
1442 int tbytes = sas << sector_1k;
1447 tbytes = max(0, tbytes - (int)ctrl->max_oob);
1448 tbytes = min_t(int, tbytes, ctrl->max_oob);
1450 for (j = 0; j < tbytes; j++)
1452 return tbytes;
1465 int tbytes = sas << sector_1k;
1472 tbytes = max(0, tbytes - (int)ctrl->max_oob);
1473 tbytes = min_t(int, tbytes, ctrl->max_oob);
1476 * tbytes may not be multiple of words. Make sure we don't read out of
1479 for (j = 0; (j + 3) < tbytes; j += 4)
1487 while (j < tbytes)
1490 if (tbytes & 0x3)
1491 oob_reg_write(ctrl, (tbytes & ~0x3), (__force u32)cpu_to_be32(last));
1493 return tbytes;