• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/seq/

Lines Matching refs:hw

44 	snd_seq_hw_t *hw = seq->private_data;
47 if (close(hw->fd)) {
51 free(hw);
57 snd_seq_hw_t *hw = seq->private_data;
60 if ((flags = fcntl(hw->fd, F_GETFL)) < 0) {
68 if (fcntl(hw->fd, F_SETFL, flags) < 0) {
77 snd_seq_hw_t *hw = seq->private_data;
79 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_CLIENT_ID, &client) < 0) {
88 snd_seq_hw_t *hw = seq->private_data;
89 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SYSTEM_INFO, info) < 0) {
98 snd_seq_hw_t *hw = seq->private_data;
99 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_CLIENT_INFO, info) < 0) {
108 snd_seq_hw_t *hw = seq->private_data;
109 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_CLIENT_INFO, info) < 0) {
118 snd_seq_hw_t *hw = seq->private_data;
119 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_CREATE_PORT, port) < 0) {
128 snd_seq_hw_t *hw = seq->private_data;
129 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_DELETE_PORT, port) < 0) {
138 snd_seq_hw_t *hw = seq->private_data;
139 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_PORT_INFO, info) < 0) {
148 snd_seq_hw_t *hw = seq->private_data;
149 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_PORT_INFO, info) < 0) {
158 snd_seq_hw_t *hw = seq->private_data;
159 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_SUBSCRIPTION, sub) < 0) {
168 snd_seq_hw_t *hw = seq->private_data;
169 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SUBSCRIBE_PORT, sub) < 0) {
178 snd_seq_hw_t *hw = seq->private_data;
179 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT, sub) < 0) {
188 snd_seq_hw_t *hw = seq->private_data;
189 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_QUERY_SUBS, subs) < 0) {
198 snd_seq_hw_t *hw = seq->private_data;
199 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS, status) < 0) {
208 snd_seq_hw_t *hw = seq->private_data;
209 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_TEMPO, tempo) < 0) {
218 snd_seq_hw_t *hw = seq->private_data;
219 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO, tempo) < 0) {
228 snd_seq_hw_t *hw = seq->private_data;
229 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_TIMER, timer) < 0) {
238 snd_seq_hw_t *hw = seq->private_data;
239 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_TIMER, timer) < 0) {
248 snd_seq_hw_t *hw = seq->private_data;
249 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_CLIENT, info) < 0) {
258 snd_seq_hw_t *hw = seq->private_data;
259 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT, info) < 0) {
268 snd_seq_hw_t *hw = seq->private_data;
269 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_CREATE_QUEUE, info) < 0) {
278 snd_seq_hw_t *hw = seq->private_data;
279 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_DELETE_QUEUE, info) < 0) {
288 snd_seq_hw_t *hw = seq->private_data;
289 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_QUEUE_INFO, info) < 0) {
298 snd_seq_hw_t *hw = seq->private_data;
299 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_QUEUE_INFO, info) < 0) {
308 snd_seq_hw_t *hw = seq->private_data;
309 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_NAMED_QUEUE, info) < 0) {
318 snd_seq_hw_t *hw = seq->private_data;
319 ssize_t result = write(hw->fd, buf, len);
327 snd_seq_hw_t *hw = seq->private_data;
328 ssize_t result = read(hw->fd, buf, len);
336 snd_seq_hw_t *hw = seq->private_data;
337 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_REMOVE_EVENTS, rmp) < 0) {
346 snd_seq_hw_t *hw = seq->private_data;
347 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_GET_CLIENT_POOL, info) < 0) {
356 snd_seq_hw_t *hw = seq->private_data;
357 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_SET_CLIENT_POOL, info) < 0) {
366 snd_seq_hw_t *hw = seq->private_data;
367 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_QUERY_NEXT_CLIENT, info) < 0) {
376 snd_seq_hw_t *hw = seq->private_data;
377 if (ioctl(hw->fd, SNDRV_SEQ_IOCTL_QUERY_NEXT_PORT, info) < 0) {
424 snd_seq_hw_t *hw;
470 hw = calloc(1, sizeof(snd_seq_hw_t));
471 if (hw == NULL) {
478 free(hw);
482 hw->fd = fd;
486 free(hw);
496 free(hw);
511 seq->private_data = hw;