Lines Matching refs:portnum
224 * Syntax is "[-]portnum", where a leading '-' sign means
231 int portnum, new_owner, try;
237 if (sscanf(buf, "%d", &portnum) != 1)
239 if (portnum < 0) {
240 portnum = - portnum;
243 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params))
245 status_reg = &ehci->regs->port_status[--portnum];
247 set_bit(portnum, &ehci->companion_ports);
249 clear_bit(portnum, &ehci->companion_ports);