|
@@ -47,7 +47,8 @@ struct usbhs_pipe_info {
|
|
struct usbhs_pipe *pipe;
|
|
struct usbhs_pipe *pipe;
|
|
int size; /* array size of "pipe" */
|
|
int size; /* array size of "pipe" */
|
|
|
|
|
|
- int (*dma_map_ctrl)(struct usbhs_pkt *pkt, int map);
|
|
|
|
|
|
+ int (*dma_map_ctrl)(struct device *dma_dev, struct usbhs_pkt *pkt,
|
|
|
|
+ int map);
|
|
};
|
|
};
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -84,7 +85,8 @@ int usbhs_pipe_is_running(struct usbhs_pipe *pipe);
|
|
void usbhs_pipe_running(struct usbhs_pipe *pipe, int running);
|
|
void usbhs_pipe_running(struct usbhs_pipe *pipe, int running);
|
|
|
|
|
|
void usbhs_pipe_init(struct usbhs_priv *priv,
|
|
void usbhs_pipe_init(struct usbhs_priv *priv,
|
|
- int (*dma_map_ctrl)(struct usbhs_pkt *pkt, int map));
|
|
|
|
|
|
+ int (*dma_map_ctrl)(struct device *dma_dev,
|
|
|
|
+ struct usbhs_pkt *pkt, int map));
|
|
int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe);
|
|
int usbhs_pipe_get_maxpacket(struct usbhs_pipe *pipe);
|
|
void usbhs_pipe_clear(struct usbhs_pipe *pipe);
|
|
void usbhs_pipe_clear(struct usbhs_pipe *pipe);
|
|
int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe);
|
|
int usbhs_pipe_is_accessible(struct usbhs_pipe *pipe);
|