Home
last modified time | relevance | path

Searched refs:iotype (Results 1 – 25 of 193) sorted by relevance

12345678

/Linux-v4.19/arch/mips/loongson64/common/
Dserial.c26 .iotype = UPIO_PORT, \
35 .iotype = UPIO_MEM, \
62 unsigned char iotype; in serial_init() local
64 iotype = uart8250_data[mips_machtype][0].iotype; in serial_init()
66 if (UPIO_MEM == iotype) { in serial_init()
72 else if (UPIO_PORT == iotype) in serial_init()
81 iotype = loongson_sysconf.uarts[i].iotype; in serial_init()
82 uart8250_data[mips_machtype][i].iotype = iotype; in serial_init()
85 if (UPIO_MEM == iotype) { in serial_init()
92 } else if (UPIO_PORT == iotype) { in serial_init()
/Linux-v4.19/drivers/acpi/
Dspcr.c97 char *iotype; in acpi_parse_spcr() local
120 iotype = "mmio"; in acpi_parse_spcr()
123 iotype = "mmio16"; in acpi_parse_spcr()
126 iotype = "mmio32"; in acpi_parse_spcr()
130 iotype = "io"; in acpi_parse_spcr()
134 iotype = "mmio32"; in acpi_parse_spcr()
193 iotype = "mmio32"; in acpi_parse_spcr()
199 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, in acpi_parse_spcr()
202 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, in acpi_parse_spcr()
/Linux-v4.19/drivers/tty/serial/
Dearlycon.c74 if (port->iotype == UPIO_MEM || port->iotype == UPIO_MEM16 || in earlycon_init()
75 port->iotype == UPIO_MEM32 || port->iotype == UPIO_MEM32BE) in earlycon_init()
78 (port->iotype == UPIO_MEM) ? "" : in earlycon_init()
79 (port->iotype == UPIO_MEM16) ? "16" : in earlycon_init()
80 (port->iotype == UPIO_MEM32) ? "32" : "32be", in earlycon_init()
94 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
97 switch (port->iotype) { in parse_options()
242 port->iotype = UPIO_MEM; in of_setup_earlycon()
265 port->iotype = UPIO_MEM; in of_setup_earlycon()
268 port->iotype = UPIO_MEM16; in of_setup_earlycon()
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dlegacy_serial.c74 int iotype, phys_addr_t base, in add_legacy_port() argument
130 if (iotype == UPIO_PORT) in add_legacy_port()
135 legacy_serial_ports[index].iotype = iotype; in add_legacy_port()
146 if (iotype == UPIO_TSI) { in add_legacy_port()
154 (iotype == UPIO_PORT) ? "port" : "mem", in add_legacy_port()
258 int iotype, index = -1, lindex = 0; in add_legacy_pci_port() local
278 iotype = (flags & IORESOURCE_MEM) ? UPIO_MEM : UPIO_PORT; in add_legacy_pci_port()
286 if (iotype == UPIO_MEM) in add_legacy_pci_port()
319 return add_legacy_port(np, index, iotype, base, addr, 0, in add_legacy_pci_port()
341 if (port->iotype == UPIO_PORT && isa_io_special) in setup_legacy_serial_console()
[all …]
/Linux-v4.19/arch/arm/mach-pxa/
Dcapc7117.c87 .iotype = UPIO_MEM,
96 .iotype = UPIO_MEM,
105 .iotype = UPIO_MEM,
114 .iotype = UPIO_MEM,
Dzeus.c247 .iotype = UPIO_MEM,
256 .iotype = UPIO_MEM,
265 .iotype = UPIO_MEM,
274 .iotype = UPIO_MEM,
284 .iotype = UPIO_MEM,
293 .iotype = UPIO_MEM,
302 .iotype = UPIO_MEM,
/Linux-v4.19/drivers/char/tpm/
Dtpm_infineon.c40 int iotype; member
58 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_out()
66 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_in()
74 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_config_out()
82 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_config_in()
407 tpm_dev.iotype = TPM_INF_IO_PORT; in tpm_inf_pnp_probe()
438 tpm_dev.iotype = TPM_INF_IO_MEM; in tpm_inf_pnp_probe()
539 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
542 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
566 if (tpm_dev.iotype == TPM_INF_IO_PORT) { in tpm_inf_pnp_probe()
[all …]
/Linux-v4.19/drivers/tty/serial/8250/
D8250_pnp.c453 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
456 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
459 uart.port.iotype = UPIO_MEM; in serial_pnp_probe()
467 uart.port.irq, uart.port.iotype); in serial_pnp_probe()
D8250_of.c100 port->iotype = UPIO_PORT; in of_platform_serial_setup()
110 port->iotype = UPIO_MEM; in of_platform_serial_setup()
114 port->iotype = UPIO_MEM; in of_platform_serial_setup()
117 port->iotype = UPIO_MEM16; in of_platform_serial_setup()
120 port->iotype = of_device_is_big_endian(np) ? in of_platform_serial_setup()
177 port->iotype = UPIO_AU; in of_platform_serial_setup()
D8250_core.c364 switch (port->iotype) { in serial8250_request_rsa_resource()
384 switch (port->iotype) { in serial8250_release_rsa_resource()
552 port->iotype = old_serial_port[i].io_type; in serial8250_isa_init_ports()
637 unsigned char iotype; in univ8250_console_match() local
644 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
651 if (port->iotype != iotype) in univ8250_console_match()
653 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
654 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
657 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
726 p->iotype = port->iotype; in early_serial_setup()
[all …]
D8250_moxa.c93 uart.port.iotype = UPIO_MEM; in moxa8250_probe()
100 uart.port.iobase, uart.port.irq, uart.port.iotype); in moxa8250_probe()
107 uart.port.iotype, brd->line[i]); in moxa8250_probe()
D8250_early.c42 switch (port->iotype) { in serial8250_early_in()
65 switch (port->iotype) { in serial8250_early_out()
191 dev->port.iotype = UPIO_AU; in early_au_setup()
D8250_dw.c74 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
81 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
127 if (p->iotype == UPIO_MEM32) in dw8250_check_lcr()
129 else if (p->iotype == UPIO_MEM32BE) in dw8250_check_lcr()
423 p->iotype = UPIO_MEM32BE; in dw8250_quirks()
431 p->iotype = UPIO_MEM32; in dw8250_quirks()
523 p->iotype = UPIO_MEM; in dw8250_probe()
550 p->iotype = UPIO_MEM32; in dw8250_probe()
D8250_hp300.c107 port.iotype = UPIO_MEM; in hp300_setup_serial_console()
172 uart.port.iotype = UPIO_MEM; in hpdca_init_one()
252 uart.port.iotype = UPIO_MEM; in hp300_8250_init()
/Linux-v4.19/arch/arm/mach-ixp4xx/
Dvulcan-setup.c85 .iotype = UPIO_MEM,
94 .iotype = UPIO_MEM,
102 .iotype = UPIO_MEM,
109 .iotype = UPIO_MEM,
Davila-setup.c90 .iotype = UPIO_MEM,
99 .iotype = UPIO_MEM,
/Linux-v4.19/arch/mips/mti-malta/
Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = UPIO_MEM32,
/Linux-v4.19/arch/mips/emma/markeins/
Dplatform.c114 .iotype = UPIO_MEM,
122 .iotype = UPIO_MEM,
130 .iotype = UPIO_MEM,
/Linux-v4.19/arch/arm/mach-s3c24xx/
Dmach-vr1000.c141 .iotype = UPIO_MEM,
149 .iotype = UPIO_MEM,
157 .iotype = UPIO_MEM,
165 .iotype = UPIO_MEM,
/Linux-v4.19/arch/arm/mach-iop33x/
Duart.c39 .iotype = UPIO_MEM,
89 .iotype = UPIO_MEM,
/Linux-v4.19/arch/arm/mach-footbridge/
Disa.c57 .iotype = UPIO_PORT,
65 .iotype = UPIO_PORT,
/Linux-v4.19/arch/arm/mach-omap1/
Dserial.c72 .iotype = UPIO_MEM,
80 .iotype = UPIO_MEM,
88 .iotype = UPIO_MEM,
/Linux-v4.19/arch/mips/bcm47xx/
Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/Linux-v4.19/arch/x86/platform/ce4100/
Dce4100.c95 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
105 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
/Linux-v4.19/arch/sh/boards/mach-se/7343/
Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,

12345678