• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/sym53c8xx_2/

Lines Matching defs:uc

1002 static void sym_exec_user_command (struct sym_hcb *np, struct sym_usrcmd *uc)
1007 switch (uc->cmd) {
1012 sym_debug_flags = uc->data;
1016 np->verbose = uc->data;
1025 if (!((uc->target >> t) & 1))
1029 switch (uc->cmd) {
1032 if (!uc->data || uc->data >= 255) {
1036 } else if (uc->data <= 9 && np->minsync_dt) {
1037 if (uc->data < np->minsync_dt)
1038 uc->data = np->minsync_dt;
1042 tp->tgoal.period = uc->data;
1045 if (uc->data < np->minsync)
1046 uc->data = np->minsync;
1049 tp->tgoal.period = uc->data;
1055 tp->tgoal.width = uc->data ? 1 : 0;
1060 sym_tune_dev_queuing(tp, l, uc->data);
1076 tp->usrflags = uc->data;
1130 struct sym_usrcmd cmd, *uc = &cmd;
1134 memset(uc, 0, sizeof(*uc));
1140 uc->cmd = UC_SETSYNC;
1142 uc->cmd = UC_SETTAGS;
1144 uc->cmd = UC_SETVERBOSE;
1146 uc->cmd = UC_SETWIDE;
1149 uc->cmd = UC_SETDEBUG;
1152 uc->cmd = UC_SETFLAG;
1154 uc->cmd = UC_RESETDEV;
1156 uc->cmd = UC_CLEARDEV;
1161 printk("sym_user_command: arg_len=%d, cmd=%ld\n", arg_len, uc->cmd);
1168 switch(uc->cmd) {
1178 uc->target = ~0;
1181 uc->target = (1<<target);
1189 switch(uc->cmd) {
1195 GET_INT_ARG(ptr, len, uc->data);
1197 printk("sym_user_command: data=%ld\n", uc->data);
1205 uc->data |= DEBUG_ALLOC;
1207 uc->data |= DEBUG_PHASE;
1209 uc->data |= DEBUG_QUEUE;
1211 uc->data |= DEBUG_RESULT;
1213 uc->data |= DEBUG_SCATTER;
1215 uc->data |= DEBUG_SCRIPT;
1217 uc->data |= DEBUG_TINY;
1219 uc->data |= DEBUG_TIMING;
1221 uc->data |= DEBUG_NEGO;
1223 uc->data |= DEBUG_TAGS;
1225 uc->data |= DEBUG_POINTER;
1231 printk("sym_user_command: data=%ld\n", uc->data);
1239 uc->data &= ~SYM_DISC_ENABLED;
1255 sym_exec_user_command (np, uc);