Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/arch/mips/loongson2ef/common/
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()
/linux-6.3-rc2/drivers/acpi/
A Dspcr.c93 char *iotype; in acpi_parse_spcr() local
121 iotype = "mmio"; in acpi_parse_spcr()
124 iotype = "mmio16"; in acpi_parse_spcr()
127 iotype = "mmio32"; in acpi_parse_spcr()
131 iotype = "io"; in acpi_parse_spcr()
135 iotype = "mmio32"; in acpi_parse_spcr()
203 iotype = "mmio32"; in acpi_parse_spcr()
213 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, in acpi_parse_spcr()
216 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, in acpi_parse_spcr()
/linux-6.3-rc2/drivers/tty/serial/
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 …]
A Dserial_txx9.c160 switch (up->iotype) { in sio_in()
171 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()
1132 port.iotype = UPIO_PORT; in pciserial_txx9_init_one()
/linux-6.3-rc2/arch/powerpc/kernel/
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
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()
584 if (port->iotype == UPIO_PORT) in serial_dev_init()
[all …]
/linux-6.3-rc2/drivers/char/tpm/
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 …]
/linux-6.3-rc2/drivers/tty/serial/8250/
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()
A D8250_core.c355 switch (port->iotype) { in serial8250_request_rsa_resource()
375 switch (port->iotype) { in serial8250_release_rsa_resource()
544 port->iotype = old_serial_port[i].io_type; in serial8250_isa_init_ports()
639 unsigned char iotype; in univ8250_console_match() local
653 if (port->iotype != iotype) in univ8250_console_match()
655 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
656 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
659 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
729 p->iotype = port->iotype; in early_serial_setup()
822 uart.port.iotype = p->iotype; in serial8250_probe()
[all …]
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()
174 port->iotype = UPIO_AU; in of_platform_serial_setup()
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()
A D8250_dwlib.h60 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext()
67 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext()
A D8250_early.c42 switch (port->iotype) { in serial8250_early_in()
65 switch (port->iotype) { in serial8250_early_out()
209 dev->port.iotype = UPIO_AU; in early_au_setup()
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()
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()
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()
A D8250_dw.c123 if (p->iotype == UPIO_MEM32) in dw8250_check_lcr()
125 else if (p->iotype == UPIO_MEM32BE) in dw8250_check_lcr()
469 p->iotype = UPIO_MEM32BE; in dw8250_quirks()
486 p->iotype = UPIO_MEM32; in dw8250_quirks()
538 p->iotype = UPIO_MEM; in dw8250_probe()
565 p->iotype = UPIO_MEM32; in dw8250_probe()
A D8250_bcm2835aux.c106 up.port.iotype = UPIO_MEM; in bcm2835aux_serial_probe()
243 device->port.iotype = UPIO_MEM32; in early_bcm2835aux_setup()
A D8250_hub6.c15 .iotype = UPIO_HUB6, \
/linux-6.3-rc2/arch/mips/mti-malta/
A Dmalta-platform.c35 .iotype = UPIO_PORT, \
51 .iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
/linux-6.3-rc2/arch/arm/mach-omap1/
A Dserial.c69 .iotype = UPIO_MEM,
77 .iotype = UPIO_MEM,
85 .iotype = UPIO_MEM,
/linux-6.3-rc2/arch/arm/mach-footbridge/
A Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/linux-6.3-rc2/arch/mips/bcm47xx/
A Dserial.c46 p->iotype = UPIO_MEM; in uart8250_init_ssb()
72 p->iotype = UPIO_MEM; in uart8250_init_bcma()
/linux-6.3-rc2/arch/x86/platform/ce4100/
A Dce4100.c91 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
101 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
/linux-6.3-rc2/arch/sh/boards/mach-se/7343/
A Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,
/linux-6.3-rc2/arch/mips/rb532/
A Dserial.c43 .iotype = UPIO_MEM,

Completed in 58 milliseconds

1234567