Go to the source code of this file.
|
bfa_status_t | bfad_im_module_init (void) |
|
void | bfad_im_module_exit (void) |
|
bfa_status_t | bfad_im_probe (struct bfad_s *bfad) |
|
void | bfad_im_probe_undo (struct bfad_s *bfad) |
|
bfa_status_t | bfad_im_port_new (struct bfad_s *bfad, struct bfad_port_s *port) |
|
void | bfad_im_port_delete (struct bfad_s *bfad, struct bfad_port_s *port) |
|
void | bfad_im_port_clean (struct bfad_im_port_s *im_port) |
|
int | bfad_im_scsi_host_alloc (struct bfad_s *bfad, struct bfad_im_port_s *im_port, struct device *dev) |
|
void | bfad_im_scsi_host_free (struct bfad_s *bfad, struct bfad_im_port_s *im_port) |
|
u32 | bfad_im_supported_speeds (struct bfa_s *bfa) |
|
struct Scsi_Host * | bfad_scsi_host_alloc (struct bfad_im_port_s *im_port, struct bfad_s *) |
|
bfa_status_t | bfad_thread_workq (struct bfad_s *bfad) |
|
void | bfad_destroy_workq (struct bfad_im_s *im) |
|
void | bfad_fc_host_init (struct bfad_im_port_s *im_port) |
|
void | bfad_scsi_host_free (struct bfad_s *bfad, struct bfad_im_port_s *im_port) |
|
void | bfad_ramp_up_qdepth (struct bfad_itnim_s *itnim, struct scsi_device *sdev) |
|
void | bfad_handle_qfull (struct bfad_itnim_s *itnim, struct scsi_device *sdev) |
|
struct bfad_itnim_s * | bfad_get_itnim (struct bfad_im_port_s *im_port, int id) |
|
irqreturn_t | bfad_intx (int irq, void *dev_id) |
|
int | bfad_im_bsg_request (struct fc_bsg_job *job) |
|
int | bfad_im_bsg_timeout (struct fc_bsg_job *job) |
|
#define BFA_QUEUE_FULL_RAMP_UP_TIME 120 |
#define bfad_get_aen_entry |
( |
|
_drv, |
|
|
|
_entry |
|
) |
| |
Value:do { \
unsigned long _flags; \
spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
bfa_q_deq(&(_drv)->free_aen_q, &(
_entry)); \
list_add_tail(&(
_entry)->qe, &(_drv)->active_aen_q); \
spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
} while (0)
Definition at line 123 of file bfad_im.h.
#define bfad_im_post_vendor_event |
( |
|
_entry, |
|
|
|
_drv, |
|
|
|
_cnt, |
|
|
|
_cat, |
|
|
|
_evt |
|
) |
| |
Value:do { \
do_gettimeofday(&(
_entry)->aen_tv); \
(
_entry)->bfad_num = (_drv)->inst_no; \
(
_entry)->aen_category = (_cat); \
(
_entry)->aen_type = (_evt); \
queue_work((_drv)->im->drv_workq, \
&(_drv)->im->aen_im_notify_work); \
} while (0)
Definition at line 133 of file bfad_im.h.
#define BFAD_LUN_RESET_TMO 60 |
#define bfad_reset_sdev_bflags |
( |
|
__im_port, |
|
|
|
__lunmask_cfg |
|
) |
| |
Value:
list_for_each_entry(__itnim, &((__im_port)->itnim_mapped_list), \
__itnim->channel, \
__itnim->scsi_tgt_id, 0); \
if (__sdev) { \
__sdev->sdev_bflags |= scan_flags; \
else \
__sdev->sdev_bflags &= ~scan_flags; \
scsi_device_put(__sdev); \
} \
} \
} while (0)
Definition at line 178 of file bfad_im.h.
#define BFAD_TARGET_RESET_TMO 60 |
#define FCPI_NAME " fcpim" |
#define MAX_FCP_LUN 16384 |
#define MAX_FCP_TARGET 1024 |
#define ScsiResult |
( |
|
host_code, |
|
|
|
scsi_code |
|
) |
| (((host_code) << 16) | scsi_code) |
- Enumerator:
FCP_PWWN_BINDING |
|
FCP_NWWN_BINDING |
|
FCP_FCID_BINDING |
|
Definition at line 101 of file bfad_im.h.
- Enumerator:
ITNIM_STATE_NONE |
|
ITNIM_STATE_ONLINE |
|
ITNIM_STATE_OFFLINE_PENDING |
|
ITNIM_STATE_OFFLINE |
|
ITNIM_STATE_TIMEOUT |
|
ITNIM_STATE_FREE |
|
Definition at line 71 of file bfad_im.h.