Lines Matching defs:data

256  * actual copy of FW binary data to device, shared by static and dynamic loaders
275 fw_data = (const void *) fw->data;
290 * actual copy of message data to device.
520 /* data should be aligned to 8 bytes in order to CPU-CP to copy it */
691 "Device boot error - Serdes data from BMC not available\n");
944 /* data should be aligned to 8 bytes in order to CPU-CP to copy it */
949 dev_err(hdev->dev, "CPUCP array data is too big\n");
959 memset((void *) &pkt->data, 0xFF, data_size);
960 hdev->asic_funcs->get_msi_info(pkt->data);
977 dev_err(hdev->dev, "failed to send CPUCP array data\n");
1000 int hl_fw_get_eeprom_data(struct hl_device *hdev, void *data, size_t max_size)
1034 memcpy(data, eeprom_info_cpu_addr, min((size_t)result, max_size));
1042 int hl_fw_get_monitor_dump(struct hl_device *hdev, void *data)
1076 dst_ptr = data;
1632 * hl_fw_preboot_update_state - update internal data structures during
1970 * @data: pointer to the data
1971 * @size: size of the data
1980 static u32 hl_fw_compat_crc32(u8 *data, size_t size)
1982 return ~crc32_le(~((u32)0), data, size);
2057 * Calc CRC32 of data without header. use the size of the descriptor
2198 * in addition, as the descriptor value is going to be over-ridden by new data- we mark it
2208 * 1. copy the header + data info according to our lkd_fw_comms_desc definition.
2209 * then we're able to read the actual data size provided by fw.
2210 * this is needed for cases where data in descriptor was changed(add/remove)
2379 * hl_fw_boot_fit_update_state - update internal data structures after boot-fit
2571 * hl_fw_linux_update_state - update internal data structures after Linux
2628 * hl_fw_dynamic_send_msg - send a COMMS message with attached data
2633 * @data: data to be sent
2638 struct fw_load_mgr *fw_loader, u8 msg_type, void *data)
2654 msg->reset_cause = *(__u8 *) data;
3217 static int hl_fw_get_sec_attest_data(struct hl_device *hdev, u32 packet_id, void *data, u32 size,
3232 memset(data, 0, size);
3247 memcpy(data, req_cpu_addr, size);
3278 dev_err(hdev->dev, "failed to send CPUCP data of generic fw pkt\n");