/AliOS-Things-master/components/a2sa/src/driver/core/ |
A D | audio.c | 35 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 D | pcm_dev.c | 13 …_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 D | audio_card.c | 77 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 D | control.c | 36 …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 D | cli_console.h | 14 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 D | uart_console.c | 15 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 D | telnet_console.c | 70 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 D | cli_console.c | 419 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 D | cli.c | 1061 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 D | pcm_dev.h | 41 void *private_data; member 45 …_t *audio_pcm_device_new(int dirType, const char *name, pcm_device_ops_t *ops, void *private_data);
|
A D | audio_drv.h | 100 void *private_data; /**< private data buffer */ member 104 int audio_register_device(int type, const char *name, void *private_data);
|
A D | audio_card.h | 28 pcm_device_t * audio_card_get_pcm_device(audio_card_t *card, void *private_data);
|
A D | control.h | 180 void *private_data; member
|
/AliOS-Things-master/components/uvoice/audio/hal/linux/ |
A D | uvoice_pcm.c | 228 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 D | aos_pcm.h | 34 void *private_data; member
|
/AliOS-Things-master/components/uvoice/internal/ |
A D | uvoice_audio.h | 87 void *private_data; member
|
/AliOS-Things-master/components/a2sa/include/ |
A D | sound_pcm.h | 147 void *private_data; member
|
/AliOS-Things-master/components/a2sa/src/framework/ |
A D | sound_pcm.c | 282 if(pcm->private_data) { in aos_pcm_close() 283 free(pcm->private_data); in aos_pcm_close()
|