/external/adhd/cras/src/server/config/ |
H A D | cras_card_config.c | 61 const char *card_name) 67 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_path, card_name); 60 cras_card_config_create(const char *config_path, const char *card_name) argument
|
/external/adhd/cras/src/server/ |
H A D | cras_alsa_card.c | 70 * card_name - The name of the card. 82 const char *card_name, 101 card_name, dev_name, dev_id, device_index); 112 card_name, 208 const char *card_name, 280 card_name, 301 card_name, 323 const char *card_name, 339 " info for '%s'.", card_name); 351 card_name, 79 create_iodev_for_device( struct cras_alsa_card *alsa_card, struct cras_alsa_card_info *info, const char *card_name, const char *dev_name, const char *dev_id, unsigned device_index, enum CRAS_STREAM_DIRECTION direction) argument 204 add_controls_and_iodevs_by_matching( struct cras_alsa_card_info *info, struct cras_device_blacklist *blacklist, struct cras_alsa_card *alsa_card, const char *card_name, snd_ctl_t *handle) argument 320 add_controls_and_iodevs_with_ucm( struct cras_alsa_card_info *info, struct cras_alsa_card *alsa_card, const char *card_name, snd_ctl_t *handle) argument 426 const char *card_name; local [all...] |
H A D | cras_alsa_mixer.c | 647 struct cras_alsa_mixer *cras_alsa_mixer_create(const char *card_name) argument 655 syslog(LOG_DEBUG, "Add mixer for device %s", card_name); 657 alsa_mixer_open(card_name, &cmix->mixer);
|
H A D | cras_alsa_jack.c | 106 * card_name - The name of the card. 119 const char *card_name; member in struct:cras_alsa_jack_list 410 const char *card_name, 431 target_device_name, card_name, jack_list->device_index); 433 /* Device name of format "hw:<card_name>,<device_index>", should fit 438 card_name, 454 const char *card_name = jack_list->card_name; local 479 if (!strstr(jack->gpio.device_name, card_name) || 550 const char *card_name local 408 gpio_jack_match_device(const struct cras_alsa_jack *jack, struct cras_alsa_jack_list* jack_list, const char *card_name, enum CRAS_STREAM_DIRECTION direction) argument 1099 cras_alsa_jack_list_create( unsigned int card_index, const char *card_name, unsigned int device_index, int is_first_device, struct cras_alsa_mixer *mixer, struct cras_use_case_mgr *ucm, snd_hctl_t *hctl, enum CRAS_STREAM_DIRECTION direction, jack_state_change_callback *cb, void *cb_data) argument [all...] |
H A D | cras_alsa_io.c | 1484 const char *card_name, 1496 card_name, 1503 dev->info.stable_id = SuperFastHash(card_name, 1504 strlen(card_name), 1505 strlen(card_name)); 1800 const char *card_name, 1919 set_iodev_name(iodev, card_name, dev_name, card_index, device_index, 1925 card_name, 1483 set_iodev_name(struct cras_iodev *dev, const char *card_name, const char *dev_name, size_t card_index, size_t device_index, enum CRAS_ALSA_CARD_TYPE card_type, size_t usb_vid, size_t usb_pid, char *usb_serial_number) argument 1799 alsa_iodev_create(size_t card_index, const char *card_name, size_t device_index, const char *dev_name, const char *dev_id, enum CRAS_ALSA_CARD_TYPE card_type, int is_first, struct cras_alsa_mixer *mixer, const struct cras_card_config *config, struct cras_use_case_mgr *ucm, snd_hctl_t *hctl, enum CRAS_STREAM_DIRECTION direction, size_t usb_vid, size_t usb_pid, char *usb_serial_number) argument
|
/external/adhd/cras/src/tests/ |
H A D | alsa_ucm_unittest.cc | 1398 int snd_use_case_mgr_open(snd_use_case_mgr_t** uc_mgr, const char* card_name) { argument
|
H A D | alsa_card_unittest.cc | 817 struct cras_alsa_mixer *cras_alsa_mixer_create(const char *card_name) { argument 844 const char *card_name, 1001 const char *card_name) 843 alsa_iodev_create(size_t card_index, const char *card_name, size_t device_index, const char *dev_name, const char *dev_id, enum CRAS_ALSA_CARD_TYPE card_type, int is_first, struct cras_alsa_mixer *mixer, const struct cras_card_config *config, struct cras_use_case_mgr *ucm, snd_hctl_t *hctl, enum CRAS_STREAM_DIRECTION direction, size_t usb_vid, size_t usb_pid, char *usb_serial_number) argument 1000 cras_card_config_create(const char *config_path, const char *card_name) argument
|
H A D | alsa_mixer_unittest.cc | 153 const char *card_name, 156 struct cras_alsa_mixer *cmix = cras_alsa_mixer_create(card_name); 152 create_mixer_and_add_controls_by_name_matching( const char *card_name, struct mixer_name *extra_controls, struct mixer_name *coupled_controls) argument
|
H A D | alsa_io_unittest.cc | 2440 const char *card_name, 2438 cras_alsa_jack_list_create( unsigned int card_index, const char *card_name, unsigned int device_index, int check_gpio_jack, struct cras_alsa_mixer *mixer, struct cras_use_case_mgr *ucm, snd_hctl_t *hctl, enum CRAS_STREAM_DIRECTION direction, jack_state_change_callback *cb, void *cb_data) argument
|