/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/rawmidi/ |
H A D | rawmidi_local.h | 28 int (*close)(snd_rawmidi_t *rawmidi); member in struct:__anon1509 29 int (*nonblock)(snd_rawmidi_t *rawmidi, int nonblock); member in struct:__anon1509 30 int (*info)(snd_rawmidi_t *rawmidi, snd_rawmidi_info_t *info); member in struct:__anon1509 31 int (*params)(snd_rawmidi_t *rawmidi, snd_rawmidi_params_t *params); member in struct:__anon1509 32 int (*status)(snd_rawmidi_t *rawmidi, snd_rawmidi_status_t *status); member in struct:__anon1509 33 int (*drop)(snd_rawmidi_t *rawmidi); member in struct:__anon1509 34 int (*drain)(snd_rawmidi_t *rawmidi); member in struct:__anon1509 35 ssize_t (*write)(snd_rawmidi_t *rawmidi, const void *buffer, size_t size); member in struct:__anon1509 36 ssize_t (*read)(snd_rawmidi_t *rawmidi, void *buffer, size_t size); member in struct:__anon1509 37 } snd_rawmidi_ops_t; typedef in typeref:struct:__anon1509 39 struct _snd_rawmidi { struct 40 void *dl_handle; member in struct:_snd_rawmidi 41 char *name; member in struct:_snd_rawmidi 42 snd_rawmidi_type_t type; member in struct:_snd_rawmidi 43 snd_rawmidi_stream_t stream; member in struct:_snd_rawmidi 44 int mode; member in struct:_snd_rawmidi 45 int poll_fd; member in struct:_snd_rawmidi 46 const snd_rawmidi_ops_t *ops; member in struct:_snd_rawmidi 47 void *private_data; member in struct:_snd_rawmidi 48 size_t buffer_size; member in struct:_snd_rawmidi 49 size_t avail_min; member in struct:_snd_rawmidi 50 unsigned int no_active_sensing: 1; member in struct:_snd_rawmidi [all...] |
H A D | rawmidi_symbols.c | 26 static const char **snd_rawmidi_open_objects[] = { variable 31 void *snd_rawmidi_open_symbols(void) function [all...] |
H A D | rawmidi_virt.c | 34 const char *_snd_module_rawmidi_virt = ""; variable 40 int open; member in struct:__anon1510 42 snd_seq_t *handle; member in struct:__anon1510 43 int port; member in struct:__anon1510 45 snd_midi_event_t *midi_event; member in struct:__anon1510 47 snd_seq_event_t *in_event; member in struct:__anon1510 48 int in_buf_size; member in struct:__anon1510 49 int in_buf_ofs; member in struct:__anon1510 50 char *in_buf_ptr; member in struct:__anon1510 51 char in_tmp_buf[16]; member in struct:__anon1510 53 snd_seq_event_t out_event; member in struct:__anon1510 54 int pending; member in struct:__anon1510 55 } snd_rawmidi_virtual_t; typedef in typeref:struct:__anon1510 62 snd_rawmidi_virtual_close(snd_rawmidi_t *rmidi) argument 64 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 75 snd_rawmidi_virtual_nonblock(snd_rawmidi_t *rmidi, int nonblock) argument 77 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 82 snd_rawmidi_virtual_info(snd_rawmidi_t *rmidi, snd_rawmidi_info_t * info) argument 100 snd_rawmidi_virtual_input_params(snd_rawmidi_virtual_t *virt, snd_rawmidi_params_t *params) argument 102 int err; local 120 snd_rawmidi_virtual_output_params(snd_rawmidi_virtual_t *virt, snd_rawmidi_params_t *params) argument 122 int err; local 139 snd_rawmidi_virtual_params(snd_rawmidi_t *rmidi, snd_rawmidi_params_t * params) argument 141 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 150 snd_rawmidi_virtual_status(snd_rawmidi_t *rmidi, snd_rawmidi_status_t * status) argument 158 snd_rawmidi_virtual_drop(snd_rawmidi_t *rmidi) argument 160 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 173 snd_rawmidi_virtual_drain(snd_rawmidi_t *rmidi) argument 175 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 176 int err; local 191 snd_rawmidi_virtual_write(snd_rawmidi_t *rmidi, const void *buffer, size_t size) argument 193 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 194 ssize_t result = 0; local 195 ssize_t size1; local 196 int err; local 236 snd_rawmidi_virtual_read(snd_rawmidi_t *rmidi, void *buffer, size_t size) argument 238 snd_rawmidi_virtual_t *virt = rmidi->private_data; local 239 ssize_t result = 0; local 240 int size1, err; local 281 static const snd_rawmidi_ops_t snd_rawmidi_virtual_ops = { variable 313 snd_rawmidi_virtual_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp, const char *name, snd_seq_t *seq_handle, int port, int merge, int mode) argument 317 int err; local 318 snd_rawmidi_t *rmidi; local 319 snd_rawmidi_virtual_t *virt = NULL; local 320 struct pollfd pfd; local 398 _snd_rawmidi_virtual_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int mode) argument 402 snd_config_iterator_t i, next; local 403 const char *slave_str = NULL; local 404 int err; local 405 int streams, seq_mode; local 406 int merge = 1; local 407 int port; local 408 unsigned int caps; local 409 snd_seq_t *seq_handle; local 411 snd_config_for_each(i, next, conf) { function 412 snd_config_t *n = snd_config_iterator_entry(i); local 413 const char *id; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/seq/ |
H A D | Makefile | 19 pkgdatadir = $(datadir)/alsa-lib macro 20 pkgincludedir = $(includedir)/alsa-lib macro 21 pkglibdir = $(libdir)/alsa-lib macro 22 pkglibexecdir = $(libexecdir)/alsa-lib macro 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro 24 install_sh_DATA = $(install_sh) -c -m 644 macro 25 install_sh_PROGRAM = $(install_sh) -c macro 26 install_sh_SCRIPT = $(install_sh) -c macro 27 INSTALL_HEADER = $(INSTALL_DATA) macro 28 transform = $(program_transform_name) macro 29 NORMAL_INSTALL = : macro 30 PRE_INSTALL = : macro 31 POST_INSTALL = : macro 32 NORMAL_UNINSTALL = : macro 33 PRE_UNINSTALL = : macro 34 POST_UNINSTALL = : macro 35 build_triplet = i686-pc-linux-gnu macro 36 host_triplet = arm-unknown-linux-gnu macro 38 subdir = src/seq macro 39 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \\ macro 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro 42 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \\ macro 44 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro 46 mkinstalldirs = $(install_sh) -d macro 47 CONFIG_HEADER = $(top_builddir)/include/config.h macro 48 CONFIG_CLEAN_FILES = macro 49 CONFIG_CLEAN_VPATH_FILES = macro 50 libseq_la_LIBADD = macro 51 am__libseq_la_SOURCES_DIST = seq_hw.c seq.c seq_event.c seqmid.c \\ macro 54 am_libseq_la_OBJECTS = seq_hw.lo seq.lo seq_event.lo seqmid.lo \\ macro 56 libseq_la_OBJECTS = $(am_libseq_la_OBJECTS) macro 57 AM_V_lt = $(am__v_lt_$(V)) macro 58 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) macro 59 am__v_lt_0 = --silent macro 60 DEFAULT_INCLUDES = -I. -I$(top_builddir)/include macro 61 depcomp = $(SHELL) $(top_srcdir)/depcomp macro 62 am__depfiles_maybe = depfiles macro 63 am__mv = mv -f macro 64 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro 66 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 70 AM_V_CC = $(am__v_CC_$(V)) macro 71 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) macro 72 am__v_CC_0 = @echo " CC " $@; macro 73 AM_V_at = $(am__v_at_$(V)) macro 74 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) macro 75 am__v_at_0 = @ macro 76 CCLD = $(CC) macro 77 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 80 AM_V_CCLD = $(am__v_CCLD_$(V)) macro 81 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) macro 82 am__v_CCLD_0 = @echo " CCLD " $@; macro 83 AM_V_GEN = $(am__v_GEN_$(V)) macro 84 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) macro 85 am__v_GEN_0 = @echo " GEN " $@; macro 86 SOURCES = $(libseq_la_SOURCES) macro 87 DIST_SOURCES = $(am__libseq_la_SOURCES_DIST) macro 88 HEADERS = $(noinst_HEADERS) macro 89 ETAGS = etags macro 90 CTAGS = ctags macro 91 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro 92 ACLOCAL = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run aclocal-1.11 macro 93 ALSA_CONFIG_DIR = /usr/share/alsa macro 94 ALSA_DEPLIBS = -lm -ldl -lpthread -lrt macro 95 ALSA_PKGCONF_DIR = /usr/lib/pkgconfig macro 96 ALSA_PLUGIN_DIR = /usr/lib/alsa-lib macro 97 AMTAR = $${TAR-tar} macro 98 AM_DEFAULT_VERBOSITY = 0 macro 99 AR = arm-brcm-linux-uclibcgnueabi-ar macro 100 AUTOCONF = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoconf macro 101 AUTOHEADER = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoheader macro 102 AUTOMAKE = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run automake-1.11 macro 103 AWK = gawk macro 104 CC = arm-brcm-linux-uclibcgnueabi-gcc macro 105 CCDEPMODE = depmode=gcc3 macro 106 CFLAGS = -Os -O2 -DBCMWPA2 -DRESTART_ALL_PROCESSES -D__CONFIG_USBAP__ -DBCMQOS -DBCMWPS -D__CONFIG_EMF__ -DTRAFFIC_MGMT -DPHYMON -DSUPPORT_REMOTE_HTTPS -DINCLUDE_WPS_V20 -DINCLUDE_5G_AUTO_CHANNEL -DOPENDNS_PARENTAL_CONTROL -DINCLUDE_UCP -DU12H240 -DR6300v2 -DMULTIPLE_SSID -DENABLE_ML -DBCM53125 -DBCM5301X -DCONFIG_RUSSIA_IPTV -DDLNA -DHTTP_ACCESS_USB -DMAX_USB_ACCESS -DSAMBA_ENABLE -DUSB_NEW_SPEC -DINCLUDE_WIFI_BUTTON -DINCLUDE_USB_LED -DINCLUDE_DUAL_BAND -DSINGLE_FIRMWARE -DINCLUDE_GET_ST_CHKSUM -DUNIFIED_STR_TBL -DFIRST_MTD_ROTATION -DWIFI_ON_OFF_SCHE -DAUTO_CONN_24HR -DIGMP_PROXY -DAP_MODE -D__CONFIG_IGMP_SNOOPING__ -DLINUX26 -DINCLUDE_IPV6 -DPRESET_WL_SECURITY -DNEW_BCM_WPS_IPC -DSUPPORT_AC_MODE -DSTA_MODE -DPPP_RU_DESIGN -DEXT_ACS -D__CONFIG_PLC__ -D__CONFIG_URE__ -DPLC -DWPS_LONGPUSH_DISABLE -Os -DLINUX26 -DCONFIG_KERNEL_2_6_36 -I$(SRC_PATH)/build/usr/include -D_GNU_SOURCE macro 107 CPP = arm-brcm-linux-uclibcgnueabi-gcc -E macro 108 CPPFLAGS = -I$(SRC_PATH)/build/usr/include -D__arm__ macro 109 CYGPATH_W = echo macro 110 DEFS = -DHAVE_CONFIG_H macro 111 DEPDIR = .deps macro 112 DLLTOOL = false macro 113 DSYMUTIL = macro 114 DUMPBIN = macro 115 ECHO_C = macro 116 ECHO_N = -n macro 117 ECHO_T = macro 118 EGREP = /bin/grep -E macro 119 EXEEXT = macro 120 FGREP = /bin/grep -F macro 121 GREP = /bin/grep macro 122 INSTALL = /usr/bin/install -c macro 123 INSTALL_DATA = ${INSTALL} -m 644 macro 124 INSTALL_PROGRAM = ${INSTALL} macro 125 INSTALL_SCRIPT = ${INSTALL} macro 126 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro 127 LD = arm-brcm-linux-uclibcgnueabi-ld macro 128 LDFLAGS = -L$(SRC_PATH)/build/usr/lib macro 129 LIBOBJS = macro 130 LIBS = macro 131 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro 132 LIBTOOL_VERSION_INFO = 2:0:0 macro 133 LIPO = macro 134 LN_S = ln -s macro 135 LTLIBOBJS = macro 136 MAKEINFO = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run makeinfo macro 137 MANIFEST_TOOL = : macro 138 MKDIR_P = /bin/mkdir -p macro 139 NM = arm-brcm-linux-uclibcgnueabi-nm macro 140 NMEDIT = macro 141 OBJDUMP = arm-brcm-linux-uclibcgnueabi-objdump macro 142 OBJEXT = o macro 143 OTOOL = macro 144 OTOOL64 = macro 145 PACKAGE = alsa-lib macro 146 PACKAGE_BUGREPORT = macro 147 PACKAGE_NAME = macro 148 PACKAGE_STRING = macro 149 PACKAGE_TARNAME = macro 150 PACKAGE_URL = macro 151 PACKAGE_VERSION = macro 152 PATH_SEPARATOR = : macro 153 PYTHON_INCLUDES = macro 154 PYTHON_LIBS = macro 155 RANLIB = arm-brcm-linux-uclibcgnueabi-ranlib macro 156 SED = /bin/sed macro 157 SET_MAKE = macro 158 SHELL = /bin/sh macro 159 SND_LIB_EXTRAVER = 1000000 macro 160 SND_LIB_MAJOR = 1 macro 161 SND_LIB_MINOR = 0 macro 162 SND_LIB_SUBMINOR = 26 macro 163 SND_LIB_VERSION = 1.0.26 macro 164 STRIP = arm-brcm-linux-uclibcgnueabi-strip macro 165 SYMBOL_PREFIX = macro 166 VERSION = 1.0.26 macro 167 abs_builddir = $(SRC_PATH)/alsa-lib-1.0.26/src/seq macro 168 abs_srcdir = $(SRC_PATH)/alsa-lib-1.0.26/src/seq macro 169 abs_top_builddir = $(SRC_PATH)/alsa-lib-1.0.26 macro 170 abs_top_srcdir = $(SRC_PATH)/alsa-lib-1.0.26 macro 171 ac_ct_AR = macro 172 ac_ct_CC = macro 173 ac_ct_DUMPBIN = macro 174 am__include = include macro 175 am__leading_dot = . macro 176 am__quote = macro 177 am__tar = $${TAR-tar} chof - "$$tardir" macro 178 am__untar = $${TAR-tar} xf - macro 179 bindir = ${exec_prefix}/bin macro 180 build = i686-pc-linux-gnu macro 181 build_alias = macro 182 build_cpu = i686 macro 183 build_os = linux-gnu macro 184 build_vendor = pc macro 185 builddir = . macro 186 datadir = ${datarootdir} macro 187 datarootdir = ${prefix}/share macro 188 docdir = ${datarootdir}/doc/${PACKAGE} macro 189 dvidir = ${docdir} macro 190 exec_prefix = /usr macro 191 host = arm-unknown-linux-gnu macro 192 host_alias = arm-linux macro 193 host_cpu = arm macro 194 host_os = linux-gnu macro 195 host_vendor = unknown macro 196 htmldir = ${docdir} macro 197 includedir = ${prefix}/include macro 198 infodir = ${datarootdir}/info macro 199 install_sh = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/install-sh macro 200 libdir = ${exec_prefix}/lib macro 201 libexecdir = ${exec_prefix}/libexec macro 202 localedir = ${datarootdir}/locale macro 203 localstatedir = ${prefix}/var macro 204 mandir = ${datarootdir}/man macro 205 mkdir_p = /bin/mkdir -p macro 206 oldincludedir = /usr/include macro 207 pdfdir = ${docdir} macro 208 prefix = /usr macro 209 program_transform_name = s,x,x, macro 210 psdir = ${docdir} macro 211 sbindir = ${exec_prefix}/sbin macro 212 sharedstatedir = ${prefix}/com macro 213 srcdir = . macro 214 sysconfdir = ${prefix}/etc macro 215 target_alias = macro 216 top_build_prefix = ../../ macro 217 top_builddir = ../.. macro 218 top_srcdir = ../.. macro 219 EXTRA_LTLIBRARIES = libseq.la macro 220 libseq_la_SOURCES = seq_hw.c seq.c seq_event.c seqmid.c \\ macro 222 noinst_HEADERS = seq_local.h macro 223 INCLUDES = -I$(top_srcdir)/include macro [all...] |
H A D | seq.c | 800 snd_seq_name(snd_seq_t *seq) argument 815 snd_seq_type(snd_seq_t *seq) argument 821 snd_seq_open_conf(snd_seq_t **seqp, const char *name, snd_config_t *seq_root, snd_config_t *seq_conf, int streams, int mode) argument 825 const char *str; local 826 char buf[256]; local 827 int err; local 828 snd_config_t *conf, *type_conf = NULL; local 829 snd_config_iterator_t i, next; local 830 const char *id; local 831 const char *lib = NULL, *open_name = NULL; local 838 void *h = NULL; local 867 snd_config_for_each(i, next, type_conf) { function 868 snd_config_t *n = snd_config_iterator_entry(i); local 869 const char *id; local 927 snd_seq_open_noupdate(snd_seq_t **seqp, snd_config_t *root, const char *name, int streams, int mode, int hop) argument 931 int err; local 932 snd_config_t *seq_conf; local 974 snd_seq_open(snd_seq_t **seqp, const char *name, int streams, int mode) argument 977 int err; local 1000 snd_seq_open_lconf(snd_seq_t **seqp, const char *name, int streams, int mode, snd_config_t *lconf) argument 1008 _snd_seq_open_lconf(snd_seq_t **seqp, const char *name, int streams, int mode, snd_config_t *lconf, snd_config_t *parent_conf) argument 1012 int hop; local 1033 snd_seq_close(snd_seq_t *seq) argument 1035 int err; local 1060 snd_seq_poll_descriptors_count(snd_seq_t *seq, short events) argument 1062 int result = 0; local 1093 snd_seq_poll_descriptors(snd_seq_t *seq, struct pollfd *pfds, unsigned int space, short events) argument 1095 short revents = 0; local 1123 snd_seq_poll_descriptors_revents(snd_seq_t *seq, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 1146 snd_seq_nonblock(snd_seq_t *seq, int nonblock) argument 1148 int err; local 1172 snd_seq_client_id(snd_seq_t *seq) argument 1189 snd_seq_get_output_buffer_size(snd_seq_t *seq) argument 1207 snd_seq_get_input_buffer_size(snd_seq_t *seq) argument 1225 snd_seq_set_output_buffer_size(snd_seq_t *seq, size_t size) argument 1231 char *newbuf; local 1252 snd_seq_set_input_buffer_size(snd_seq_t *seq, size_t size) argument 1259 snd_seq_event_t *newbuf; local 1275 size_t snd_seq_system_info_sizeof() function 1285 snd_seq_system_info_malloc(snd_seq_system_info_t **ptr) argument 1298 snd_seq_system_info_free(snd_seq_system_info_t *obj) argument 1308 snd_seq_system_info_copy(snd_seq_system_info_t *dst, const snd_seq_system_info_t *src) argument 1322 snd_seq_system_info_get_queues(const snd_seq_system_info_t *info) argument 1335 snd_seq_system_info_get_clients(const snd_seq_system_info_t *info) argument 1348 snd_seq_system_info_get_ports(const snd_seq_system_info_t *info) argument 1361 snd_seq_system_info_get_channels(const snd_seq_system_info_t *info) argument 1374 snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t *info) argument 1387 snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t *info) argument 1403 snd_seq_system_info(snd_seq_t *seq, snd_seq_system_info_t * info) argument 1416 size_t snd_seq_client_info_sizeof() function 1426 snd_seq_client_info_malloc(snd_seq_client_info_t **ptr) argument 1439 snd_seq_client_info_free(snd_seq_client_info_t *obj) argument 1449 snd_seq_client_info_copy(snd_seq_client_info_t *dst, const snd_seq_client_info_t *src) argument 1463 snd_seq_client_info_get_client(const snd_seq_client_info_t *info) argument 1479 snd_seq_client_info_get_type(const snd_seq_client_info_t *info) argument 1492 snd_seq_client_info_get_name(snd_seq_client_info_t *info) argument 1505 snd_seq_client_info_get_broadcast_filter(const snd_seq_client_info_t *info) argument 1518 snd_seq_client_info_get_error_bounce(const snd_seq_client_info_t *info) argument 1537 snd_seq_client_info_get_event_filter(const snd_seq_client_info_t *info) argument 1559 snd_seq_client_info_event_filter_clear(snd_seq_client_info_t *info) argument 1580 snd_seq_client_info_event_filter_add(snd_seq_client_info_t *info, int event_type) argument 1601 snd_seq_client_info_event_filter_del(snd_seq_client_info_t *info, int event_type) argument 1621 snd_seq_client_info_event_filter_check(snd_seq_client_info_t *info, int event_type) argument 1634 snd_seq_client_info_get_num_ports(const snd_seq_client_info_t *info) argument 1647 snd_seq_client_info_get_event_lost(const snd_seq_client_info_t *info) argument 1660 snd_seq_client_info_set_client(snd_seq_client_info_t *info, int client) argument 1674 snd_seq_client_info_set_name(snd_seq_client_info_t *info, const char *name) argument 1687 snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_t *info, int val) argument 1703 snd_seq_client_info_set_error_bounce(snd_seq_client_info_t *info, int val) argument 1725 snd_seq_client_info_set_event_filter(snd_seq_client_info_t *info, unsigned char *filter) argument 1750 snd_seq_get_any_client_info(snd_seq_t *seq, int client, snd_seq_client_info_t *info) argument 1770 snd_seq_get_client_info(snd_seq_t *seq, snd_seq_client_info_t *info) argument 1786 snd_seq_set_client_info(snd_seq_t *seq, snd_seq_client_info_t *info) argument 1808 snd_seq_query_next_client(snd_seq_t *seq, snd_seq_client_info_t *info) argument 1826 size_t snd_seq_port_info_sizeof() function 1836 snd_seq_port_info_malloc(snd_seq_port_info_t **ptr) argument 1849 snd_seq_port_info_free(snd_seq_port_info_t *obj) argument 1859 snd_seq_port_info_copy(snd_seq_port_info_t *dst, const snd_seq_port_info_t *src) argument 1873 snd_seq_port_info_get_client(const snd_seq_port_info_t *info) argument 1886 snd_seq_port_info_get_port(const snd_seq_port_info_t *info) argument 1899 snd_seq_port_info_get_addr(const snd_seq_port_info_t *info) argument 1912 snd_seq_port_info_get_name(const snd_seq_port_info_t *info) argument 1925 snd_seq_port_info_get_capability(const snd_seq_port_info_t *info) argument 1938 snd_seq_port_info_get_type(const snd_seq_port_info_t *info) argument 1951 snd_seq_port_info_get_read_use(const snd_seq_port_info_t *info) argument 1964 snd_seq_port_info_get_write_use(const snd_seq_port_info_t *info) argument 1977 snd_seq_port_info_get_midi_channels(const snd_seq_port_info_t *info) argument 1990 snd_seq_port_info_get_midi_voices(const snd_seq_port_info_t *info) argument 2003 snd_seq_port_info_get_synth_voices(const snd_seq_port_info_t *info) argument 2016 snd_seq_port_info_get_port_specified(const snd_seq_port_info_t *info) argument 2029 snd_seq_port_info_get_timestamping(const snd_seq_port_info_t *info) argument 2042 snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t *info) argument 2055 snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t *info) argument 2068 snd_seq_port_info_set_client(snd_seq_port_info_t *info, int client) argument 2081 snd_seq_port_info_set_port(snd_seq_port_info_t *info, int port) argument 2094 snd_seq_port_info_set_addr(snd_seq_port_info_t *info, const snd_seq_addr_t *addr) argument 2107 snd_seq_port_info_set_name(snd_seq_port_info_t *info, const char *name) argument 2120 snd_seq_port_info_set_capability(snd_seq_port_info_t *info, unsigned int capability) argument 2133 snd_seq_port_info_set_type(snd_seq_port_info_t *info, unsigned int type) argument 2146 snd_seq_port_info_set_midi_channels(snd_seq_port_info_t *info, int channels) argument 2159 snd_seq_port_info_set_midi_voices(snd_seq_port_info_t *info, int voices) argument 2172 snd_seq_port_info_set_synth_voices(snd_seq_port_info_t *info, int voices) argument 2185 snd_seq_port_info_set_port_specified(snd_seq_port_info_t *info, int val) argument 2201 snd_seq_port_info_set_timestamping(snd_seq_port_info_t *info, int enable) argument 2217 snd_seq_port_info_set_timestamp_real(snd_seq_port_info_t *info, int enable) argument 2233 snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_t *info, int queue) argument 2285 snd_seq_create_port(snd_seq_t *seq, snd_seq_port_info_t * port) argument 2302 snd_seq_delete_port(snd_seq_t *seq, int port) argument 2304 snd_seq_port_info_t pinfo; local 2322 snd_seq_get_any_port_info(snd_seq_t *seq, int client, int port, snd_seq_port_info_t * info) argument 2341 snd_seq_get_port_info(snd_seq_t *seq, int port, snd_seq_port_info_t * info) argument 2355 snd_seq_set_port_info(snd_seq_t *seq, int port, snd_seq_port_info_t * info) argument 2380 snd_seq_query_next_port(snd_seq_t *seq, snd_seq_port_info_t *info) argument 2398 size_t snd_seq_port_subscribe_sizeof() function 2408 snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_t **ptr) argument 2421 snd_seq_port_subscribe_free(snd_seq_port_subscribe_t *obj) argument 2431 snd_seq_port_subscribe_copy(snd_seq_port_subscribe_t *dst, const snd_seq_port_subscribe_t *src) argument 2444 snd_seq_port_subscribe_get_sender(const snd_seq_port_subscribe_t *info) argument 2456 snd_seq_port_subscribe_get_dest(const snd_seq_port_subscribe_t *info) argument 2469 snd_seq_port_subscribe_get_queue(const snd_seq_port_subscribe_t *info) argument 2482 snd_seq_port_subscribe_get_exclusive(const snd_seq_port_subscribe_t *info) argument 2495 snd_seq_port_subscribe_get_time_update(const snd_seq_port_subscribe_t *info) argument 2508 snd_seq_port_subscribe_get_time_real(const snd_seq_port_subscribe_t *info) argument 2521 snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_t *info, const snd_seq_addr_t *addr) argument 2534 snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_t *info, const snd_seq_addr_t *addr) argument 2547 snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t *info, int q) argument 2560 snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_t *info, int val) argument 2576 snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_t *info, int val) argument 2592 snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_t *info, int val) argument 2610 snd_seq_get_port_subscription(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 2628 snd_seq_subscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 2645 snd_seq_unsubscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 2656 size_t snd_seq_query_subscribe_sizeof() function 2666 snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_t **ptr) argument 2679 snd_seq_query_subscribe_free(snd_seq_query_subscribe_t *obj) argument 2689 snd_seq_query_subscribe_copy(snd_seq_query_subscribe_t *dst, const snd_seq_query_subscribe_t *src) argument 2703 snd_seq_query_subscribe_get_client(const snd_seq_query_subscribe_t *info) argument 2716 snd_seq_query_subscribe_get_port(const snd_seq_query_subscribe_t *info) argument 2729 snd_seq_query_subscribe_get_root(const snd_seq_query_subscribe_t *info) argument 2742 snd_seq_query_subscribe_get_type(const snd_seq_query_subscribe_t *info) argument 2755 snd_seq_query_subscribe_get_index(const snd_seq_query_subscribe_t *info) argument 2768 snd_seq_query_subscribe_get_num_subs(const snd_seq_query_subscribe_t *info) argument 2781 snd_seq_query_subscribe_get_addr(const snd_seq_query_subscribe_t *info) argument 2794 snd_seq_query_subscribe_get_queue(const snd_seq_query_subscribe_t *info) argument 2807 snd_seq_query_subscribe_get_exclusive(const snd_seq_query_subscribe_t *info) argument 2820 snd_seq_query_subscribe_get_time_update(const snd_seq_query_subscribe_t *info) argument 2833 snd_seq_query_subscribe_get_time_real(const snd_seq_query_subscribe_t *info) argument 2846 snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_t *info, int client) argument 2859 snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_t *info, int port) argument 2872 snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_t *info, const snd_seq_addr_t *addr) argument 2885 snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_t *info, snd_seq_query_subs_type_t type) argument 2898 snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_t *info, int index) argument 2924 snd_seq_query_port_subscribers(snd_seq_t *seq, snd_seq_query_subscribe_t * subs) argument 2940 size_t snd_seq_queue_info_sizeof() function 2950 snd_seq_queue_info_malloc(snd_seq_queue_info_t **ptr) argument 2963 snd_seq_queue_info_free(snd_seq_queue_info_t *obj) argument 2973 snd_seq_queue_info_copy(snd_seq_queue_info_t *dst, const snd_seq_queue_info_t *src) argument 2987 snd_seq_queue_info_get_queue(const snd_seq_queue_info_t *info) argument 3000 snd_seq_queue_info_get_name(const snd_seq_queue_info_t *info) argument 3013 snd_seq_queue_info_get_owner(const snd_seq_queue_info_t *info) argument 3026 snd_seq_queue_info_get_locked(const snd_seq_queue_info_t *info) argument 3039 snd_seq_queue_info_get_flags(const snd_seq_queue_info_t *info) argument 3052 snd_seq_queue_info_set_name(snd_seq_queue_info_t *info, const char *name) argument 3065 snd_seq_queue_info_set_owner(snd_seq_queue_info_t *info, int owner) argument 3078 snd_seq_queue_info_set_locked(snd_seq_queue_info_t *info, int locked) argument 3091 snd_seq_queue_info_set_flags(snd_seq_queue_info_t *info, unsigned int flags) argument 3106 snd_seq_create_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 3108 int err; local 3125 snd_seq_alloc_named_queue(snd_seq_t *seq, const char *name) argument 3127 snd_seq_queue_info_t info; local 3143 snd_seq_alloc_queue(snd_seq_t *seq) argument 3156 snd_seq_free_queue(snd_seq_t *seq, int q) argument 3158 snd_seq_queue_info_t info; local 3174 snd_seq_get_queue_info(snd_seq_t *seq, int q, snd_seq_queue_info_t *info) argument 3190 snd_seq_set_queue_info(snd_seq_t *seq, int q, snd_seq_queue_info_t *info) argument 3207 snd_seq_query_named_queue(snd_seq_t *seq, const char *name) argument 3209 int err; local 3210 snd_seq_queue_info_t info; local 3228 snd_seq_get_queue_usage(snd_seq_t *seq, int q) argument 3230 struct sndrv_seq_queue_client info; local 3231 int err; local 3250 snd_seq_set_queue_usage(snd_seq_t *seq, int q, int used) argument 3252 struct sndrv_seq_queue_client info; local 3266 size_t snd_seq_queue_status_sizeof() function 3276 snd_seq_queue_status_malloc(snd_seq_queue_status_t **ptr) argument 3289 snd_seq_queue_status_free(snd_seq_queue_status_t *obj) argument 3299 snd_seq_queue_status_copy(snd_seq_queue_status_t *dst, const snd_seq_queue_status_t *src) argument 3313 snd_seq_queue_status_get_queue(const snd_seq_queue_status_t *info) argument 3326 snd_seq_queue_status_get_events(const snd_seq_queue_status_t *info) argument 3339 snd_seq_queue_status_get_tick_time(const snd_seq_queue_status_t *info) argument 3351 snd_seq_queue_status_get_real_time(const snd_seq_queue_status_t *info) argument 3364 snd_seq_queue_status_get_status(const snd_seq_queue_status_t *info) argument 3380 snd_seq_get_queue_status(snd_seq_t *seq, int q, snd_seq_queue_status_t * status) argument 3393 size_t snd_seq_queue_tempo_sizeof() function 3403 snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_t **ptr) argument 3416 snd_seq_queue_tempo_free(snd_seq_queue_tempo_t *obj) argument 3426 snd_seq_queue_tempo_copy(snd_seq_queue_tempo_t *dst, const snd_seq_queue_tempo_t *src) argument 3440 snd_seq_queue_tempo_get_queue(const snd_seq_queue_tempo_t *info) argument 3453 snd_seq_queue_tempo_get_tempo(const snd_seq_queue_tempo_t *info) argument 3466 snd_seq_queue_tempo_get_ppq(const snd_seq_queue_tempo_t *info) argument 3479 snd_seq_queue_tempo_get_skew(const snd_seq_queue_tempo_t *info) argument 3492 snd_seq_queue_tempo_get_skew_base(const snd_seq_queue_tempo_t *info) argument 3505 snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t *info, unsigned int tempo) argument 3518 snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_t *info, int ppq) argument 3534 snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_t *info, unsigned int skew) argument 3547 snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_t *info, unsigned int base) argument 3562 snd_seq_get_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) argument 3579 snd_seq_set_queue_tempo(snd_seq_t *seq, int q, snd_seq_queue_tempo_t * tempo) argument 3593 size_t snd_seq_queue_timer_sizeof() function 3603 snd_seq_queue_timer_malloc(snd_seq_queue_timer_t **ptr) argument 3616 snd_seq_queue_timer_free(snd_seq_queue_timer_t *obj) argument 3626 snd_seq_queue_timer_copy(snd_seq_queue_timer_t *dst, const snd_seq_queue_timer_t *src) argument 3640 snd_seq_queue_timer_get_queue(const snd_seq_queue_timer_t *info) argument 3653 snd_seq_queue_timer_get_type(const snd_seq_queue_timer_t *info) argument 3666 snd_seq_queue_timer_get_id(const snd_seq_queue_timer_t *info) argument 3679 snd_seq_queue_timer_get_resolution(const snd_seq_queue_timer_t *info) argument 3692 snd_seq_queue_timer_set_type(snd_seq_queue_timer_t *info, snd_seq_queue_timer_type_t type) argument 3705 snd_seq_queue_timer_set_id(snd_seq_queue_timer_t *info, const snd_timer_id_t *id) argument 3718 snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_t *info, unsigned int resolution) argument 3734 snd_seq_get_queue_timer(snd_seq_t *seq, int q, snd_seq_queue_timer_t * timer) argument 3751 snd_seq_set_queue_timer(snd_seq_t *seq, int q, snd_seq_queue_timer_t * timer) argument 3769 snd_seq_event_t *snd_seq_create_event(void) function 3784 snd_seq_free_event(snd_seq_event_t *ev ATTRIBUTE_UNUSED) argument 3797 snd_seq_event_length(snd_seq_event_t *ev) argument 3799 ssize_t len = sizeof(snd_seq_event_t); local 3830 snd_seq_event_output(snd_seq_t *seq, snd_seq_event_t *ev) argument 3832 int result; local 3854 snd_seq_event_output_buffer(snd_seq_t *seq, snd_seq_event_t *ev) argument 3856 int len; local 3877 alloc_tmpbuf(snd_seq_t *seq, size_t len) argument 3879 size_t size = ((len + sizeof(snd_seq_event_t) - 1) / sizeof(snd_seq_event_t)); local 3910 snd_seq_event_output_direct(snd_seq_t *seq, snd_seq_event_t *ev) argument 3912 ssize_t len; local 3913 void *buf; local 3937 snd_seq_event_output_pending(snd_seq_t *seq) argument 3958 snd_seq_drain_output(snd_seq_t *seq) argument 3960 ssize_t result, processed = 0; local 3987 snd_seq_extract_output(snd_seq_t *seq, snd_seq_event_t **ev_res) argument 3989 size_t len, olen; local 3990 snd_seq_event_t ev; local 4019 snd_seq_event_read_buffer(snd_seq_t *seq) argument 4021 ssize_t len; local 4030 snd_seq_event_retrieve_buffer(snd_seq_t *seq, snd_seq_event_t **retp) argument 4032 size_t ncells; local 4033 snd_seq_event_t *ev; local 4082 snd_seq_event_input(snd_seq_t *seq, snd_seq_event_t **ev) argument 4084 int err; local 4098 snd_seq_event_input_feed(snd_seq_t *seq, int timeout) argument 4100 struct pollfd pfd; local 4101 int err; local 4129 snd_seq_event_input_pending(snd_seq_t *seq, int fetch_sequencer) argument 4153 snd_seq_drop_output_buffer(snd_seq_t *seq) argument 4166 snd_seq_drop_input_buffer(snd_seq_t *seq) argument 4183 snd_seq_drop_output(snd_seq_t *seq) argument 4185 snd_seq_remove_events_t rminfo; local 4200 snd_seq_drop_input(snd_seq_t *seq) argument 4202 snd_seq_remove_events_t rminfo; local 4216 size_t snd_seq_remove_events_sizeof() function 4226 snd_seq_remove_events_malloc(snd_seq_remove_events_t **ptr) argument 4239 snd_seq_remove_events_free(snd_seq_remove_events_t *obj) argument 4249 snd_seq_remove_events_copy(snd_seq_remove_events_t *dst, const snd_seq_remove_events_t *src) argument 4263 snd_seq_remove_events_get_condition(const snd_seq_remove_events_t *info) argument 4276 snd_seq_remove_events_get_queue(const snd_seq_remove_events_t *info) argument 4289 snd_seq_remove_events_get_time(const snd_seq_remove_events_t *info) argument 4302 snd_seq_remove_events_get_dest(const snd_seq_remove_events_t *info) argument 4315 snd_seq_remove_events_get_channel(const snd_seq_remove_events_t *info) argument 4328 snd_seq_remove_events_get_event_type(const snd_seq_remove_events_t *info) argument 4341 snd_seq_remove_events_get_tag(const snd_seq_remove_events_t *info) argument 4354 snd_seq_remove_events_set_condition(snd_seq_remove_events_t *info, unsigned int flags) argument 4367 snd_seq_remove_events_set_queue(snd_seq_remove_events_t *info, int queue) argument 4380 snd_seq_remove_events_set_time(snd_seq_remove_events_t *info, const snd_seq_timestamp_t *time) argument 4393 snd_seq_remove_events_set_dest(snd_seq_remove_events_t *info, const snd_seq_addr_t *addr) argument 4406 snd_seq_remove_events_set_channel(snd_seq_remove_events_t *info, int channel) argument 4419 snd_seq_remove_events_set_event_type(snd_seq_remove_events_t *info, int type) argument 4432 snd_seq_remove_events_set_tag(snd_seq_remove_events_t *info, int tag) argument 4441 snd_seq_compare_tick_time(snd_seq_tick_time_t *a, snd_seq_tick_time_t *b) argument 4447 snd_seq_compare_real_time(snd_seq_real_time_t *a, snd_seq_real_time_t *b) argument 4458 remove_match(snd_seq_remove_events_t *info, snd_seq_event_t *ev) argument 4460 int res; local 4523 snd_seq_remove_events(snd_seq_t *seq, snd_seq_remove_events_t *rmp) argument 4542 char *ep; local 4543 size_t len; local 4544 snd_seq_event_t *ev; local 4576 size_t snd_seq_client_pool_sizeof() function 4586 snd_seq_client_pool_malloc(snd_seq_client_pool_t **ptr) argument 4599 snd_seq_client_pool_free(snd_seq_client_pool_t *obj) argument 4609 snd_seq_client_pool_copy(snd_seq_client_pool_t *dst, const snd_seq_client_pool_t *src) argument 4621 snd_seq_client_pool_get_client(const snd_seq_client_pool_t *info) argument 4632 snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t *info) argument 4643 snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t *info) argument 4654 snd_seq_client_pool_get_output_room(const snd_seq_client_pool_t *info) argument 4665 snd_seq_client_pool_get_output_free(const snd_seq_client_pool_t *info) argument 4676 snd_seq_client_pool_get_input_free(const snd_seq_client_pool_t *info) argument 4687 snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t *info, size_t size) argument 4698 snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t *info, size_t size) argument 4709 snd_seq_client_pool_set_output_room(snd_seq_client_pool_t *info, size_t size) argument 4721 snd_seq_get_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) argument 4736 snd_seq_set_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) argument 4752 snd_seq_set_bit(int nr, void *array) argument 4760 snd_seq_unset_bit(int nr, void *array) argument 4768 snd_seq_change_bit(int nr, void *array) argument 4770 int result; local 4780 snd_seq_get_bit(int nr, void *array) argument [all...] |
H A D | seq_event.c | 11 #define FIXED_EV macro 15 const unsigned int snd_seq_event_types[256] = { variable [all...] |
H A D | seq_hw.c | 29 const char *_snd_module_seq_hw = ""; variable 33 #define SNDRV_FILE_SEQ macro 34 #define SNDRV_FILE_ALOADSEQ macro 35 #define SNDRV_SEQ_VERSION_MAX macro 38 int fd; member in struct:__anon1511 39 } snd_seq_hw_t; typedef in typeref:struct:__anon1511 42 snd_seq_hw_close(snd_seq_t *seq) argument 44 snd_seq_hw_t *hw = seq->private_data; local 45 int err = 0; local 55 snd_seq_hw_nonblock(snd_seq_t *seq, int nonblock) argument 57 snd_seq_hw_t *hw = seq->private_data; local 58 long flags; local 75 snd_seq_hw_client_id(snd_seq_t *seq) argument 77 snd_seq_hw_t *hw = seq->private_data; local 78 int client; local 86 snd_seq_hw_system_info(snd_seq_t *seq, snd_seq_system_info_t * info) argument 88 snd_seq_hw_t *hw = seq->private_data; local 96 snd_seq_hw_get_client_info(snd_seq_t *seq, snd_seq_client_info_t * info) argument 98 snd_seq_hw_t *hw = seq->private_data; local 106 snd_seq_hw_set_client_info(snd_seq_t *seq, snd_seq_client_info_t * info) argument 108 snd_seq_hw_t *hw = seq->private_data; local 116 snd_seq_hw_create_port(snd_seq_t *seq, snd_seq_port_info_t * port) argument 118 snd_seq_hw_t *hw = seq->private_data; local 126 snd_seq_hw_delete_port(snd_seq_t *seq, snd_seq_port_info_t * port) argument 128 snd_seq_hw_t *hw = seq->private_data; local 136 snd_seq_hw_get_port_info(snd_seq_t *seq, snd_seq_port_info_t * info) argument 138 snd_seq_hw_t *hw = seq->private_data; local 146 snd_seq_hw_set_port_info(snd_seq_t *seq, snd_seq_port_info_t * info) argument 148 snd_seq_hw_t *hw = seq->private_data; local 156 snd_seq_hw_get_port_subscription(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 158 snd_seq_hw_t *hw = seq->private_data; local 166 snd_seq_hw_subscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 168 snd_seq_hw_t *hw = seq->private_data; local 176 snd_seq_hw_unsubscribe_port(snd_seq_t *seq, snd_seq_port_subscribe_t * sub) argument 178 snd_seq_hw_t *hw = seq->private_data; local 186 snd_seq_hw_query_port_subscribers(snd_seq_t *seq, snd_seq_query_subscribe_t * subs) argument 188 snd_seq_hw_t *hw = seq->private_data; local 196 snd_seq_hw_get_queue_status(snd_seq_t *seq, snd_seq_queue_status_t * status) argument 198 snd_seq_hw_t *hw = seq->private_data; local 206 snd_seq_hw_get_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) argument 208 snd_seq_hw_t *hw = seq->private_data; local 216 snd_seq_hw_set_queue_tempo(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo) argument 218 snd_seq_hw_t *hw = seq->private_data; local 226 snd_seq_hw_get_queue_timer(snd_seq_t *seq, snd_seq_queue_timer_t * timer) argument 228 snd_seq_hw_t *hw = seq->private_data; local 236 snd_seq_hw_set_queue_timer(snd_seq_t *seq, snd_seq_queue_timer_t * timer) argument 238 snd_seq_hw_t *hw = seq->private_data; local 246 snd_seq_hw_get_queue_client(snd_seq_t *seq, snd_seq_queue_client_t * info) argument 248 snd_seq_hw_t *hw = seq->private_data; local 256 snd_seq_hw_set_queue_client(snd_seq_t *seq, snd_seq_queue_client_t * info) argument 258 snd_seq_hw_t *hw = seq->private_data; local 266 snd_seq_hw_create_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 268 snd_seq_hw_t *hw = seq->private_data; local 276 snd_seq_hw_delete_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 278 snd_seq_hw_t *hw = seq->private_data; local 286 snd_seq_hw_get_queue_info(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 288 snd_seq_hw_t *hw = seq->private_data; local 296 snd_seq_hw_set_queue_info(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 298 snd_seq_hw_t *hw = seq->private_data; local 306 snd_seq_hw_get_named_queue(snd_seq_t *seq, snd_seq_queue_info_t *info) argument 308 snd_seq_hw_t *hw = seq->private_data; local 316 snd_seq_hw_write(snd_seq_t *seq, void *buf, size_t len) argument 318 snd_seq_hw_t *hw = seq->private_data; local 319 ssize_t result = write(hw->fd, buf, len); local 325 snd_seq_hw_read(snd_seq_t *seq, void *buf, size_t len) argument 327 snd_seq_hw_t *hw = seq->private_data; local 328 ssize_t result = read(hw->fd, buf, len); local 334 snd_seq_hw_remove_events(snd_seq_t *seq, snd_seq_remove_events_t *rmp) argument 336 snd_seq_hw_t *hw = seq->private_data; local 344 snd_seq_hw_get_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) argument 346 snd_seq_hw_t *hw = seq->private_data; local 354 snd_seq_hw_set_client_pool(snd_seq_t *seq, snd_seq_client_pool_t *info) argument 356 snd_seq_hw_t *hw = seq->private_data; local 364 snd_seq_hw_query_next_client(snd_seq_t *seq, snd_seq_client_info_t *info) argument 366 snd_seq_hw_t *hw = seq->private_data; local 374 snd_seq_hw_query_next_port(snd_seq_t *seq, snd_seq_port_info_t *info) argument 376 snd_seq_hw_t *hw = seq->private_data; local 384 static const snd_seq_ops_t snd_seq_hw_ops = { variable 419 snd_seq_hw_open(snd_seq_t **handle, const char *name, int streams, int mode) argument 421 int fd, ver, client, fmode, ret; local 422 const char *filename; local 423 snd_seq_t *seq; local 424 snd_seq_hw_t *hw; local 521 struct sndrv_seq_running_info run_mode; local 539 _snd_seq_hw_open(snd_seq_t **handlep, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int streams, int mode) argument 543 snd_config_iterator_t i, next; local 544 snd_config_for_each(i, next, conf) { function 545 snd_config_t *n = snd_config_iterator_entry(i); local 546 const char *id; local [all...] |
H A D | seq_local.h | 24 #define __SEQ_LOCAL_H macro 31 #define SND_SEQ_OBUF_SIZE macro 32 #define SND_SEQ_IBUF_SIZE macro 33 #define DEFAULT_TMPBUF_SIZE macro 35 typedef struct sndrv_seq_queue_client snd_seq_queue_client_t; typedef in typeref:struct:sndrv_seq_queue_client 39 int (*close)(snd_seq_t *seq); member in struct:__anon1512 40 int (*nonblock)(snd_seq_t *seq, int nonblock); member in struct:__anon1512 41 int (*system_info)(snd_seq_t *seq, snd_seq_system_info_t * info); member in struct:__anon1512 42 int (*get_client_info)(snd_seq_t *seq, snd_seq_client_info_t * info); member in struct:__anon1512 43 int (*set_client_info)(snd_seq_t *seq, snd_seq_client_info_t * info); member in struct:__anon1512 44 int (*create_port)(snd_seq_t *seq, snd_seq_port_info_t * port); member in struct:__anon1512 45 int (*delete_port)(snd_seq_t *seq, snd_seq_port_info_t * port); member in struct:__anon1512 46 int (*get_port_info)(snd_seq_t *seq, snd_seq_port_info_t * info); member in struct:__anon1512 47 int (*set_port_info)(snd_seq_t *seq, snd_seq_port_info_t * info); member in struct:__anon1512 48 int (*get_port_subscription)(snd_seq_t *seq, snd_seq_port_subscribe_t * sub); member in struct:__anon1512 49 int (*subscribe_port)(snd_seq_t *seq, snd_seq_port_subscribe_t * sub); member in struct:__anon1512 50 int (*unsubscribe_port)(snd_seq_t *seq, snd_seq_port_subscribe_t * sub); member in struct:__anon1512 51 int (*query_port_subscribers)(snd_seq_t *seq, snd_seq_query_subscribe_t * subs); member in struct:__anon1512 52 int (*get_queue_status)(snd_seq_t *seq, snd_seq_queue_status_t * status); member in struct:__anon1512 53 int (*get_queue_tempo)(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo); member in struct:__anon1512 54 int (*set_queue_tempo)(snd_seq_t *seq, snd_seq_queue_tempo_t * tempo); member in struct:__anon1512 55 int (*get_queue_timer)(snd_seq_t *seq, snd_seq_queue_timer_t * timer); member in struct:__anon1512 56 int (*set_queue_timer)(snd_seq_t *seq, snd_seq_queue_timer_t * timer); member in struct:__anon1512 57 int (*get_queue_client)(snd_seq_t *seq, snd_seq_queue_client_t * client); member in struct:__anon1512 58 int (*set_queue_client)(snd_seq_t *seq, snd_seq_queue_client_t * client); member in struct:__anon1512 59 int (*create_queue)(snd_seq_t *seq, snd_seq_queue_info_t *info); member in struct:__anon1512 60 int (*delete_queue)(snd_seq_t *seq, snd_seq_queue_info_t *info); member in struct:__anon1512 61 int (*get_queue_info)(snd_seq_t *seq, snd_seq_queue_info_t *info); member in struct:__anon1512 62 int (*set_queue_info)(snd_seq_t *seq, snd_seq_queue_info_t *info); member in struct:__anon1512 63 int (*get_named_queue)(snd_seq_t *seq, snd_seq_queue_info_t *info); member in struct:__anon1512 64 ssize_t (*write)(snd_seq_t *seq, void *buf, size_t len); member in struct:__anon1512 65 ssize_t (*read)(snd_seq_t *seq, void *buf, size_t len); member in struct:__anon1512 66 int (*remove_events)(snd_seq_t *seq, snd_seq_remove_events_t *rmp); member in struct:__anon1512 67 int (*get_client_pool)(snd_seq_t *seq, snd_seq_client_pool_t *info); member in struct:__anon1512 68 int (*set_client_pool)(snd_seq_t *seq, snd_seq_client_pool_t *info); member in struct:__anon1512 69 int (*query_next_client)(snd_seq_t *seq, snd_seq_client_info_t *info); member in struct:__anon1512 70 int (*query_next_port)(snd_seq_t *seq, snd_seq_port_info_t *info); member in struct:__anon1512 71 } snd_seq_ops_t; typedef in typeref:struct:__anon1512 73 struct _snd_seq { struct 74 char *name; member in struct:_snd_seq 75 snd_seq_type_t type; member in struct:_snd_seq 76 int streams; member in struct:_snd_seq 77 int mode; member in struct:_snd_seq 78 int poll_fd; member in struct:_snd_seq 79 void *dl_handle; member in struct:_snd_seq 80 const snd_seq_ops_t *ops; member in struct:_snd_seq 81 void *private_data; member in struct:_snd_seq 82 int client; /* client number */ member in struct:_snd_seq 84 char *obuf; /* output buffer */ member in struct:_snd_seq 85 size_t obufsize; /* output buffer size */ member in struct:_snd_seq 86 size_t obufused; /* output buffer used size */ member in struct:_snd_seq 87 snd_seq_event_t *ibuf; /* input buffer */ member in struct:_snd_seq 88 size_t ibufptr; /* current pointer of input buffer */ member in struct:_snd_seq 89 size_t ibuflen; /* queued length */ member in struct:_snd_seq 90 size_t ibufsize; /* input buffer size */ member in struct:_snd_seq 91 snd_seq_event_t *tmpbuf; /* temporary event for extracted event */ member in struct:_snd_seq 92 size_t tmpbufsize; /* size of errbuf */ member in struct:_snd_seq [all...] |
H A D | seq_midi_event.c | 37 struct snd_midi_event { struct 38 size_t qlen; /* queue length */ member in struct:snd_midi_event 39 size_t read; /* chars read */ member in struct:snd_midi_event 40 int type; /* current event type */ member in struct:snd_midi_event 41 unsigned char lastcmd; member in struct:snd_midi_event 42 unsigned char nostat; member in struct:snd_midi_event 43 size_t bufsize; member in struct:snd_midi_event 44 unsigned char *buf; /* input buffer */ member in struct:snd_midi_event 50 #define ST_INVALID macro 51 #define ST_SPECIAL macro 52 #define ST_SYSEX macro 57 typedef void (*event_encode_t)(snd_midi_event_t *dev, snd_seq_event_t *ev); typedef 58 typedef void (*event_decode_t)(const snd_seq_event_t *ev, unsigned char *buf); typedef 81 static const struct status_event_list_t { struct 82 int event; member in struct:status_event_list_t 83 int qlen; member in struct:status_event_list_t 84 event_encode_t encode; member in struct:status_event_list_t 85 event_decode_t decode; member in struct:status_event_list_t 86 } status_event[] = { variable in typeref:struct:status_event_list_t 119 static const struct extra_event_list_t { struct 120 int event; member in struct:extra_event_list_t 121 int (*decode)(snd_midi_event_t *dev, unsigned char *buf, int len, const snd_seq_event_t *ev); member in struct:extra_event_list_t 122 } extra_event[] = { variable in typeref:struct:extra_event_list_t 128 #define numberof macro 150 snd_midi_event_new(size_t bufsize, snd_midi_event_t **rdev) argument 152 snd_midi_event_t *dev; local 181 snd_midi_event_free(snd_midi_event_t *dev) argument 200 snd_midi_event_no_status(snd_midi_event_t *dev, int on) argument 208 reset_encode(snd_midi_event_t *dev) argument 226 snd_midi_event_reset_encode(snd_midi_event_t *dev) argument 242 snd_midi_event_reset_decode(snd_midi_event_t *dev) argument 257 snd_midi_event_init(snd_midi_event_t *dev) argument 280 snd_midi_event_resize_buffer(snd_midi_event_t *dev, size_t bufsize) argument 282 unsigned char *new_buf, *old_buf; local 360 snd_midi_event_encode(snd_midi_event_t *dev, const unsigned char *buf, long count, snd_seq_event_t *ev) argument 362 long result = 0; local 363 int rc; local 398 snd_midi_event_encode_byte(snd_midi_event_t *dev, int c, snd_seq_event_t *ev) argument 400 int rc = 0; local 464 note_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 472 one_param_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 479 pitchbend_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 486 two_param_ctrl_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 494 one_param_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 500 songpos_event(snd_midi_event_t *dev, snd_seq_event_t *ev) argument 557 snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count, const snd_seq_event_t *ev) argument 559 int cmd; local 560 long qlen; local 561 unsigned int type; local 596 unsigned char xbuf[4]; local 618 note_decode(const snd_seq_event_t *ev, unsigned char *buf) argument 625 one_param_decode(const snd_seq_event_t *ev, unsigned char *buf) argument 631 pitchbend_decode(const snd_seq_event_t *ev, unsigned char *buf) argument 633 int value = ev->data.control.value + 8192; local 639 two_param_decode(const snd_seq_event_t *ev, unsigned char *buf) argument 646 songpos_decode(const snd_seq_event_t *ev, unsigned char *buf) argument 653 extra_decode_ctrl14(snd_midi_event_t *dev, unsigned char *buf, int count, const snd_seq_event_t *ev) argument 655 unsigned char cmd; local 656 int idx = 0; local 690 extra_decode_xrpn(snd_midi_event_t *dev, unsigned char *buf, int count, const snd_seq_event_t *ev) argument 692 unsigned char cmd; local 693 const char *cbytes; local 694 static const char cbytes_nrpn[4] = { MIDI_CTL_NONREG_PARM_NUM_MSB, local 698 static const char cbytes_rpn[4] = { MIDI_CTL_REGIST_PARM_NUM_MSB, local 702 unsigned char bytes[4]; local 703 int idx = 0, i; local [all...] |
H A D | seq_old.c | 9 size_t snd_instr_header_sizeof(void) function 14 snd_instr_header_malloc(void **ptr ATTRIBUTE_UNUSED, size_t len ATTRIBUTE_UNUSED) argument 20 snd_instr_header_free(void *obj ATTRIBUTE_UNUSED) argument 24 snd_instr_header_copy(void *dst ATTRIBUTE_UNUSED, const void *src ATTRIBUTE_UNUSED) argument 29 snd_instr_header_get_id(const void *info ATTRIBUTE_UNUSED) argument 34 snd_instr_header_get_cluster(const void *info ATTRIBUTE_UNUSED) argument 39 snd_instr_header_get_cmd(const void *info ATTRIBUTE_UNUSED) argument 44 snd_instr_header_get_len(const void *info ATTRIBUTE_UNUSED) argument 49 snd_instr_header_get_name(const void *info ATTRIBUTE_UNUSED) argument 54 snd_instr_header_get_type(const void *info ATTRIBUTE_UNUSED) argument 59 snd_instr_header_get_format(const void *info ATTRIBUTE_UNUSED) argument 64 snd_instr_header_get_alias(const void *info ATTRIBUTE_UNUSED) argument 69 snd_instr_header_get_data(const void *info ATTRIBUTE_UNUSED) argument 74 snd_instr_header_get_follow_alias(const void *info ATTRIBUTE_UNUSED) argument 79 snd_instr_header_set_id(void *info ATTRIBUTE_UNUSED, const void *id ATTRIBUTE_UNUSED) argument 84 snd_instr_header_set_cluster(void *info ATTRIBUTE_UNUSED, int cluster ATTRIBUTE_UNUSED) argument 89 snd_instr_header_set_cmd(void *info ATTRIBUTE_UNUSED, unsigned int cmd ATTRIBUTE_UNUSED) argument 94 snd_instr_header_set_len(void *info ATTRIBUTE_UNUSED, size_t len ATTRIBUTE_UNUSED) argument 99 snd_instr_header_set_name(void *info ATTRIBUTE_UNUSED, const char *name ATTRIBUTE_UNUSED) argument 104 snd_instr_header_set_type(void *info ATTRIBUTE_UNUSED, int type ATTRIBUTE_UNUSED) argument 109 snd_instr_header_set_format(void *info ATTRIBUTE_UNUSED, const char *format ATTRIBUTE_UNUSED) argument 114 snd_instr_header_set_alias(void *info ATTRIBUTE_UNUSED, const void *instr ATTRIBUTE_UNUSED) argument 119 snd_instr_header_set_follow_alias(void *info ATTRIBUTE_UNUSED, int val ATTRIBUTE_UNUSED) argument 124 snd_instr_fm_free(void *fm ATTRIBUTE_UNUSED) argument 129 snd_instr_fm_convert_to_stream(void *fm ATTRIBUTE_UNUSED, const char *name ATTRIBUTE_UNUSED, void **__data ATTRIBUTE_UNUSED, size_t *__size ATTRIBUTE_UNUSED) argument 137 snd_instr_fm_convert_from_stream(void *__data ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED, void **simple ATTRIBUTE_UNUSED) argument 145 snd_instr_iwffff_open(void **handle ATTRIBUTE_UNUSED, const char *name_fff ATTRIBUTE_UNUSED, const char *name_dat ATTRIBUTE_UNUSED) argument 152 snd_instr_iwffff_open_rom(void **handle ATTRIBUTE_UNUSED, int card ATTRIBUTE_UNUSED, int bank ATTRIBUTE_UNUSED, int file ATTRIBUTE_UNUSED) argument 160 snd_instr_iwffff_open_rom_file(void **handle ATTRIBUTE_UNUSED, const char *name ATTRIBUTE_UNUSED, int bank ATTRIBUTE_UNUSED, int file ATTRIBUTE_UNUSED) argument 168 snd_instr_iwffff_close(void *handle ATTRIBUTE_UNUSED) argument 173 snd_instr_iwffff_free(void *__instr ATTRIBUTE_UNUSED) argument 178 snd_instr_iwffff_load(void *iwf ATTRIBUTE_UNUSED, int bank ATTRIBUTE_UNUSED, int prg ATTRIBUTE_UNUSED, void **__iwffff ATTRIBUTE_UNUSED) argument 186 snd_instr_iwffff_convert_to_stream(void *iwffff ATTRIBUTE_UNUSED, const char *name ATTRIBUTE_UNUSED, void **__data ATTRIBUTE_UNUSED, size_t *__size ATTRIBUTE_UNUSED) argument 194 snd_instr_iwffff_convert_from_stream(void *data ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED, void **iwffff ATTRIBUTE_UNUSED) argument 202 snd_instr_simple_free(void *simple ATTRIBUTE_UNUSED) argument 207 snd_instr_simple_convert_to_stream(void *simple ATTRIBUTE_UNUSED, const char *name ATTRIBUTE_UNUSED, void **__data ATTRIBUTE_UNUSED, size_t *__size ATTRIBUTE_UNUSED) argument 215 snd_instr_simple_convert_from_stream(void *__data ATTRIBUTE_UNUSED, size_t size ATTRIBUTE_UNUSED, void **simple ATTRIBUTE_UNUSED) argument [all...] |
H A D | seq_symbols.c | 25 static const char **snd_seq_open_objects[] = { variable 29 void *snd_seq_open_symbols(void) function [all...] |
H A D | seqmid.c | 48 snd_seq_control_queue(snd_seq_t *seq, int q, int type, int value, snd_seq_event_t *ev) argument 50 snd_seq_event_t tmpev; local 73 snd_seq_create_simple_port(snd_seq_t *seq, const char *name, unsigned int caps, unsigned int type) argument 76 snd_seq_port_info_t pinfo; local 77 int result; local 103 snd_seq_delete_simple_port(snd_seq_t *seq, int port) argument 121 snd_seq_connect_from(snd_seq_t *seq, int myport, int src_client, int src_port) argument 123 snd_seq_port_subscribe_t subs; local 148 snd_seq_connect_to(snd_seq_t *seq, int myport, int dest_client, int dest_port) argument 150 snd_seq_port_subscribe_t subs; local 175 snd_seq_disconnect_from(snd_seq_t *seq, int myport, int src_client, int src_port) argument 177 snd_seq_port_subscribe_t subs; local 202 snd_seq_disconnect_to(snd_seq_t *seq, int myport, int dest_client, int dest_port) argument 204 snd_seq_port_subscribe_t subs; local 228 snd_seq_set_client_name(snd_seq_t *seq, const char *name) argument 230 snd_seq_client_info_t info; local 231 int err; local 247 snd_seq_set_client_event_filter(snd_seq_t *seq, int event_type) argument 249 snd_seq_client_info_t info; local 250 int err; local 266 snd_seq_set_client_pool_output(snd_seq_t *seq, size_t size) argument 268 snd_seq_client_pool_t info; local 269 int err; local 285 snd_seq_set_client_pool_output_room(snd_seq_t *seq, size_t size) argument 287 snd_seq_client_pool_t info; local 288 int err; local 304 snd_seq_set_client_pool_input(snd_seq_t *seq, size_t size) argument 306 snd_seq_client_pool_t info; local 307 int err; local 322 snd_seq_reset_pool_output(snd_seq_t *seq) argument 334 snd_seq_reset_pool_input(snd_seq_t *seq) argument 348 snd_seq_sync_output_queue(snd_seq_t *seq) argument 350 int err; local 351 snd_seq_client_pool_t info; local 352 int saved_room; local 353 struct pollfd pfd; local 394 snd_seq_parse_address(snd_seq_t *seq, snd_seq_addr_t *addr, const char *arg) argument 396 char *p; local 397 int client, port; local 398 int len; local 418 snd_seq_client_info_t cinfo; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/ |
H A D | shmarea.c | 31 struct snd_shm_area { struct 32 struct list_head list; member in struct:snd_shm_area 33 int shmid; member in struct:snd_shm_area 34 void *ptr; member in struct:snd_shm_area 35 int share; member in struct:snd_shm_area 50 snd_shm_area_create(int shmid, void *ptr) argument 52 struct snd_shm_area *area = malloc(sizeof(*area)); local 69 snd_shm_area_share(struct snd_shm_area *area) argument 85 snd_shm_area_destroy(struct snd_shm_area *area) argument 99 void snd_shm_area_destructor(void) function 101 struct list_head *pos; local 102 struct snd_shm_area *area; local [all...] |
H A D | socket.c | 43 snd_send_fd(int sock, void *data, size_t len, int fd) argument 45 int ret; local 46 size_t cmsg_len = CMSG_LEN(sizeof(int)); local 47 struct cmsghdr *cmsg = alloca(cmsg_len); local 48 int *fds = (int *) CMSG_DATA(cmsg); local 49 struct msghdr msghdr; local 50 struct iovec vec; local 76 snd_receive_fd(int sock, void *data, size_t len, int *fd) argument 78 int ret; local 79 size_t cmsg_len = CMSG_LEN(sizeof(int)); local 80 struct cmsghdr *cmsg = alloca(cmsg_len); local 81 int *fds = (int *) CMSG_DATA(cmsg); local 82 struct msghdr msghdr; local 83 struct iovec vec; local 110 snd_is_local(struct hostent *hent) argument 112 int s; local 113 int err; local 114 struct ifconf conf; local 115 size_t numreqs = 10; local 116 size_t i; local 117 struct in_addr *haddr = (struct in_addr*) hent->h_addr_list[0]; local 145 struct ifreq *req = &conf.ifc_req[i]; local 146 struct sockaddr_in *s_in = (struct sockaddr_in *)&req->ifr_addr; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/timer/ |
H A D | Makefile | 19 pkgdatadir = $(datadir)/alsa-lib macro 20 pkgincludedir = $(includedir)/alsa-lib macro 21 pkglibdir = $(libdir)/alsa-lib macro 22 pkglibexecdir = $(libexecdir)/alsa-lib macro 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro 24 install_sh_DATA = $(install_sh) -c -m 644 macro 25 install_sh_PROGRAM = $(install_sh) -c macro 26 install_sh_SCRIPT = $(install_sh) -c macro 27 INSTALL_HEADER = $(INSTALL_DATA) macro 28 transform = $(program_transform_name) macro 29 NORMAL_INSTALL = : macro 30 PRE_INSTALL = : macro 31 POST_INSTALL = : macro 32 NORMAL_UNINSTALL = : macro 33 PRE_UNINSTALL = : macro 34 POST_UNINSTALL = : macro 35 build_triplet = i686-pc-linux-gnu macro 36 host_triplet = arm-unknown-linux-gnu macro 37 subdir = src/timer macro 38 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \\ macro 40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro 41 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \\ macro 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro 45 mkinstalldirs = $(install_sh) -d macro 46 CONFIG_HEADER = $(top_builddir)/include/config.h macro 47 CONFIG_CLEAN_FILES = macro 48 CONFIG_CLEAN_VPATH_FILES = macro 49 libtimer_la_LIBADD = macro 50 am_libtimer_la_OBJECTS = timer.lo timer_hw.lo timer_query.lo \\ macro 52 libtimer_la_OBJECTS = $(am_libtimer_la_OBJECTS) macro 53 AM_V_lt = $(am__v_lt_$(V)) macro 54 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) macro 55 am__v_lt_0 = --silent macro 56 DEFAULT_INCLUDES = -I. -I$(top_builddir)/include macro 57 depcomp = $(SHELL) $(top_srcdir)/depcomp macro 58 am__depfiles_maybe = depfiles macro 59 am__mv = mv -f macro 60 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro 62 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 66 AM_V_CC = $(am__v_CC_$(V)) macro 67 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) macro 68 am__v_CC_0 = @echo " CC " $@; macro 69 AM_V_at = $(am__v_at_$(V)) macro 70 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) macro 71 am__v_at_0 = @ macro 72 CCLD = $(CC) macro 73 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 76 AM_V_CCLD = $(am__v_CCLD_$(V)) macro 77 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) macro 78 am__v_CCLD_0 = @echo " CCLD " $@; macro 79 AM_V_GEN = $(am__v_GEN_$(V)) macro 80 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) macro 81 am__v_GEN_0 = @echo " GEN " $@; macro 82 SOURCES = $(libtimer_la_SOURCES) macro 83 DIST_SOURCES = $(libtimer_la_SOURCES) macro 84 HEADERS = $(noinst_HEADERS) macro 85 ETAGS = etags macro 86 CTAGS = ctags macro 87 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro 88 ACLOCAL = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run aclocal-1.11 macro 89 ALSA_CONFIG_DIR = /usr/share/alsa macro 90 ALSA_DEPLIBS = -lm -ldl -lpthread -lrt macro 91 ALSA_PKGCONF_DIR = /usr/lib/pkgconfig macro 92 ALSA_PLUGIN_DIR = /usr/lib/alsa-lib macro 93 AMTAR = $${TAR-tar} macro 94 AM_DEFAULT_VERBOSITY = 0 macro 95 AR = arm-brcm-linux-uclibcgnueabi-ar macro 96 AUTOCONF = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoconf macro 97 AUTOHEADER = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoheader macro 98 AUTOMAKE = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run automake-1.11 macro 99 AWK = gawk macro 100 CC = arm-brcm-linux-uclibcgnueabi-gcc macro 101 CCDEPMODE = depmode=gcc3 macro 102 CFLAGS = -Os -O2 -DBCMWPA2 -DRESTART_ALL_PROCESSES -D__CONFIG_USBAP__ -DBCMQOS -DBCMWPS -D__CONFIG_EMF__ -DTRAFFIC_MGMT -DPHYMON -DSUPPORT_REMOTE_HTTPS -DINCLUDE_WPS_V20 -DINCLUDE_5G_AUTO_CHANNEL -DOPENDNS_PARENTAL_CONTROL -DINCLUDE_UCP -DU12H240 -DR6300v2 -DMULTIPLE_SSID -DENABLE_ML -DBCM53125 -DBCM5301X -DCONFIG_RUSSIA_IPTV -DDLNA -DHTTP_ACCESS_USB -DMAX_USB_ACCESS -DSAMBA_ENABLE -DUSB_NEW_SPEC -DINCLUDE_WIFI_BUTTON -DINCLUDE_USB_LED -DINCLUDE_DUAL_BAND -DSINGLE_FIRMWARE -DINCLUDE_GET_ST_CHKSUM -DUNIFIED_STR_TBL -DFIRST_MTD_ROTATION -DWIFI_ON_OFF_SCHE -DAUTO_CONN_24HR -DIGMP_PROXY -DAP_MODE -D__CONFIG_IGMP_SNOOPING__ -DLINUX26 -DINCLUDE_IPV6 -DPRESET_WL_SECURITY -DNEW_BCM_WPS_IPC -DSUPPORT_AC_MODE -DSTA_MODE -DPPP_RU_DESIGN -DEXT_ACS -D__CONFIG_PLC__ -D__CONFIG_URE__ -DPLC -DWPS_LONGPUSH_DISABLE -Os -DLINUX26 -DCONFIG_KERNEL_2_6_36 -I$(SRC_PATH)/build/usr/include -D_GNU_SOURCE macro 103 CPP = arm-brcm-linux-uclibcgnueabi-gcc -E macro 104 CPPFLAGS = -I$(SRC_PATH)/build/usr/include -D__arm__ macro 105 CYGPATH_W = echo macro 106 DEFS = -DHAVE_CONFIG_H macro 107 DEPDIR = .deps macro 108 DLLTOOL = false macro 109 DSYMUTIL = macro 110 DUMPBIN = macro 111 ECHO_C = macro 112 ECHO_N = -n macro 113 ECHO_T = macro 114 EGREP = /bin/grep -E macro 115 EXEEXT = macro 116 FGREP = /bin/grep -F macro 117 GREP = /bin/grep macro 118 INSTALL = /usr/bin/install -c macro 119 INSTALL_DATA = ${INSTALL} -m 644 macro 120 INSTALL_PROGRAM = ${INSTALL} macro 121 INSTALL_SCRIPT = ${INSTALL} macro 122 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro 123 LD = arm-brcm-linux-uclibcgnueabi-ld macro 124 LDFLAGS = -L$(SRC_PATH)/build/usr/lib macro 125 LIBOBJS = macro 126 LIBS = macro 127 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro 128 LIBTOOL_VERSION_INFO = 2:0:0 macro 129 LIPO = macro 130 LN_S = ln -s macro 131 LTLIBOBJS = macro 132 MAKEINFO = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run makeinfo macro 133 MANIFEST_TOOL = : macro 134 MKDIR_P = /bin/mkdir -p macro 135 NM = arm-brcm-linux-uclibcgnueabi-nm macro 136 NMEDIT = macro 137 OBJDUMP = arm-brcm-linux-uclibcgnueabi-objdump macro 138 OBJEXT = o macro 139 OTOOL = macro 140 OTOOL64 = macro 141 PACKAGE = alsa-lib macro 142 PACKAGE_BUGREPORT = macro 143 PACKAGE_NAME = macro 144 PACKAGE_STRING = macro 145 PACKAGE_TARNAME = macro 146 PACKAGE_URL = macro 147 PACKAGE_VERSION = macro 148 PATH_SEPARATOR = : macro 149 PYTHON_INCLUDES = macro 150 PYTHON_LIBS = macro 151 RANLIB = arm-brcm-linux-uclibcgnueabi-ranlib macro 152 SED = /bin/sed macro 153 SET_MAKE = macro 154 SHELL = /bin/sh macro 155 SND_LIB_EXTRAVER = 1000000 macro 156 SND_LIB_MAJOR = 1 macro 157 SND_LIB_MINOR = 0 macro 158 SND_LIB_SUBMINOR = 26 macro 159 SND_LIB_VERSION = 1.0.26 macro 160 STRIP = arm-brcm-linux-uclibcgnueabi-strip macro 161 SYMBOL_PREFIX = macro 162 VERSION = 1.0.26 macro 163 abs_builddir = $(SRC_PATH)/alsa-lib-1.0.26/src/timer macro 164 abs_srcdir = $(SRC_PATH)/alsa-lib-1.0.26/src/timer macro 165 abs_top_builddir = $(SRC_PATH)/alsa-lib-1.0.26 macro 166 abs_top_srcdir = $(SRC_PATH)/alsa-lib-1.0.26 macro 167 ac_ct_AR = macro 168 ac_ct_CC = macro 169 ac_ct_DUMPBIN = macro 170 am__include = include macro 171 am__leading_dot = . macro 172 am__quote = macro 173 am__tar = $${TAR-tar} chof - "$$tardir" macro 174 am__untar = $${TAR-tar} xf - macro 175 bindir = ${exec_prefix}/bin macro 176 build = i686-pc-linux-gnu macro 177 build_alias = macro 178 build_cpu = i686 macro 179 build_os = linux-gnu macro 180 build_vendor = pc macro 181 builddir = . macro 182 datadir = ${datarootdir} macro 183 datarootdir = ${prefix}/share macro 184 docdir = ${datarootdir}/doc/${PACKAGE} macro 185 dvidir = ${docdir} macro 186 exec_prefix = /usr macro 187 host = arm-unknown-linux-gnu macro 188 host_alias = arm-linux macro 189 host_cpu = arm macro 190 host_os = linux-gnu macro 191 host_vendor = unknown macro 192 htmldir = ${docdir} macro 193 includedir = ${prefix}/include macro 194 infodir = ${datarootdir}/info macro 195 install_sh = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/install-sh macro 196 libdir = ${exec_prefix}/lib macro 197 libexecdir = ${exec_prefix}/libexec macro 198 localedir = ${datarootdir}/locale macro 199 localstatedir = ${prefix}/var macro 200 mandir = ${datarootdir}/man macro 201 mkdir_p = /bin/mkdir -p macro 202 oldincludedir = /usr/include macro 203 pdfdir = ${docdir} macro 204 prefix = /usr macro 205 program_transform_name = s,x,x, macro 206 psdir = ${docdir} macro 207 sbindir = ${exec_prefix}/sbin macro 208 sharedstatedir = ${prefix}/com macro 209 srcdir = . macro 210 sysconfdir = ${prefix}/etc macro 211 target_alias = macro 212 top_build_prefix = ../../ macro 213 top_builddir = ../.. macro 214 top_srcdir = ../.. macro 215 EXTRA_LTLIBRARIES = libtimer.la macro 216 libtimer_la_SOURCES = timer.c timer_hw.c timer_query.c timer_query_hw.c \\ macro 219 noinst_HEADERS = timer_local.h macro 220 INCLUDES = -I$(top_srcdir)/include macro [all...] |
H A D | timer.c | 79 snd_timer_open_conf(snd_timer_t **timer, const char *name, snd_config_t *timer_root, snd_config_t *timer_conf, int mode) argument 83 const char *str; local 84 char buf[256]; local 85 int err; local 86 snd_config_t *conf, *type_conf = NULL; local 87 snd_config_iterator_t i, next; local 88 const char *id; local 89 const char *lib = NULL, *open_name = NULL; local 94 void *h = NULL; local 123 snd_config_for_each(i, next, type_conf) { function 124 snd_config_t *n = snd_config_iterator_entry(i); local 125 const char *id; local 183 snd_timer_open_noupdate(snd_timer_t **timer, snd_config_t *root, const char *name, int mode) argument 185 int err; local 186 snd_config_t *timer_conf; local 207 snd_timer_open(snd_timer_t **timer, const char *name, int mode) argument 209 int err; local 228 snd_timer_open_lconf(snd_timer_t **timer, const char *name, int mode, snd_config_t *lconf) argument 243 snd_timer_close(snd_timer_t *timer) argument 245 int err; local 248 snd_async_handler_t *h = list_entry(timer->async_handlers.next, snd_async_handler_t, hlist); local 267 snd_timer_name(snd_timer_t *timer) argument 280 snd_timer_type(snd_timer_t *timer) argument 296 snd_async_add_timer_handler(snd_async_handler_t **handler, snd_timer_t *timer, snd_async_callback_t callback, void *private_data) argument 299 int err; local 300 int was_empty; local 301 snd_async_handler_t *h; local 326 snd_async_handler_get_timer(snd_async_handler_t *handler) argument 340 snd_timer_poll_descriptors_count(snd_timer_t *timer) argument 353 snd_timer_poll_descriptors(snd_timer_t *timer, struct pollfd *pfds, unsigned int space) argument 384 snd_timer_poll_descriptors_revents(snd_timer_t *timer, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument 400 snd_timer_nonblock(snd_timer_t *timer, int nonblock) argument 402 int err; local 423 snd_timer_async(snd_timer_t *timer, int sig, pid_t pid) argument 438 size_t snd_timer_info_sizeof() function 451 snd_timer_info_malloc(snd_timer_info_t **info) argument 467 snd_timer_info_free(snd_timer_info_t *info) argument 478 snd_timer_info_copy(snd_timer_info_t *dst, const snd_timer_info_t *src) argument 489 snd_timer_info_is_slave(snd_timer_info_t * info) argument 500 snd_timer_info_get_card(snd_timer_info_t * info) argument 511 snd_timer_info_get_id(snd_timer_info_t * info) argument 522 snd_timer_info_get_name(snd_timer_info_t * info) argument 534 snd_timer_info_get_resolution(snd_timer_info_t * info) argument 546 snd_timer_info(snd_timer_t *timer, snd_timer_info_t * info) argument 557 size_t snd_timer_params_sizeof() function 570 snd_timer_params_malloc(snd_timer_params_t **params) argument 586 snd_timer_params_free(snd_timer_params_t *params) argument 597 snd_timer_params_copy(snd_timer_params_t *dst, const snd_timer_params_t *src) argument 608 snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start) argument 623 snd_timer_params_get_auto_start(snd_timer_params_t * params) argument 635 snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive) argument 655 snd_timer_params_get_exclusive(snd_timer_params_t * params) argument 670 snd_timer_params_set_early_event(snd_timer_params_t * params, int early_event) argument 685 snd_timer_params_get_early_event(snd_timer_params_t * params) argument 696 snd_timer_params_set_ticks(snd_timer_params_t * params, long ticks) argument 707 snd_timer_params_get_ticks(snd_timer_params_t * params) argument 718 snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size) argument 729 snd_timer_params_get_queue_size(snd_timer_params_t * params) argument 741 snd_timer_params_set_filter(snd_timer_params_t * params, unsigned int filter) argument 757 snd_timer_params_get_filter(snd_timer_params_t * params) argument 773 snd_timer_params(snd_timer_t *timer, snd_timer_params_t * params) argument 784 size_t snd_timer_status_sizeof() function 797 snd_timer_status_malloc(snd_timer_status_t **status) argument 813 snd_timer_status_free(snd_timer_status_t *status) argument 824 snd_timer_status_copy(snd_timer_status_t *dst, const snd_timer_status_t *src) argument 837 snd_timer_status_get_timestamp(snd_timer_status_t * status) argument 848 snd_timer_status_get_resolution(snd_timer_status_t * status) argument 859 snd_timer_status_get_lost(snd_timer_status_t * status) argument 870 snd_timer_status_get_overrun(snd_timer_status_t * status) argument 881 snd_timer_status_get_queue(snd_timer_status_t * status) argument 893 snd_timer_status(snd_timer_t *timer, snd_timer_status_t * status) argument 905 snd_timer_start(snd_timer_t *timer) argument 916 snd_timer_stop(snd_timer_t *timer) argument 927 snd_timer_continue(snd_timer_t *timer) argument 939 snd_timer_read(snd_timer_t *timer, void *buffer, size_t size) argument 952 snd_timer_info_get_ticks(snd_timer_info_t * info) argument [all...] |
H A D | timer_hw.c | 32 const char *_snd_module_timer_hw = ""; variable 35 #define SNDRV_FILE_TIMER macro 36 #define SNDRV_TIMER_VERSION_MAX macro 38 #define SNDRV_TIMER_IOCTL_STATUS_OLD macro 41 SNDRV_TIMER_IOCTL_START_OLD = _IO('T', 0x20), enumerator in enum:__anon1513 42 SNDRV_TIMER_IOCTL_STOP_OLD = _IO('T', 0x21), enumerator in enum:__anon1513 43 SNDRV_TIMER_IOCTL_CONTINUE_OLD = _IO('T', 0x22), enumerator in enum:__anon1513 44 SNDRV_TIMER_IOCTL_PAUSE_OLD = _IO('T', 0x23), enumerator in enum:__anon1513 47 snd_timer_hw_close(snd_timer_t *handle) argument 49 snd_timer_t *tmr = handle; local 50 int res; local 58 snd_timer_hw_nonblock(snd_timer_t *timer, int nonblock) argument 60 long flags; local 73 snd_timer_hw_async(snd_timer_t *timer, int sig, pid_t pid) argument 75 long flags; local 76 int fd; local 105 snd_timer_hw_info(snd_timer_t *handle, snd_timer_info_t * info) argument 107 snd_timer_t *tmr; local 117 snd_timer_hw_params(snd_timer_t *handle, snd_timer_params_t * params) argument 119 snd_timer_t *tmr; local 129 snd_timer_hw_status(snd_timer_t *handle, snd_timer_status_t * status) argument 131 snd_timer_t *tmr; local 132 int cmd; local 146 snd_timer_hw_start(snd_timer_t *handle) argument 148 snd_timer_t *tmr; local 149 unsigned int cmd; local 163 snd_timer_hw_stop(snd_timer_t *handle) argument 165 snd_timer_t *tmr; local 166 unsigned int cmd; local 180 snd_timer_hw_continue(snd_timer_t *handle) argument 182 snd_timer_t *tmr; local 183 unsigned int cmd; local 197 snd_timer_hw_read(snd_timer_t *handle, void *buffer, size_t size) argument 199 snd_timer_t *tmr; local 200 ssize_t result; local 211 static const snd_timer_ops_t snd_timer_hw_ops = { variable 224 snd_timer_hw_open(snd_timer_t **handle, const char *name, int dev_class, int dev_sclass, int card, int device, int subdevice, int mode) argument 226 int fd, ver, tmode, ret; local 227 snd_timer_t *tmr; local 228 struct sndrv_timer_select sel; local 248 int arg = 1; local 288 _snd_timer_hw_open(snd_timer_t **timer, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int mode) argument 292 snd_config_iterator_t i, next; local 293 long dev_class = SND_TIMER_CLASS_GLOBAL, dev_sclass = SND_TIMER_SCLASS_NONE; local 294 long card = 0, device = 0, subdevice = 0; local 295 const char *str; local 296 int err; local 297 snd_config_for_each(i, next, conf) { function 298 snd_config_t *n = snd_config_iterator_entry(i); local 299 const char *id; local [all...] |
H A D | timer_local.h | 29 int (*close)(snd_timer_t *timer); member in struct:__anon1514 30 int (*nonblock)(snd_timer_t *timer, int nonblock); member in struct:__anon1514 31 int (*async)(snd_timer_t *timer, int sig, pid_t pid); member in struct:__anon1514 32 int (*info)(snd_timer_t *timer, snd_timer_info_t *info); member in struct:__anon1514 33 int (*params)(snd_timer_t *timer, snd_timer_params_t *params); member in struct:__anon1514 34 int (*status)(snd_timer_t *timer, snd_timer_status_t *status); member in struct:__anon1514 35 int (*rt_start)(snd_timer_t *timer); member in struct:__anon1514 36 int (*rt_stop)(snd_timer_t *timer); member in struct:__anon1514 37 int (*rt_continue)(snd_timer_t *timer); member in struct:__anon1514 38 ssize_t (*read)(snd_timer_t *timer, void *buffer, size_t size); member in struct:__anon1514 39 } snd_timer_ops_t; typedef in typeref:struct:__anon1514 41 struct _snd_timer { struct 42 unsigned int version; member in struct:_snd_timer 43 void *dl_handle; member in struct:_snd_timer 44 char *name; member in struct:_snd_timer 45 snd_timer_type_t type; member in struct:_snd_timer 46 int mode; member in struct:_snd_timer 47 int poll_fd; member in struct:_snd_timer 48 const snd_timer_ops_t *ops; member in struct:_snd_timer 49 void *private_data; member in struct:_snd_timer 50 struct list_head async_handlers; member in struct:_snd_timer 54 int (*close)(snd_timer_query_t *timer); member in struct:__anon1515 55 int (*next_device)(snd_timer_query_t *timer, snd_timer_id_t *tid); member in struct:__anon1515 56 int (*info)(snd_timer_query_t *timer, snd_timer_ginfo_t *info); member in struct:__anon1515 57 int (*params)(snd_timer_query_t *timer, snd_timer_gparams_t *info); member in struct:__anon1515 58 int (*status)(snd_timer_query_t *timer, snd_timer_gstatus_t *info); member in struct:__anon1515 59 } snd_timer_query_ops_t; typedef in typeref:struct:__anon1515 61 struct _snd_timer_query { struct 62 void *dl_handle; member in struct:_snd_timer_query 63 char *name; member in struct:_snd_timer_query 64 snd_timer_type_t type; member in struct:_snd_timer_query 65 int mode; member in struct:_snd_timer_query 66 int poll_fd; member in struct:_snd_timer_query 67 const snd_timer_query_ops_t *ops; member in struct:_snd_timer_query 68 void *private_data; member in struct:_snd_timer_query [all...] |
H A D | timer_query.c | 37 snd_timer_query_open_conf(snd_timer_query_t **timer, const char *name, snd_config_t *timer_root, snd_config_t *timer_conf, int mode) argument 41 const char *str; local 42 char buf[256]; local 43 int err; local 44 snd_config_t *conf, *type_conf = NULL; local 45 snd_config_iterator_t i, next; local 46 const char *id; local 47 const char *lib = NULL, *open_name = NULL; local 52 void *h = NULL; local 82 snd_config_for_each(i, next, type_conf) { function 83 snd_config_t *n = snd_config_iterator_entry(i); local 84 const char *id; local 142 snd_timer_query_open_noupdate(snd_timer_query_t **timer, snd_config_t *root, const char *name, int mode) argument 144 int err; local 145 snd_config_t *timer_conf; local 166 snd_timer_query_open(snd_timer_query_t **timer, const char *name, int mode) argument 168 int err; local 187 snd_timer_query_open_lconf(snd_timer_query_t **timer, const char *name, int mode, snd_config_t *lconf) argument 202 snd_timer_query_close(snd_timer_query_t *timer) argument 204 int err; local 223 snd_timer_query_next_device(snd_timer_query_t *timer, snd_timer_id_t *tid) argument 234 size_t snd_timer_ginfo_sizeof(void) function 247 snd_timer_ginfo_malloc(snd_timer_ginfo_t **info) argument 263 snd_timer_ginfo_free(snd_timer_ginfo_t *info) argument 274 snd_timer_ginfo_copy(snd_timer_ginfo_t *dst, const snd_timer_ginfo_t *src) argument 286 snd_timer_ginfo_set_tid(snd_timer_ginfo_t *obj, snd_timer_id_t *tid) argument 297 snd_timer_ginfo_get_tid(snd_timer_ginfo_t *obj) argument 307 snd_timer_ginfo_get_flags(snd_timer_ginfo_t *obj) argument 317 snd_timer_ginfo_get_card(snd_timer_ginfo_t *obj) argument 327 snd_timer_ginfo_get_id(snd_timer_ginfo_t *obj) argument 337 snd_timer_ginfo_get_name(snd_timer_ginfo_t *obj) argument 347 snd_timer_ginfo_get_resolution(snd_timer_ginfo_t *obj) argument 357 snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t *obj) argument 367 snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_t *obj) argument 377 snd_timer_ginfo_get_clients(snd_timer_ginfo_t *obj) argument 389 snd_timer_query_info(snd_timer_query_t *timer, snd_timer_ginfo_t *info) argument 407 snd_timer_query_params(snd_timer_query_t *timer, snd_timer_gparams_t *params) argument 425 snd_timer_query_status(snd_timer_query_t *timer, snd_timer_gstatus_t *status) argument 440 size_t snd_timer_id_sizeof() function 453 snd_timer_id_malloc(snd_timer_id_t **info) argument 469 snd_timer_id_free(snd_timer_id_t *info) argument 480 snd_timer_id_copy(snd_timer_id_t *dst, const snd_timer_id_t *src) argument 491 snd_timer_id_set_class(snd_timer_id_t * tid, int dev_class) argument 502 snd_timer_id_get_class(snd_timer_id_t * tid) argument 513 snd_timer_id_set_sclass(snd_timer_id_t * tid, int dev_sclass) argument 524 snd_timer_id_get_sclass(snd_timer_id_t * tid) argument 535 snd_timer_id_set_card(snd_timer_id_t * tid, int card) argument 546 snd_timer_id_get_card(snd_timer_id_t * tid) argument 557 snd_timer_id_set_device(snd_timer_id_t * tid, int device) argument 568 snd_timer_id_get_device(snd_timer_id_t * tid) argument 579 snd_timer_id_set_subdevice(snd_timer_id_t * tid, int subdevice) argument 590 snd_timer_id_get_subdevice(snd_timer_id_t * tid) argument [all...] |
H A D | timer_query_hw.c | 32 const char *_snd_module_timer_query_hw = ""; variable 35 #define SNDRV_FILE_TIMER macro 36 #define SNDRV_TIMER_VERSION_MAX macro 38 snd_timer_query_hw_close(snd_timer_query_t *handle) argument 40 int res; local 48 snd_timer_query_hw_next_device(snd_timer_query_t *handle, snd_timer_id_t * tid) argument 57 snd_timer_query_hw_info(snd_timer_query_t *handle, snd_timer_ginfo_t *info) argument 66 snd_timer_query_hw_params(snd_timer_query_t *handle, snd_timer_gparams_t *params) argument 75 snd_timer_query_hw_status(snd_timer_query_t *handle, snd_timer_gstatus_t *status) argument 84 static const snd_timer_query_ops_t snd_timer_query_hw_ops = { variable 92 snd_timer_query_hw_open(snd_timer_query_t **handle, const char *name, int mode) argument 94 int fd, ver, tmode; local 95 snd_timer_query_t *tmr; local 127 _snd_timer_query_hw_open(snd_timer_query_t **timer, char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, int mode) argument 131 snd_config_iterator_t i, next; local 132 snd_config_for_each(i, next, conf) { function 133 snd_config_t *n = snd_config_iterator_entry(i); local 134 const char *id; local [all...] |
H A D | timer_symbols.c | 25 static const char **snd_timer_open_objects[] = { variable 29 void *snd_timer_open_symbols(void) function 37 static const char **snd_timer_query_open_objects[] = { variable 41 void *snd_timer_query_open_symbols(void) function [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/ucm/ |
H A D | Makefile | 19 pkgdatadir = $(datadir)/alsa-lib macro 20 pkgincludedir = $(includedir)/alsa-lib macro 21 pkglibdir = $(libdir)/alsa-lib macro 22 pkglibexecdir = $(libexecdir)/alsa-lib macro 23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd macro 24 install_sh_DATA = $(install_sh) -c -m 644 macro 25 install_sh_PROGRAM = $(install_sh) -c macro 26 install_sh_SCRIPT = $(install_sh) -c macro 27 INSTALL_HEADER = $(INSTALL_DATA) macro 28 transform = $(program_transform_name) macro 29 NORMAL_INSTALL = : macro 30 PRE_INSTALL = : macro 31 POST_INSTALL = : macro 32 NORMAL_UNINSTALL = : macro 33 PRE_UNINSTALL = : macro 34 POST_UNINSTALL = : macro 35 build_triplet = i686-pc-linux-gnu macro 36 host_triplet = arm-unknown-linux-gnu macro 37 subdir = src/ucm macro 38 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \\ macro 40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 macro 41 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \\ macro 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \\ macro 45 mkinstalldirs = $(install_sh) -d macro 46 CONFIG_HEADER = $(top_builddir)/include/config.h macro 47 CONFIG_CLEAN_FILES = macro 48 CONFIG_CLEAN_VPATH_FILES = macro 49 libucm_la_LIBADD = macro 50 am_libucm_la_OBJECTS = utils.lo parser.lo main.lo macro 51 libucm_la_OBJECTS = $(am_libucm_la_OBJECTS) macro 52 AM_V_lt = $(am__v_lt_$(V)) macro 53 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) macro 54 am__v_lt_0 = --silent macro 55 DEFAULT_INCLUDES = -I. -I$(top_builddir)/include macro 56 depcomp = $(SHELL) $(top_srcdir)/depcomp macro 57 am__depfiles_maybe = depfiles macro 58 am__mv = mv -f macro 59 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \\ macro 61 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 65 AM_V_CC = $(am__v_CC_$(V)) macro 66 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) macro 67 am__v_CC_0 = @echo " CC " $@; macro 68 AM_V_at = $(am__v_at_$(V)) macro 69 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) macro 70 am__v_at_0 = @ macro 71 CCLD = $(CC) macro 72 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \\ macro 75 AM_V_CCLD = $(am__v_CCLD_$(V)) macro 76 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) macro 77 am__v_CCLD_0 = @echo " CCLD " $@; macro 78 AM_V_GEN = $(am__v_GEN_$(V)) macro 79 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) macro 80 am__v_GEN_0 = @echo " GEN " $@; macro 81 SOURCES = $(libucm_la_SOURCES) macro 82 DIST_SOURCES = $(libucm_la_SOURCES) macro 83 HEADERS = $(noinst_HEADERS) macro 84 ETAGS = etags macro 85 CTAGS = ctags macro 86 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) macro 87 ACLOCAL = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run aclocal-1.11 macro 88 ALSA_CONFIG_DIR = /usr/share/alsa macro 89 ALSA_DEPLIBS = -lm -ldl -lpthread -lrt macro 90 ALSA_PKGCONF_DIR = /usr/lib/pkgconfig macro 91 ALSA_PLUGIN_DIR = /usr/lib/alsa-lib macro 92 AMTAR = $${TAR-tar} macro 93 AM_DEFAULT_VERBOSITY = 0 macro 94 AR = arm-brcm-linux-uclibcgnueabi-ar macro 95 AUTOCONF = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoconf macro 96 AUTOHEADER = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run autoheader macro 97 AUTOMAKE = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run automake-1.11 macro 98 AWK = gawk macro 99 CC = arm-brcm-linux-uclibcgnueabi-gcc macro 100 CCDEPMODE = depmode=gcc3 macro 101 CFLAGS = -Os -O2 -DBCMWPA2 -DRESTART_ALL_PROCESSES -D__CONFIG_USBAP__ -DBCMQOS -DBCMWPS -D__CONFIG_EMF__ -DTRAFFIC_MGMT -DPHYMON -DSUPPORT_REMOTE_HTTPS -DINCLUDE_WPS_V20 -DINCLUDE_5G_AUTO_CHANNEL -DOPENDNS_PARENTAL_CONTROL -DINCLUDE_UCP -DU12H240 -DR6300v2 -DMULTIPLE_SSID -DENABLE_ML -DBCM53125 -DBCM5301X -DCONFIG_RUSSIA_IPTV -DDLNA -DHTTP_ACCESS_USB -DMAX_USB_ACCESS -DSAMBA_ENABLE -DUSB_NEW_SPEC -DINCLUDE_WIFI_BUTTON -DINCLUDE_USB_LED -DINCLUDE_DUAL_BAND -DSINGLE_FIRMWARE -DINCLUDE_GET_ST_CHKSUM -DUNIFIED_STR_TBL -DFIRST_MTD_ROTATION -DWIFI_ON_OFF_SCHE -DAUTO_CONN_24HR -DIGMP_PROXY -DAP_MODE -D__CONFIG_IGMP_SNOOPING__ -DLINUX26 -DINCLUDE_IPV6 -DPRESET_WL_SECURITY -DNEW_BCM_WPS_IPC -DSUPPORT_AC_MODE -DSTA_MODE -DPPP_RU_DESIGN -DEXT_ACS -D__CONFIG_PLC__ -D__CONFIG_URE__ -DPLC -DWPS_LONGPUSH_DISABLE -Os -DLINUX26 -DCONFIG_KERNEL_2_6_36 -I$(SRC_PATH)/build/usr/include -D_GNU_SOURCE macro 102 CPP = arm-brcm-linux-uclibcgnueabi-gcc -E macro 103 CPPFLAGS = -I$(SRC_PATH)/build/usr/include -D__arm__ macro 104 CYGPATH_W = echo macro 105 DEFS = -DHAVE_CONFIG_H macro 106 DEPDIR = .deps macro 107 DLLTOOL = false macro 108 DSYMUTIL = macro 109 DUMPBIN = macro 110 ECHO_C = macro 111 ECHO_N = -n macro 112 ECHO_T = macro 113 EGREP = /bin/grep -E macro 114 EXEEXT = macro 115 FGREP = /bin/grep -F macro 116 GREP = /bin/grep macro 117 INSTALL = /usr/bin/install -c macro 118 INSTALL_DATA = ${INSTALL} -m 644 macro 119 INSTALL_PROGRAM = ${INSTALL} macro 120 INSTALL_SCRIPT = ${INSTALL} macro 121 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s macro 122 LD = arm-brcm-linux-uclibcgnueabi-ld macro 123 LDFLAGS = -L$(SRC_PATH)/build/usr/lib macro 124 LIBOBJS = macro 125 LIBS = macro 126 LIBTOOL = $(SHELL) $(top_builddir)/libtool macro 127 LIBTOOL_VERSION_INFO = 2:0:0 macro 128 LIPO = macro 129 LN_S = ln -s macro 130 LTLIBOBJS = macro 131 MAKEINFO = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/missing --run makeinfo macro 132 MANIFEST_TOOL = : macro 133 MKDIR_P = /bin/mkdir -p macro 134 NM = arm-brcm-linux-uclibcgnueabi-nm macro 135 NMEDIT = macro 136 OBJDUMP = arm-brcm-linux-uclibcgnueabi-objdump macro 137 OBJEXT = o macro 138 OTOOL = macro 139 OTOOL64 = macro 140 PACKAGE = alsa-lib macro 141 PACKAGE_BUGREPORT = macro 142 PACKAGE_NAME = macro 143 PACKAGE_STRING = macro 144 PACKAGE_TARNAME = macro 145 PACKAGE_URL = macro 146 PACKAGE_VERSION = macro 147 PATH_SEPARATOR = : macro 148 PYTHON_INCLUDES = macro 149 PYTHON_LIBS = macro 150 RANLIB = arm-brcm-linux-uclibcgnueabi-ranlib macro 151 SED = /bin/sed macro 152 SET_MAKE = macro 153 SHELL = /bin/sh macro 154 SND_LIB_EXTRAVER = 1000000 macro 155 SND_LIB_MAJOR = 1 macro 156 SND_LIB_MINOR = 0 macro 157 SND_LIB_SUBMINOR = 26 macro 158 SND_LIB_VERSION = 1.0.26 macro 159 STRIP = arm-brcm-linux-uclibcgnueabi-strip macro 160 SYMBOL_PREFIX = macro 161 VERSION = 1.0.26 macro 162 abs_builddir = $(SRC_PATH)/alsa-lib-1.0.26/src/ucm macro 163 abs_srcdir = $(SRC_PATH)/alsa-lib-1.0.26/src/ucm macro 164 abs_top_builddir = $(SRC_PATH)/alsa-lib-1.0.26 macro 165 abs_top_srcdir = $(SRC_PATH)/alsa-lib-1.0.26 macro 166 ac_ct_AR = macro 167 ac_ct_CC = macro 168 ac_ct_DUMPBIN = macro 169 am__include = include macro 170 am__leading_dot = . macro 171 am__quote = macro 172 am__tar = $${TAR-tar} chof - "$$tardir" macro 173 am__untar = $${TAR-tar} xf - macro 174 bindir = ${exec_prefix}/bin macro 175 build = i686-pc-linux-gnu macro 176 build_alias = macro 177 build_cpu = i686 macro 178 build_os = linux-gnu macro 179 build_vendor = pc macro 180 builddir = . macro 181 datadir = ${datarootdir} macro 182 datarootdir = ${prefix}/share macro 183 docdir = ${datarootdir}/doc/${PACKAGE} macro 184 dvidir = ${docdir} macro 185 exec_prefix = /usr macro 186 host = arm-unknown-linux-gnu macro 187 host_alias = arm-linux macro 188 host_cpu = arm macro 189 host_os = linux-gnu macro 190 host_vendor = unknown macro 191 htmldir = ${docdir} macro 192 includedir = ${prefix}/include macro 193 infodir = ${datarootdir}/info macro 194 install_sh = ${SHELL} $(SRC_PATH)/alsa-lib-1.0.26/install-sh macro 195 libdir = ${exec_prefix}/lib macro 196 libexecdir = ${exec_prefix}/libexec macro 197 localedir = ${datarootdir}/locale macro 198 localstatedir = ${prefix}/var macro 199 mandir = ${datarootdir}/man macro 200 mkdir_p = /bin/mkdir -p macro 201 oldincludedir = /usr/include macro 202 pdfdir = ${docdir} macro 203 prefix = /usr macro 204 program_transform_name = s,x,x, macro 205 psdir = ${docdir} macro 206 sbindir = ${exec_prefix}/sbin macro 207 sharedstatedir = ${prefix}/com macro 208 srcdir = . macro 209 sysconfdir = ${prefix}/etc macro 210 target_alias = macro 211 top_build_prefix = ../../ macro 212 top_builddir = ../.. macro 213 top_srcdir = ../.. macro 214 EXTRA_LTLIBRARIES = libucm.la macro 215 libucm_la_SOURCES = utils.c parser.c main.c macro 216 noinst_HEADERS = ucm_local.h macro 217 INCLUDES = -I$(top_srcdir)/include macro [all...] |
H A D | main.c | 50 check_identifier(const char *identifier, const char *prefix) argument 52 int len; local 62 list_count(struct list_head *list) argument 64 struct list_head *pos; local 65 int count = 0; local 67 list_for_each(pos, list) { function 73 alloc_str_list(struct list_head *list, int mult, char **result[]) argument 75 char **res; local 76 int cnt; local 96 snd_use_case_identifier(const char *fmt, ...) argument 98 char *str, *res; local 99 int size = strlen(fmt) + 512; local 100 va_list args; local 121 snd_use_case_free_list(const char *list[], int items) argument 123 int i; local 132 open_ctl(snd_use_case_mgr_t *uc_mgr, snd_ctl_t **ctl, const char *ctl_dev) argument 136 int err; local 166 execute_cset(snd_ctl_t *ctl, const char *cset) argument 168 const char *pos; local 169 int err; local 170 snd_ctl_elem_id_t *id; local 171 snd_ctl_elem_value_t *value; local 172 snd_ctl_elem_info_t *info; local 220 execute_sequence(snd_use_case_mgr_t *uc_mgr, struct list_head *seq, struct list_head *value_list1, struct list_head *value_list2, struct list_head *value_list3) argument 226 struct list_head *pos; local 227 struct sequence_element *s; local 228 char *cdev = NULL; local 229 snd_ctl_t *ctl = NULL; local 230 int err = 0; local 232 list_for_each(pos, seq) { function 242 const char *cdev1 = NULL, *cdev2 = NULL; local 310 import_master_config(snd_use_case_mgr_t *uc_mgr) argument 312 int err; local 332 find0(struct list_head *list, unsigned long offset, unsigned long soffset, const char *match) argument 337 struct list_head *pos; local 338 char *ptr, *str; local 340 list_for_each(pos, list) { function 349 #define find macro 361 get_list0(struct list_head *list, const char **result[], unsigned long offset, unsigned long s1offset) argument 366 char **res; local 367 int cnt; local 368 struct list_head *pos; local 369 char *ptr, *str1; local 377 list_for_each(pos, list) { function 395 #define get_list macro 409 get_list20(struct list_head *list, const char **result[], unsigned long offset, unsigned long s1offset, unsigned long s2offset) argument 415 char **res; local 416 int cnt; local 417 struct list_head *pos; local 418 char *ptr, *str1, *str2; local 426 list_for_each(pos, list) { function 453 #define get_list2 macro 465 find_verb(snd_use_case_mgr_t *uc_mgr, const char *verb_name) argument 473 is_devlist_supported(snd_use_case_mgr_t *uc_mgr, struct dev_list *dev_list) argument 476 struct dev_list_node *device; local 477 struct use_case_device *adev; local 478 struct list_head *pos, *pos1; local 479 int found_ret; local 506 is_modifier_supported(snd_use_case_mgr_t *uc_mgr, struct use_case_modifier *modifier) argument 512 is_device_supported(snd_use_case_mgr_t *uc_mgr, struct use_case_device *device) argument 525 find_device(snd_use_case_mgr_t *uc_mgr, struct use_case_verb *verb, const char *device_name, int check_supported) argument 528 struct use_case_device *device; local 529 struct list_head *pos; local 553 find_modifier(snd_use_case_mgr_t *uc_mgr, struct use_case_verb *verb, const char *modifier_name, int check_supported) argument 556 struct use_case_modifier *modifier; local 557 struct list_head *pos; local 574 device_status(snd_use_case_mgr_t *uc_mgr, const char *device_name) argument 577 struct use_case_device *dev; local 578 struct list_head *pos; local 588 modifier_status(snd_use_case_mgr_t *uc_mgr, const char *modifier_name) argument 591 struct use_case_modifier *mod; local 592 struct list_head *pos; local 609 set_verb(snd_use_case_mgr_t *uc_mgr, struct use_case_verb *verb, int enable) argument 613 struct list_head *seq; local 614 int err; local 637 set_modifier(snd_use_case_mgr_t *uc_mgr, struct use_case_modifier *modifier, int enable) argument 641 struct list_head *seq; local 642 int err; local 671 set_device(snd_use_case_mgr_t *uc_mgr, struct use_case_device *device, int enable) argument 675 struct list_head *seq; local 676 int err; local 704 snd_use_case_mgr_open(snd_use_case_mgr_t **mgr, const char *card_name) argument 707 snd_use_case_mgr_t *uc_mgr; local 708 int err; local 748 snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) argument 750 int err; local 773 snd_use_case_mgr_close(snd_use_case_mgr_t *uc_mgr) argument 783 dismantle_use_case(snd_use_case_mgr_t *uc_mgr) argument 785 struct list_head *pos, *npos; local 786 struct use_case_modifier *modifier; local 787 struct use_case_device *device; local 788 int err; local 826 snd_use_case_mgr_reset(snd_use_case_mgr_t *uc_mgr) argument 828 int err; local 846 get_verb_list(snd_use_case_mgr_t *uc_mgr, const char **list[]) argument 859 get_device_list(snd_use_case_mgr_t *uc_mgr, const char **list[], char *verbname) argument 862 struct use_case_verb *verb; local 882 get_modifier_list(snd_use_case_mgr_t *uc_mgr, const char **list[], char *verbname) argument 885 struct use_case_verb *verb; local 906 get_supcon_device_list(snd_use_case_mgr_t *uc_mgr, const char **list[], char *name, enum dev_list_type type) argument 910 char *str; local 911 struct use_case_verb *verb; local 912 struct use_case_modifier *modifier; local 913 struct use_case_device *device; local 957 get_supported_device_list(snd_use_case_mgr_t *uc_mgr, const char **list[], char *name) argument 969 get_conflicting_device_list(snd_use_case_mgr_t *uc_mgr, const char **list[], char *name) argument 975 struct myvalue { struct 976 struct list_head list; member in struct:myvalue 977 char *value; member in struct:myvalue 980 add_values(struct list_head *list, const char *identifier, struct list_head *source) argument 984 struct ucm_value *v; local 985 struct myvalue *val; local 986 struct list_head *pos, *pos1; local 987 int match; local 989 list_for_each(pos, source) { function 993 list_for_each(pos1, list) { function 1018 get_value_list(snd_use_case_mgr_t *uc_mgr, const char *identifier, const char **list[], char *verbname) argument 1023 struct list_head mylist, *pos, *npos; local 1024 struct myvalue *val; local 1025 struct use_case_verb *verb; local 1026 struct use_case_device *dev; local 1027 struct use_case_modifier *mod; local 1028 char **res; local 1029 int err; local 1086 get_enabled_device_list(snd_use_case_mgr_t *uc_mgr, const char **list[]) argument 1102 get_enabled_modifier_list(snd_use_case_mgr_t *uc_mgr, const char **list[]) argument 1119 snd_use_case_get_list(snd_use_case_mgr_t *uc_mgr, const char *identifier, const char **list[]) argument 1123 char *str, *str1; local 1124 int err; local 1166 get_value1(const char **value, struct list_head *value_list, const char *identifier) argument 1169 struct ucm_value *val; local 1170 struct list_head *pos; local 1175 list_for_each(pos, value_list) { function 1187 get_value3(const char **value, const char *identifier, struct list_head *value_list1, struct list_head *value_list2, struct list_head *value_list3) argument 1193 int err; local 1215 get_value(snd_use_case_mgr_t *uc_mgr, const char *identifier, const char **value, const char *mod_dev_name, const char *verb_name, int exact) argument 1222 struct use_case_verb *verb; local 1223 struct use_case_modifier *mod; local 1224 struct use_case_device *dev; local 1225 int err; local 1285 snd_use_case_get(snd_use_case_mgr_t *uc_mgr, const char *identifier, const char **value) argument 1289 const char *slash1, *slash2, *mod_dev_after; local 1290 const char *ident, *mod_dev, *verb; local 1291 int exact = 0; local 1292 int err; local 1366 snd_use_case_geti(snd_use_case_mgr_t *uc_mgr, const char *identifier, long *value) argument 1370 char *str, *str1; local 1371 long err; local 1417 handle_transition_verb(snd_use_case_mgr_t *uc_mgr, struct use_case_verb *new_verb) argument 1420 struct list_head *pos; local 1421 struct transition_sequence *trans; local 1422 int err; local 1439 set_verb_user(snd_use_case_mgr_t *uc_mgr, const char *verb_name) argument 1442 struct use_case_verb *verb; local 1443 int err; local 1478 set_device_user(snd_use_case_mgr_t *uc_mgr, const char *device_name, int enable) argument 1482 struct use_case_device *device; local 1492 set_modifier_user(snd_use_case_mgr_t *uc_mgr, const char *modifier_name, int enable) argument 1496 struct use_case_modifier *modifier; local 1507 switch_device(snd_use_case_mgr_t *uc_mgr, const char *old_device, const char *new_device) argument 1511 struct use_case_device *xold, *xnew; local 1512 struct transition_sequence *trans; local 1513 struct list_head *pos; local 1514 int err, seq_found = 0; local 1561 switch_modifier(snd_use_case_mgr_t *uc_mgr, const char *old_modifier, const char *new_modifier) argument 1565 struct use_case_modifier *xold, *xnew; local 1566 struct transition_sequence *trans; local 1567 struct list_head *pos; local 1568 int err, seq_found = 0; local 1620 snd_use_case_set(snd_use_case_mgr_t *uc_mgr, const char *identifier, const char *value) argument 1624 char *str, *str1; local 1625 int err; local [all...] |
H A D | parser.c | 37 #define ALSA_CONFIG_UCM_VAR macro 46 parse_string(snd_config_t *n, char **res) argument 48 int err; local 62 parse_is_name_safe(const char *name) argument 71 parse_get_safe_id(snd_config_t *n, const char **id) argument 73 int err; local 86 parse_transition(snd_use_case_mgr_t *uc_mgr, struct list_head *tlist, snd_config_t *cfg) argument 90 struct transition_sequence *tseq; local 91 const char *id; local 92 snd_config_iterator_t i, next; local 93 snd_config_t *n; local 94 int err; local 104 snd_config_for_each(i, next, cfg) { function 135 parse_compound(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, int (*fcn)(snd_use_case_mgr_t *, snd_config_t *, void *, void *), void *data1, void *data2) argument 139 const char *id; local 140 snd_config_iterator_t i, next; local 141 snd_config_t *n; local 142 int err; local 152 snd_config_for_each(i, next, cfg) { function 168 strip_legacy_dev_index(char *name) argument 170 char *dot = strchr(name, '.'); local 185 parse_device_list(snd_use_case_mgr_t *uc_mgr ATTRIBUTE_UNUSED, struct dev_list *dev_list, enum dev_list_type type, snd_config_t *cfg) argument 190 struct dev_list_node *sdev; local 191 const char *id; local 192 snd_config_iterator_t i, next; local 193 snd_config_t *n; local 194 int err; local 210 snd_config_for_each(i, next, cfg) { function 252 parse_sequence(snd_use_case_mgr_t *uc_mgr ATTRIBUTE_UNUSED, struct list_head *base, snd_config_t *cfg) argument 256 struct sequence_element *curr; local 257 snd_config_iterator_t i, next; local 258 snd_config_t *n; local 259 int err, idx = 0; local 260 const char *cmd = NULL; local 267 snd_config_for_each(i, next, cfg) { function 268 const char *id; local 359 parse_value(snd_use_case_mgr_t *uc_mgr ATTRIBUTE_UNUSED, struct list_head *base, snd_config_t *cfg) argument 363 struct ucm_value *curr; local 364 snd_config_iterator_t i, next; local 365 snd_config_t *n; local 366 long l; local 367 long long ll; local 368 double d; local 369 snd_config_type_t type; local 370 int err; local 376 snd_config_for_each(i, next, cfg) { function 377 const char *id; local 473 parse_modifier(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, void *data1, void *data2) argument 478 struct use_case_verb *verb = data1; local 479 struct use_case_modifier *modifier; local 480 const char *name; local 481 snd_config_iterator_t i, next; local 482 snd_config_t *n; local 483 int err; local 507 snd_config_for_each(i, next, cfg) { function 508 const char *id; local 620 parse_device(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, void *data1, void *data2) argument 625 struct use_case_verb *verb = data1; local 626 const char *name; local 627 struct use_case_device *device; local 628 snd_config_iterator_t i, next; local 629 snd_config_t *n; local 630 int err; local 653 snd_config_for_each(i, next, cfg) { function 654 const char *id; local 733 parse_compound_check_legacy(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, int (*fcn)(snd_use_case_mgr_t *, snd_config_t *, void *, void *), void *data1) argument 738 const char *id, *idchild; local 739 int child_ctr = 0, legacy_format = 1; local 740 snd_config_iterator_t i, next; local 741 snd_config_t *child; local 742 int err; local 748 snd_config_for_each(i, next, cfg) { function 779 parse_device_name(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, void *data1, void *data2 ATTRIBUTE_UNUSED) argument 787 parse_modifier_name(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, void *data1, void *data2 ATTRIBUTE_UNUSED) argument 832 parse_verb(snd_use_case_mgr_t *uc_mgr, struct use_case_verb *verb, snd_config_t *cfg) argument 836 snd_config_iterator_t i, next; local 837 snd_config_t *n; local 838 int err; local 841 snd_config_for_each(i, next, cfg) { function 842 const char *id; local 900 parse_verb_file(snd_use_case_mgr_t *uc_mgr, const char *use_case_name, const char *comment, const char *file) argument 905 snd_config_iterator_t i, next; local 906 snd_config_t *n; local 907 struct use_case_verb *verb; local 908 snd_config_t *cfg; local 909 char filename[MAX_FILE]; local 910 char *env = getenv(ALSA_CONFIG_UCM_VAR); local 911 int err; local 950 snd_config_for_each(i, next, cfg) { function 951 const char *id; local 1003 parse_master_section(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg, void *data1 ATTRIBUTE_UNUSED, void *data2 ATTRIBUTE_UNUSED) argument 1007 snd_config_iterator_t i, next; local 1008 snd_config_t *n; local 1009 const char *use_case_name, *file = NULL, *comment = NULL; local 1010 int err; local 1022 snd_config_for_each(i, next, cfg) { function 1023 const char *id; local 1066 parse_controls(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg) argument 1068 int err; local 1126 parse_master_file(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg) argument 1128 snd_config_iterator_t i, next; local 1129 snd_config_t *n; local 1130 const char *id; local 1131 int err; local 1139 snd_config_for_each(i, next, cfg) { function 1187 load_master_config(const char *card_name, snd_config_t **cfg) argument 1189 char filename[MAX_FILE]; local 1190 char *env = getenv(ALSA_CONFIG_UCM_VAR); local 1191 int err; local 1209 uc_mgr_import_master_config(snd_use_case_mgr_t *uc_mgr) argument 1211 snd_config_t *cfg; local 1212 int err; local 1225 filename_filter(const struct dirent *dirent) argument 1243 uc_mgr_scan_master_configs(const char **_list[]) argument 1245 char filename[MAX_FILE], dfl[MAX_FILE]; local 1246 char *env = getenv(ALSA_CONFIG_UCM_VAR); local 1247 const char **list; local 1248 snd_config_t *cfg, *c; local 1249 int i, cnt, err; local 1250 ssize_t ss; local 1251 struct dirent **namelist; local 1258 #define SORTFUNC macro 1260 #define SORTFUNC macro 1311 const char *save1 = list[i * 2]; local 1312 const char *save2 = list[i * 2 + 1]; local [all...] |
H A D | ucm_local.h | 43 #define MAX_FILE macro 44 #define ALSA_USE_CASE_DIR macro 46 #define SEQUENCE_ELEMENT_TYPE_CDEV macro 47 #define SEQUENCE_ELEMENT_TYPE_CSET macro 48 #define SEQUENCE_ELEMENT_TYPE_SLEEP macro 49 #define SEQUENCE_ELEMENT_TYPE_EXEC macro 51 struct ucm_value { struct 52 struct list_head list; member in struct:ucm_value 53 char *name; member in struct:ucm_value 54 char *data; member in struct:ucm_value 57 struct sequence_element { struct 58 struct list_head list; member in struct:sequence_element 59 unsigned int type; member in struct:sequence_element 61 long sleep; /* Sleep time in microseconds if sleep element, else 0 */ member in union:sequence_element::__anon1516 62 char *cdev; member in union:sequence_element::__anon1516 63 char *cset; member in union:sequence_element::__anon1516 64 char *exec; member in union:sequence_element::__anon1516 65 } data; member in struct:sequence_element 71 struct transition_sequence { struct 72 struct list_head list; member in struct:transition_sequence 73 char *name; member in struct:transition_sequence 74 struct list_head transition_list; member in struct:transition_sequence 80 enum dev_list_type { enum 81 DEVLIST_NONE, enumerator in enum:dev_list_type 82 DEVLIST_SUPPORTED, enumerator in enum:dev_list_type 83 DEVLIST_CONFLICTING enumerator in enum:dev_list_type 86 struct dev_list_node { struct 87 struct list_head list; member in struct:dev_list_node 88 char *name; member in struct:dev_list_node 91 struct dev_list { struct 92 enum dev_list_type type; member in struct:dev_list 93 struct list_head list; member in struct:dev_list 100 struct use_case_modifier { struct 101 struct list_head list; member in struct:use_case_modifier 102 struct list_head active_list; member in struct:use_case_modifier 104 char *name; member in struct:use_case_modifier 105 char *comment; member in struct:use_case_modifier 108 struct list_head enable_list; member in struct:use_case_modifier 109 struct list_head disable_list; member in struct:use_case_modifier 112 struct list_head transition_list; member in struct:use_case_modifier 115 struct dev_list dev_list; member in struct:use_case_modifier 118 struct list_head value_list; member in struct:use_case_modifier 125 struct use_case_device { struct 126 struct list_head list; member in struct:use_case_device 127 struct list_head active_list; member in struct:use_case_device 129 char *name; member in struct:use_case_device 130 char *comment; member in struct:use_case_device 133 struct list_head enable_list; member in struct:use_case_device 134 struct list_head disable_list; member in struct:use_case_device 137 struct list_head transition_list; member in struct:use_case_device 140 struct dev_list dev_list; member in struct:use_case_device 143 struct list_head value_list; member in struct:use_case_device 150 struct use_case_verb { struct 151 struct list_head list; member in struct:use_case_verb 153 unsigned int active: 1; member in struct:use_case_verb 155 char *name; member in struct:use_case_verb 156 char *comment; member in struct:use_case_verb 159 struct list_head enable_list; member in struct:use_case_verb 160 struct list_head disable_list; member in struct:use_case_verb 163 struct list_head transition_list; member in struct:use_case_verb 166 struct list_head device_list; member in struct:use_case_verb 169 struct list_head modifier_list; member in struct:use_case_verb 172 struct list_head value_list; member in struct:use_case_verb 178 struct snd_use_case_mgr { struct 179 char *card_name; member in struct:snd_use_case_mgr 180 char *comment; member in struct:snd_use_case_mgr 183 struct list_head verb_list; member in struct:snd_use_case_mgr 186 struct list_head default_list; member in struct:snd_use_case_mgr 189 struct list_head value_list; member in struct:snd_use_case_mgr 192 struct use_case_verb *active_verb; member in struct:snd_use_case_mgr 193 struct list_head active_devices; member in struct:snd_use_case_mgr 194 struct list_head active_modifiers; member in struct:snd_use_case_mgr 197 pthread_mutex_t mutex; member in struct:snd_use_case_mgr 200 snd_ctl_t *ctl; member in struct:snd_use_case_mgr 201 char *ctl_dev; member in struct:snd_use_case_mgr 204 #define uc_error macro 207 #define uc_dbg macro 209 #define uc_dbg macro [all...] |