Home
last modified time | relevance | path

Searched refs:GOODIX_HID_PKG_LEN_SIZE (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hid/
Dhid-goodix-spi.c57 #define GOODIX_HID_PKG_LEN_SIZE sizeof(u16) macro
59 #define GOODIX_HID_COOR_PKG_LEN (GOODIX_HID_PKG_LEN_SIZE + \
355 if (len < GOODIX_HID_PKG_LEN_SIZE) { in goodix_hid_check_ack_status()
449 len = min(len, response_data_len - GOODIX_HID_PKG_LEN_SIZE); in goodix_hid_get_raw_report()
453 GOODIX_HID_PKG_LEN_SIZE, buf, len); in goodix_hid_get_raw_report()
502 put_unaligned_le16(GOODIX_HID_PKG_LEN_SIZE + len, args + args_len); in goodix_hid_set_raw_report()
503 args_len += GOODIX_HID_PKG_LEN_SIZE; in goodix_hid_set_raw_report()
595 if (le16_to_cpu(pkg->size) < GOODIX_HID_PKG_LEN_SIZE) { in goodix_hid_irq()
601 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq()
624 le16_to_cpu(pkg->size) - GOODIX_HID_PKG_LEN_SIZE, 1); in goodix_hid_irq()