Home
last modified time | relevance | path

Searched refs:serial_priv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/usb/serial/
Df81534.c196 struct f81534_serial_private *serial_priv = in f81534_logic_to_phy_port() local
202 if (serial_priv->conf_data[i] & F81534_PORT_UNAVAILABLE) in f81534_logic_to_phy_port()
838 struct f81534_serial_private *serial_priv; in f81534_calc_num_ports() local
853 serial_priv = devm_kzalloc(&serial->interface->dev, in f81534_calc_num_ports()
854 sizeof(*serial_priv), GFP_KERNEL); in f81534_calc_num_ports()
855 if (!serial_priv) in f81534_calc_num_ports()
858 usb_set_serial_data(serial, serial_priv); in f81534_calc_num_ports()
859 mutex_init(&serial_priv->urb_mutex); in f81534_calc_num_ports()
862 status = f81534_find_config_idx(serial, &serial_priv->setting_idx); in f81534_calc_num_ports()
873 if (serial_priv->setting_idx != F81534_CUSTOM_NO_CUSTOM_DATA) { in f81534_calc_num_ports()
[all …]
Dquatech2.c136 struct qt2_serial_private *serial_priv; in qt2_release() local
138 serial_priv = usb_get_serial_data(serial); in qt2_release()
140 usb_kill_urb(serial_priv->read_urb); in qt2_release()
141 usb_free_urb(serial_priv->read_urb); in qt2_release()
142 kfree(serial_priv->read_buffer); in qt2_release()
143 kfree(serial_priv); in qt2_release()
451 struct qt2_serial_private *serial_priv = usb_get_serial_data(serial); in qt2_disconnect() local
453 usb_kill_urb(serial_priv->read_urb); in qt2_disconnect()
501 struct qt2_serial_private *serial_priv; in qt2_process_read_urb() local
514 serial_priv = usb_get_serial_data(serial); in qt2_process_read_urb()
[all …]
Ddigi_acceleport.c985 struct digi_serial *serial_priv; in digi_write_bulk_callback() local
997 if (serial == NULL || (serial_priv = usb_get_serial_data(serial)) == NULL) { in digi_write_bulk_callback()
1005 if (priv->dp_port_num == serial_priv->ds_oob_port_num) { in digi_write_bulk_callback()
1202 struct digi_serial *serial_priv = usb_get_serial_data(serial); in digi_startup_device() local
1206 spin_lock(&serial_priv->ds_serial_lock); in digi_startup_device()
1207 if (serial_priv->ds_device_started) { in digi_startup_device()
1208 spin_unlock(&serial_priv->ds_serial_lock); in digi_startup_device()
1211 serial_priv->ds_device_started = 1; in digi_startup_device()
1212 spin_unlock(&serial_priv->ds_serial_lock); in digi_startup_device()
1254 struct digi_serial *serial_priv; in digi_startup() local
[all …]