~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/usb/musb/musb_core.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
 * @try_ilde:   tries to idle the IP
262
262
 * @vbus_status: returns vbus status if possible
263
263
 * @set_vbus:   forces vbus status
 
264
 * @channel_program: pre check for standard dma channel_program func
264
265
 */
265
266
struct musb_platform_ops {
266
267
        int     (*init)(struct musb *musb);
274
275
 
275
276
        int     (*vbus_status)(struct musb *musb);
276
277
        void    (*set_vbus)(struct musb *musb, int on);
 
278
 
 
279
        int     (*adjust_channel_params)(struct dma_channel *channel,
 
280
                                u16 packet_sz, u8 *mode,
 
281
                                dma_addr_t *dma_addr, u32 *len);
277
282
};
278
283
 
279
284
/*