Lines Matching refs:MSGI
176 * - change handling of MSGI after reselection
593 #define MSGI(i) (HOSTDATA(shpnt)->msgi[i])
595 #define ADDMSGI(x) (MSGILEN<256 ? (void)(MSGI(MSGILEN++)=x) : aha152x_error(shpnt,"MSGI overflow"))
1772 printk(INFO_LEAD "inbound message %02x ", CMDINFO(CURRENT_SC), MSGI(0));
1773 spi_print_msg(&MSGI(0));
1786 if(!(MSGI(0) & IDENTIFY_BASE)) {
1791 CURRENT_SC = remove_lun_SC(&DISCONNECTED_SC, RECONN_TARGET, MSGI(0) & 0x3f);
1795 printk(KERN_ERR "aha152x%d: no disconnected command for target %d/%d\n", HOSTNO, RECONN_TARGET, MSGI(0) & 0x3f);
1801 CURRENT_SC->SCp.Message = MSGI(0);
1810 CURRENT_SC->SCp.Message = MSGI(0);
1812 switch (MSGI(0)) {
1842 if(MSGILEN<2 || MSGILEN<MSGI(1)+2) {
1847 switch (MSGI(2)) {
1852 if (MSGI(1) != 3) {
1861 spi_print_msg(&MSGI(0));
1864 ticks = (MSGI(3) * 4 + 49) / 50;
1868 if (ticks > 9 || MSGI(4) < 1 || MSGI(4) > 8) {
1874 SYNCRATE |= ((ticks - 2) << 4) + MSGI(4);
1875 } else if (ticks <= 9 && MSGI(4) >= 1) {
1883 ADDMSGO(MSGI(3));
1885 if (MSGI(4) > 8)
1886 MSGI(4) = 8;
1888 ADDMSGO(MSGI(4));
1890 SYNCRATE |= ((ticks - 2) << 4) + MSGI(4);