Home
last modified time | relevance | path

Searched refs:fas_cmd (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/sun/sys/scsi/adapters/
H A Dfascmd.h59 #define PKT2CMD(pkt) ((struct fas_cmd *)(pkt)->pkt_ha_private)
62 #define EXTCMD_SIZE (sizeof (struct fas_cmd) + scsi_pkt_size())
65 struct fas_cmd { struct
67 struct fas_cmd *cmd_forw; /* ready fifo que link */ argument
100 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", fas_cmd)) argument
107 struct fas_cmd *arq_save_sp;
H A Dfasvar.h75 struct fas_cmd *f_slot[1]; /* may be for 256 for TQ */
79 (sizeof (struct fas_cmd *) * (NTAGS -1)))
364 struct fas_cmd *f_current_sp; /* currently active cmd */
367 struct fas_cmd *f_readyf[N_SLOTS]; /* waiting cmds */
368 struct fas_cmd *f_readyb[N_SLOTS];
403 struct fas_cmd *f_arq_pkt[N_SLOTS];
408 struct fas_cmd *f_c_qf;
409 struct fas_cmd *f_c_qb;
417 struct fas_cmd *f_waitf;
418 struct fas_cmd *f_waitb;
H A Dfasreg.h59 uint8_t fas_cmd; /* RW: command register */ member
/titanic_44/usr/src/uts/sun/io/scsi/adapters/
H A Dfas_callbacks.c47 register struct fas_cmd *sp);
70 register struct fas_cmd *sp; in fas_empty_callbackQ()
88 register struct fas_cmd *qf = fas->f_c_qf; in fas_empty_callbackQ()
122 fas_call_pkt_comp(register struct fas *fas, register struct fas_cmd *sp) in fas_call_pkt_comp()
166 register struct fas_cmd *dp = fas->f_c_qb; in fas_call_pkt_comp()
H A Dfas.c198 static int fas_prepare_pkt(struct fas *fas, struct fas_cmd *sp);
199 static int fas_alloc_tag(struct fas *fas, struct fas_cmd *sp);
200 static int fas_accept_pkt(struct fas *fas, struct fas_cmd *sp, int flag);
206 static int fas_startcmd(struct fas *fas, struct fas_cmd *sp);
208 static int fas_pkt_alloc_extern(struct fas *fas, struct fas_cmd *sp,
210 static void fas_pkt_destroy_extern(struct fas *fas, struct fas_cmd *sp);
215 static void fas_handle_qfull(struct fas *fas, struct fas_cmd *sp);
218 static void fas_runpoll(struct fas *fas, short slot, struct fas_cmd *sp);
242 static void fas_head_of_readyQ(struct fas *fas, struct fas_cmd *sp);
259 static void fas_sync_wide_backoff(struct fas *fas, struct fas_cmd *sp,
[all …]