Lines Matching refs:sbp2_lu
210 static void sbp2scsi_complete_all_commands(struct sbp2_lu *, u32);
211 static void sbp2scsi_complete_command(struct sbp2_lu *, u32, struct scsi_cmnd *,
213 static struct sbp2_lu *sbp2_alloc_device(struct unit_directory *);
214 static int sbp2_start_device(struct sbp2_lu *);
215 static void sbp2_remove_device(struct sbp2_lu *);
216 static int sbp2_login_device(struct sbp2_lu *);
217 static int sbp2_reconnect_device(struct sbp2_lu *);
218 static int sbp2_logout_device(struct sbp2_lu *);
222 static int sbp2_agent_reset(struct sbp2_lu *, int);
223 static void sbp2_parse_unit_directory(struct sbp2_lu *,
225 static int sbp2_set_busy_timeout(struct sbp2_lu *);
226 static int sbp2_max_speed_and_size(struct sbp2_lu *);
433 static int sbp2util_access_timeout(struct sbp2_lu *lu, int timeout)
471 static void sbp2util_notify_fetch_agent(struct sbp2_lu *lu, u64 offset,
491 struct sbp2_lu *lu = container_of(work, struct sbp2_lu, protocol_work);
502 struct sbp2_lu *lu = container_of(work, struct sbp2_lu, protocol_work);
507 static int sbp2util_create_command_orb_pool(struct sbp2_lu *lu)
546 static void sbp2util_remove_command_orb_pool(struct sbp2_lu *lu,
575 struct sbp2_lu *lu, dma_addr_t orb)
598 struct sbp2_lu *lu, void *SCpnt)
610 struct sbp2_lu *lu,
636 static void sbp2util_mark_command_completed(struct sbp2_lu *lu,
650 static inline int sbp2util_node_is_available(struct sbp2_lu *lu)
662 struct sbp2_lu *lu;
682 struct sbp2_lu *lu;
714 struct sbp2_lu *lu = dev_get_drvdata(&ud->device);
758 static struct sbp2_lu *sbp2_alloc_device(struct unit_directory *ud)
762 struct sbp2_lu *lu = NULL;
866 struct sbp2_lu *lu;
884 static int sbp2_start_device(struct sbp2_lu *lu)
963 static void sbp2_remove_device(struct sbp2_lu *lu)
1057 static int sbp2_query_logins(struct sbp2_lu *lu)
1129 static int sbp2_login_device(struct sbp2_lu *lu)
1204 static int sbp2_logout_device(struct sbp2_lu *lu)
1245 static int sbp2_reconnect_device(struct sbp2_lu *lu)
1304 static int sbp2_set_busy_timeout(struct sbp2_lu *lu)
1314 static void sbp2_parse_unit_directory(struct sbp2_lu *lu,
1412 static int sbp2_max_speed_and_size(struct sbp2_lu *lu)
1444 static int sbp2_agent_reset(struct sbp2_lu *lu, int wait)
1522 static int sbp2_create_command_orb(struct sbp2_lu *lu,
1582 static void sbp2_link_orb_command(struct sbp2_lu *lu,
1651 static int sbp2_send_command(struct sbp2_lu *lu, struct scsi_cmnd *SCpnt,
1699 struct sbp2_lu *lu = NULL, *lu_tmp;
1813 struct sbp2_lu *lu = (struct sbp2_lu *)SCpnt->device->host->hostdata[0];
1861 static void sbp2scsi_complete_all_commands(struct sbp2_lu *lu, u32 status)
1885 static void sbp2scsi_complete_command(struct sbp2_lu *lu, u32 scsi_status,
1941 struct sbp2_lu *lu = (struct sbp2_lu *)sdev->host->hostdata[0];
1959 struct sbp2_lu *lu = (struct sbp2_lu *)sdev->host->hostdata[0];
1983 ((struct sbp2_lu *)sdev->host->hostdata[0])->sdev = NULL;
1993 struct sbp2_lu *lu = (struct sbp2_lu *)SCpnt->device->host->hostdata[0];
2026 struct sbp2_lu *lu = (struct sbp2_lu *)SCpnt->device->host->hostdata[0];
2043 struct sbp2_lu *lu;
2048 if (!(lu = (struct sbp2_lu *)sdev->host->hostdata[0]))