Lines Matching refs:sens_res
28 #define DIGITAL_SENS_RES_IS_T1T(sens_res) (((sens_res) & 0x0C00) == 0x0C00)
29 #define DIGITAL_SENS_RES_IS_VALID(sens_res) \
30 ((!((sens_res) & 0x001F) && (((sens_res) & 0x0C00) == 0x0C00)) || \
31 (((sens_res) & 0x001F) && ((sens_res) & 0x0C00) != 0x0C00))
499 target->sens_res = __le16_to_cpu(*(__le16 *)resp->data);
501 if (!DIGITAL_SENS_RES_IS_VALID(target->sens_res)) {
507 if (DIGITAL_SENS_RES_IS_T1T(target->sens_res))
1053 u8 *sens_res;
1060 sens_res = skb_put(skb, 2);
1062 sens_res[0] = (DIGITAL_SENS_RES_NFC_DEP >> 8) & 0xFF;
1063 sens_res[1] = DIGITAL_SENS_RES_NFC_DEP & 0xFF;