Lines Matching refs:fd
133 int fd[ES305_NUM_CTRL]; member
704 if (eS305_ctrl.fd[i] >= 0) { in AdncBundle_Release_l()
705 close(eS305_ctrl.fd[i]); in AdncBundle_Release_l()
707 eS305_ctrl.fd[i] = -1; in AdncBundle_Release_l()
1077 if (eS305_ctrl.fd[ES305_CTRL_TX_AGC_ENABLE] < 0) { in Adnc_SetAutomaticGainControlInt_l()
1079 eS305_ctrl.fd[ES305_CTRL_TX_AGC_ENABLE] = open(ES305_TX_AGC_ENABLE_PATH, O_RDWR); in Adnc_SetAutomaticGainControlInt_l()
1080 if (eS305_ctrl.fd[ES305_CTRL_TX_AGC_ENABLE] < 0) { in Adnc_SetAutomaticGainControlInt_l()
1087 write(eS305_ctrl.fd[ES305_CTRL_TX_AGC_ENABLE], ES305_AGC_ON, strlen(ES305_AGC_ON)); in Adnc_SetAutomaticGainControlInt_l()
1089 write(eS305_ctrl.fd[ES305_CTRL_TX_AGC_ENABLE], ES305_AEC_OFF, strlen(ES305_AGC_OFF)); in Adnc_SetAutomaticGainControlInt_l()
1098 if (eS305_ctrl.fd[ES305_CTRL_AEC_ENABLE] < 0) { in Adnc_SetEchoCancellationInt_l()
1100 eS305_ctrl.fd[ES305_CTRL_AEC_ENABLE] = open(ES305_AEC_ENABLE_PATH, O_RDWR); in Adnc_SetEchoCancellationInt_l()
1101 if (eS305_ctrl.fd[ES305_CTRL_AEC_ENABLE] < 0) { in Adnc_SetEchoCancellationInt_l()
1108 write(eS305_ctrl.fd[ES305_CTRL_AEC_ENABLE], ES305_AEC_ON, strlen(ES305_AEC_ON)); in Adnc_SetEchoCancellationInt_l()
1110 write(eS305_ctrl.fd[ES305_CTRL_AEC_ENABLE], ES305_AEC_OFF, strlen(ES305_AEC_OFF)); in Adnc_SetEchoCancellationInt_l()
1119 if (eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL] < 0) { in Adnc_SetNoiseSuppressionInt_l()
1121 eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL] = open(ES305_TX_NS_LEVEL_PATH, O_RDWR); in Adnc_SetNoiseSuppressionInt_l()
1122 if (eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL] < 0) { in Adnc_SetNoiseSuppressionInt_l()
1131 write(eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL], in Adnc_SetNoiseSuppressionInt_l()
1136 write(eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL], in Adnc_SetNoiseSuppressionInt_l()
1140 write(eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL], in Adnc_SetNoiseSuppressionInt_l()
1145 write(eS305_ctrl.fd[ES305_CTRL_TX_NS_LEVEL], ES305_NS_OFF, strlen(ES305_NS_OFF)); in Adnc_SetNoiseSuppressionInt_l()
1152 if (eS305_ctrl.fd[ES305_CTRL_VOICE_PROCESSING] < 0) { in Adnc_SetVoiceProcessingInt_l()
1154 eS305_ctrl.fd[ES305_CTRL_VOICE_PROCESSING] = open(ES305_VOICE_PROCESSING_PATH, O_RDWR); in Adnc_SetVoiceProcessingInt_l()
1155 if (eS305_ctrl.fd[ES305_CTRL_VOICE_PROCESSING] < 0) { in Adnc_SetVoiceProcessingInt_l()
1161 write(eS305_ctrl.fd[ES305_CTRL_VOICE_PROCESSING], ES305_ON, strlen(ES305_ON)); in Adnc_SetVoiceProcessingInt_l()
1163 write(eS305_ctrl.fd[ES305_CTRL_VOICE_PROCESSING], ES305_OFF, strlen(ES305_OFF)); in Adnc_SetVoiceProcessingInt_l()
1183 if (eS305_ctrl.fd[ES305_CTRL_SLEEP] < 0) { in Adnc_SleepInt_l()
1185 eS305_ctrl.fd[ES305_CTRL_SLEEP] = open(ES305_SLEEP_PATH, O_RDWR); in Adnc_SleepInt_l()
1186 if (eS305_ctrl.fd[ES305_CTRL_SLEEP] < 0) { in Adnc_SleepInt_l()
1192 write(eS305_ctrl.fd[ES305_CTRL_SLEEP], ES305_ON, strlen(ES305_ON)); in Adnc_SleepInt_l()
1227 if (eS305_ctrl.fd[ES305_CTRL_PRESET] < 0) { in Adnc_ApplyPresetInt_l()
1229 eS305_ctrl.fd[ES305_CTRL_PRESET] = open(ES305_PRESET_PATH, O_RDWR); in Adnc_ApplyPresetInt_l()
1231 if (eS305_ctrl.fd[ES305_CTRL_PRESET] < 0) { in Adnc_ApplyPresetInt_l()
1238 write(eS305_ctrl.fd[ES305_CTRL_PRESET], str, strlen(str)); in Adnc_ApplyPresetInt_l()