Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/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-v5.4/drivers/acpi/
Dspcr.c93 char *iotype; in acpi_parse_spcr() local
116 iotype = "mmio"; in acpi_parse_spcr()
119 iotype = "mmio16"; in acpi_parse_spcr()
122 iotype = "mmio32"; in acpi_parse_spcr()
126 iotype = "io"; in acpi_parse_spcr()
130 iotype = "mmio32"; in acpi_parse_spcr()
196 iotype = "mmio32"; in acpi_parse_spcr()
206 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, in acpi_parse_spcr()
209 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, in acpi_parse_spcr()
/Linux-v5.4/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-v5.4/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-v5.4/arch/arm/mach-pxa/
Dcapc7117.c84 .iotype = UPIO_MEM,
93 .iotype = UPIO_MEM,
102 .iotype = UPIO_MEM,
111 .iotype = UPIO_MEM,
Dzeus.c245 .iotype = UPIO_MEM,
254 .iotype = UPIO_MEM,
263 .iotype = UPIO_MEM,
272 .iotype = UPIO_MEM,
282 .iotype = UPIO_MEM,
291 .iotype = UPIO_MEM,
300 .iotype = UPIO_MEM,
/Linux-v5.4/drivers/char/tpm/
Dtpm_infineon.c36 int iotype; member
54 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_out()
62 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_in()
70 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_config_out()
78 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_config_in()
403 tpm_dev.iotype = TPM_INF_IO_PORT; in tpm_inf_pnp_probe()
434 tpm_dev.iotype = TPM_INF_IO_MEM; in tpm_inf_pnp_probe()
535 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
538 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
562 if (tpm_dev.iotype == TPM_INF_IO_PORT) { in tpm_inf_pnp_probe()
[all …]
/Linux-v5.4/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_core.c361 switch (port->iotype) { in serial8250_request_rsa_resource()
381 switch (port->iotype) { in serial8250_release_rsa_resource()
549 port->iotype = old_serial_port[i].io_type; in serial8250_isa_init_ports()
634 unsigned char iotype; in univ8250_console_match() local
641 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
648 if (port->iotype != iotype) in univ8250_console_match()
650 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
651 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
654 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
723 p->iotype = port->iotype; in early_serial_setup()
[all …]
D8250_of.c101 port->iotype = UPIO_PORT; in of_platform_serial_setup()
111 port->iotype = UPIO_MEM; in of_platform_serial_setup()
115 port->iotype = UPIO_MEM; in of_platform_serial_setup()
118 port->iotype = UPIO_MEM16; in of_platform_serial_setup()
121 port->iotype = of_device_is_big_endian(np) ? in of_platform_serial_setup()
188 port->iotype = UPIO_AU; in of_platform_serial_setup()
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_dwlib.c37 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
44 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
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()
D8250_dw.c97 if (p->iotype == UPIO_MEM32) in dw8250_check_lcr()
99 else if (p->iotype == UPIO_MEM32BE) in dw8250_check_lcr()
362 p->iotype = UPIO_MEM32BE; in dw8250_quirks()
370 p->iotype = UPIO_MEM32; in dw8250_quirks()
415 p->iotype = UPIO_MEM; in dw8250_probe()
442 p->iotype = UPIO_MEM32; in dw8250_probe()
/Linux-v5.4/arch/arm/mach-ixp4xx/
Dvulcan-setup.c87 .iotype = UPIO_MEM,
96 .iotype = UPIO_MEM,
104 .iotype = UPIO_MEM,
111 .iotype = UPIO_MEM,
Davila-setup.c92 .iotype = UPIO_MEM,
101 .iotype = UPIO_MEM,
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = UPIO_MEM32,
/Linux-v5.4/arch/mips/emma/markeins/
Dplatform.c101 .iotype = UPIO_MEM,
109 .iotype = UPIO_MEM,
117 .iotype = UPIO_MEM,
/Linux-v5.4/arch/arm/mach-s3c24xx/
Dmach-vr1000.c141 .iotype = UPIO_MEM,
149 .iotype = UPIO_MEM,
157 .iotype = UPIO_MEM,
165 .iotype = UPIO_MEM,
/Linux-v5.4/arch/arm/mach-footbridge/
Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/Linux-v5.4/arch/arm/mach-omap1/
Dserial.c69 .iotype = UPIO_MEM,
77 .iotype = UPIO_MEM,
85 .iotype = UPIO_MEM,
/Linux-v5.4/arch/mips/bcm47xx/
Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/Linux-v5.4/arch/x86/platform/ce4100/
Dce4100.c91 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
101 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
/Linux-v5.4/arch/sh/boards/mach-se/7343/
Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,
/Linux-v5.4/arch/mips/pnx833x/common/
Dplatform.c55 .iotype = UPIO_MEM,
68 .iotype = UPIO_MEM,

12345678