Lines Matching refs:CCB_PHYS
1573 #define CCB_PHYS(cp,lbl) (cp->p_ccb + offsetof(struct ccb, lbl)) macro
4331 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg)); in ncr_queue_command()
4338 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, cdb_buf[0])); in ncr_queue_command()
4403 cpu_to_scr(CCB_PHYS (cp, restart)); in ncr_start_next_ccb()
4421 np->scripth->tryloop [np->squeueput] = cpu_to_scr(CCB_PHYS (cp, start)); in ncr_put_start_queue()
5923 while (cp && (CCB_PHYS (cp, phys) != dsa)) in ncr_int_sto()
6145 if (CCB_PHYS(cp, phys) != dsa) in ncr_int_ma()
6149 while (cp && (CCB_PHYS (cp, phys) != dsa)) in ncr_int_ma()
6170 if (dsp == CCB_PHYS (cp, patch[2])) { in ncr_int_ma()
6174 else if (dsp == CCB_PHYS (cp, patch[6])) { in ncr_int_ma()
6267 newtmp = CCB_PHYS (cp, patch); in ncr_int_ma()
6270 newtmp = CCB_PHYS (cp, patch[4]); in ncr_int_ma()
6448 cp->phys.smsg.addr = cpu_to_scr(CCB_PHYS (cp, scsi_smsg2)); in ncr_sir_to_redo()
6454 cp->phys.cmd.addr = cpu_to_scr(CCB_PHYS (cp, sensecmd)); in ncr_sir_to_redo()
6468 cp->phys.sense.addr = cpu_to_scr(CCB_PHYS(cp,sense_buf[0])); in ncr_sir_to_redo()
6570 if (!cp || CCB_PHYS (cp, phys) != dsa) in ncr_int_sir()
6579 while (cp && (CCB_PHYS (cp, phys) != dsa)) in ncr_int_sir()
7164 cp->start.setup_dsa[1] = cpu_to_scr(CCB_PHYS(cp, start.p_phys)); in ncr_init_ccb()
7167 cp->start.p_phys = cpu_to_scr(CCB_PHYS(cp, phys)); in ncr_init_ccb()