]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/rts5139/rts51x_transport.h
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[~andy/linux] / drivers / staging / rts5139 / rts51x_transport.h
index 9dd556ea9c085399774071519ad6ca81d0948fca..024f115540a693d6d8a3477c1f37b554af9694d3 100644 (file)
@@ -40,11 +40,6 @@ unsigned int rts51x_access_sglist(unsigned char *buffer,
                                  unsigned int buflen, void *sglist,
                                  void **sgptr, unsigned int *offset,
                                  enum xfer_buf_dir dir);
-unsigned int rts51x_access_xfer_buf(unsigned char *buffer, unsigned int buflen,
-                                   struct scsi_cmnd *srb,
-                                   struct scatterlist **sgptr,
-                                   unsigned int *offset,
-                                   enum xfer_buf_dir dir);
 void rts51x_set_xfer_buf(unsigned char *buffer, unsigned int buflen,
                         struct scsi_cmnd *srb);
 void rts51x_get_xfer_buf(unsigned char *buffer, unsigned int buflen,
@@ -53,7 +48,6 @@ void rts51x_get_xfer_buf(unsigned char *buffer, unsigned int buflen,
 int rts51x_ctrl_transfer(struct rts51x_chip *chip, unsigned int pipe,
                         u8 request, u8 requesttype, u16 value, u16 index,
                         void *data, u16 size, int timeout);
-int rts51x_clear_halt(struct rts51x_chip *chip, unsigned int pipe);
 int rts51x_transfer_data(struct rts51x_chip *chip, unsigned int pipe,
                         void *buf, unsigned int len, int use_sg,
                         unsigned int *act_len, int timeout);
@@ -62,12 +56,6 @@ int rts51x_transfer_data_partial(struct rts51x_chip *chip, unsigned int pipe,
                                 unsigned int len, int use_sg,
                                 unsigned int *act_len, int timeout);
 
-/* whichPipe:
- * 0: bulk in pipe
- * 1: bulk out pipe
- * 2: intr  in pipe */
-int rts51x_reset_pipe(struct rts51x_chip *chip, char pipe);
-
 #ifndef POLLING_IN_THREAD
 int rts51x_start_epc_transfer(struct rts51x_chip *chip);
 void rts51x_cancel_epc_transfer(struct rts51x_chip *chip);