Lines Matching refs:target
149 static void start (int target);
150 static int stop (int target);
151 static int testpkt (int target);
152 static int sendpkt (int target, unsigned char *buffer, int length);
153 static int receivepkt (int target, unsigned char *buffer);
154 static int inquiry (int target, unsigned char *buffer);
155 static HADDR *read_hw_addr(int target, unsigned char *buffer);
157 static int send_first (int target, unsigned char byte);
325 send_first (target, byte) in send_first() argument
326 int target; in send_first()
338 WRITEBOTH((target << 5) | (byte & 0x1F), DMA_FDC |
392 start (target) in start() argument
393 int target; in start()
395 send_first(target, START);
401 stop (target) in stop() argument
402 int target; in stop()
407 if (send_first(target, STOP))
423 testpkt(target) in testpkt() argument
424 int target; in testpkt()
428 if (send_first(target, NUMPKTS))
439 inquiry (target, buffer) in inquiry() argument
440 int target; in inquiry()
447 if (send_first(target, INQUIRY))
465 printk("inquiry of target %d: %s\n", target, vbuffer+8);
476 *read_hw_addr(target, buffer) in read_hw_addr() argument
477 int target; in read_hw_addr()
483 if (send_first(target, READSECTOR))
510 receivepkt (target, buffer) in receivepkt() argument
511 int target; in receivepkt()
517 if (send_first(target, READPKT))
535 sendpkt (target, buffer, length) in sendpkt() argument
536 int target; in sendpkt()
543 if (send_first(target, WRITEPKT))