Lines Matching refs:portnum
34 * Syntax is "[-]portnum", where a leading '-' sign means
42 int portnum, new_owner;
46 if (sscanf(buf, "%d", &portnum) != 1)
48 if (portnum < 0) {
49 portnum = - portnum;
52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params))
54 portnum--;
56 set_bit(portnum, &ehci->companion_ports);
58 clear_bit(portnum, &ehci->companion_ports);
59 set_owner(ehci, portnum, new_owner);