Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/
Dserial.c26 .iotype = UPIO_PORT, \
35 .iotype = UPIO_MEM, \
60 unsigned char iotype; in serial_init() local
62 iotype = uart8250_data[mips_machtype].iotype; in serial_init()
64 if (UPIO_MEM == iotype) { in serial_init()
70 else if (UPIO_PORT == iotype) in serial_init()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dearlycon.c79 if (port->iotype == UPIO_MEM || port->iotype == UPIO_MEM16 || in earlycon_print_info()
80 port->iotype == UPIO_MEM32 || port->iotype == UPIO_MEM32BE) in earlycon_print_info()
83 (port->iotype == UPIO_MEM) ? "" : in earlycon_print_info()
84 (port->iotype == UPIO_MEM16) ? "16" : in earlycon_print_info()
85 (port->iotype == UPIO_MEM32) ? "32" : "32be", in earlycon_print_info()
99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
102 switch (port->iotype) { in parse_options()
259 port->iotype = UPIO_MEM; in of_setup_earlycon()
282 port->iotype = UPIO_MEM; in of_setup_earlycon()
285 port->iotype = UPIO_MEM16; in of_setup_earlycon()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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,
Dviper.c538 .iotype = UPIO_MEM,
547 .iotype = UPIO_MEM,
556 .iotype = UPIO_MEM,
565 .iotype = UPIO_MEM,
575 .iotype = UPIO_MEM,
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c79 port->iotype = UPIO_PORT; in of_platform_serial_setup()
98 port->iotype = UPIO_MEM; in of_platform_serial_setup()
102 port->iotype = UPIO_MEM; in of_platform_serial_setup()
105 port->iotype = UPIO_MEM16; in of_platform_serial_setup()
108 port->iotype = of_device_is_big_endian(np) ? in of_platform_serial_setup()
173 port->iotype = UPIO_AU; in of_platform_serial_setup()
D8250_core.c366 switch (port->iotype) { in serial8250_request_rsa_resource()
386 switch (port->iotype) { in serial8250_release_rsa_resource()
556 port->iotype = old_serial_port[i].io_type; in serial8250_isa_init_ports()
651 unsigned char iotype; in univ8250_console_match() local
658 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
665 if (port->iotype != iotype) in univ8250_console_match()
667 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
668 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
671 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
741 p->iotype = port->iotype; in early_serial_setup()
[all …]
D8250_early.c42 switch (port->iotype) { in serial8250_early_in()
65 switch (port->iotype) { in serial8250_early_out()
214 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.c111 if (p->iotype == UPIO_MEM32) in dw8250_check_lcr()
113 else if (p->iotype == UPIO_MEM32BE) in dw8250_check_lcr()
418 p->iotype = UPIO_MEM32BE; in dw8250_quirks()
426 p->iotype = UPIO_MEM32; in dw8250_quirks()
469 p->iotype = UPIO_MEM; in dw8250_probe()
496 p->iotype = UPIO_MEM32; in dw8250_probe()
/kernel/linux/linux-5.10/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,
Ddsmg600-setup.c140 .iotype = UPIO_MEM,
149 .iotype = UPIO_MEM,
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-vr1000.c141 .iotype = UPIO_MEM,
149 .iotype = UPIO_MEM,
157 .iotype = UPIO_MEM,
165 .iotype = UPIO_MEM,
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dserial.c69 .iotype = UPIO_MEM,
77 .iotype = UPIO_MEM,
85 .iotype = UPIO_MEM,
/kernel/linux/linux-5.10/arch/mips/bcm47xx/
Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/kernel/linux/linux-5.10/arch/x86/platform/ce4100/
Dce4100.c91 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
101 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7343/
Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,

12345678