Searched refs:valid_port (Results 1 – 3 of 3) sorted by relevance
34 #define valid_port(index) ((index) >= 0 && (index) < AT91_MAX_USBH_PORTS) macro289 if (!valid_port(port)) in ohci_at91_usb_set_power()297 if (!valid_port(port)) in ohci_at91_usb_get_power()374 if (valid_port(wIndex)) { in ohci_at91_hub_control()383 if (valid_port(wIndex)) { in ohci_at91_hub_control()397 if (valid_port(wIndex)) { in ohci_at91_hub_control()408 if (valid_port(wIndex)) in ohci_at91_hub_control()417 if (valid_port(wIndex)) { in ohci_at91_hub_control()425 if (valid_port(wIndex)) { in ohci_at91_hub_control()472 if (valid_port(wIndex)) { in ohci_at91_hub_control()
35 #define valid_port(idx) ((idx) == 1 || (idx) == 2) macro203 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()
216 static int valid_port(__u32 *pdev_nr, __u32 *rhport) in valid_port() function247 if (!valid_port(&pdev_nr, &rhport)) in detach_store()276 if (!valid_port(pdev_nr, rhport)) { in valid_args()