Searched refs:board_mode (Results 1 – 6 of 6) sorted by relevance
70 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST)71 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL)72 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG)372 u8 board_mode; /* enum musb_mode */ member
1912 musb->board_mode = plat->mode; in musb_init_controller()1992 switch (musb->board_mode) { in musb_init_controller()2004 if (musb->board_mode != MUSB_PERIPHERAL) { in musb_init_controller()2007 if (musb->board_mode == MUSB_OTG) in musb_init_controller()2131 if (musb->board_mode == MUSB_HOST) in musb_remove()
257 omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1); in musb_platform_init()
1689 if (!musb || !(musb->board_mode == MUSB_OTG in usb_gadget_register_driver()1690 || musb->board_mode != MUSB_OTG)) { in usb_gadget_register_driver()
606 if (musb->board_mode != MUSB_OTG) { in musb_platform_set_mode()
1563 static DEVICE_ATTR(board_mode, S_IRUGO | S_IWUSR,