Lines Matching +full:uart +full:- +full:tx
1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (c) 2004-2005 Simtec Electronics
9 #include <linux/dma-mapping.h>
20 #include <linux/platform_data/clk-s3c2410.h>
21 #include <linux/platform_data/dma-s3c24xx.h>
25 #include "hardware-s3c24xx.h"
27 #include "regs-clock.h"
36 #include "regs-gpio.h"
37 #include "dma-s3c24xx.h"
41 #include "pwm-core.h"
146 IODESC_ENT(UART)
193 /* this bit is not cleared on re-start... */ in s3c24xx_default_idle()
227 s3c24xx_pwm_variant.output_mask = BIT(SAMSUNG_PWM_NUM) - 1; in s3c24xx_set_timer_source()
251 IRQ_S3CUART_ERR0 - IRQ_S3CUART_RX0 + 1, \
258 IRQ_S3CUART_ERR1 - IRQ_S3CUART_RX1 + 1, \
265 IRQ_S3CUART_ERR2 - IRQ_S3CUART_RX2 + 1, \
272 IRQ_S3CUART_ERR3 - IRQ_S3CUART_RX3 + 1, \
336 { "s3c2410-sdi", "rx-tx", (void *)DMACH_SDI },
337 { "s3c2410-spi.0", "rx", (void *)DMACH_SPI0_RX },
338 { "s3c2410-spi.0", "tx", (void *)DMACH_SPI0_TX },
339 { "s3c2410-spi.1", "rx", (void *)DMACH_SPI1_RX },
340 { "s3c2410-spi.1", "tx", (void *)DMACH_SPI1_TX },
343 * not used in the UART driver.
345 { "s3c2410-uart.0", "rx", (void *)DMACH_UART0 },
346 { "s3c2410-uart.0", "tx", (void *)DMACH_UART0 },
347 { "s3c2410-uart.1", "rx", (void *)DMACH_UART1 },
348 { "s3c2410-uart.1", "tx", (void *)DMACH_UART1 },
349 { "s3c2410-uart.2", "rx", (void *)DMACH_UART2 },
350 { "s3c2410-uart.2", "tx", (void *)DMACH_UART2 },
351 { "s3c24xx-iis", "rx", (void *)DMACH_I2S_IN },
352 { "s3c24xx-iis", "tx", (void *)DMACH_I2S_OUT },
353 { "s3c-hsudc", "rx0", (void *)DMACH_USB_EP1 },
354 { "s3c-hsudc", "tx0", (void *)DMACH_USB_EP1 },
355 { "s3c-hsudc", "rx1", (void *)DMACH_USB_EP2 },
356 { "s3c-hsudc", "tx1", (void *)DMACH_USB_EP2 },
357 { "s3c-hsudc", "rx2", (void *)DMACH_USB_EP3 },
358 { "s3c-hsudc", "tx2", (void *)DMACH_USB_EP3 },
359 { "s3c-hsudc", "rx3", (void *)DMACH_USB_EP4 },
360 { "s3c-hsudc", "tx3", (void *)DMACH_USB_EP4 }
372 .name = "s3c2410-dma",
409 { "s3c2412-sdi", "rx-tx", (void *)DMACH_SDI },
410 { "s3c2412-spi.0", "rx", (void *)DMACH_SPI0_RX },
411 { "s3c2412-spi.0", "tx", (void *)DMACH_SPI0_TX },
412 { "s3c2412-spi.1", "rx", (void *)DMACH_SPI1_RX },
413 { "s3c2412-spi.1", "tx", (void *)DMACH_SPI1_TX },
414 { "s3c2440-uart.0", "rx", (void *)DMACH_UART0 },
415 { "s3c2440-uart.0", "tx", (void *)DMACH_UART0 },
416 { "s3c2440-uart.1", "rx", (void *)DMACH_UART1 },
417 { "s3c2440-uart.1", "tx", (void *)DMACH_UART1 },
418 { "s3c2440-uart.2", "rx", (void *)DMACH_UART2 },
419 { "s3c2440-uart.2", "tx", (void *)DMACH_UART2 },
420 { "s3c2412-iis", "rx", (void *)DMACH_I2S_IN },
421 { "s3c2412-iis", "tx", (void *)DMACH_I2S_OUT },
422 { "s3c-hsudc", "rx0", (void *)DMACH_USB_EP1 },
423 { "s3c-hsudc", "tx0", (void *)DMACH_USB_EP1 },
424 { "s3c-hsudc", "rx1", (void *)DMACH_USB_EP2 },
425 { "s3c-hsudc", "tx1", (void *)DMACH_USB_EP2 },
426 { "s3c-hsudc", "rx2", (void *)DMACH_USB_EP3 },
427 { "s3c-hsudc", "tx2", (void *)DMACH_USB_EP3 },
428 { "s3c-hsudc", "rx3", (void *)DMACH_USB_EP4 },
429 { "s3c-hsudc", "tx3", (void *)DMACH_USB_EP4 }
441 .name = "s3c2412-dma",
495 { "s3c2440-sdi", "rx-tx", (void *)DMACH_SDI },
496 { "s3c2410-spi.0", "rx", (void *)DMACH_SPI0 },
497 { "s3c2410-spi.0", "tx", (void *)DMACH_SPI0 },
498 { "s3c2410-spi.1", "rx", (void *)DMACH_SPI1 },
499 { "s3c2410-spi.1", "tx", (void *)DMACH_SPI1 },
500 { "s3c2440-uart.0", "rx", (void *)DMACH_UART0 },
501 { "s3c2440-uart.0", "tx", (void *)DMACH_UART0 },
502 { "s3c2440-uart.1", "rx", (void *)DMACH_UART1 },
503 { "s3c2440-uart.1", "tx", (void *)DMACH_UART1 },
504 { "s3c2440-uart.2", "rx", (void *)DMACH_UART2 },
505 { "s3c2440-uart.2", "tx", (void *)DMACH_UART2 },
506 { "s3c2440-uart.3", "rx", (void *)DMACH_UART3 },
507 { "s3c2440-uart.3", "tx", (void *)DMACH_UART3 },
509 { "s3c24xx-iis", "rx", (void *)DMACH_I2S_IN },
510 { "s3c24xx-iis", "tx", (void *)DMACH_I2S_OUT },
511 { "samsung-ac97", "rx", (void *)DMACH_PCM_IN },
512 { "samsung-ac97", "tx", (void *)DMACH_PCM_OUT },
513 { "samsung-ac97", "rx", (void *)DMACH_MIC_IN },
514 { "s3c-hsudc", "rx0", (void *)DMACH_USB_EP1 },
515 { "s3c-hsudc", "rx1", (void *)DMACH_USB_EP2 },
516 { "s3c-hsudc", "rx2", (void *)DMACH_USB_EP3 },
517 { "s3c-hsudc", "rx3", (void *)DMACH_USB_EP4 },
518 { "s3c-hsudc", "tx0", (void *)DMACH_USB_EP1 },
519 { "s3c-hsudc", "tx1", (void *)DMACH_USB_EP2 },
520 { "s3c-hsudc", "tx2", (void *)DMACH_USB_EP3 },
521 { "s3c-hsudc", "tx3", (void *)DMACH_USB_EP4 }
533 .name = "s3c2410-dma",
581 { "s3c2440-sdi", "rx-tx", (void *)DMACH_SDI },
582 { "s3c2443-spi.0", "rx", (void *)DMACH_SPI0_RX },
583 { "s3c2443-spi.0", "tx", (void *)DMACH_SPI0_TX },
584 { "s3c2443-spi.1", "rx", (void *)DMACH_SPI1_RX },
585 { "s3c2443-spi.1", "tx", (void *)DMACH_SPI1_TX },
586 { "s3c2440-uart.0", "rx", (void *)DMACH_UART0 },
587 { "s3c2440-uart.0", "tx", (void *)DMACH_UART0 },
588 { "s3c2440-uart.1", "rx", (void *)DMACH_UART1 },
589 { "s3c2440-uart.1", "tx", (void *)DMACH_UART1 },
590 { "s3c2440-uart.2", "rx", (void *)DMACH_UART2 },
591 { "s3c2440-uart.2", "tx", (void *)DMACH_UART2 },
592 { "s3c2440-uart.3", "rx", (void *)DMACH_UART3 },
593 { "s3c2440-uart.3", "tx", (void *)DMACH_UART3 },
594 { "s3c24xx-iis", "rx", (void *)DMACH_I2S_IN },
595 { "s3c24xx-iis", "tx", (void *)DMACH_I2S_OUT },
607 .name = "s3c2443-dma",
672 .name = "s3c2410-dclk",