summaryrefslogtreecommitdiff
path: root/sock.h
blob: 8f68d42111766070046c0b97b01f290422db9217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SOCK_H
#define SOCK_H

extern int af_socket(int af);
extern int pf_socket(void);
extern int pf_socket_type(uint32_t type);
extern void set_nonblocking(int fd);
extern int set_nonblocking_sloppy(int fd);
extern int set_reuseaddr(int fd);
extern void set_sock_qdisc_bypass(int fd, int verbose);
extern void set_sock_prio(int fd, int prio);
extern void set_tcp_nodelay(int fd);
extern void set_socket_keepalive(int fd);
extern int set_ipv6_only(int fd);
extern void set_mtu_disc_dont(int fd);
extern void set_system_socket_memory(int *vals, size_t len);
extern void reset_system_socket_memory(int *vals, size_t len);

#endif /* SOCK_H */
bd58627e9aa486fccbbdda6338675bdf3e267'>839224cc378467743d2acedea1647173f7bcecef parent1a695a905c18548062509178b98bc91e67510864 (diff)
ASoC: ak4642: Implement suspend callback
Add the suspend callback to accompany the existing resume operation. With the suspend/resume callbacks the regmap (regcache) state handling can follow the recommended sequence. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat