Lines Matching defs:sim_type
96 sim_types sim_type;
228 sim_types sim_type, unsigned char *aid,
303 if (scard->sim_type == SCARD_GSM_SIM) {
310 if (scard->sim_type == SCARD_USIM) {
425 * @sim_type: Allowed SIM types (SIM, USIM, or both)
430 * selected sim_type. In addition, local flag is set if a PIN is needed to
434 struct scard_data * scard_init(scard_sim_type sim_type)
528 scard->sim_type = SCARD_GSM_SIM;
529 if (sim_type == SCARD_USIM_ONLY || sim_type == SCARD_TRY_BOTH) {
534 if (sim_type == SCARD_USIM_ONLY)
537 scard->sim_type = SCARD_GSM_SIM;
540 scard->sim_type = SCARD_USIM;
544 if (scard->sim_type == SCARD_GSM_SIM) {
572 if (_scard_select_file(scard, 0, buf, &blen, scard->sim_type,
703 sim_types sim_type, unsigned char *aid,
713 if (sim_type == SCARD_USIM) {
786 scard->sim_type, NULL, 0);
798 if (scard->sim_type == SCARD_USIM)
834 if (scard->sim_type == SCARD_USIM)
886 if (scard->sim_type == SCARD_USIM)
928 if (scard->sim_type == SCARD_USIM)
978 if (scard->sim_type == SCARD_GSM_SIM) {
1055 if (scard->sim_type == SCARD_GSM_SIM) {
1071 if ((scard->sim_type == SCARD_GSM_SIM &&
1073 (scard->sim_type == SCARD_USIM &&
1087 if (scard->sim_type == SCARD_GSM_SIM) {
1154 if (scard->sim_type == SCARD_GSM_SIM) {