Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/platform_data/
Dusb-omap1.h46 u32 (*usb0_init)(unsigned nwires, unsigned is_device);
/linux-6.12.1/arch/arm/mach-omap1/
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-6.12.1/security/landlock/
Dfs.c1491 static bool is_device(const struct file *const file) in is_device() function
1522 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()
/linux-6.12.1/drivers/extcon/
Dextcon-rtk-type-c.c293 bool is_device = false; in switch_type_c_dr_mode() local
307 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()
/linux-6.12.1/drivers/usb/gadget/udc/
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()