Home
last modified time | relevance | path

Searched refs:valid_port (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/host/
Dohci-at91.c34 #define valid_port(index) ((index) >= 0 && (index) < AT91_MAX_USBH_PORTS) macro
286 if (!valid_port(port)) in ohci_at91_usb_set_power()
294 if (!valid_port(port)) in ohci_at91_usb_get_power()
371 if (valid_port(wIndex)) { in ohci_at91_hub_control()
380 if (valid_port(wIndex)) { in ohci_at91_hub_control()
394 if (valid_port(wIndex)) { in ohci_at91_hub_control()
405 if (valid_port(wIndex)) in ohci_at91_hub_control()
414 if (valid_port(wIndex)) { in ohci_at91_hub_control()
422 if (valid_port(wIndex)) { in ohci_at91_hub_control()
469 if (valid_port(wIndex)) { in ohci_at91_hub_control()
Dohci-s3c2410.c35 #define valid_port(idx) ((idx) == 1 || (idx) == 2) macro
203 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
214 if (valid_port(wIndex)) in ohci_s3c2410_hub_control()
223 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
273 if (valid_port(wIndex)) { in ohci_s3c2410_hub_control()
/drivers/usb/usbip/
Dvhci_sysfs.c216 static int valid_port(__u32 *pdev_nr, __u32 *rhport) in valid_port() function
247 if (!valid_port(&pdev_nr, &rhport)) in detach_store()
276 if (!valid_port(pdev_nr, rhport)) { in valid_args()