Searched refs:portnum (Results 1 - 4 of 4) sorted by relevance

/external/qemu/hw/
H A Dusb-ohci.c1359 static void ohci_port_set_status(OHCIState *ohci, int portnum, uint32_t val) argument
1364 port = &ohci->rhport[portnum];
1374 ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PES);
1376 if (ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PSS))
1377 dprintf("usb-ohci: port %d: SUSPEND\n", portnum);
1379 if (ohci_port_set_if_connected(ohci, portnum, val & OHCI_PORT_PRS)) {
1380 dprintf("usb-ohci: port %d: RESET\n", portnum);
1391 ohci_port_power(ohci, portnum, 0);
1393 ohci_port_power(ohci, portnum, 1);
/external/iptables/
H A Dip6tables.c265 unsigned int portnum; local
267 if ((string_to_number(port, 0, 65535, &portnum)) != -1 ||
268 (portnum = service_to_port(port, proto)) != -1)
269 return (u_int16_t)portnum;
H A Diptables.c270 unsigned int portnum; local
272 if ((string_to_number(port, 0, 65535, &portnum)) != -1 ||
273 (portnum = service_to_port(port, proto)) != -1)
274 return (u_int16_t)portnum;
/external/kernel-headers/original/linux/
H A Dusb.h352 u8 portnum; /* Parent port number (origin 1) */ member in struct:usb_device

Completed in 71 milliseconds