Lines Matching refs:ofs
1944 static void sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, argument
1965 sval = (sval & ~0x1f) | ofs;
1967 sval = (sval & ~0x3f) | ofs;
1972 if (ofs != 0) {
2105 u_char ofs, u_char per, u_char div, u_char fak) argument
2111 sym_settrans(np, target, 0, ofs, per, wide, div, fak);
2115 else if (ofs)
2120 spi_offset(starget) = ofs;
2125 tp->tgoal.offset = ofs;
2137 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, argument
2143 sym_settrans(np, target, opts, ofs, per, wide, div, fak);
2145 if (wide || ofs)
2151 spi_offset(starget) = tp->tgoal.offset = ofs;
3639 static int sym_evaluate_dp(struct sym_hcb *np, struct sym_ccb *cp, u32 scr, int *ofs) argument
3651 dp_ofs = *ofs;
3668 *ofs = dp_ofs;
3741 *ofs = dp_ofs;
3757 static void sym_modify_dp(struct sym_hcb *np, struct sym_tcb *tp, struct sym_ccb *cp, int ofs) argument
3759 int dp_ofs = ofs;
3961 u_char chg, ofs, per, fak, div; local
3972 ofs = np->msgin[4];
3977 if (ofs) {
3978 if (ofs > np->maxoffs)
3979 {chg = 1; ofs = np->maxoffs;}
3982 if (ofs) {
3991 if (ofs && sym_getsync(np, 0, per, &div, &fak) < 0)
3997 ofs, per, div, fak, chg);
4010 sym_setsync (np, target, ofs, per, div, fak);
4021 spi_populate_sync_msg(np->msgout, per, ofs);
4080 unsigned char ofs = np->msgin[5]; local
4103 if (ofs) {
4105 if (ofs > maxoffs) {
4107 ofs = maxoffs;
4111 if (ofs) {
4123 if (ofs && sym_getsync(np, dt, per, &div, &fak) < 0)
4136 sym_setpprot(np, target, opts, ofs, per, wide, div, fak);
4147 spi_populate_ppr_msg(np->msgout, per, ofs, wide, opts);
4165 tp->tgoal.offset = ofs;