Lines Matching refs:serial_table
370 static struct hso_device *serial_table[HSO_SERIAL_TTY_MINORS]; variable
589 if (serial_table[i] && in get_serial_by_shared_int_and_type()
590 (dev2ser(serial_table[i])->shared_int == shared_int) && in get_serial_by_shared_int_and_type()
591 ((serial_table[i]->port_spec & HSO_PORT_MASK) == port)) { in get_serial_by_shared_int_and_type()
592 return dev2ser(serial_table[i]); in get_serial_by_shared_int_and_type()
605 if (serial_table[index]) in get_serial_by_index()
606 serial = dev2ser(serial_table[index]); in get_serial_by_index()
619 if (serial_table[index] == NULL) { in obtain_minor()
620 serial_table[index] = serial->parent; in obtain_minor()
637 serial_table[serial->minor] = NULL; in release_minor()
3024 if (serial_table[i] && (serial_table[i]->interface == iface)) { in hso_suspend()
3025 result = hso_stop_serial_device(serial_table[i]); in hso_suspend()
3053 if (serial_table[i] && (serial_table[i]->interface == iface)) { in hso_resume()
3054 if (dev2ser(serial_table[i])->port.count) { in hso_resume()
3056 hso_start_serial_device(serial_table[i], GFP_NOIO); in hso_resume()
3057 hso_kick_transmit(dev2ser(serial_table[i])); in hso_resume()
3104 if (serial_table[i] && in hso_free_interface()
3105 (serial_table[i]->interface == interface)) { in hso_free_interface()
3106 serial = dev2ser(serial_table[i]); in hso_free_interface()
3111 cancel_work_sync(&serial_table[i]->async_put_intf); in hso_free_interface()
3112 cancel_work_sync(&serial_table[i]->async_get_intf); in hso_free_interface()