Home
last modified time | relevance | path

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

123456

/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()
210 iotype = "mmio32"; in acpi_parse_spcr()
221 snprintf(opts, sizeof(opts), "%s,%s,0x%llx", uart, iotype, in acpi_parse_spcr()
224 snprintf(opts, sizeof(opts), "%s,%s,0x%llx,%d", uart, iotype, in acpi_parse_spcr()
/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()
/linux/arch/powerpc/kernel/
H A Dlegacy_serial.c77 int iotype, phys_addr_t base, in add_legacy_port() argument
135 if (iotype == UPIO_PORT) in add_legacy_port()
140 legacy_port->iotype = iotype; in add_legacy_port()
151 if (iotype == UPIO_TSI) { in add_legacy_port()
158 (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/drivers/tty/serial/
H A Dserial_port.c218 port->iotype = port->iobase ? UPIO_PORT : UPIO_MEM; in __uart_read_properties()
222 port->iotype = UPIO_MEM; in __uart_read_properties()
225 port->iotype = UPIO_MEM16; in __uart_read_properties()
228 port->iotype = device_is_big_endian(dev) ? UPIO_MEM32BE : UPIO_MEM32; in __uart_read_properties()
231 port->iotype = UPIO_UNKNOWN; in __uart_read_properties()
236 if (!use_defaults && port->iotype == UPIO_UNKNOWN) { in __uart_read_properties()
H A 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()
H A Dsamsung_tty.c89 u8 iotype; member
171 switch (port->iotype) { in rd_reg()
186 switch (port->iotype) { in wr_reg()
1995 ourport->port.iotype = ourport->info->iotype; in s3c24xx_serial_probe()
2004 ourport->port.iotype = UPIO_MEM; in s3c24xx_serial_probe()
2007 ourport->port.iotype = UPIO_MEM32; in s3c24xx_serial_probe()
2409 .iotype = UPIO_MEM,
2439 .iotype = UPIO_MEM,
2469 .iotype = UPIO_MEM, \
2514 .iotype = UPIO_MEM32,
[all …]
H A Dfsl_lpuart.c298 char iotype; member
305 .iotype = UPIO_MEM,
311 .iotype = UPIO_MEM32BE,
317 .iotype = UPIO_MEM32,
323 .iotype = UPIO_MEM32,
330 .iotype = UPIO_MEM32,
337 .iotype = UPIO_MEM32,
343 .iotype = UPIO_MEM32,
386 switch (port->iotype) { in lpuart32_read()
399 switch (port->iotype) { in lpuart32_write()
[all …]
/linux/drivers/char/tpm/
H A 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()
410 tpm_dev.iotype = TPM_INF_IO_PORT; in tpm_inf_pnp_probe()
441 tpm_dev.iotype = TPM_INF_IO_MEM; in tpm_inf_pnp_probe()
542 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
545 tpm_dev.iotype == TPM_INF_IO_PORT ? in tpm_inf_pnp_probe()
569 if (tpm_dev.iotype == TPM_INF_IO_PORT) { in tpm_inf_pnp_probe()
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_core.c466 enum uart_iotype iotype; in univ8250_console_match() local
473 if (uart_parse_earlycon(options, &iotype, &addr, &options)) in univ8250_console_match()
480 if (port->iotype != iotype) in univ8250_console_match()
482 if ((iotype == UPIO_MEM || iotype == UPIO_MEM16 || in univ8250_console_match()
483 iotype == UPIO_MEM32 || iotype == UPIO_MEM32BE) in univ8250_console_match()
486 if (iotype == UPIO_PORT && port->iobase != addr) in univ8250_console_match()
556 p->iotype = port->iotype; in early_serial_setup()
731 uart->port.iotype = up->port.iotype; in serial8250_register_8250_port()
H A D8250_pcilib.c31 port->port.iotype = UPIO_MEM; in serial8250_pci_setup_port()
37 port->port.iotype = UPIO_PORT; in serial8250_pci_setup_port()
H A D8250_ce4100.c70 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup()
78 up->iotype = UPIO_MEM32; in ce4100_serial_fixup()
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_rt288x.c67 p->iotype = UPIO_AU; in au_platform_setup()
86 p->iotype = UPIO_AU; in rt288x_setup()
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_platform.c89 port->iotype = old_serial_port[i].io_type; in __serial8250_isa_init_ports()
170 uart->port.iotype = p->iotype; in serial8250_probe_platform()
H A D8250_rsa.c25 switch (port->iotype) { in rsa8250_request_resource()
43 switch (port->iotype) { in rsa8250_release_resource()
H A D8250_early.c40 switch (port->iotype) { in serial8250_early_in()
62 switch (port->iotype) { in serial8250_early_out()
/linux/arch/mips/mti-malta/
H A Dmalta-platform.c35 .iotype = UPIO_PORT, \
50 .iotype = IS_ENABLED(CONFIG_CPU_BIG_ENDIAN) ?
/linux/arch/arm/mach-omap1/
H A Dserial.c71 .iotype = UPIO_MEM,
79 .iotype = UPIO_MEM,
87 .iotype = UPIO_MEM,
/linux/arch/arm/mach-footbridge/
H A Disa.c54 .iotype = UPIO_PORT,
62 .iotype = UPIO_PORT,
/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()
/linux/arch/sh/boards/mach-se/7343/
H A Dsetup.c74 .iotype = UPIO_MEM,
81 .iotype = UPIO_MEM,
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dphy.c704 enum io_type iotype; in rtl8723e_phy_scan_operation_backup() local
709 iotype = IO_CMD_PAUSE_BAND0_DM_BY_SCAN; in rtl8723e_phy_scan_operation_backup()
712 (u8 *)&iotype); in rtl8723e_phy_scan_operation_backup()
716 iotype = IO_CMD_RESUME_DM_BY_SCAN; in rtl8723e_phy_scan_operation_backup()
719 (u8 *)&iotype); in rtl8723e_phy_scan_operation_backup()
1439 bool rtl8723e_phy_set_io_cmd(struct ieee80211_hw *hw, enum io_type iotype) in rtl8723e_phy_set_io_cmd() argument
1447 iotype, rtlphy->set_io_inprogress); in rtl8723e_phy_set_io_cmd()
1449 switch (iotype) { in rtl8723e_phy_set_io_cmd()
1462 "switch case %#x not processed\n", iotype); in rtl8723e_phy_set_io_cmd()
1468 rtlphy->current_io_type = iotype; in rtl8723e_phy_set_io_cmd()
[all …]
/linux/arch/mips/rb532/
H A Dserial.c43 .iotype = UPIO_MEM,

123456