Searched refs:boot_data (Results 1 – 4 of 4) sorted by relevance
| /freebsd/sys/dev/cxgb/ |
| H A D | cxgb_main.c | 2679 uint8_t *boot_data; in cxgb_extension_ioctl() local 2682 boot_data = malloc(t->len, M_DEVBUF, M_NOWAIT); in cxgb_extension_ioctl() 2683 if (!boot_data) in cxgb_extension_ioctl() 2686 error = copyin(t->buf, boot_data, t->len); in cxgb_extension_ioctl() 2688 error = -t3_load_boot(sc, boot_data, t->len); in cxgb_extension_ioctl() 2690 free(boot_data, M_DEVBUF); in cxgb_extension_ioctl()
|
| /freebsd/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 12666 static void modify_device_id(int device_id, u8 *boot_data) in modify_device_id() argument 12676 header = (legacy_pci_exp_rom_header_t *) &boot_data[cur_header]; in modify_device_id() 12677 pcir_header = (pcir_data_t *) &boot_data[cur_header + in modify_device_id() 12706 csum += (u8)boot_data[cur_header + i]; in modify_device_id() 12712 boot_data[cur_header + 7] = -csum; in modify_device_id() 12749 int t4_load_boot(struct adapter *adap, u8 *boot_data, in t4_load_boot() argument 12787 header = (pci_exp_rom_header_t *)boot_data; in t4_load_boot() 12790 pcir_header = (pcir_data_t *) &boot_data[pcir_offset]; in t4_load_boot() 12843 modify_device_id(device_id, boot_data); in t4_load_boot() 12855 boot_data += SF_PAGE_SIZE; in t4_load_boot() [all …]
|
| H A D | common.h | 708 int t4_load_boot(struct adapter *adap, u8 *boot_data,
|
| /freebsd/sys/dev/cxgb/common/ |
| H A D | cxgb_t3_hw.c | 1358 int t3_load_boot(adapter_t *adapter, u8 *boot_data, unsigned int size) in t3_load_boot() argument 1360 boot_header_t *header = (boot_header_t *)boot_data; in t3_load_boot() 1391 ret = t3_write_flash(adapter, addr, chunk_size, boot_data, 0); in t3_load_boot() 1396 boot_data += chunk_size; in t3_load_boot()
|