.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0-only |
---|
2 | | -/** |
---|
| 2 | +/* |
---|
3 | 3 | * arch/arm/mac-sa1100/jornada720_ssp.c |
---|
4 | 4 | * |
---|
5 | 5 | * Copyright (C) 2006/2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> |
---|
.. | .. |
---|
26 | 26 | |
---|
27 | 27 | /** |
---|
28 | 28 | * jornada_ssp_reverse - reverses input byte |
---|
| 29 | + * @byte: input byte to reverse |
---|
29 | 30 | * |
---|
30 | 31 | * we need to reverse all data we receive from the mcu due to its physical location |
---|
31 | 32 | * returns : 01110111 -> 11101110 |
---|
.. | .. |
---|
46 | 47 | |
---|
47 | 48 | /** |
---|
48 | 49 | * jornada_ssp_byte - waits for ready ssp bus and sends byte |
---|
| 50 | + * @byte: input byte to transmit |
---|
49 | 51 | * |
---|
50 | 52 | * waits for fifo buffer to clear and then transmits, if it doesn't then we will |
---|
51 | 53 | * timeout after <timeout> rounds. Needs mcu running before its called. |
---|
.. | .. |
---|
77 | 79 | |
---|
78 | 80 | /** |
---|
79 | 81 | * jornada_ssp_inout - decide if input is command or trading byte |
---|
| 82 | + * @byte: input byte to send (may be %TXDUMMY) |
---|
80 | 83 | * |
---|
81 | 84 | * returns : (jornada_ssp_byte(byte)) on success |
---|
82 | 85 | * : %-ETIMEDOUT on timeout failure |
---|