Lines Matching defs:mbuf
1020 unsigned char mbuf[33], quintet[2];
1169 mbuf[j] <<= 0x01;
1170 mbuf[j] &= 0xfe;
1172 mbuf[j] |= 0x01;
1181 /* mbuf[32]=0;
1182 printk(" \n%x %x %x %s\n ",assignid_map,mbuf[0],mbuf[1],&mbuf[2]); */
1184 j = mbuf[0];
1189 k = mbuf[1];
1774 static unsigned char mbuf[512];
1877 mbuf[j++] = atp_readb_io(dev, c, 0x19);
1900 mbuf[36] = 0;
1901 printk(KERN_INFO " ID: %2d %s\n", i, &mbuf[8]);
1902 dev->id[c][i].devtype = mbuf[0];
1903 rmb = mbuf[1];
1904 n = mbuf[7];
1907 if ((mbuf[7] & 0x60) == 0) {
1998 mbuf[k++] = atp_readb_io(dev, c, 0x19);
2029 if (mbuf[0] != 0x01) {
2032 if (mbuf[1] != 0x06) {
2035 if (mbuf[2] != 0x04) {
2038 if (mbuf[3] == 0x09) {
2124 mbuf[k++] = atp_readb_io(dev, c, 0x19);
2156 if (mbuf[0] != 0x01) {
2159 if (mbuf[1] != 0x02) {
2162 if (mbuf[2] != 0x03) {
2165 if (mbuf[3] != 0x01) {
2292 mbuf[k++] = atp_readb_io(dev, c, 0x19);
2329 if (mbuf[0] != 0x01) {
2332 if (mbuf[1] != 0x03) {
2335 if (mbuf[4] == 0x00) {
2338 if (mbuf[3] > 0x64) {
2342 if (mbuf[4] > 0x0e) {
2343 mbuf[4] = 0x0e;
2346 if (mbuf[4] > 0x0c) {
2347 mbuf[4] = 0x0c;
2350 dev->id[c][i].devsp = mbuf[4];
2352 if (mbuf[3] < 0x0c) {
2356 if ((mbuf[3] < 0x0d) && (rmb == 0)) {
2360 if (mbuf[3] < 0x1a) {
2364 if (mbuf[3] < 0x33) {
2368 if (mbuf[3] < 0x4c) {