• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching defs:sata_port

726 	struct ipr_sata_port *sata_port = qc->ap->private_data;
729 sata_port->ioasa.status |= ATA_BUSY;
1039 res->sata_port = NULL;
4277 struct ipr_sata_port *sata_port;
4288 sata_port = kzalloc(sizeof(*sata_port), GFP_KERNEL);
4289 if (!sata_port)
4295 sata_port->ioa_cfg = ioa_cfg;
4296 sata_port->ap = ap;
4297 sata_port->res = res;
4299 res->sata_port = sata_port;
4300 ap->private_data = sata_port;
4301 starget->hostdata = sata_port;
4303 kfree(sata_port);
4322 struct ipr_sata_port *sata_port = starget->hostdata;
4335 if (sata_port) {
4337 ata_sas_port_destroy(sata_port->ap);
4338 kfree(sata_port);
4382 if (res->sata_port)
4383 res->sata_port->ap->link.device[0].class = ATA_DEV_NONE;
4386 res->sata_port = NULL;
4422 if (ipr_is_gata(res) && res->sata_port)
4423 ap = res->sata_port->ap;
4453 struct ipr_sata_port *sata_port = NULL;
4458 sata_port = sdev->sdev_target->hostdata;
4459 if (sata_port)
4460 rc = ata_sas_port_init(sata_port->ap);
4595 if (ipr_is_gata(res) && res->sata_port && ioasc != IPR_IOASC_IOA_WAS_RESET) {
4597 memcpy(&res->sata_port->ioasa, &ipr_cmd->s.ioasa64.u.gata,
4600 memcpy(&res->sata_port->ioasa, &ipr_cmd->s.ioasa.u.gata,
4621 struct ipr_sata_port *sata_port = link->ap->private_data;
4622 struct ipr_ioa_cfg *ioa_cfg = sata_port->ioa_cfg;
4635 res = sata_port->res;
4698 if (ipr_is_gata(res) && res->sata_port) {
4699 ap = res->sata_port->ap;
5692 if (ipr_is_gata(res) && res->sata_port)
5693 return ata_sas_queuecmd(scsi_cmd, done, res->sata_port->ap);
5759 return ata_sas_scsi_ioctl(res->sata_port->ap, sdev, cmd, arg);
5823 struct ipr_sata_port *sata_port = ap->private_data;
5824 struct ipr_resource_entry *res = sata_port->res;
5825 struct ipr_ioa_cfg *ioa_cfg = sata_port->ioa_cfg;
5864 struct ipr_sata_port *sata_port = qc->ap->private_data;
5865 struct ipr_ioa_cfg *ioa_cfg = sata_port->ioa_cfg;
5878 ipr_device_reset(ioa_cfg, sata_port->res);
5925 struct ipr_sata_port *sata_port = qc->ap->private_data;
5926 struct ipr_resource_entry *res = sata_port->res;
5930 memcpy(&sata_port->ioasa, &ipr_cmd->s.ioasa64.u.gata,
5933 memcpy(&sata_port->ioasa, &ipr_cmd->s.ioasa.u.gata,
5941 qc->err_mask |= __ac_err_mask(sata_port->ioasa.status);
5943 qc->err_mask |= ac_err_mask(sata_port->ioasa.status);
6049 struct ipr_sata_port *sata_port = ap->private_data;
6050 struct ipr_resource_entry *res = sata_port->res;
6051 struct ipr_ioa_cfg *ioa_cfg = sata_port->ioa_cfg;
6130 struct ipr_sata_port *sata_port = qc->ap->private_data;
6131 struct ipr_ioasa_gata *g = &sata_port->ioasa;