Searched refs:CCG4_ROW_SIZE (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 77 #define CCG4_ROW_SIZE 256 macro 966 u8 buf[CCG4_ROW_SIZE + 2]; in ccg_cmd_write_flash_row() 973 memcpy(buf + 2, data, CCG4_ROW_SIZE); in ccg_cmd_write_flash_row() 977 ret = i2c_master_send(client, buf, CCG4_ROW_SIZE + 2); in ccg_cmd_write_flash_row() 978 if (ret != CCG4_ROW_SIZE + 2) { in ccg_cmd_write_flash_row() 1200 err = ccg_cmd_write_flash_row(uc, 0, (u8 *)&fw_cfg + CCG4_ROW_SIZE, in do_flash() 1211 wr_buf = kzalloc(CCG4_ROW_SIZE + 4, GFP_KERNEL); in do_flash() 1252 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash() 1260 if (len != CCG4_ROW_SIZE) { in do_flash()
|