Home
last modified time | relevance | path

Searched refs:private_data (Results 1 – 18 of 18) sorted by relevance

/AliOS-Things-master/components/a2sa/src/driver/core/
A Daudio.c35 pcm = (pcm_device_t *)(dev->private_data); in audio_pcm_open()
40 ret = pcm->ops->open(pcm->private_data); in audio_pcm_open()
63 pcm = (pcm_device_t *)(dev->private_data); in audio_pcm_close()
68 ret = pcm->ops->close(pcm->private_data); in audio_pcm_close()
99 pcm = (pcm_device_t *)(dev->private_data); in audio_pcm_ioctl()
295 if(!name || !private_data) { in audio_register_device()
305 if((node->type == type) && (node->private_data == private_data)) { in audio_register_device()
325 new_dev->private_data = private_data; in audio_register_device()
354 …e == dev->type) && (!strcmp(node->name, dev->name) && (node->private_data == dev->private_data))) { in audio_unregister_device()
359 if(node->private_data) in audio_unregister_device()
[all …]
A Dpcm_dev.c13 …_t * audio_pcm_device_new(int dirType, const char *name, pcm_device_ops_t *ops, void *private_data) in audio_pcm_device_new() argument
39 dev->private_data = private_data; in audio_pcm_device_new()
A Daudio_card.c77 pcm_device_t * audio_card_get_pcm_device(audio_card_t *card, void *private_data) in audio_card_get_pcm_device() argument
81 if(!card || !private_data) { in audio_card_get_pcm_device()
87 if(node->private_data == private_data) { in audio_card_get_pcm_device()
A Dcontrol.c36 …truct audio_kcontrol *audio_ctl_new1(const struct audio_kcontrol_new *ncontrol, void *private_data) in audio_ctl_new1() argument
78 kctl->private_data = private_data; in audio_ctl_new1()
/AliOS-Things-master/components/cli/src/
A Dcli_console.h14 typedef void (* command_callback)(void *private_data);
24 int (*read)(void *buf, size_t len, void *private_data);
25 int (*write)(const void *buf, size_t len, void *private_data);
26 int (*init)(void *private_data);
27 int (*deinit)(void *private_data);
37 void *private_data; member
86 cli_console *cli_console_create(device_console *dev_console, const char *name, void *private_data);
A Duart_console.c15 int uart_console_init(void *private_data);
16 int uart_console_deinit(void *private_data);
83 int uart_console_init(void *private_data) in uart_console_init() argument
88 int uart_console_deinit(void *private_data) in uart_console_deinit() argument
100 .private_data = NULL,
A Dtelnet_console.c70 static int telnet_console_init(void *private_data) in telnet_console_init() argument
77 static int telnet_console_deinit(void *private_data) in telnet_console_deinit() argument
102 .private_data = NULL,
A Dcli_console.c419 rbytes = dev_console->read(buf, nbytes, console->private_data); in cli_console_read()
443 wbytes = dev_console->write(buf, nbytes, console->private_data); in cli_console_write()
479 ret = dev_console->init(console->private_data); in cli_console_init()
514 ret = dev_console->deinit(console->private_data); in cli_console_deinit()
532 void *private_data) in cli_console_create() argument
547 console->private_data = private_data; in cli_console_create()
A Dcli.c1061 cur_console->start_callback(cur_console->private_data); in cli_main()
1082 cur_console->finsh_callback(cur_console->private_data); in cli_main()
/AliOS-Things-master/components/a2sa/internal/driver/core/
A Dpcm_dev.h41 void *private_data; member
45 …_t *audio_pcm_device_new(int dirType, const char *name, pcm_device_ops_t *ops, void *private_data);
A Daudio_drv.h100 void *private_data; /**< private data buffer */ member
104 int audio_register_device(int type, const char *name, void *private_data);
A Daudio_card.h28 pcm_device_t * audio_card_get_pcm_device(audio_card_t *card, void *private_data);
A Dcontrol.h180 void *private_data; member
/AliOS-Things-master/components/uvoice/audio/hal/linux/
A Duvoice_pcm.c228 pcm->private_data = pcm_handle; in alsa_pcm_open()
245 pcm_handle = (snd_pcm_t *)pcm->private_data; in alsa_pcm_drain()
258 pcm_handle = (snd_pcm_t *)pcm->private_data; in alsa_pcm_close()
273 pcm_handle = (snd_pcm_t *)pcm->private_data; in alsa_pcm_read()
297 pcm_handle = (snd_pcm_t *)pcm->private_data; in alsa_pcm_write()
/AliOS-Things-master/components/amp_adapter/include/
A Daos_pcm.h34 void *private_data; member
/AliOS-Things-master/components/uvoice/internal/
A Duvoice_audio.h87 void *private_data; member
/AliOS-Things-master/components/a2sa/include/
A Dsound_pcm.h147 void *private_data; member
/AliOS-Things-master/components/a2sa/src/framework/
A Dsound_pcm.c282 if(pcm->private_data) { in aos_pcm_close()
283 free(pcm->private_data); in aos_pcm_close()

Completed in 28 milliseconds