Lines Matching refs:sens_res
28 #define DIGITAL_SENS_RES_IS_T1T(sens_res) (((sens_res) & 0x0C00) == 0x0C00) argument
29 #define DIGITAL_SENS_RES_IS_VALID(sens_res) \ argument
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); in digital_in_recv_sens_res()
501 if (!DIGITAL_SENS_RES_IS_VALID(target->sens_res)) { in digital_in_recv_sens_res()
507 if (DIGITAL_SENS_RES_IS_T1T(target->sens_res)) in digital_in_recv_sens_res()
1053 u8 *sens_res; in digital_tg_send_sens_res() local
1060 sens_res = skb_put(skb, 2); in digital_tg_send_sens_res()
1062 sens_res[0] = (DIGITAL_SENS_RES_NFC_DEP >> 8) & 0xFF; in digital_tg_send_sens_res()
1063 sens_res[1] = DIGITAL_SENS_RES_NFC_DEP & 0xFF; in digital_tg_send_sens_res()