linux/drivers/usb/gadget/udc/bdc/bdc_cmd.h
<<
>>
Prefs
   1/*
   2 * bdc_cmd.h - header for the BDC debug functions
   3 *
   4 * Copyright (C) 2014 Broadcom Corporation
   5 *
   6 * Author: Ashwini Pahuja
   7 *
   8 * This program is free software; you can redistribute it and/or modify it
   9 * under the terms of the GNU General Public License as published by the
  10 * Free Software Foundation; either version 2 of the License, or (at your
  11 * option) any later version.
  12 *
  13 */
  14#ifndef __LINUX_BDC_CMD_H__
  15#define __LINUX_BDC_CMD_H__
  16
  17/* Command operations */
  18int bdc_address_device(struct bdc *, u32);
  19int bdc_config_ep(struct bdc *, struct bdc_ep *);
  20int bdc_dconfig_ep(struct bdc *, struct bdc_ep *);
  21int bdc_stop_ep(struct bdc *, int);
  22int bdc_ep_set_stall(struct bdc *, int);
  23int bdc_ep_clear_stall(struct bdc *, int);
  24int bdc_ep_set_halt(struct bdc_ep *, u32 , int);
  25int bdc_ep_bla(struct bdc *, struct bdc_ep *, dma_addr_t);
  26int bdc_function_wake(struct bdc*, u8);
  27int bdc_function_wake_fh(struct bdc*, u8);
  28
  29#endif /* __LINUX_BDC_CMD_H__ */
  30