Lines Matching defs:phys

1335 	ncrcmd		setup_dsa[3];	/* Copy 'phys' address to dsa	*/
1337 ncrcmd p_phys; /* 'phys' header bus address */
1428 #define actualquirks phys.header.status[3]
1429 #define host_status phys.header.status[2]
1430 #define scsi_status phys.header.status[1]
1431 #define parity_status phys.header.status[0]
1433 #define actualquirks phys.header.status[0]
1434 #define host_status phys.header.status[1]
1435 #define scsi_status phys.header.status[2]
1436 #define parity_status phys.header.status[3]
1450 #define xerr_status phys.xerr_st
1451 #define nego_status phys.nego_st
1454 #define sync_status phys.sync_st
1455 #define wide_status phys.wide_st
1508 struct dsb phys;
1512 ** Load the DSA with the data structure address (phys) and
1520 ** Load the DSA with the data structure address (phys) and
4297 cp->phys.header.wgoalp = cpu_to_scr(goalp);
4298 cp->phys.header.wlastp = cpu_to_scr(lastp);
4319 cp->phys.header.lastp = cpu_to_scr(lastp);
4320 cp->phys.header.goalp = cpu_to_scr(goalp);
4323 cp->phys.header.savep =
4326 cp->phys.header.savep= cpu_to_scr(lastp);
4332 cp->startp = cp->phys.header.savep;
4353 cp->phys.select.sel_id = sdev_id(sdev);
4354 cp->phys.select.sel_scntl3 = tp->wval;
4355 cp->phys.select.sel_sxfer = tp->sval;
4359 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg));
4360 cp->phys.smsg.size = cpu_to_scr(msglen);
4366 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, cdb_buf[0]));
4367 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len);
4923 /* if (cp->phys.header.lastp != cp->phys.header.goalp) */
5509 cp->phys.select.sel_scntl3 = tp->wval;
5510 cp->phys.select.sel_sxfer = tp->sval;
6089 while (cp && (CCB_PHYS (cp, phys) != dsa))
6311 if (CCB_PHYS(cp, phys) != dsa)
6315 while (cp && (CCB_PHYS (cp, phys) != dsa))
6377 tblp = (u32 *) ((char*) &cp->phys + oadr);
6434 if (newtmp == scr_to_cpu(cp->phys.header.savep)) {
6589 cp->phys.header.savep = cp->startp;
6614 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg2));
6615 cp->phys.smsg.size = cpu_to_scr(1);
6620 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, sensecmd));
6621 cp->phys.cmd.size = cpu_to_scr(6);
6634 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0]));
6635 cp->phys.sense.size = cpu_to_scr(sizeof(cp->sense_buf));
6642 cp->phys.header.savep = startp;
6643 cp->phys.header.goalp = startp + 24;
6644 cp->phys.header.lastp = startp;
6645 cp->phys.header.wgoalp = startp + 24;
6646 cp->phys.header.wlastp = startp;
6736 if (!cp || CCB_PHYS (cp, phys) != dsa)
6745 while (cp && (CCB_PHYS (cp, phys) != dsa))
6793 ** to this target, in the controller's register, and in the "phys"
7316 cp->phys.header.cp = cp;
7333 cp->start.p_phys = cpu_to_scr(CCB_PHYS(cp, phys));
7656 data = &cp->phys.data[MAX_SCATTER - use_sg];