Searched refs:MIP4_BL_PACKET_SIZE (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/input/touchscreen/ |
D | melfas_mip4.c | 658 #define MIP4_BL_PACKET_SIZE 512 /* 512, 256, 128, 64, ... */ macro 892 if (length > MIP4_BL_PAGE_SIZE || length % MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 898 data_buf = kmalloc(2 + MIP4_BL_PACKET_SIZE, GFP_KERNEL); in mip4_bl_program_page() 929 buf_offset += MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 932 buf_offset, MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 934 memcpy(&data_buf[2], &data[buf_offset], MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 936 data_buf, 2 + MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 937 if (ret != 2 + MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 941 buf_offset, MIP4_BL_PACKET_SIZE, error); in mip4_bl_program_page() 981 .len = MIP4_BL_PACKET_SIZE, in mip4_bl_verify_page() [all …]
|