Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/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()
/linux-6.12.1/drivers/acpi/
Dspcr.c91 char *iotype; in acpi_parse_spcr() local
117 iotype = "mmio"; in acpi_parse_spcr()
120 iotype = "mmio16"; in acpi_parse_spcr()
123 iotype = "mmio32"; in acpi_parse_spcr()
127 iotype = "io"; in acpi_parse_spcr()
131 iotype = "mmio32"; in acpi_parse_spcr()
199 iotype = "mmio32"; in acpi_parse_spcr()
210 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, in acpi_parse_spcr()
213 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, in acpi_parse_spcr()
/linux-6.12.1/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()
267 port->iotype = UPIO_MEM; in of_setup_earlycon()
290 port->iotype = UPIO_MEM; in of_setup_earlycon()
293 port->iotype = UPIO_MEM16; in of_setup_earlycon()
[all …]
Dserial_port.c217 port->iotype = UPIO_MEM; in __uart_read_properties()
221 port->iotype = UPIO_MEM; in __uart_read_properties()
224 port->iotype = UPIO_MEM16; in __uart_read_properties()
227 port->iotype = device_is_big_endian(dev) ? UPIO_MEM32BE : UPIO_MEM32; in __uart_read_properties()
234 port->iotype = UPIO_UNKNOWN; in __uart_read_properties()
Dserial_txx9.c161 switch (up->iotype) { in sio_in()
172 switch (up->iotype) { in sio_out()
704 switch (up->iotype) { in serial_txx9_request_resource()
735 switch (up->iotype) { in serial_txx9_release_resource()
986 uart->iotype = port->iotype; in serial_txx9_register_port()
1037 port.iotype = p->iotype; in serial_txx9_probe()
1131 port.iotype = UPIO_PORT; in pciserial_txx9_init_one()
Dsamsung_tty.c89 u8 iotype; member
171 switch (port->iotype) { in rd_reg()
186 switch (port->iotype) { in wr_reg()
1993 ourport->port.iotype = ourport->info->iotype; in s3c24xx_serial_probe()
2002 ourport->port.iotype = UPIO_MEM; in s3c24xx_serial_probe()
2005 ourport->port.iotype = UPIO_MEM32; in s3c24xx_serial_probe()
2407 .iotype = UPIO_MEM,
2437 .iotype = UPIO_MEM,
2467 .iotype = UPIO_MEM, \
2506 .iotype = UPIO_MEM32,
[all …]
/linux-6.12.1/drivers/tty/serial/8250/
D8250_pnp.c439 unsigned char iotype; in serial_pnp_probe() local
451 iotype = UPIO_PORT; in serial_pnp_probe()
454 iotype = UPIO_PORT; in serial_pnp_probe()
458 iotype = UPIO_MEM; in serial_pnp_probe()
478 uart.port.iotype = iotype; in serial_pnp_probe()
488 (unsigned long long)uart.port.mapsize, uart.port.irq, uart.port.iotype); in serial_pnp_probe()
D8250_platform.c93 port->iotype = old_serial_port[i].io_type; in __serial8250_isa_init_ports()
115 unsigned char iotype; in serial8250_probe_acpi() local
125 iotype = UPIO_PORT; in serial8250_probe_acpi()
131 iotype = UPIO_MEM; in serial8250_probe_acpi()
154 uart.port.iotype = iotype; in serial8250_probe_acpi()
180 uart.port.iotype = p->iotype; in serial8250_probe_platform()
D8250_core.c464 unsigned char iotype; in univ8250_console_match() local
471 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
478 if (port->iotype != iotype) in univ8250_console_match()
480 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
481 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
484 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
554 p->iotype = port->iotype; in early_serial_setup()
733 uart->port.iotype = up->port.iotype; in serial8250_register_8250_port()
D8250_dwlib.h29 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
36 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
D8250_pcilib.c25 port->port.iotype = UPIO_MEM; in serial8250_pci_setup_port()
31 port->port.iotype = UPIO_PORT; in serial8250_pci_setup_port()
D8250_rsa.c24 switch (port->iotype) { in rsa8250_request_resource()
44 switch (port->iotype) { in rsa8250_release_resource()
D8250_rt288x.c67 p->iotype = UPIO_AU; in au_platform_setup()
86 p->iotype = UPIO_AU; in rt288x_setup()
D8250_pericom.c118 uart.port.iotype = UPIO_PORT; in pericom8250_probe()
128 uart.port.iobase, uart.port.irq, uart.port.iotype); in pericom8250_probe()
135 uart.port.iotype, pericom->line[i]); in pericom8250_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()
D8250_dfl.c94 uart->port.iotype = UPIO_MEM32; in dfl_uart_get_params()
98 uart->port.iotype = UPIO_MEM16; in dfl_uart_get_params()
/linux-6.12.1/arch/powerpc/kernel/
Dlegacy_serial.c76 int iotype, phys_addr_t base, in add_legacy_port() argument
132 if (iotype == UPIO_PORT) in add_legacy_port()
137 legacy_serial_ports[index].iotype = iotype; in add_legacy_port()
148 if (iotype == UPIO_TSI) { in add_legacy_port()
156 (iotype == UPIO_PORT) ? "port" : "mem", in add_legacy_port()
260 int iotype, index = -1, lindex = 0; in add_legacy_pci_port() local
280 iotype = (flags & IORESOURCE_MEM) ? UPIO_MEM : UPIO_PORT; in add_legacy_pci_port()
288 if (iotype == UPIO_MEM) in add_legacy_pci_port()
321 return add_legacy_port(np, index, iotype, base, addr, 0, in add_legacy_pci_port()
342 if (port->iotype == UPIO_PORT && isa_io_special) in setup_legacy_serial_console()
[all …]
/linux-6.12.1/drivers/char/tpm/
Dtpm_infineon.c36 int iotype; member
55 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_data_out()
65 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()
84 if (tpm_dev.iotype == TPM_INF_IO_PORT) in tpm_config_in()
409 tpm_dev.iotype = TPM_INF_IO_PORT; in tpm_inf_pnp_probe()
440 tpm_dev.iotype = TPM_INF_IO_MEM; in tpm_inf_pnp_probe()
541 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
544 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
568 if (tpm_dev.iotype == TPM_INF_IO_PORT) { in tpm_inf_pnp_probe()
[all …]
/linux-6.12.1/arch/mips/mti-malta/
Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
/linux-6.12.1/arch/arm/mach-omap1/
Dserial.c71 .iotype = UPIO_MEM,
79 .iotype = UPIO_MEM,
87 .iotype = UPIO_MEM,
/linux-6.12.1/arch/arm/mach-footbridge/
Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/linux-6.12.1/arch/mips/bcm47xx/
Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/linux-6.12.1/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-6.12.1/arch/sh/boards/mach-se/7343/
Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,
/linux-6.12.1/arch/mips/rb532/
Dserial.c43 .iotype = UPIO_MEM,

1234567