Home
last modified time | relevance | path

Searched refs:hwdep (Results 1 - 6 of 6) sorted by relevance

/third_party/alsa-lib/src/hwdep/
H A Dhwdep.c2 * \file hwdep/hwdep.c
39 static int snd_hwdep_open_conf(snd_hwdep_t **hwdep, in snd_hwdep_open_conf() argument
135 err = open_func(hwdep, name, hwdep_root, hwdep_conf, mode); in snd_hwdep_open_conf()
137 (*hwdep)->dl_handle = h; in snd_hwdep_open_conf()
145 static int snd_hwdep_open_noupdate(snd_hwdep_t **hwdep, snd_config_t *root, const char *name, int mode) in snd_hwdep_open_noupdate() argument
149 err = snd_config_search_definition(root, "hwdep", name, &hwdep_conf); in snd_hwdep_open_noupdate()
154 err = snd_hwdep_open_conf(hwdep, name, root, hwdep_conf, mode); in snd_hwdep_open_noupdate()
161 * \param hwdep Returned handle (NULL if not wanted)
169 int snd_hwdep_open(snd_hwdep_t **hwdep, cons argument
194 snd_hwdep_open_lconf(snd_hwdep_t **hwdep, const char *name, int mode, snd_config_t *lconf) snd_hwdep_open_lconf() argument
209 snd_hwdep_close(snd_hwdep_t *hwdep) snd_hwdep_close() argument
229 snd_hwdep_name(snd_hwdep_t *hwdep) snd_hwdep_name() argument
242 snd_hwdep_type(snd_hwdep_t *hwdep) snd_hwdep_type() argument
253 snd_hwdep_poll_descriptors_count(snd_hwdep_t *hwdep) snd_hwdep_poll_descriptors_count() argument
266 snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space) snd_hwdep_poll_descriptors() argument
297 snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) snd_hwdep_poll_descriptors_revents() argument
313 snd_hwdep_nonblock(snd_hwdep_t *hwdep, int nonblock) snd_hwdep_nonblock() argument
448 snd_hwdep_info(snd_hwdep_t *hwdep, snd_hwdep_info_t * info) snd_hwdep_info() argument
462 snd_hwdep_ioctl(snd_hwdep_t *hwdep, unsigned int request, void * arg) snd_hwdep_ioctl() argument
474 snd_hwdep_write(snd_hwdep_t *hwdep, const void *buffer, size_t size) snd_hwdep_write() argument
488 snd_hwdep_read(snd_hwdep_t *hwdep, void *buffer, size_t size) snd_hwdep_read() argument
502 snd_hwdep_dsp_status(snd_hwdep_t *hwdep, snd_hwdep_dsp_status_t *info) snd_hwdep_dsp_status() argument
515 snd_hwdep_dsp_load(snd_hwdep_t *hwdep, snd_hwdep_dsp_image_t *block) snd_hwdep_dsp_load() argument
[all...]
H A Dhwdep_hw.c38 static int snd_hwdep_hw_close(snd_hwdep_t *hwdep) in snd_hwdep_hw_close() argument
41 assert(hwdep); in snd_hwdep_hw_close()
42 res = close(hwdep->poll_fd) < 0 ? -errno : 0; in snd_hwdep_hw_close()
46 static int snd_hwdep_hw_nonblock(snd_hwdep_t *hwdep, int nonblock) in snd_hwdep_hw_nonblock() argument
49 assert(hwdep); in snd_hwdep_hw_nonblock()
50 if ((flags = fcntl(hwdep->poll_fd, F_GETFL)) < 0) in snd_hwdep_hw_nonblock()
56 if (fcntl(hwdep->poll_fd, F_SETFL, flags) < 0) in snd_hwdep_hw_nonblock()
61 static int snd_hwdep_hw_info(snd_hwdep_t *hwdep, snd_hwdep_info_t *info) in snd_hwdep_hw_info() argument
63 assert(hwdep && info); in snd_hwdep_hw_info()
64 if (ioctl(hwdep in snd_hwdep_hw_info()
69 snd_hwdep_hw_ioctl(snd_hwdep_t *hwdep, unsigned int request, void * arg) snd_hwdep_hw_ioctl() argument
77 snd_hwdep_hw_write(snd_hwdep_t *hwdep, const void *buffer, size_t size) snd_hwdep_hw_write() argument
87 snd_hwdep_hw_read(snd_hwdep_t *hwdep, void *buffer, size_t size) snd_hwdep_hw_read() argument
110 snd_hwdep_t *hwdep; snd_hwdep_hw_open() local
148 _snd_hwdep_hw_open(snd_hwdep_t **hwdep, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int mode) _snd_hwdep_hw_open() argument
[all...]
H A Dhwdep_local.h28 int (*close)(snd_hwdep_t *hwdep);
29 int (*nonblock)(snd_hwdep_t *hwdep, int nonblock);
30 int (*info)(snd_hwdep_t *hwdep, snd_hwdep_info_t *info);
31 int (*ioctl)(snd_hwdep_t *hwdep, unsigned int request, void * arg);
32 ssize_t (*write)(snd_hwdep_t *hwdep, const void *buffer, size_t size);
33 ssize_t (*read)(snd_hwdep_t *hwdep, void *buffer, size_t size);
/third_party/alsa-lib/include/
H A Dhwdep.h2 * \file include/hwdep.h
83 SND_HWDEP_IFACE_LAST = SND_HWDEP_IFACE_FW_FIREFACE, /**< last known hwdep interface */
108 int snd_hwdep_open(snd_hwdep_t **hwdep, const char *name, int mode);
109 int snd_hwdep_close(snd_hwdep_t *hwdep);
110 int snd_hwdep_poll_descriptors(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int space);
111 int snd_hwdep_poll_descriptors_count(snd_hwdep_t *hwdep);
112 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
113 int snd_hwdep_nonblock(snd_hwdep_t *hwdep, int nonblock);
114 int snd_hwdep_info(snd_hwdep_t *hwdep, snd_hwdep_info_t * info);
115 int snd_hwdep_dsp_status(snd_hwdep_t *hwdep, snd_hwdep_dsp_status_
[all...]
H A Dasoundlib.h60 #include <alsa/hwdep.h>
/third_party/alsa-lib/aserver/
H A Daserver.c194 } hwdep;

Completed in 4 milliseconds