Home
last modified time | relevance | path

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

/freebsd/sys/x86/x86/
H A Ducode_subr.c98 const uint8_t *fw_data, size_t fw_size, size_t *selected_sizep) in ucode_amd_find() argument
120 if (fw_size < in ucode_amd_find()
132 fw_size -= sizeof(*container_header); in ucode_amd_find()
146 fw_size -= sizeof(*section_header); in ucode_amd_find()
148 if (section_header->size > fw_size) { in ucode_amd_find()
160 fw_size -= section_header->size; in ucode_amd_find()
179 while (fw_size >= sizeof(*section_header)) { in ucode_amd_find()
190 fw_size -= sizeof(*section_header); in ucode_amd_find()
196 if (section_header->size > fw_size) { in ucode_amd_find()
208 fw_size -= section_header->size; in ucode_amd_find()
[all …]
/freebsd/usr.sbin/cpucontrol/
H A Damd.c84 size_t fw_size; in amd_update() local
125 fw_size = (params->fwsize - sizeof(*fw_header)) / sizeof(uint32_t); in amd_update()
131 for (i = 0; i < fw_size; i++) in amd_update()
H A Damd10h.c93 size_t fw_size; in amd10h_update() local
105 fw_size = params->fwsize; in amd10h_update()
127 fw_size, &selected_size); in amd10h_update()
/freebsd/sys/arm/nvidia/
H A Dtegra_xhci.c291 vm_size_t fw_size; member
746 vm_size_t fw_size; in load_fw() local
772 fw_size = fw_hdr->fwimg_len; in load_fw()
774 fw_vaddr = kmem_alloc_contig(fw_size, M_WAITOK, 0, -1UL, PAGE_SIZE, 0, in load_fw()
778 memcpy(fw_vaddr, fw->data, fw_size); in load_fw()
782 sc->fw_size = fw_size; in load_fw()
786 CSB_WR4(sc, XUSB_CSB_MEMPOOL_ILOAD_ATTR, fw_size); in load_fw()
953 kmem_free(sc->fw_vaddr, sc->fw_size); in tegra_xhci_detach()
/freebsd/sys/dev/qat/qat_common/
H A Dadf_accel_engine.c47 u32 fw_size, mmp_size; in adf_ae_fw_load() local
71 fw_size = loader_data->uof_fw->datasize; in adf_ae_fw_load()
137 loader_data->fw_loader, fw_addr, fw_size, obj_name)) { in adf_ae_fw_load()
/freebsd/sys/x86/include/
H A Ducode.h66 uint32_t revision, const uint8_t *fw_data, size_t fw_size,
/freebsd/sys/dev/bwi/
H A Dif_bwivar.h278 uint32_t fw_size; member
279 #define fw_iv_cnt fw_size
H A Dbwimac.c849 if (be32toh(hdr->fw_size) != fw->datasize - sizeof(*hdr)) { in bwi_fwimage_is_valid()
853 be32toh(hdr->fw_size), fw->datasize - sizeof(*hdr)); in bwi_fwimage_is_valid()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dqmi.c2414 u32 fw_size, file_type; in ath12k_qmi_load_bdf_qmi() local
2447 fw_size = ATH12K_QMI_MAX_BDF_FILE_NAME_SIZE; in ath12k_qmi_load_bdf_qmi()
2469 fw_size = min_t(u32, ab->hw_params->fw.board_size, in ath12k_qmi_load_bdf_qmi()
2473 ret = ath12k_qmi_load_file_target_mem(ab, tmp, fw_size, file_type); in ath12k_qmi_load_bdf_qmi()
2493 fw_size = min_t(u32, ab->hw_params->fw.board_size, bd.len); in ath12k_qmi_load_bdf_qmi()
2495 ret = ath12k_qmi_load_file_target_mem(ab, bd.data, fw_size, type); in ath12k_qmi_load_bdf_qmi()
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dqmi.c2442 u32 fw_size, file_type; in ath11k_qmi_load_bdf_qmi() local
2468 fw_size = min_t(u32, ab->hw_params.fw.board_size, bd.len); in ath11k_qmi_load_bdf_qmi()
2470 ret = ath11k_qmi_load_file_target_mem(ab, bd.data, fw_size, bdf_type); in ath11k_qmi_load_bdf_qmi()
2483 fw_size = ATH11K_QMI_MAX_BDF_FILE_NAME_SIZE; in ath11k_qmi_load_bdf_qmi()
2511 fw_size = min_t(u32, ab->hw_params.fw.board_size, fw_entry->size); in ath11k_qmi_load_bdf_qmi()
2515 ret = ath11k_qmi_load_file_target_mem(ab, tmp, fw_size, file_type); in ath11k_qmi_load_bdf_qmi()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c3578 unsigned int fw_size; in t4_load_fw() local
3583 fw_size = FLASH_FWBOOTSTRAP_MAX_SIZE; in t4_load_fw()
3587 fw_size = FLASH_FW_MAX_SIZE; in t4_load_fw()
3604 if (size > fw_size) { in t4_load_fw()
3606 fw_size); in t4_load_fw()