[balbi-usb:testing/next 35/35] drivers/usb/gadget/udc/snps_udc_core.c:197:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
head:   ad9721fbf4c4dd7e57372662b91adb8ba0c3a9fc
commit: ad9721fbf4c4dd7e57372662b91adb8ba0c3a9fc [35/35] usb: gadget: udc: Add Synopsys UDC Platform driver
config: m32r-allmodconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ad9721fbf4c4dd7e57372662b91adb8ba0c3a9fc
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:329:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/usb/gadget/udc/snps_udc_core.c:23:
   drivers/usb/gadget/udc/snps_udc_core.c: In function 'print_regs':
>> drivers/usb/gadget/udc/snps_udc_core.c:197:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev config     = %08x\n", readl(&dev->regs->cfg));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
>> drivers/usb/gadget/udc/snps_udc_core.c:197:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev config     = %08x\n", readl(&dev->regs->cfg));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:198:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev control    = %08x\n", readl(&dev->regs->ctl));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:198:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev control    = %08x\n", readl(&dev->regs->ctl));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:199:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev status     = %08x\n", readl(&dev->regs->sts));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:199:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev status     = %08x\n", readl(&dev->regs->sts));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:201:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev int's      = %08x\n", readl(&dev->regs->irqsts));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:201:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev int's      = %08x\n", readl(&dev->regs->irqsts));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:202:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev intmask    = %08x\n", readl(&dev->regs->irqmsk));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:202:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev intmask    = %08x\n", readl(&dev->regs->irqmsk));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:204:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev ep int's   = %08x\n", readl(&dev->regs->ep_irqsts));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:204:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev ep int's   = %08x\n", readl(&dev->regs->ep_irqsts));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c:205:11: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
     DBG(dev, "dev ep intmask = %08x\n", readl(&dev->regs->ep_irqmsk));
              ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:205:2: note: in expansion of macro 'DBG'
     DBG(dev, "dev ep intmask = %08x\n", readl(&dev->regs->ep_irqmsk));
     ^~~
   drivers/usb/gadget/udc/snps_udc_core.c: In function 'udc_data_out_isr':
   drivers/usb/gadget/udc/snps_udc_core.c:2105:13: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
       DBG(dev, "BNA ep%dout occurred - DESPTR = %x\n",
                ^
   include/linux/dynamic_debug.h:134:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^~~
>> drivers/usb/gadget/udc/amd5536udc.h:658:28: note: in expansion of macro 'dev_dbg'
    #define DBG(udc , args...) dev_dbg(udc->dev, args)
                               ^~~~~~~
   drivers/usb/gadget/udc/snps_udc_core.c:2105:4: note: in expansion of macro 'DBG'
       DBG(dev, "BNA ep%dout occurred - DESPTR = %x\n",
       ^~~

vim +197 drivers/usb/gadget/udc/snps_udc_core.c

55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   17   */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   18  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   19  /* Driver strings */
97b3ffa2 drivers/usb/gadget/udc/amd5536udc.c Raviteja Garimella 2017-03-28   20  #define UDC_MOD_DESCRIPTION		"Synopsys USB Device Controller"
c15e03e1 drivers/usb/gadget/amd5536udc.c     Cyril Roelandt     2012-02-25   21  #define UDC_DRIVER_VERSION_STRING	"01.00.0206"
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   22  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  @23  #include <linux/module.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   24  #include <linux/pci.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   25  #include <linux/kernel.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   26  #include <linux/delay.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   27  #include <linux/ioport.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   28  #include <linux/sched.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   29  #include <linux/slab.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   30  #include <linux/errno.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   31  #include <linux/timer.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   32  #include <linux/list.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   33  #include <linux/interrupt.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   34  #include <linux/ioctl.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   35  #include <linux/fs.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   36  #include <linux/dmapool.h>
b38b03b3 drivers/usb/gadget/amd5536udc.c     Bryan Wu           2011-06-02   37  #include <linux/prefetch.h>
97b3ffa2 drivers/usb/gadget/udc/amd5536udc.c Raviteja Garimella 2017-03-28   38  #include <linux/moduleparam.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   39  #include <asm/byteorder.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   40  #include <asm/unaligned.h>
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   41  #include "amd5536udc.h"
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   42  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   43  static void udc_tasklet_disconnect(unsigned long);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   44  static void udc_setup_endpoints(struct udc *dev);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   45  static void udc_soft_reset(struct udc *dev);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   46  static struct udc_request *udc_alloc_bna_dummy(struct udc_ep *ep);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   47  static void udc_free_request(struct usb_ep *usbep, struct usb_request *usbreq);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   48  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   49  /* description */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   50  static const char mod_desc[] = UDC_MOD_DESCRIPTION;
97b3ffa2 drivers/usb/gadget/udc/amd5536udc.c Raviteja Garimella 2017-03-28   51  static const char name[] = "udc";
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   52  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   53  /* structure to hold endpoint function pointers */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   54  static const struct usb_ep_ops udc_ep_ops;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   55  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   56  /* received setup data */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   57  static union udc_setup_data setup_data;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   58  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   59  /* pointer to device object */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   60  static struct udc *udc;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   61  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   62  /* irq spin lock for soft reset */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   63  static DEFINE_SPINLOCK(udc_irq_spinlock);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   64  /* stall spin lock */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   65  static DEFINE_SPINLOCK(udc_stall_spinlock);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   66  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   67  /*
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   68  * slave mode: pending bytes in rx fifo after nyet,
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   69  * used if EPIN irq came but no req was available
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   70  */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   71  static unsigned int udc_rxfifo_pending;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   72  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   73  /* count soft resets after suspend to avoid loop */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   74  static int soft_reset_occured;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   75  static int soft_reset_after_usbreset_occured;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   76  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   77  /* timer */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   78  static struct timer_list udc_timer;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   79  static int stop_timer;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   80  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   81  /* set_rde -- Is used to control enabling of RX DMA. Problem is
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   82   * that UDC has only one bit (RDE) to enable/disable RX DMA for
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   83   * all OUT endpoints. So we have to handle race conditions like
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   84   * when OUT data reaches the fifo but no request was queued yet.
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   85   * This cannot be solved by letting the RX DMA disabled until a
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   86   * request gets queued because there may be other OUT packets
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   87   * in the FIFO (important for not blocking control traffic).
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   88   * The value of set_rde controls the correspondig timer.
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   89   *
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   90   * set_rde -1 == not used, means it is alloed to be set to 0 or 1
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   91   * set_rde  0 == do not touch RDE, do no start the RDE timer
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   92   * set_rde  1 == timer function will look whether FIFO has data
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   93   * set_rde  2 == set by timer function to enable RX DMA on next call
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   94   */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   95  static int set_rde = -1;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   96  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   97  static DECLARE_COMPLETION(on_exit);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   98  static struct timer_list udc_pollstall_timer;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16   99  static int stop_pollstall_timer;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  100  static DECLARE_COMPLETION(on_pollstall_exit);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  101  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  102  /* tasklet for usb disconnect */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  103  static DECLARE_TASKLET(disconnect_tasklet, udc_tasklet_disconnect,
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  104  		(unsigned long) &udc);
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  105  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  106  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  107  /* endpoint names used for print */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  108  static const char ep0_string[] = "ep0in";
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  109  static const struct {
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  110  	const char *name;
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  111  	const struct usb_ep_caps caps;
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  112  } ep_info[] = {
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  113  #define EP_INFO(_name, _caps) \
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  114  	{ \
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  115  		.name = _name, \
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  116  		.caps = _caps, \
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  117  	}
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  118  
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  119  	EP_INFO(ep0_string,
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  120  		USB_EP_CAPS(USB_EP_CAPS_TYPE_CONTROL, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  121  	EP_INFO("ep1in-int",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  122  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  123  	EP_INFO("ep2in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  124  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  125  	EP_INFO("ep3in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  126  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  127  	EP_INFO("ep4in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  128  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  129  	EP_INFO("ep5in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  130  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  131  	EP_INFO("ep6in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  132  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  133  	EP_INFO("ep7in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  134  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  135  	EP_INFO("ep8in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  136  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  137  	EP_INFO("ep9in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  138  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  139  	EP_INFO("ep10in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  140  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  141  	EP_INFO("ep11in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  142  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  143  	EP_INFO("ep12in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  144  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  145  	EP_INFO("ep13in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  146  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  147  	EP_INFO("ep14in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  148  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  149  	EP_INFO("ep15in-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  150  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_IN)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  151  	EP_INFO("ep0out",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  152  		USB_EP_CAPS(USB_EP_CAPS_TYPE_CONTROL, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  153  	EP_INFO("ep1out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  154  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  155  	EP_INFO("ep2out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  156  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  157  	EP_INFO("ep3out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  158  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  159  	EP_INFO("ep4out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  160  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  161  	EP_INFO("ep5out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  162  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  163  	EP_INFO("ep6out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  164  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  165  	EP_INFO("ep7out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  166  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  167  	EP_INFO("ep8out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  168  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  169  	EP_INFO("ep9out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  170  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  171  	EP_INFO("ep10out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  172  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  173  	EP_INFO("ep11out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  174  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  175  	EP_INFO("ep12out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  176  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  177  	EP_INFO("ep13out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  178  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  179  	EP_INFO("ep14out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  180  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  181  	EP_INFO("ep15out-bulk",
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  182  		USB_EP_CAPS(USB_EP_CAPS_TYPE_BULK, USB_EP_CAPS_DIR_OUT)),
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  183  
6f02ac5a drivers/usb/gadget/udc/amd5536udc.c Robert Baldyga     2015-07-31  184  #undef EP_INFO
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  185  };
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  186  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  187  /* buffer fill mode */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  188  static int use_dma_bufferfill_mode;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  189  /* tx buffer size for high speed */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  190  static unsigned long hs_tx_buf = UDC_EPIN_BUFF_SIZE;
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  191  
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  192  /*---------------------------------------------------------------------------*/
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  193  /* Prints UDC device registers and endpoint irq registers */
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  194  static void print_regs(struct udc *dev)
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  195  {
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  196  	DBG(dev, "------- Device registers -------\n");
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16 @197  	DBG(dev, "dev config     = %08x\n", readl(&dev->regs->cfg));
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  198  	DBG(dev, "dev control    = %08x\n", readl(&dev->regs->ctl));
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  199  	DBG(dev, "dev status     = %08x\n", readl(&dev->regs->sts));
55d402d8 drivers/usb/gadget/amd5536udc.c     Thomas Dahlmann    2007-07-16  200  	DBG(dev, "\n");

:::::: The code at line 197 was first introduced by commit
:::::: 55d402d854ade6b63b26e958f201ee2ef00b7b15 USB: amd5536 UDC driver (in GEODE southbridge)

:::::: TO: Thomas Dahlmann <thomas.dahlmann@xxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux