Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/serial/
H A Dpl2303.c189 struct pl2303_type_data { struct
199 const struct pl2303_type_data *type; argument
211 static const struct pl2303_type_data pl2303_type_data[TYPE_COUNT] = { variable
251 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read()
282 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_write()
309 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_update_reg()
482 dev_dbg(&serial->interface->dev, "device type: %s\n", pl2303_type_data[type].name); in pl2303_startup()
488 spriv->type = &pl2303_type_data[type]; in pl2303_startup()
778 static bool pl2303_enable_xonxoff(struct tty_struct *tty, const struct pl2303_type_data *type) in pl2303_enable_xonxoff()
907 } else if (spriv->type == &pl2303_type_data[TYPE_HXN]) { in pl2303_set_termios()
[all …]