Lines Matching refs:cls

155     switch (gphHbci_MisoApdu.cls)  in phHbci_GeneralStatus()
227 ALOGD("ERROR: Unknown General Class 0x%02x\n", gphHbci_MisoApdu.cls); in phHbci_GeneralStatus()
247 expCls = (gphHbci_MosiApdu.cls & (uint8_t)PHHBCI_CLASS_MASK) | phHbci_SubClass_Answer; in phHbci_QueryInfo()
277 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Ack); in phHbci_QueryInfo()
280 if (gphHbci_MisoApdu.cls != expCls) in phHbci_QueryInfo()
282 ALOGD("ERROR: Invalid Class - Exp 0x%02x, Got 0x%02x\n", expCls, gphHbci_MisoApdu.cls); in phHbci_QueryInfo()
336 if (gphHbci_MosiApdu.cls != (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query)) in phHbci_GetGeneralInfo()
338 ALOGD("ERROR: Invalid General Info Class = 0x%02x\n", gphHbci_MosiApdu.cls); in phHbci_GetGeneralInfo()
372 switch (gphHbci_MosiApdu.cls) in phHbci_GetInfo()
379 ALOGD("ERROR: No Info Defined For Class = 0x%02x\n", gphHbci_MosiApdu.cls); in phHbci_GetInfo()
424 if ((gphHbci_MisoApdu.cls != ackCls) || (gphHbci_MisoApdu.ins != ackIns)) in phHbci_PutCommand()
426 … ALOGD("ERROR: NACK (CLS = 0x%02x, INS = 0x%02x)\n", gphHbci_MisoApdu.cls, gphHbci_MisoApdu.ins); in phHbci_PutCommand()
454 if ((gphHbci_MisoApdu.cls != ackCls) || (gphHbci_MisoApdu.ins != ackIns)) in phHbci_PutCommand()
456 … ALOGD("ERROR: NACK (CLS = 0x%02x, INS = 0x%02x)\n", gphHbci_MisoApdu.cls, gphHbci_MisoApdu.ins); in phHbci_PutCommand()
471 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query); in phHbci_MasterPatchROM()
481 switch (gphHbci_MisoApdu.cls) in phHbci_MasterPatchROM()
490 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_Patch_ROM | phHbci_SubClass_Command); in phHbci_MasterPatchROM()
507 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_Patch_ROM | phHbci_SubClass_Query); in phHbci_MasterPatchROM()
538 ALOGD("ERROR: Unknown Class 0x%02x\n", gphHbci_MisoApdu.cls); in phHbci_MasterPatchROM()
551 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query); in phHbci_MasterHIFImage()
561 switch (gphHbci_MisoApdu.cls) in phHbci_MasterHIFImage()
570 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_HIF_Image | phHbci_SubClass_Command); in phHbci_MasterHIFImage()
588 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_HIF_Image | phHbci_SubClass_Query); in phHbci_MasterHIFImage()
631 ALOGD("ERROR: Unknown Class 0x%02x\n", gphHbci_MisoApdu.cls); in phHbci_MasterHIFImage()
649 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query); in phHbci_Master()
662 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Command); in phHbci_Master()
811 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query); in phHbci_GetChipIdInfo()
833 gphHbci_MosiApdu.cls = (uint8_t)phHbci_SubClass_Ack; in phHbci_GetChipIdInfo()
866 gphHbci_MosiApdu.cls = (uint8_t)(phHbci_Class_General | phHbci_SubClass_Query); in phHbci_GetDeviceLcInfo()
889 gphHbci_MosiApdu.cls = (uint8_t)phHbci_SubClass_Ack; in phHbci_GetDeviceLcInfo()