Searched refs:boot_data (Results 1 – 4 of 4) sorted by relevance
| /trueos/sys/dev/cxgbe/common/ |
| HD | t4_hw.c | 1289 static void modify_device_id(int device_id, u8 *boot_data) in modify_device_id() argument 1299 header = (legacy_pci_exp_rom_header_t *) &boot_data[cur_header]; in modify_device_id() 1300 pcir_header = (pcir_data_t *) &boot_data[cur_header + in modify_device_id() 1329 csum += (u8)boot_data[cur_header + i]; in modify_device_id() 1335 boot_data[cur_header + 7] = -csum; in modify_device_id() 1372 int t4_load_boot(struct adapter *adap, u8 *boot_data, in t4_load_boot() argument 1408 header = (pci_exp_rom_header_t *)boot_data; in t4_load_boot() 1411 pcir_header = (pcir_data_t *) &boot_data[pcir_offset]; in t4_load_boot() 1462 modify_device_id(device_id, boot_data); in t4_load_boot() 1474 boot_data += SF_PAGE_SIZE; in t4_load_boot() [all …]
|
| HD | common.h | 443 int t4_load_boot(struct adapter *adap, u8 *boot_data,
|
| /trueos/sys/dev/cxgb/ |
| HD | cxgb_main.c | 2680 uint8_t *boot_data; in cxgb_extension_ioctl() local 2683 boot_data = malloc(t->len, M_DEVBUF, M_NOWAIT); in cxgb_extension_ioctl() 2684 if (!boot_data) in cxgb_extension_ioctl() 2687 error = copyin(t->buf, boot_data, t->len); in cxgb_extension_ioctl() 2689 error = -t3_load_boot(sc, boot_data, t->len); in cxgb_extension_ioctl() 2691 free(boot_data, M_DEVBUF); in cxgb_extension_ioctl()
|
| /trueos/sys/dev/cxgb/common/ |
| HD | cxgb_t3_hw.c | 1360 int t3_load_boot(adapter_t *adapter, u8 *boot_data, unsigned int size) in t3_load_boot() argument 1362 boot_header_t *header = (boot_header_t *)boot_data; in t3_load_boot() 1393 ret = t3_write_flash(adapter, addr, chunk_size, boot_data, 0); in t3_load_boot() 1398 boot_data += chunk_size; in t3_load_boot()
|