Searched refs:board_mode (Results 1 – 3 of 3) sorted by relevance
55 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST)56 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL)57 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG)383 u8 board_mode; /* enum musb_mode */ member
62 musb_platform_set_mode(musb, musb->board_mode); in pic32_musb_enable()
1946 musb->board_mode = plat->mode; in musb_init_controller()2108 switch (musb->board_mode) { in musb_init_controller()