Lines Matching defs:msg
281 static void exec_io(SymTarg *st, void *cmd, int cmdlen, void *msg, int msglen,
290 memcpy(st->priv->_sendmsg, msg, msglen);
796 static void negotiator(Symbios *s, SymTarg *targ, uchar *ident, uchar *msg)
806 msg[1] = 0x01; /* extended message */
807 msg[2] = 0x02; /* length */
808 msg[3] = 0x03; /* sync negotiate */
809 msg[4] = 0x01; /* 16 bit wide */
811 exec_io(targ, cmd, 6, msg, 5, NULL, 0, 0);
824 msg[1] = 0x01; /* extended message */
825 msg[2] = 0x03; /* length */
826 msg[3] = 0x01; /* sync negotiate */
827 msg[4] = s->syncinfo[0].period / 4; /* sync period / 4 */
828 msg[5] = s->maxoffset;
830 exec_io(targ, cmd, 6, msg, 6, NULL, 0, 0);
844 uchar msg[8];
862 msg[0] = 0xC0 | (ccb->cam_ch.cam_target_lun & 0x07);
876 exec_io(targ, cdb, ccb->cam_cdb_len, msg, 1,
879 exec_io(targ, cdb, ccb->cam_cdb_len, msg, 1,
906 exec_io(targ, command, 6, msg, 1,
922 negotiator(s, targ, ccb->cam_data_ptr, msg);