Home
last modified time | relevance | path

Searched refs:dev_id (Results 1 – 25 of 25) sorted by relevance

/hardware/qcom/audio/post_proc/
Dma_listener.c74 uint32_t dev_id; member
173 if ((context->dev_id & AUDIO_DEVICE_OUT_SPEAKER) || in valid_dev_in_context()
174 (context->dev_id & AUDIO_DEVICE_OUT_SPEAKER_SAFE) || in valid_dev_in_context()
176 (context->dev_id & AUDIO_DEVICE_OUT_ALL_A2DP) || in valid_dev_in_context()
177 (context->dev_id & AUDIO_DEVICE_OUT_ALL_USB)) { in valid_dev_in_context()
376 __func__, context->dev_id, new_device); in ma_effect_command()
378 context->dev_id = new_device; in ma_effect_command()
536 context->dev_id = AUDIO_DEVICE_NONE; in ma_prc_lib_create()
Dvolume_listener.c91 uint32_t dev_id; member
236 … context->dev_id, context->state, context->session_id, context->left_vol,context->right_vol); in dump_list_l()
244 if (context->dev_id == AUDIO_DEVICE_OUT_SPEAKER || in valid_dev_in_context()
245 context->dev_id == AUDIO_DEVICE_OUT_SPEAKER_SAFE) in valid_dev_in_context()
249 (context->dev_id == AUDIO_DEVICE_OUT_EARPIECE || in valid_dev_in_context()
250 context->dev_id == AUDIO_DEVICE_OUT_WIRED_HEADSET || in valid_dev_in_context()
251 context->dev_id == AUDIO_DEVICE_OUT_WIRED_HEADPHONE)) in valid_dev_in_context()
519 __func__, context->dev_id, new_device); in vol_effect_command()
528 context->dev_id = new_device; in vol_effect_command()
742 context->dev_id = AUDIO_DEVICE_NONE; in vol_prc_lib_create()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_ar3k.c1158 int hci_open_dev(int dev_id) in hci_open_dev() argument
1171 a.hci_dev = dev_id; in hci_open_dev()
1233 int dev_id, dd; in ath3k_post() local
1238 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1239 if (dev_id < 0) { in ath3k_post()
1241 return dev_id; in ath3k_post()
1244 dd = hci_open_dev(dev_id); in ath3k_post()
1250 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_ar3k.c1154 int hci_open_dev(int dev_id) in hci_open_dev() argument
1167 a.hci_dev = dev_id; in hci_open_dev()
1229 int dev_id, dd; in ath3k_post() local
1234 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1235 if (dev_id < 0) { in ath3k_post()
1237 return dev_id; in ath3k_post()
1240 dd = hci_open_dev(dev_id); in ath3k_post()
1246 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_ar3k.c1160 int hci_open_dev(int dev_id) in hci_open_dev() argument
1173 a.hci_dev = dev_id; in hci_open_dev()
1235 int dev_id, dd; in ath3k_post() local
1240 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1241 if (dev_id < 0) { in ath3k_post()
1243 return dev_id; in ath3k_post()
1246 dd = hci_open_dev(dev_id); in ath3k_post()
1252 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhw_ar3k.c1160 int hci_open_dev(int dev_id) in hci_open_dev() argument
1173 a.hci_dev = dev_id; in hci_open_dev()
1235 int dev_id, dd; in ath3k_post() local
1240 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1241 if (dev_id < 0) { in ath3k_post()
1243 return dev_id; in ath3k_post()
1246 dd = hci_open_dev(dev_id); in ath3k_post()
1252 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_ar3k.c1154 int hci_open_dev(int dev_id) in hci_open_dev() argument
1167 a.hci_dev = dev_id; in hci_open_dev()
1229 int dev_id, dd; in ath3k_post() local
1234 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1235 if (dev_id < 0) { in ath3k_post()
1237 return dev_id; in ath3k_post()
1240 dd = hci_open_dev(dev_id); in ath3k_post()
1246 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_ar3k.c1162 int hci_open_dev(int dev_id) in hci_open_dev() argument
1175 a.hci_dev = dev_id; in hci_open_dev()
1237 int dev_id, dd; in ath3k_post() local
1242 dev_id = ioctl(fd, HCIUARTGETDEVICE, 0); in ath3k_post()
1243 if (dev_id < 0) { in ath3k_post()
1245 return dev_id; in ath3k_post()
1248 dd = hci_open_dev(dev_id); in ath3k_post()
1254 if (ioctl(dd, HCIDEVUP, dev_id) < 0 && errno != EALREADY) { in ath3k_post()
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_audio.h284 uint32_t dev_id; member
314 uint32_t dev_id; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_audio.h307 uint32_t dev_id; member
335 uint32_t dev_id; member
/hardware/qcom/audio/hal/audio_extn/
Dhwdep_cal.c39 audio_devices_t dev_id; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_audio.h356 uint32_t dev_id; member
384 uint32_t dev_id; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_audio.h322 uint32_t dev_id; member
352 uint32_t dev_id; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_audio.h322 uint32_t dev_id; member
352 uint32_t dev_id; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_audio.h364 uint32_t dev_id; member
392 uint32_t dev_id; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_audio.h332 uint32_t dev_id; member
362 uint32_t dev_id; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_audio.h330 uint32_t dev_id; member
360 uint32_t dev_id; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_audio.h376 uint32_t dev_id; member
404 uint32_t dev_id; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_audio.h376 uint32_t dev_id; member
404 uint32_t dev_id; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_audio.h332 uint32_t dev_id; member
362 uint32_t dev_id; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_audio.h332 uint32_t dev_id; member
362 uint32_t dev_id; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_audio.h376 uint32_t dev_id; member
404 uint32_t dev_id; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_audio.h373 uint32_t dev_id; member
401 uint32_t dev_id; member
/hardware/qcom/audio/hal/msm8974/
Dplatform.c130 audio_devices_t dev_id; member
958 cal->dev_id = (uint32_t)strtoul(value, NULL, 0); in parse_audiocal_cfg()
1040 if (cal.dev_id) { in set_audiocal()
1041 if (audio_is_input_device(cal.dev_id)) { in set_audiocal()
1044 cal.snd_dev_id = platform_get_input_snd_device(platform, NULL, cal.dev_id); in set_audiocal()
1046 cal.snd_dev_id = platform_get_output_snd_device(platform, cal.dev_id); in set_audiocal()
/hardware/qcom/audio/hal/msm8916/
Dplatform.c99 audio_devices_t dev_id; member