/* SPDX-License-Identifier: GPL-2.0-only */ /* * QLogic iSCSI HBA Driver * Copyright (c) 2003-2013 QLogic Corporation */ /* * * qla4xxx_lookup_ddb_by_fw_index * This routine locates a device handle given the firmware device * database index. If device doesn't exist, returns NULL. * * Input: * ha - Pointer to host adapter structure. * fw_ddb_index - Firmware's device database index * * Returns: * Pointer to the corresponding internal device database structure */ static inline struct ddb_entry * qla4xxx_lookup_ddb_by_fw_index(struct scsi_qla_host *ha, uint32_t fw_ddb_index) { … } static inline void __qla4xxx_enable_intrs(struct scsi_qla_host *ha) { … } static inline void __qla4xxx_disable_intrs(struct scsi_qla_host *ha) { … } static inline void qla4xxx_enable_intrs(struct scsi_qla_host *ha) { … } static inline void qla4xxx_disable_intrs(struct scsi_qla_host *ha) { … } static inline int qla4xxx_get_chap_type(struct ql4_chap_table *chap_entry) { … }