Searched refs:MIP4_BL_PACKET_SIZE (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/input/touchscreen/ |
D | melfas_mip4.c | 667 #define MIP4_BL_PACKET_SIZE 512 /* 512, 256, 128, 64, ... */ macro 901 if (length > MIP4_BL_PAGE_SIZE || length % MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 907 data_buf = kmalloc(2 + MIP4_BL_PACKET_SIZE, GFP_KERNEL); in mip4_bl_program_page() 938 buf_offset += MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 941 buf_offset, MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 943 memcpy(&data_buf[2], &data[buf_offset], MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 945 data_buf, 2 + MIP4_BL_PACKET_SIZE); in mip4_bl_program_page() 946 if (ret != 2 + MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page() 950 buf_offset, MIP4_BL_PACKET_SIZE, error); in mip4_bl_program_page() 990 .len = MIP4_BL_PACKET_SIZE, in mip4_bl_verify_page() [all …]
|