Lines Matching +full:transfer +full:- +full:function
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1997-2000 Russell King
19 /* transfer count low */
23 /* transfer count medium */
59 #define STAT_TRANSFERDONE (1 << 3) /* Transfer completed */
60 #define STAT_TRANSFERCNTZ (1 << 4) /* Transfer counter is zero */
82 #define INST_FUNCDONE (1 << 3) /* Function done */
101 /* Transfer period step (write) */
123 #define CLKF_F37MHZ 0x00 /* 35.01 - 40 MHz */
125 #define CLKF_F12MHZ 0x03 /* 10.01 - 15 MHz */
126 #define CLKF_F17MHZ 0x04 /* 15.01 - 20 MHz */
127 #define CLKF_F22MHZ 0x05 /* 20.01 - 25 MHz */
128 #define CLKF_F27MHZ 0x06 /* 25.01 - 30 MHz */
129 #define CLKF_F32MHZ 0x07 /* 30.01 - 35 MHz */
152 #define CNTL3_LBTM (1 << 2) /* Last Byte Transfer mode */
159 /* High transfer count (read/write) */
220 struct scsi_cmnd *pending_SCpnt[8]; /* per-device pending commands */
245 unsigned int async_stp; /* Async transfer STP value */
272 unsigned char wide_max_size; /* Maximum wide transfer size */
274 unsigned int asyncperiod; /* Async transfer period (ns) */
285 /* per-device info */
291 unsigned char stp; /* synchronous transfer period */
293 unsigned char wide_xfer; /* currently negociated wide transfer */
294 neg_t sync_state; /* synchronous transfer mode */
295 neg_t wide_state; /* wide transfer mode */
301 fasdmatype_t transfer_type; /* current type of DMA transfer */
303 … (*pseudo)(struct Scsi_Host *host, struct scsi_pointer *SCp, fasdmadir_t direction, int transfer);
313 /* driver-private data per SCSI command. */
327 /* Function: int fas216_init (struct Scsi_Host *instance)
329 * Params : instance - a driver-specific filled-out structure
334 /* Function: int fas216_add (struct Scsi_Host *instance, struct device *dev)
336 * Params : instance - a driver-specific filled-out structure
341 /* Function: int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
343 * Params : h - host adapter
344 * : SCpnt - Command to queue
345 * Returns : 0 - success, else error
349 /* Function: int fas216_noqueue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
351 * Params : h - host adapter
352 * : SCpnt - Command to queue
353 * Returns : 0 - success, else error
357 /* Function: irqreturn_t fas216_intr (FAS216_Info *info)
359 * Params : info - interface to service
365 /* Function: void fas216_release (struct Scsi_Host *instance)
367 * Params : instance - a driver-specific filled-out structure
376 /* Function: int fas216_eh_abort(struct scsi_cmnd *SCpnt)
378 * Params : SCpnt - command to abort
383 /* Function: int fas216_eh_device_reset(struct scsi_cmnd *SCpnt)
385 * Params : SCpnt - command specifing device to reset
390 /* Function: int fas216_eh_bus_reset(struct scsi_cmnd *SCpnt)
392 * Params : SCpnt - command specifing bus to reset
397 /* Function: int fas216_eh_host_reset(struct scsi_cmnd *SCpnt)
399 * Params : SCpnt - command specifing host to reset