Home
last modified time | relevance | path

Searched refs:board_mode (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/musb/
Dmusb_core.h70 #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
Dmusb_core.c1912 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()
Domap2430.c257 omap_vbus_power(musb, musb->board_mode == MUSB_HOST, 1); in musb_platform_init()
Dmusb_gadget.c1689 if (!musb || !(musb->board_mode == MUSB_OTG in usb_gadget_register_driver()
1690 || musb->board_mode != MUSB_OTG)) { in usb_gadget_register_driver()
Dtusb6010.c606 if (musb->board_mode != MUSB_OTG) { in musb_platform_set_mode()
/drivers/scsi/lpfc/
Dlpfc_attr.c1563 static DEVICE_ATTR(board_mode, S_IRUGO | S_IWUSR,