Home
last modified time | relevance | path

Searched refs:card_info (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/tests/
Dalsa_card_unittest.cc166 cras_alsa_card_info card_info; in TEST() local
169 card_info.card_type = ALSA_CARD_TYPE_INTERNAL; in TEST()
170 card_info.card_index = 55; in TEST()
171 c = cras_alsa_card_create(&card_info, device_config_dir, in TEST()
180 cras_alsa_card_info card_info; in TEST() local
183 card_info.card_type = ALSA_CARD_TYPE_INTERNAL; in TEST()
184 card_info.card_index = 0; in TEST()
186 c = cras_alsa_card_create(&card_info, device_config_dir, in TEST()
196 cras_alsa_card_info card_info; in TEST() local
199 card_info.card_type = ALSA_CARD_TYPE_INTERNAL; in TEST()
[all …]
/external/adhd/cras/src/server/
Dcras_udev.c251 static void fill_usb_card_info(struct cras_alsa_card_info *card_info, in fill_usb_card_info() argument
264 card_info->usb_vendor_id = strtol(sysattr, NULL, 16); in fill_usb_card_info()
267 card_info->usb_product_id = strtol(sysattr, NULL, 16); in fill_usb_card_info()
270 strncpy(card_info->usb_serial_number, sysattr, in fill_usb_card_info()
272 card_info->usb_serial_number[USB_SERIAL_NUMBER_BUFFER_SIZE - 1] in fill_usb_card_info()
276 card_info->usb_desc_checksum = calculate_desc_checksum(parent_dev); in fill_usb_card_info()
280 card_info->usb_vendor_id, card_info->usb_product_id, in fill_usb_card_info()
281 card_info->usb_serial_number, card_info->usb_desc_checksum); in fill_usb_card_info()
289 struct cras_alsa_card_info card_info; in device_add_alsa() local
290 memset(&card_info, 0, sizeof(card_info)); in device_add_alsa()
[all …]
Dcras_alsa_card.c462 snd_ctl_card_info_t *card_info; in cras_alsa_card_create() local
473 snd_ctl_card_info_alloca(&card_info); in cras_alsa_card_create()
491 rc = snd_ctl_card_info(handle, card_info); in cras_alsa_card_create()
497 card_name = snd_ctl_card_info_get_name(card_info); in cras_alsa_card_create()
/external/wpa_supplicant_8/src/eap_peer/
Deap_proxy_qmi_oc.c225 status_change_ind_ptr->card_status.card_info[i].card_state) { in wpa_qmi_client_indication_cb()
367 card_status_resp_msg.card_status.card_info[i].card_state); in wpa_qmi_read_card_status()
369 card_status_resp_msg.card_status.card_info[i].error_code); in wpa_qmi_read_card_status()
371 wpa_uim[sim_num].card_info[i].card_state = in wpa_qmi_read_card_status()
372 card_status_resp_msg.card_status.card_info[i].card_state; in wpa_qmi_read_card_status()
374 wpa_uim[sim_num].card_info[i].card_error_code = in wpa_qmi_read_card_status()
375 card_status_resp_msg.card_status.card_info[i].error_code; in wpa_qmi_read_card_status()
407 if (card_status_resp_msg.card_status.card_info[i].card_state == in wpa_qmi_read_card_status()
410 wpa_uim[sim_num].card_info[i].app_type = card_status_resp_msg. in wpa_qmi_read_card_status()
411 card_status.card_info[i].app_info[j].app_type; in wpa_qmi_read_card_status()
[all …]
Deap_proxy_qmi_oc.h107 wpa_uim_card_info_type card_info[QMI_UIM_CARDS_MAX_V01]; member
/external/tinyalsa/
Dmixer.c63 struct snd_ctl_card_info card_info; member
126 if (ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, &mixer->card_info) < 0) in mixer_open()
201 return (const char *)mixer->card_info.name; in mixer_get_name()