Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1091 u8 fw_cfg_sig[FW_CFG_TABLE_SIG_SIZE]; in do_flash() local
1117 if (fw->size < sizeof(fw_cfg) + sizeof(fw_cfg_sig)) in do_flash()
1121 sizeof(fw_cfg) - sizeof(fw_cfg_sig), sizeof(fw_cfg)); in do_flash()
1127 eof = fw->data + fw->size - sizeof(fw_cfg) - sizeof(fw_cfg_sig); in do_flash()
1129 memcpy((uint8_t *)&fw_cfg_sig, in do_flash()
1130 fw->data + fw->size - sizeof(fw_cfg_sig), sizeof(fw_cfg_sig)); in do_flash()
1143 err = ccg_cmd_write_flash_row(uc, 0, &fw_cfg_sig, in do_flash()