• 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/sym53c8xx_2/

Lines Matching defs:ofs

1917 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs,
1934 sval = (sval & ~0x1f) | ofs;
1936 sval = (sval & ~0x3f) | ofs;
1941 if (ofs != 0) {
2074 u_char ofs, u_char per, u_char div, u_char fak)
2080 sym_settrans(np, target, 0, ofs, per, wide, div, fak);
2084 else if (ofs)
2089 spi_offset(starget) = ofs;
2094 tp->tgoal.offset = ofs;
2106 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs,
2112 sym_settrans(np, target, opts, ofs, per, wide, div, fak);
2114 if (wide || ofs)
2120 spi_offset(starget) = tp->tgoal.offset = ofs;
3583 static int sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs)
3595 dp_ofs = *ofs;
3612 *ofs = dp_ofs;
3685 *ofs = dp_ofs;
3701 static void sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs)
3703 int dp_ofs = ofs;
3764 * ofs < 0 there, and for the next data phase, we
3905 u_char chg, ofs, per, fak, div;
3916 ofs = np->msgin[4];
3921 if (ofs) {
3922 if (ofs > np->maxoffs)
3923 {chg = 1; ofs = np->maxoffs;}
3926 if (ofs) {
3935 if (ofs && sym_getsync(np, 0, per, &div, &fak) < 0)
3940 "sdtr: ofs=%d per=%d div=%d fak=%d chg=%d.\n",
3941 ofs, per, div, fak, chg);
3954 sym_setsync (np, target, ofs, per, div, fak);
3965 spi_populate_sync_msg(np->msgout, per, ofs);
4024 unsigned char ofs = np->msgin[5];
4047 if (ofs) {
4049 if (ofs > maxoffs) {
4051 ofs = maxoffs;
4055 if (ofs) {
4067 if (ofs && sym_getsync(np, dt, per, &div, &fak) < 0)
4080 sym_setpprot(np, target, opts, ofs, per, wide, div, fak);
4091 spi_populate_ppr_msg(np->msgout, per, ofs, wide, opts);
4109 tp->tgoal.offset = ofs;