Home
last modified time | relevance | path

Searched refs:rts_pin (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/tty/serial/
Dbfin_sport_uart.c54 int rts_pin; member
228 if (up->rts_pin < 0) in sport_set_mctrl()
303 if (up->rts_pin >= 0) in sport_startup()
304 gpio_direction_output(up->rts_pin, 0); in sport_startup()
812 sport->rts_pin = -1; in sport_uart_probe()
814 sport->rts_pin = res->start; in sport_uart_probe()
816 if (sport->rts_pin >= 0) in sport_uart_probe()
817 gpio_request(sport->rts_pin, DRV_NAME); in sport_uart_probe()
858 if (sport->rts_pin >= 0) in sport_uart_remove()
859 gpio_free(sport->rts_pin); in sport_uart_remove()
Dbfin_sport_uart.h76 #define SPORT_UART_DISABLE_RTS(x) gpio_set_value(x->rts_pin, 1)
77 #define SPORT_UART_ENABLE_RTS(x) gpio_set_value(x->rts_pin, 0)
Dbfin_5xx.c103 if (uart->rts_pin < 0) in bfin_serial_set_mctrl()
742 if (uart->rts_pin >= 0) { in bfin_serial_startup()
743 gpio_direction_output(uart->rts_pin, 0); in bfin_serial_startup()
1364 uart->rts_pin = -1; in bfin_serial_probe()
1366 uart->rts_pin = res->start; in bfin_serial_probe()
1368 if (uart->rts_pin >= 0) in bfin_serial_probe()
1369 gpio_request(uart->rts_pin, DRIVER_NAME); in bfin_serial_probe()
1411 if (uart->rts_pin >= 0) in bfin_serial_remove()
1412 gpio_free(uart->rts_pin); in bfin_serial_remove()
/linux-2.6.39/arch/blackfin/include/asm/
Dbfin_serial.h58 int rts_pin; member
266 #define UART_DISABLE_RTS(x) gpio_set_value((x)->rts_pin, 1)
267 #define UART_ENABLE_RTS(x) gpio_set_value((x)->rts_pin, 0)