Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/core/
Dhcd.c2844 hcd->dev_policy = USB_DEVICE_AUTHORIZE_NONE; in usb_add_hcd()
2848 hcd->dev_policy = USB_DEVICE_AUTHORIZE_ALL; in usb_add_hcd()
2852 hcd->dev_policy = USB_DEVICE_AUTHORIZE_INTERNAL; in usb_add_hcd()
2857 hcd->dev_policy = hcd->wireless ? in usb_add_hcd()
Dsysfs.c921 return sysfs_emit(buf, "%u\n", hcd->dev_policy); in authorized_default_show()
937 hcd->dev_policy = val <= USB_DEVICE_AUTHORIZE_INTERNAL ? in authorized_default_store()
Dusb.c543 switch (hcd->dev_policy) { in usb_dev_authorized()
/Linux-v6.1/include/linux/usb/
Dhcd.h140 enum usb_dev_authorize_policy dev_policy; member