Home
last modified time | relevance | path

Searched refs:is_device (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/platform_data/
H A Dusb-omap1.h46 u32 (*usb0_init)(unsigned nwires, unsigned is_device);
/linux/arch/arm/mach-omap1/
H A Dusb.c273 static u32 __init omap1_usb0_init(unsigned nwires, unsigned is_device) in omap1_usb0_init() argument
289 if (is_device) { in omap1_usb0_init()
312 if (!is_device) in omap1_usb0_init()
/linux/security/landlock/
H A Dfs.c1507 static bool is_device(const struct file *const file) in is_device() function
1537 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()
/linux/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c868 static void bcm63xx_select_phy_mode(struct bcm63xx_udc *udc, bool is_device) in bcm63xx_select_phy_mode() argument
876 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()