Lines Matching refs:unit
99 int unit, error; in lpc_device_parse() local
153 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_device_parse()
154 if (strcasecmp(lpcdev, lpc_uart_names[unit]) == 0) { in lpc_device_parse()
156 lpc_uart_names[unit]); in lpc_device_parse()
276 int unit, error; in lpc_init() local
295 for (unit = 0; unit < LPC_UART_NUM; unit++) { in lpc_init()
296 sc = &lpc_uart_softc[unit]; in lpc_init()
297 name = lpc_uart_names[unit]; in lpc_init()
299 if (uart_legacy_alloc(unit, &sc->iobase, &sc->irq) != 0) { in lpc_init()
440 int unit; in pci_lpc_uart_dsdt() local
442 for (unit = 0; unit < LPC_UART_NUM; unit++) { in pci_lpc_uart_dsdt()
443 sc = &lpc_uart_softc[unit]; in pci_lpc_uart_dsdt()
447 dsdt_line("Device (%s)", lpc_uart_acpi_names[unit]); in pci_lpc_uart_dsdt()
450 dsdt_line(" Name (_UID, %d)", unit + 1); in pci_lpc_uart_dsdt()