Lines Matching defs:DATA
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
43 * rknier 940407 Added assembler coded data transfers
97 * defining SEA_BLINDTRANSFER will make DATA IN and DATA OUT to be done with
99 * result in data loss if the scsi device does not send its data using
175 u_char *data; /* position in data buffer so far */
188 * data structure describing current status of the scsi bus. One for each
198 void * maddr_dr; /* Address of data register */
219 #define DATA (*(volatile u_char *)sea->maddr_dr)
291 int *count, u_char **data);
358 /* Find controller and data memory addresses */
408 /* Find controller and data memory addresses */
513 * Setup data structures, and reset the board and the SCSI bus.
554 * start a scsi operation given the command and the data address. Also needs
605 scb->data = xs->data;
878 u_char *data;
893 /* the data bus contains original initiator id ORed with target id */
894 target_mask = DATA;
914 data = msg;
916 sea_transfer_pio(sea, &phase, &len, &data);
953 data = msg;
956 sea_transfer_pio(sea, &phase, &len, &data);
964 * Transfer data in given phase using polled I/O.
967 sea_transfer_pio(struct sea_softc *sea, u_char *phase, int *count, u_char **data)
971 u_char *d = *data;
1001 DATA = *d;
1003 *d = DATA;
1030 *data = d;
1052 u_char *data;
1057 DATA = sea->our_id_mask;
1078 DATA = (u_char)((1 << scb->xs->xs_periph->periph_target) |
1123 data = msg;
1126 sea_transfer_pio(sea, &phase, &len, &data);
1258 u_char *data;
1273 printf("%s: !STAT_BSY unit in data transfer!\n",
1306 if (!scb->data)
1307 printf("no data address!\n");
1331 "=S" (scb->data),
1334 "0" (scb->data),
1340 DATA = *(scb->data++);
1348 "=D" (scb->data),
1351 "0" (scb->data),
1357 *(scb->data++) = DATA;
1366 &scb->data);
1371 data = &tmp;
1372 sea_transfer_pio(sea, &phase, &len, &data);
1409 * This should be handled in the pio data
1421 data = &msgout;
1423 sea_transfer_pio(sea, &phase, &len, &data);
1441 data = (char *) scb->xs->cmd;
1442 sea_transfer_pio(sea, &phase, &len, &data);
1446 data = &tmp;
1447 sea_transfer_pio(sea, &phase, &len, &data);
1456 printf("%s: timeout in data transfer\n", device_xname(sea->sc_dev));