summaryrefslogtreecommitdiff
path: root/corking.h
blob: fb4483cbea5fe9faa70276523a3797a1bcfa3d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CORKING_H
#define CORKING_H

#include <stdbool.h>

extern void set_tcp_cork(int fd);
extern void set_tcp_uncork(int fd);
extern void set_udp_cork(int fd);
extern void set_udp_uncork(int fd);
extern void set_sock_cork(int fd, bool is_udp);
extern void set_sock_uncork(int fd, bool is_udp);

#endif /* CORKING_H */
r>
authorThor Thayer <tthayer@opensource.altera.com>2016-10-10 09:25:25 -0500
committerMark Brown <broonie@kernel.org>2016-10-11 12:29:04 +0200
commit80b444e57948ea4bd5a89fb1f8c404ddab6c1973 (patch)
treeda5bdce842dda312d02453d0a7823d1759db5747
parent6b1576aa875347c6454d911a2e001138c2cec7d5 (diff)
spi: dw: Set GPIO_SS flag to toggle Slave Select on GPIO CS
The Designware SPI master requires slave selection before the transfer can begin [1]. This patch uses the new master flag to indicate both the GPIO CS and the internal chip select should be used. Tested On: Altera CycloneV development kit Compile tested for build errors on x86_64 (allyesconfigs) [1] DesignWare dw_apb_ssi Databook, Version 3.20a (page 39) Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat