Home
last modified time | relevance | path

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

123

/hardware/interfaces/radio/1.1/
DIRadio.hal46 * Set SIM card power state.
47 * Request is equivalent to inserting or removing the card.
53 * @param powerUp POWER_DOWN if powering down the SIM card,
54 * POWER_UP if powering up the SIM card,
55 * POWER_UP_PASS_THROUGH if powering up the SIM card in pass through mode.
56 * When SIM card is in POWER_UP_PASS_THROUGH, the modem does not send any command to it
57 * (for example SELECT of MF, or TERMINAL CAPABILITY), and the SIM card is controlled
58 * completely by Telephony sending APDUs directly. The SIM card state must be
59 * RIL_CARDSTATE_PRESENT and the number of card apps will be 0.
61 * SIM card is absent.
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c220 static bool parse_card_device_params(const char *kvpairs, int *card, int *device) in parse_card_device_params() argument
227 *card = -1; in parse_card_device_params()
232 *card = atoi(value); in parse_card_device_params()
242 return *card >= 0 && *device >= 0; in parse_card_device_params()
247 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
377 int card = -1; in out_set_parameters() local
380 if (!parse_card_device_params(kvpairs, &card, &device)) { in out_set_parameters()
389 if (!profile_is_cached_for(out->profile, card, device)) { in out_set_parameters()
394 int saved_card = out->profile->card; in out_set_parameters()
396 out->adev->out_profile.card = card; in out_set_parameters()
[all …]
/hardware/qcom/audio/hal/audio_extn/
Dusb.c198 static int usb_set_dev_id_mixer_ctl(unsigned int usb_usecase_type, int card, in usb_set_dev_id_mixer_ctl() argument
209 dev_token = (card << 16 ) | in usb_set_dev_id_mixer_ctl()
318 int card) in usb_get_capability() argument
345 card); in usb_get_capability()
514 int card) in usb_get_device_playback_config() argument
519 if ((ret = usb_get_capability(USB_PLAYBACK, usb_card_info, card))) { in usb_get_device_playback_config()
524 usb_set_dev_id_mixer_ctl(USB_PLAYBACK, card, "USB_AUDIO_RX dev_token"); in usb_get_device_playback_config()
532 int card) in usb_get_device_capture_config() argument
537 if ((ret = usb_get_capability(USB_CAPTURE, usb_card_info, card))) { in usb_get_device_capture_config()
542 usb_set_dev_id_mixer_ctl(USB_CAPTURE, card, "USB_AUDIO_TX dev_token"); in usb_get_device_capture_config()
[all …]
Daudio_extn.h74 #define audio_extn_usb_add_device(device, card) (0) argument
75 #define audio_extn_usb_remove_device(device, card) (0) argument
89 void audio_extn_usb_add_device(audio_devices_t device, int card);
90 void audio_extn_usb_remove_device(audio_devices_t device, int card);
102 bool audio_extn_usb_alive(int card);
Dsndmonitor.c65 int card; member
125 static int add_new_sndcard(int card, int fd) in add_new_sndcard() argument
132 s->card = card; in add_new_sndcard()
138 ALOGV("card %d initial state %s %d", card, state, online); in add_new_sndcard()
384 ALOGV("card num %d, new state %s", s->card, rd_buf); in on_sndcard_state_update()
386 bool is_cpe = (s->card >= CPE_MAGIC_NUM); in on_sndcard_state_update()
408 snprintf(val, sizeof(val), "%d,%s", s->card - (is_cpe ? CPE_MAGIC_NUM : 0), in on_sndcard_state_update()
Dmaxxaudio.c299 static void ma_support_usb(bool enable, int card) in ma_support_usb() argument
308 ret = snprintf(path, sizeof(path), "/proc/asound/card%u/id", card); in ma_support_usb()
610 const int card = atoi(value); in audio_extn_ma_set_parameters() local
611 ma_support_usb(true, card); in audio_extn_ma_set_parameters()
624 const int card = atoi(value); in audio_extn_ma_set_parameters() local
625 ma_support_usb(false, card /*useless*/); in audio_extn_ma_set_parameters()
/hardware/interfaces/radio/config/1.0/
Dtypes.hal43 * standards, following electrical reset of the card's chip. The ATR conveys information about
44 * the communication parameters proposed by the card, and the card's nature and state.
52 * located in the SIM card at EFiccid (0x2FE2) as per ETSI 102.221. The ICCID is defined by
DIRadioConfigIndication.hal30 * slot is inactive. For example, this indication must be triggered if a SIM card is inserted
/hardware/intel/audio_media/hdmi/
Dtinyaudio_hw.c118 int card; member
230 if ((adev->card < 0) || (adev->device < 0)){ in start_output_stream()
233 adev->card = DEFAULT_CARD; in start_output_stream()
235 ALOGV("%s : Setting default card/ device %d,%d",__func__,adev->card,adev->device); in start_output_stream()
257 adev->card = get_card_number_by_name("IntelHDMI"); in start_output_stream()
258 ALOGD("%s: HDMI card number = %d, device = %d",__func__,adev->card,adev->device); in start_output_stream()
260 out->pcm = pcm_open(adev->card, adev->device, PCM_OUT, &out->pcm_config); in start_output_stream()
397 adev->card = atoi(value); in out_set_parameters()
413 int card = 0; in parse_channel_map() local
420 card = get_card_number_by_name("IntelHDMI"); in parse_channel_map()
[all …]
/hardware/qcom/msm8x26/kernel-headers/sound/
Dasound.h76 int card; member
282 int card; member
566 int card; member
632 int card; member
641 int card; member
677 int card; member
762 int card; member
/hardware/qcom/msm8x26/original-kernel-headers/sound/
Dasound.h104 int card; /* R: card number */ member
295 int card; /* R: card number */ member
571 int card; /* R: card number */ member
640 int card; member
648 int card; /* card number */ member
681 int card; /* card number */ member
766 int card; /* card number */ member
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dasound.h112 int card; /* R: card number */ member
314 int card; /* R: card number */ member
612 int card; /* R: card number */ member
681 int card; member
689 int card; /* card number */ member
722 int card; /* card number */ member
807 int card; /* card number */ member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dasound.h108 int card; /* R: card number */ member
302 int card; /* R: card number */ member
581 int card; /* R: card number */ member
650 int card; member
658 int card; /* card number */ member
691 int card; /* card number */ member
776 int card; /* card number */ member
/hardware/qcom/msm8998/kernel-headers/sound/
Dasound.h87 int card; member
303 int card; member
600 int card; member
666 int card; member
675 int card; member
711 int card; member
796 int card; member
/hardware/qcom/msm8x84/original-kernel-headers/sound/
Dasound.h104 int card; /* R: card number */ member
295 int card; /* R: card number */ member
571 int card; /* R: card number */ member
640 int card; member
648 int card; /* card number */ member
681 int card; /* card number */ member
766 int card; /* card number */ member
/hardware/qcom/msm8994/kernel-headers/sound/
Dasound.h77 int card; member
284 int card; member
567 int card; member
634 int card; member
642 int card; member
679 int card; member
764 int card; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dasound.h83 int card; member
293 int card; member
574 int card; member
641 int card; member
649 int card; member
686 int card; member
771 int card; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dasound.h108 int card; /* R: card number */ member
302 int card; /* R: card number */ member
581 int card; /* R: card number */ member
650 int card; member
658 int card; /* card number */ member
691 int card; /* card number */ member
776 int card; /* card number */ member
/hardware/qcom/msm8x84/kernel-headers/sound/
Dasound.h76 int card; member
282 int card; member
566 int card; member
632 int card; member
641 int card; member
677 int card; member
762 int card; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dasound.h81 int card; member
291 int card; member
572 int card; member
639 int card; member
647 int card; member
684 int card; member
769 int card; member
/hardware/interfaces/wifi/supplicant/1.1/
DISupplicantStaNetwork.hal31 * The identity must be derived from the IMSI retrieved from the SIM card.
52 * The identity must be derived from the IMSI retrieved from the SIM card.
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/
DConversions.impl.h49 snprintf(halAddress, sizeof(halAddress), "card=%d;device=%d", address.address.alsa.card, in deviceAddressToHal()
89 int status = sscanf(halAddress, "card=%d;device=%d", &address->address.alsa.card, in deviceAddressFromHal()
/hardware/qcom/audio/hal/
Daudio_hw.c436 static int parse_snd_card_status(struct str_parms * parms, int * card, in parse_snd_card_status() argument
449 if (sscanf(value, "%d,%s", card, state) < 2) in parse_snd_card_status()
2482 int card; in get_alive_usb_card() local
2483 if ((str_parms_get_int(parms, "card", &card) >= 0) && in get_alive_usb_card()
2484 !audio_extn_usb_alive(card)) { in get_alive_usb_card()
2485 return card; in get_alive_usb_card()
2577 int card; in out_set_parameters() local
2579 (card = get_alive_usb_card(parms)) >= 0) { in out_set_parameters()
2581 ALOGW("out_set_parameters() ignoring rerouting to non existing USB card %d", card); in out_set_parameters()
2901 int card; in out_snd_mon_cb() local
[all …]
/hardware/qcom/audio/post_proc/
Deffect_api.h20 int offload_update_mixer_and_effects_ctl(int card, int device_id,
/hardware/interfaces/audio/2.0/
Dtypes.hal68 int32_t card;

123