18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Aic94xx SAS/SATA driver dump header file. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2005 Adaptec, Inc. All rights reserved. 68c2ecf20Sopenharmony_ci * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com> 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef _AIC94XX_DUMP_H_ 108c2ecf20Sopenharmony_ci#define _AIC94XX_DUMP_H_ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifdef ASD_DEBUG 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_civoid asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask); 158c2ecf20Sopenharmony_civoid asd_dump_frame_rcvd(struct asd_phy *phy, 168c2ecf20Sopenharmony_ci struct done_list_struct *dl); 178c2ecf20Sopenharmony_ci#else /* ASD_DEBUG */ 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_cistatic inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha, 208c2ecf20Sopenharmony_ci u8 lseq_mask) { } 218c2ecf20Sopenharmony_cistatic inline void asd_dump_frame_rcvd(struct asd_phy *phy, 228c2ecf20Sopenharmony_ci struct done_list_struct *dl) { } 238c2ecf20Sopenharmony_ci#endif /* ASD_DEBUG */ 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif /* _AIC94XX_DUMP_H_ */ 26