Lines Matching full:pericom
2 /* Driver for Pericom UART */
88 struct pericom8250 *pericom; in pericom8250_probe() local
105 pericom = devm_kzalloc(&pdev->dev, struct_size(pericom, line, nr), GFP_KERNEL); in pericom8250_probe()
106 if (!pericom) in pericom8250_probe()
109 pericom->virt = pcim_iomap(pdev, bar, 0); in pericom8250_probe()
110 if (!pericom->virt) in pericom8250_probe()
117 uart.port.private_data = pericom; in pericom8250_probe()
130 pericom->line[i] = serial8250_register_8250_port(&uart); in pericom8250_probe()
131 if (pericom->line[i] < 0) { in pericom8250_probe()
135 uart.port.iotype, pericom->line[i]); in pericom8250_probe()
139 pericom->nr = i; in pericom8250_probe()
141 pci_set_drvdata(pdev, pericom); in pericom8250_probe()
147 struct pericom8250 *pericom = pci_get_drvdata(pdev); in pericom8250_remove() local
150 for (i = 0; i < pericom->nr; i++) in pericom8250_remove()
151 serial8250_unregister_port(pericom->line[i]); in pericom8250_remove()
156 * Pericom PI7C9X795[1248] Uno/Dual/Quad/Octal UART
159 { PCI_VDEVICE(PERICOM, PCI_DEVICE_ID_PERICOM_PI7C9X7951) },
160 { PCI_VDEVICE(PERICOM, PCI_DEVICE_ID_PERICOM_PI7C9X7952) },
161 { PCI_VDEVICE(PERICOM, PCI_DEVICE_ID_PERICOM_PI7C9X7954) },
162 { PCI_VDEVICE(PERICOM, PCI_DEVICE_ID_PERICOM_PI7C9X7958) },
214 MODULE_DESCRIPTION("Pericom UART driver");