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 */
ption>
authorThomas Renninger <trenn@suse.de>2014-04-07 15:16:57 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-28 12:36:56 +0200
commitd7cddbb07b18cc45e57420005850ca0326b9e074 (patch)
tree7d640a12341524d0227c7829e5ec990dd378ad13 /tools/power
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
ACPI / tools: Introduce ec_access.c - tool to access the EC
This userspace tool accesses the EC through the ec_sys debug driver (through /sys/kernel/debug/ec/ec0/io). The EC command/data registers cannot be accessed directly, because they may be manipulated by the AML interpreter in parallel. The ec_sys driver synchronizes user space (debug) access with the AML interpreter. Signed-off-by: Thomas Renninger <trenn@suse.de> [rjw: Changelog] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/power')