Lines Matching defs:mbuf
972 unsigned char mbuf[33], quintet[2];
1121 mbuf[j] <<= 0x01;
1122 mbuf[j] &= 0xfe;
1124 mbuf[j] |= 0x01;
1133 /* mbuf[32]=0;
1134 printk(" \n%x %x %x %s\n ",assignid_map,mbuf[0],mbuf[1],&mbuf[2]); */
1136 j = mbuf[0];
1141 k = mbuf[1];
1716 static unsigned char mbuf[512];
1819 mbuf[j++] = atp_readb_io(dev, c, 0x19);
1842 mbuf[36] = 0;
1843 printk(KERN_INFO " ID: %2d %s\n", i, &mbuf[8]);
1844 dev->id[c][i].devtype = mbuf[0];
1845 rmb = mbuf[1];
1846 n = mbuf[7];
1849 if ((mbuf[7] & 0x60) == 0) {
1940 mbuf[k++] = atp_readb_io(dev, c, 0x19);
1971 if (mbuf[0] != 0x01) {
1974 if (mbuf[1] != 0x06) {
1977 if (mbuf[2] != 0x04) {
1980 if (mbuf[3] == 0x09) {
2064 mbuf[k++] = atp_readb_io(dev, c, 0x19);
2096 if (mbuf[0] != 0x01) {
2099 if (mbuf[1] != 0x02) {
2102 if (mbuf[2] != 0x03) {
2105 if (mbuf[3] != 0x01) {
2229 mbuf[k++] = atp_readb_io(dev, c, 0x19);
2266 if (mbuf[0] != 0x01) {
2269 if (mbuf[1] != 0x03) {
2272 if (mbuf[4] == 0x00) {
2275 if (mbuf[3] > 0x64) {
2279 if (mbuf[4] > 0x0e) {
2280 mbuf[4] = 0x0e;
2283 if (mbuf[4] > 0x0c) {
2284 mbuf[4] = 0x0c;
2287 dev->id[c][i].devsp = mbuf[4];
2289 if (mbuf[3] < 0x0c) {
2293 if ((mbuf[3] < 0x0d) && (rmb == 0)) {
2297 if (mbuf[3] < 0x1a) {
2301 if (mbuf[3] < 0x33) {
2305 if (mbuf[3] < 0x4c) {