usb: gadget: renesas_usbhs: change usbhsc_bus_ctrl() to usbsc_set_buswait()
[cascardo/linux.git] / include / linux / usb / renesas_usbhs.h
index 3a7f1d9..959af02 100644 (file)
@@ -101,6 +101,8 @@ struct renesas_usbhs_driver_param {
         * option:
         *
         * for BUSWAIT :: BWAIT
+        * see
+        *      renesas_usbhs/common.c :: usbhsc_set_buswait()
         * */
        int buswait_bwait;
 
@@ -110,6 +112,23 @@ struct renesas_usbhs_driver_param {
         * delay time from notify_hotplug callback
         */
        int detection_delay;
+
+       /*
+        * option:
+        *
+        * dma id for dmaengine
+        */
+       int d0_tx_id;
+       int d0_rx_id;
+       int d1_tx_id;
+       int d1_rx_id;
+
+       /*
+        * option:
+        *
+        * pio <--> dma border.
+        */
+       int pio_dma_border; /* default is 64byte */
 };
 
 /*