Searched refs:valid_port (Results 1 – 3 of 3) sorted by relevance
34 #define valid_port(index) ((index) >= 0 && (index) < AT91_MAX_USBH_PORTS) macro286 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()
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()