Searched refs:is_device (Results 1 – 5 of 5) 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()
1491 static bool is_device(const struct file *const file) in is_device() function1522 if (is_device(file)) in hook_file_open()1595 if (!is_device(file)) in hook_file_ioctl()1618 if (!is_device(file)) in hook_file_ioctl_compat()
293 bool is_device = false; in switch_type_c_dr_mode() local307 is_device = true; in switch_type_c_dr_mode()317 __func__, is_host, is_device, vbus, polarity); in switch_type_c_dr_mode()320 extcon_set_state(type_c->edev, EXTCON_USB, is_device); in switch_type_c_dr_mode()
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()