Lines Matching refs:workarounds
133 * If any of the following workarounds is required for your device to work,
154 * Instead of adding to the built-in blacklist, use only the workarounds
159 module_param_named(workarounds, sbp2_default_workarounds, int, 0644);
160 MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0"
317 unsigned workarounds;
322 .workarounds = SBP2_WORKAROUND_INQUIRY_36 |
328 .workarounds = SBP2_WORKAROUND_INQUIRY_36,
333 .workarounds = SBP2_WORKAROUND_128K_MAX_TRANS,
338 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
343 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
348 .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
1250 unsigned workarounds;
1282 workarounds = sbp2_default_workarounds;
1284 if (!(workarounds & SBP2_WORKAROUND_OVERRIDE))
1295 workarounds |= sbp2_workarounds_table[i].workarounds;
1299 if (workarounds)
1304 workarounds, firmware_revision,
1310 if (workarounds & SBP2_WORKAROUND_128K_MAX_TRANS &&
1326 lu->workarounds = workarounds;
1983 if (lu->workarounds & SBP2_WORKAROUND_INQUIRY_36)
1997 lu->workarounds & SBP2_WORKAROUND_MODE_SENSE_8)
1999 if (lu->workarounds & SBP2_WORKAROUND_FIX_CAPACITY)