Searched refs:is_device (Results 1 – 4 of 4) sorted by relevance
46 u32 (*usb0_init)(unsigned nwires, unsigned is_device);
273 static u32 __init omap1_usb0_init(unsigned nwires, unsigned is_device) in omap1_usb0_init() argument289 if (is_device) { in omap1_usb0_init()312 if (!is_device) in omap1_usb0_init()
1507 static bool is_device(const struct file *const file) in is_device() function1537 if (is_device(file)) in hook_file_open()1610 if (!is_device(file)) in hook_file_ioctl()1633 if (!is_device(file)) in hook_file_ioctl_compat()
868 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode() argument876 val |= is_device ? GPIO_PINMUX_OTHR_6328_USB_DEV : in bcm63xx_select_phy_mode()882 if (is_device) { in bcm63xx_select_phy_mode()892 if (is_device) in bcm63xx_select_phy_mode()