• Home
  • Raw
  • Download

Lines Matching refs:uc

909 static void sym_exec_user_command (struct sym_hcb *np, struct sym_usrcmd *uc)  in sym_exec_user_command()  argument
914 switch (uc->cmd) { in sym_exec_user_command()
919 sym_debug_flags = uc->data; in sym_exec_user_command()
923 np->verbose = uc->data; in sym_exec_user_command()
932 if (!((uc->target >> t) & 1)) in sym_exec_user_command()
938 switch (uc->cmd) { in sym_exec_user_command()
941 if (!uc->data || uc->data >= 255) { in sym_exec_user_command()
945 } else if (uc->data <= 9 && np->minsync_dt) { in sym_exec_user_command()
946 if (uc->data < np->minsync_dt) in sym_exec_user_command()
947 uc->data = np->minsync_dt; in sym_exec_user_command()
951 tp->tgoal.period = uc->data; in sym_exec_user_command()
954 if (uc->data < np->minsync) in sym_exec_user_command()
955 uc->data = np->minsync; in sym_exec_user_command()
958 tp->tgoal.period = uc->data; in sym_exec_user_command()
964 tp->tgoal.width = uc->data ? 1 : 0; in sym_exec_user_command()
969 sym_tune_dev_queuing(tp, l, uc->data); in sym_exec_user_command()
985 tp->usrflags = uc->data; in sym_exec_user_command()
1040 struct sym_usrcmd cmd, *uc = &cmd; in sym_user_command() local
1044 memset(uc, 0, sizeof(*uc)); in sym_user_command()
1050 uc->cmd = UC_SETSYNC; in sym_user_command()
1052 uc->cmd = UC_SETTAGS; in sym_user_command()
1054 uc->cmd = UC_SETVERBOSE; in sym_user_command()
1056 uc->cmd = UC_SETWIDE; in sym_user_command()
1059 uc->cmd = UC_SETDEBUG; in sym_user_command()
1062 uc->cmd = UC_SETFLAG; in sym_user_command()
1064 uc->cmd = UC_RESETDEV; in sym_user_command()
1066 uc->cmd = UC_CLEARDEV; in sym_user_command()
1071 printk("sym_user_command: arg_len=%d, cmd=%ld\n", arg_len, uc->cmd); in sym_user_command()
1078 switch(uc->cmd) { in sym_user_command()
1088 uc->target = ~0; in sym_user_command()
1091 uc->target = (1<<target); in sym_user_command()
1099 switch(uc->cmd) { in sym_user_command()
1105 GET_INT_ARG(ptr, len, uc->data); in sym_user_command()
1107 printk("sym_user_command: data=%ld\n", uc->data); in sym_user_command()
1115 uc->data |= DEBUG_ALLOC; in sym_user_command()
1117 uc->data |= DEBUG_PHASE; in sym_user_command()
1119 uc->data |= DEBUG_QUEUE; in sym_user_command()
1121 uc->data |= DEBUG_RESULT; in sym_user_command()
1123 uc->data |= DEBUG_SCATTER; in sym_user_command()
1125 uc->data |= DEBUG_SCRIPT; in sym_user_command()
1127 uc->data |= DEBUG_TINY; in sym_user_command()
1129 uc->data |= DEBUG_TIMING; in sym_user_command()
1131 uc->data |= DEBUG_NEGO; in sym_user_command()
1133 uc->data |= DEBUG_TAGS; in sym_user_command()
1135 uc->data |= DEBUG_POINTER; in sym_user_command()
1141 printk("sym_user_command: data=%ld\n", uc->data); in sym_user_command()
1149 uc->data &= ~SYM_DISC_ENABLED; in sym_user_command()
1165 sym_exec_user_command(np, uc); in sym_user_command()