Lines Matching refs:aac_dev
358 int aac_get_config_status(struct aac_dev *dev, int commit_flag) in aac_get_config_status()
450 int aac_get_containers(struct aac_dev *dev) in aac_get_containers()
574 struct aac_dev * dev; in aac_get_container_name()
576 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in aac_get_container_name()
612 struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev; in aac_probe_container_callback2()
738 if ((fibptr = aac_fib_alloc((struct aac_dev *)scsicmd->device->host->hostdata))) { in _aac_probe_container()
776 struct fsa_dev_info *fsa_dev_ptr = ((struct aac_dev *)(scsicmd->device->host->hostdata))->fsa_dev; in _aac_probe_container()
806 int aac_probe_container(struct aac_dev *dev, int cid) in aac_probe_container()
896 static void setinqstr(struct aac_dev *dev, void *data, int tindex) in setinqstr()
959 struct aac_dev *dev, struct scsi_cmnd *scsicmd) in build_vpd83_type3()
997 struct aac_dev *dev; in get_container_serial_callback()
1001 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in get_container_serial_callback()
1109 struct aac_dev * dev; in aac_get_container_serial()
1111 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in aac_get_container_serial()
1153 static int setinqserial(struct aac_dev *dev, void *data, int cid) in setinqserial()
1189 static int aac_bounds_32(struct aac_dev * dev, struct scsi_cmnd * cmd, u64 lba) in aac_bounds_32()
1208 static int aac_bounds_64(struct aac_dev * dev, struct scsi_cmnd * cmd, u64 lba) in aac_bounds_64()
1217 struct aac_dev *dev = fib->dev; in aac_read_raw_io()
1312 struct aac_dev *dev = fib->dev; in aac_read_block()
1345 struct aac_dev *dev = fib->dev; in aac_write_raw_io()
1446 struct aac_dev *dev = fib->dev; in aac_write_block()
1484 struct aac_dev *dev = fib->dev; in aac_scsi_common()
1522 struct aac_dev *dev; in aac_construct_hbacmd()
1526 dev = (struct aac_dev *)cmd->device->host->hostdata; in aac_construct_hbacmd()
1637 struct aac_dev *dev; in aac_adapter_hba()
1640 dev = (struct aac_dev *)cmd->device->host->hostdata; in aac_adapter_hba()
1658 static int aac_send_safw_bmic_cmd(struct aac_dev *dev, in aac_send_safw_bmic_cmd()
1744 static void aac_set_safw_target_qd(struct aac_dev *dev, int bus, int target) in aac_set_safw_target_qd()
1766 static int aac_issue_safw_bmic_identify(struct aac_dev *dev, in aac_issue_safw_bmic_identify()
1801 static inline void aac_free_safw_ciss_luns(struct aac_dev *dev) in aac_free_safw_ciss_luns()
1814 static int aac_get_safw_ciss_luns(struct aac_dev *dev) in aac_get_safw_ciss_luns()
1855 static inline u32 aac_get_safw_phys_lun_count(struct aac_dev *dev) in aac_get_safw_phys_lun_count()
1860 static inline u32 aac_get_safw_phys_bus(struct aac_dev *dev, int lun) in aac_get_safw_phys_bus()
1865 static inline u32 aac_get_safw_phys_target(struct aac_dev *dev, int lun) in aac_get_safw_phys_target()
1870 static inline u32 aac_get_safw_phys_expose_flag(struct aac_dev *dev, int lun) in aac_get_safw_phys_expose_flag()
1875 static inline u32 aac_get_safw_phys_attribs(struct aac_dev *dev, int lun) in aac_get_safw_phys_attribs()
1880 static inline u32 aac_get_safw_phys_nexus(struct aac_dev *dev, int lun) in aac_get_safw_phys_nexus()
1885 static inline u32 aac_get_safw_phys_device_type(struct aac_dev *dev, int lun) in aac_get_safw_phys_device_type()
1890 static inline void aac_free_safw_identify_resp(struct aac_dev *dev, in aac_free_safw_identify_resp()
1897 static inline void aac_free_safw_all_identify_resp(struct aac_dev *dev, in aac_free_safw_all_identify_resp()
1920 static int aac_get_safw_attr_all_targets(struct aac_dev *dev) in aac_get_safw_attr_all_targets()
1958 static void aac_set_safw_attr_all_targets(struct aac_dev *dev) in aac_set_safw_attr_all_targets()
2001 static int aac_setup_safw_targets(struct aac_dev *dev) in aac_setup_safw_targets()
2026 int aac_setup_safw_adapter(struct aac_dev *dev) in aac_setup_safw_adapter()
2031 int aac_get_adapter_info(struct aac_dev* dev) in aac_get_adapter_info()
2312 struct aac_dev *dev; in io_callback()
2414 struct aac_dev *dev; in aac_read()
2418 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in aac_read()
2516 struct aac_dev *dev; in aac_write()
2520 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in aac_write()
2622 struct aac_dev *dev = fibptr->dev; in synchronize_callback()
2648 struct aac_dev *aac; in aac_synchronize()
2650 aac = (struct aac_dev *)sdev->host->hostdata; in aac_synchronize()
2715 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_start_stop()
2780 struct aac_dev *dev = (struct aac_dev *)host->hostdata; in aac_scsi_cmd()
3279 static int query_disk(struct aac_dev *dev, void __user *arg) in query_disk()
3320 static int force_delete_disk(struct aac_dev *dev, void __user *arg) in force_delete_disk()
3345 static int delete_disk(struct aac_dev *dev, void __user *arg) in delete_disk()
3374 int aac_dev_ioctl(struct aac_dev *dev, unsigned int cmd, void __user *arg) in aac_dev_ioctl()
3602 static void hba_resp_task_complete(struct aac_dev *dev, in hba_resp_task_complete()
3640 static void hba_resp_task_failure(struct aac_dev *dev, in hba_resp_task_failure()
3689 struct aac_dev *dev; in aac_hba_callback()
3753 struct aac_dev* dev; in aac_send_srb_fib()
3756 dev = (struct aac_dev *)scsicmd->device->host->hostdata; in aac_send_srb_fib()
3794 struct aac_dev *dev; in aac_send_hba_fib()