Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A 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()
H A 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()
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c639 if (!valid_port(status->port)) { in xen_evtchn_status_op()
1002 for (p = 1; valid_port(p); p++) { in allocate_port()
1144 if (!valid_port(close->port)) { in xen_evtchn_close_op()
1171 if (!valid_port(unmask->port)) { in xen_evtchn_unmask_op()
1194 if (!valid_port(vcpu->port)) { in xen_evtchn_bind_vcpu_op()
1478 if (!valid_port(send->port)) { in xen_evtchn_send_op()
1535 if (!valid_port(port)) { in xen_evtchn_set_port()
1773 if (!valid_port(port)) { in xen_evtchn_translate_pirq_msi()
1809 if (!valid_port(port)) { in xen_evtchn_deliver_pirq_msi()
2043 if (!valid_port(guest_port)) { in xen_be_evtchn_bind_interdomain()
[all …]
/openbmc/linux/drivers/usb/usbip/
H A 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()