Lines Matching refs:prot
401 atr_protocol_to_string(atr_protocol_t prot) in atr_protocol_to_string() argument
403 if (prot == ATR_P_NONE) { in atr_protocol_to_string()
407 if ((prot & ATR_P_T0) == ATR_P_T0) { in atr_protocol_to_string()
409 } else if ((prot & ATR_P_T1) == ATR_P_T1) { in atr_protocol_to_string()
477 uint_t nhist, cbits, ncbits, idx, Ti, prot; in atr_parse() local
538 prot = UINT32_MAX; in atr_parse()
559 atp->atrti_protocol = prot; in atr_parse()
585 prot = ATR_TD_PROT(buf[idx]); in atr_parse()
587 if (prot != 0) in atr_parse()
593 if (Ti == 1 && prot == 0xf) in atr_parse()
667 atr_protocol_t prot; in atr_supported_protocols() local
684 prot = ATR_P_NONE; in atr_supported_protocols()
688 prot |= ATR_P_T0; in atr_supported_protocols()
691 prot |= ATR_P_T1; in atr_supported_protocols()
707 if (prot == ATR_P_NONE) in atr_supported_protocols()
708 prot = ATR_P_T0; in atr_supported_protocols()
710 return (prot); in atr_supported_protocols()
740 uint8_t prot; in atr_default_protocol() local
757 prot = ATR_TA2_PROTOCOL(data->atr_ti[1].atrti_ta); in atr_default_protocol()
759 prot = data->atr_ti[1].atrti_protocol; in atr_default_protocol()
762 switch (prot) { in atr_default_protocol()
1222 atr_pps_generate(uint8_t *buf, size_t buflen, atr_protocol_t prot, in atr_pps_generate() argument
1232 switch (prot) { in atr_pps_generate()