Lines Matching refs:atio
366 static inline int fcpcmd_is_corrupted(struct atio *atio)
368 if (atio->entry_type == ATIO_TYPE7 &&
369 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) <
376 /* adjust corrupted atio so we won't trip over the same entry again. */
377 static inline void adjust_corrupted_atio(struct atio_from_isp *atio)
379 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN);
380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0;
383 static inline int get_datalen_for_atio(struct atio_from_isp *atio)
385 int len = atio->u.isp24.fcp_cmnd.add_cdb_len;
387 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]);
832 struct atio_from_isp atio;
912 struct atio_from_isp atio;
972 struct atio_from_isp atio;