dp_sg 3630 drivers/scsi/sym53c8xx_2/sym_hipd.c int dp_ofs, dp_sg, dp_sgmin; dp_sg 3667 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_sg = SYM_CONF_MAX_SG; dp_sg 3669 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_sg -= (tmp - 8 - (int)dp_scr) / (2*4); dp_sg 3686 drivers/scsi/sym53c8xx_2/sym_hipd.c while (dp_sg > dp_sgmin) { dp_sg 3687 drivers/scsi/sym53c8xx_2/sym_hipd.c --dp_sg; dp_sg 3688 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg].size); dp_sg 3691 drivers/scsi/sym53c8xx_2/sym_hipd.c ++dp_sg; dp_sg 3698 drivers/scsi/sym53c8xx_2/sym_hipd.c while (dp_sg < SYM_CONF_MAX_SG) { dp_sg 3699 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg].size); dp_sg 3701 drivers/scsi/sym53c8xx_2/sym_hipd.c ++dp_sg; dp_sg 3711 drivers/scsi/sym53c8xx_2/sym_hipd.c if (dp_sg < dp_sgmin || (dp_sg == dp_sgmin && dp_ofs < 0)) dp_sg 3713 drivers/scsi/sym53c8xx_2/sym_hipd.c else if (dp_sg > SYM_CONF_MAX_SG || dp_sg 3714 drivers/scsi/sym53c8xx_2/sym_hipd.c (dp_sg == SYM_CONF_MAX_SG && dp_ofs > 0)) dp_sg 3720 drivers/scsi/sym53c8xx_2/sym_hipd.c if (dp_sg > cp->ext_sg || dp_sg 3721 drivers/scsi/sym53c8xx_2/sym_hipd.c (dp_sg == cp->ext_sg && dp_ofs > cp->ext_ofs)) { dp_sg 3722 drivers/scsi/sym53c8xx_2/sym_hipd.c cp->ext_sg = dp_sg; dp_sg 3730 drivers/scsi/sym53c8xx_2/sym_hipd.c return dp_sg; dp_sg 3752 drivers/scsi/sym53c8xx_2/sym_hipd.c int dp_sg; dp_sg 3765 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_sg = sym_evaluate_dp(np, cp, dp_scr, &dp_ofs); dp_sg 3766 drivers/scsi/sym53c8xx_2/sym_hipd.c if (dp_sg < 0) dp_sg 3774 drivers/scsi/sym53c8xx_2/sym_hipd.c dp_ret = dp_ret - 8 - (SYM_CONF_MAX_SG - dp_sg) * (2*4); dp_sg 3814 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp = scr_to_cpu(cp->phys.data[dp_sg-1].addr); dp_sg 3815 drivers/scsi/sym53c8xx_2/sym_hipd.c tmp += scr_to_cpu(cp->phys.data[dp_sg-1].size) + dp_ofs; dp_sg 3846 drivers/scsi/sym53c8xx_2/sym_hipd.c int dp_sg, resid = 0; dp_sg 3894 drivers/scsi/sym53c8xx_2/sym_hipd.c for (dp_sg = cp->ext_sg; dp_sg < SYM_CONF_MAX_SG; ++dp_sg) { dp_sg 3895 drivers/scsi/sym53c8xx_2/sym_hipd.c u_int tmp = scr_to_cpu(cp->phys.data[dp_sg].size);