Lines Matching defs:atio
361 static inline int fcpcmd_is_corrupted(struct atio *atio)
363 if (atio->entry_type == ATIO_TYPE7 &&
364 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) <
371 /* adjust corrupted atio so we won't trip over the same entry again. */
372 static inline void adjust_corrupted_atio(struct atio_from_isp *atio)
374 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN);
375 atio->u.isp24.fcp_cmnd.add_cdb_len = 0;
378 static inline int get_datalen_for_atio(struct atio_from_isp *atio)
380 int len = atio->u.isp24.fcp_cmnd.add_cdb_len;
382 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]);
821 struct atio_from_isp atio;
900 struct atio_from_isp atio;
961 struct atio_from_isp atio;