Searched refs:board_mode (Results 1 – 4 of 4) sorted by relevance
79 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST)80 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL)81 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG)447 u8 board_mode; /* enum musb_mode */ member
1967 musb->board_mode = plat->mode; in musb_init_controller()2115 switch (musb->board_mode) { in musb_init_controller()
598 if (musb->board_mode != MUSB_OTG) { in tusb_musb_set_mode()
1751 static DEVICE_ATTR(board_mode, S_IRUGO | S_IWUSR,