Lines Matching refs:scsi_qla_host
236 struct scsi_qla_host *ha; /* HA the SP is queued on */
272 struct scsi_qla_host *ha;
295 struct scsi_qla_host *ha;
306 int (*ddb_change)(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
427 int (*iospace_config) (struct scsi_qla_host *ha);
428 void (*pci_config) (struct scsi_qla_host *);
429 void (*disable_intrs) (struct scsi_qla_host *);
430 void (*enable_intrs) (struct scsi_qla_host *);
431 int (*start_firmware) (struct scsi_qla_host *);
432 int (*restart_firmware) (struct scsi_qla_host *);
434 void (*interrupt_service_routine) (struct scsi_qla_host *, uint32_t);
435 int (*need_reset) (struct scsi_qla_host *);
436 int (*reset_chip) (struct scsi_qla_host *);
437 int (*reset_firmware) (struct scsi_qla_host *);
438 void (*queue_iocb) (struct scsi_qla_host *);
439 void (*complete_iocb) (struct scsi_qla_host *);
440 uint16_t (*rd_shdw_req_q_out) (struct scsi_qla_host *);
441 uint16_t (*rd_shdw_rsp_q_in) (struct scsi_qla_host *);
442 int (*get_sys_info) (struct scsi_qla_host *);
443 uint32_t (*rd_reg_direct) (struct scsi_qla_host *, ulong);
444 void (*wr_reg_direct) (struct scsi_qla_host *, ulong, uint32_t);
445 int (*rd_reg_indirect) (struct scsi_qla_host *, uint32_t, uint32_t *);
446 int (*wr_reg_indirect) (struct scsi_qla_host *, uint32_t, uint32_t);
447 int (*idc_lock) (struct scsi_qla_host *); /* Context: task, can sleep */
448 void (*idc_unlock) (struct scsi_qla_host *);
449 void (*rom_lock_recovery) (struct scsi_qla_host *); /* Context: task, can sleep */
450 void (*queue_mailbox_command) (struct scsi_qla_host *, uint32_t *, int);
451 void (*process_mailbox_interrupt) (struct scsi_qla_host *, int);
557 struct scsi_qla_host { struct
833 struct scsi_qla_host *ha; argument
856 static inline int is_ipv4_enabled(struct scsi_qla_host *ha) in is_ipv4_enabled()
861 static inline int is_ipv6_enabled(struct scsi_qla_host *ha) in is_ipv6_enabled()
867 static inline int is_qla4010(struct scsi_qla_host *ha) in is_qla4010()
872 static inline int is_qla4022(struct scsi_qla_host *ha) in is_qla4022()
877 static inline int is_qla4032(struct scsi_qla_host *ha) in is_qla4032()
882 static inline int is_qla40XX(struct scsi_qla_host *ha) in is_qla40XX()
887 static inline int is_qla8022(struct scsi_qla_host *ha) in is_qla8022()
892 static inline int is_qla8032(struct scsi_qla_host *ha) in is_qla8032()
897 static inline int is_qla8042(struct scsi_qla_host *ha) in is_qla8042()
902 static inline int is_qla80XX(struct scsi_qla_host *ha) in is_qla80XX()
907 static inline int is_aer_supported(struct scsi_qla_host *ha) in is_aer_supported()
914 static inline int adapter_up(struct scsi_qla_host *ha) in adapter_up()
921 static inline struct scsi_qla_host* to_qla_host(struct Scsi_Host *shost) in to_qla_host()
923 return (struct scsi_qla_host *)iscsi_host_priv(shost); in to_qla_host()
926 static inline void __iomem* isp_semaphore(struct scsi_qla_host *ha) in isp_semaphore()
933 static inline void __iomem* isp_nvram(struct scsi_qla_host *ha) in isp_nvram()
940 static inline void __iomem* isp_ext_hw_conf(struct scsi_qla_host *ha) in isp_ext_hw_conf()
947 static inline void __iomem* isp_port_status(struct scsi_qla_host *ha) in isp_port_status()
954 static inline void __iomem* isp_port_ctrl(struct scsi_qla_host *ha) in isp_port_ctrl()
961 static inline void __iomem* isp_port_error_status(struct scsi_qla_host *ha) in isp_port_error_status()
968 static inline void __iomem * isp_gp_out(struct scsi_qla_host *ha) in isp_gp_out()
975 static inline int eeprom_ext_hw_conf_offset(struct scsi_qla_host *ha) in eeprom_ext_hw_conf_offset()
982 int ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits);
983 void ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask);
984 int ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits);
986 static inline int ql4xxx_lock_flash(struct scsi_qla_host *a) in ql4xxx_lock_flash()
997 static inline void ql4xxx_unlock_flash(struct scsi_qla_host *a) in ql4xxx_unlock_flash()
1005 static inline int ql4xxx_lock_nvram(struct scsi_qla_host *a) in ql4xxx_lock_nvram()
1016 static inline void ql4xxx_unlock_nvram(struct scsi_qla_host *a) in ql4xxx_unlock_nvram()
1024 static inline int ql4xxx_lock_drvr(struct scsi_qla_host *a) in ql4xxx_lock_drvr()
1035 static inline void ql4xxx_unlock_drvr(struct scsi_qla_host *a) in ql4xxx_unlock_drvr()
1043 static inline int ql4xxx_reset_active(struct scsi_qla_host *ha) in ql4xxx_reset_active()
1054 static inline int qla4_8xxx_rd_direct(struct scsi_qla_host *ha, in qla4_8xxx_rd_direct()
1060 static inline void qla4_8xxx_wr_direct(struct scsi_qla_host *ha, in qla4_8xxx_wr_direct()