Lines Matching refs:port_priv

528 	struct cp210x_port_private *port_priv = usb_get_serial_port_data(port);  in cp210x_read_reg_block()  local
544 port_priv->bInterfaceNumber, dmabuf, bufsize, in cp210x_read_reg_block()
656 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_write_u16_reg() local
661 port_priv->bInterfaceNumber, NULL, 0, in cp210x_write_u16_reg()
679 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_write_reg_block() local
689 port_priv->bInterfaceNumber, dmabuf, bufsize, in cp210x_write_reg_block()
762 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_detect_swapped_line_ctl() local
780 port_priv->has_swapped_line_ctl = true; in cp210x_detect_swapped_line_ctl()
793 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_get_line_ctl() local
801 if (port_priv->has_swapped_line_ctl) in cp210x_get_line_ctl()
844 struct cp210x_port_private *port_priv = usb_get_serial_port_data(port); in cp210x_get_tx_queue_byte_count() local
854 0, port_priv->bInterfaceNumber, sts, sizeof(*sts), in cp210x_get_tx_queue_byte_count()
1775 struct cp210x_port_private *port_priv; in cp210x_port_probe() local
1778 port_priv = kzalloc(sizeof(*port_priv), GFP_KERNEL); in cp210x_port_probe()
1779 if (!port_priv) in cp210x_port_probe()
1782 port_priv->bInterfaceNumber = cp210x_interface_num(serial); in cp210x_port_probe()
1784 usb_set_serial_port_data(port, port_priv); in cp210x_port_probe()
1788 kfree(port_priv); in cp210x_port_probe()
1797 struct cp210x_port_private *port_priv; in cp210x_port_remove() local
1799 port_priv = usb_get_serial_port_data(port); in cp210x_port_remove()
1800 kfree(port_priv); in cp210x_port_remove()