Searched refs:CCG4_ROW_SIZE (Results 1 – 1 of 1) sorted by relevance
/drivers/usb/typec/ucsi/ |
D | ucsi_ccg.c | 77 #define CCG4_ROW_SIZE 256 macro 880 u8 buf[CCG4_ROW_SIZE + 2]; in ccg_cmd_write_flash_row() 887 memcpy(buf + 2, data, CCG4_ROW_SIZE); in ccg_cmd_write_flash_row() 891 ret = i2c_master_send(client, buf, CCG4_ROW_SIZE + 2); in ccg_cmd_write_flash_row() 892 if (ret != CCG4_ROW_SIZE + 2) { in ccg_cmd_write_flash_row() 1114 err = ccg_cmd_write_flash_row(uc, 0, (u8 *)&fw_cfg + CCG4_ROW_SIZE, in do_flash() 1125 wr_buf = kzalloc(CCG4_ROW_SIZE + 4, GFP_KERNEL); in do_flash() 1166 if (hex2bin(wr_buf, p + 3, CCG4_ROW_SIZE + 4)) { in do_flash() 1174 if (len != CCG4_ROW_SIZE) { in do_flash()
|