Home
last modified time | relevance | path

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

1234567

/openbmc/linux/arch/mips/loongson2ef/common/
H A 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()
/openbmc/linux/drivers/acpi/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A 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 …]
H A Dserial_port.c217 port->iotype = port->iobase ? UPIO_PORT : 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()
230 port->iotype = UPIO_UNKNOWN; in __uart_read_properties()
H A Dserial_txx9.c160 switch (up->iotype) { in sio_in()
171 switch (up->iotype) { in sio_out()
703 switch (up->iotype) { in serial_txx9_request_resource()
734 switch (up->iotype) { in serial_txx9_release_resource()
985 uart->iotype = port->iotype; in serial_txx9_register_port()
1036 port.iotype = p->iotype; in serial_txx9_probe()
1131 port.iotype = UPIO_PORT; in pciserial_txx9_init_one()
/openbmc/linux/arch/powerpc/kernel/
H A 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 …]
/openbmc/linux/drivers/char/tpm/
H A 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 …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pnp.c450 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
453 uart.port.iotype = UPIO_PORT; in serial_pnp_probe()
456 uart.port.iotype = UPIO_MEM; in serial_pnp_probe()
464 uart.port.irq, uart.port.iotype); in serial_pnp_probe()
H A D8250_core.c355 switch (port->iotype) { in serial8250_request_rsa_resource()
375 switch (port->iotype) { in serial8250_release_rsa_resource()
560 port->iotype = old_serial_port[i].io_type; in serial8250_isa_init_ports()
668 unsigned char iotype; in univ8250_console_match() local
675 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
682 if (port->iotype != iotype) in univ8250_console_match()
684 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
685 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
688 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
758 p->iotype = port->iotype; in early_serial_setup()
[all …]
H A D8250_dwlib.h29 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
36 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
H A 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()
H A D8250_pcilib.c25 port->port.iotype = UPIO_MEM; in serial8250_pci_setup_port()
31 port->port.iotype = UPIO_PORT; in serial8250_pci_setup_port()
H A D8250_rt288x.c67 p->iotype = UPIO_AU; in au_platform_setup()
86 p->iotype = UPIO_AU; in rt288x_setup()
H A 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()
H A 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()
H A D8250_dfl.c94 uart->port.iotype = UPIO_MEM32; in dfl_uart_get_params()
98 uart->port.iotype = UPIO_MEM16; in dfl_uart_get_params()
H A D8250_early.c40 switch (port->iotype) { in serial8250_early_in()
60 switch (port->iotype) { in serial8250_early_out()
H A D8250_bcm2835aux.c106 up.port.iotype = UPIO_MEM; in bcm2835aux_serial_probe()
245 device->port.iotype = UPIO_MEM32; in early_bcm2835aux_setup()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
/openbmc/linux/arch/arm/mach-omap1/
H A Dserial.c71 .iotype = UPIO_MEM,
79 .iotype = UPIO_MEM,
87 .iotype = UPIO_MEM,
/openbmc/linux/arch/arm/mach-footbridge/
H A Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/openbmc/linux/arch/mips/bcm47xx/
H A Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/openbmc/linux/arch/x86/platform/ce4100/
H A Dce4100.c91 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
101 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
/openbmc/linux/arch/sh/boards/mach-se/7343/
H A Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,
/openbmc/linux/arch/mips/rb532/
H A Dserial.c43 .iotype = UPIO_MEM,

1234567