linux/drivers/scsi/aic94xx/aic94xx_dump.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-only */
   2/*
   3 * Aic94xx SAS/SATA driver dump header file.
   4 *
   5 * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
   6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
   7 */
   8
   9#ifndef _AIC94XX_DUMP_H_
  10#define _AIC94XX_DUMP_H_
  11
  12#ifdef ASD_DEBUG
  13
  14void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask);
  15void asd_dump_frame_rcvd(struct asd_phy *phy,
  16                         struct done_list_struct *dl);
  17#else /* ASD_DEBUG */
  18
  19static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha,
  20                                      u8 lseq_mask) { }
  21static inline void asd_dump_frame_rcvd(struct asd_phy *phy,
  22                                       struct done_list_struct *dl) { }
  23#endif /* ASD_DEBUG */
  24
  25#endif /* _AIC94XX_DUMP_H_ */
  26