Lines Matching refs:atio
366 static inline int fcpcmd_is_corrupted(struct atio *atio) in fcpcmd_is_corrupted() argument
368 if (atio->entry_type == ATIO_TYPE7 && in fcpcmd_is_corrupted()
369 ((le16_to_cpu(atio->attr_n_length) & FCP_CMD_LENGTH_MASK) < in fcpcmd_is_corrupted()
377 static inline void adjust_corrupted_atio(struct atio_from_isp *atio) in adjust_corrupted_atio() argument
379 atio->u.raw.attr_n_length = cpu_to_le16(FCP_CMD_LENGTH_MIN); in adjust_corrupted_atio()
380 atio->u.isp24.fcp_cmnd.add_cdb_len = 0; in adjust_corrupted_atio()
383 static inline int get_datalen_for_atio(struct atio_from_isp *atio) in get_datalen_for_atio() argument
385 int len = atio->u.isp24.fcp_cmnd.add_cdb_len; in get_datalen_for_atio()
387 return get_unaligned_be32(&atio->u.isp24.fcp_cmnd.add_cdb[len * 4]); in get_datalen_for_atio()
832 struct atio_from_isp atio; member
912 struct atio_from_isp atio; member
972 struct atio_from_isp atio; member