fw_size 2422 drivers/atm/fore200e.c u32 fw_size; fw_size 2434 drivers/atm/fore200e.c fw_size = firmware->size / sizeof(u32); fw_size 2439 drivers/atm/fore200e.c fore200e->name, load_addr, fw_size); fw_size 2446 drivers/atm/fore200e.c for (; fw_size--; fw_data++, load_addr++) fw_size 60 drivers/bluetooth/bcm203x.c unsigned int fw_size; fw_size 111 drivers/bluetooth/bcm203x.c if (data->fw_sent == data->fw_size) { fw_size 117 drivers/bluetooth/bcm203x.c len = min_t(uint, data->fw_size - data->fw_sent, 4096); fw_size 219 drivers/bluetooth/bcm203x.c data->fw_size = firmware->size; fw_size 112 drivers/bluetooth/btbcm.c size_t fw_size; fw_size 131 drivers/bluetooth/btbcm.c fw_size = fw->size; fw_size 133 drivers/bluetooth/btbcm.c while (fw_size >= sizeof(*cmd)) { fw_size 138 drivers/bluetooth/btbcm.c fw_size -= sizeof(*cmd); fw_size 140 drivers/bluetooth/btbcm.c if (fw_size < cmd->plen) { fw_size 148 drivers/bluetooth/btbcm.c fw_size -= cmd->plen; fw_size 685 drivers/bluetooth/btmtksdio.c size_t fw_size; fw_size 696 drivers/bluetooth/btmtksdio.c fw_size = fw->size; fw_size 699 drivers/bluetooth/btmtksdio.c if (fw_size < 30) { fw_size 704 drivers/bluetooth/btmtksdio.c fw_size -= 30; fw_size 711 drivers/bluetooth/btmtksdio.c while (fw_size > 0) { fw_size 712 drivers/bluetooth/btmtksdio.c dlen = min_t(int, 250, fw_size); fw_size 715 drivers/bluetooth/btmtksdio.c if (fw_size - dlen <= 0) fw_size 717 drivers/bluetooth/btmtksdio.c else if (fw_size < fw->size - 30) fw_size 731 drivers/bluetooth/btmtksdio.c fw_size -= dlen; fw_size 244 drivers/bluetooth/btmtkuart.c size_t fw_size; fw_size 255 drivers/bluetooth/btmtkuart.c fw_size = fw->size; fw_size 258 drivers/bluetooth/btmtkuart.c if (fw_size < 30) { fw_size 263 drivers/bluetooth/btmtkuart.c fw_size -= 30; fw_size 270 drivers/bluetooth/btmtkuart.c while (fw_size > 0) { fw_size 271 drivers/bluetooth/btmtkuart.c dlen = min_t(int, 250, fw_size); fw_size 274 drivers/bluetooth/btmtkuart.c if (fw_size - dlen <= 0) fw_size 276 drivers/bluetooth/btmtkuart.c else if (fw_size < fw->size - 30) fw_size 290 drivers/bluetooth/btmtkuart.c fw_size -= dlen; fw_size 2793 drivers/bluetooth/btusb.c size_t fw_size; fw_size 2804 drivers/bluetooth/btusb.c fw_size = fw->size; fw_size 2807 drivers/bluetooth/btusb.c if (fw_size < 30) { fw_size 2812 drivers/bluetooth/btusb.c fw_size -= 30; fw_size 2819 drivers/bluetooth/btusb.c while (fw_size > 0) { fw_size 2820 drivers/bluetooth/btusb.c dlen = min_t(int, 250, fw_size); fw_size 2823 drivers/bluetooth/btusb.c if (fw_size - dlen <= 0) fw_size 2825 drivers/bluetooth/btusb.c else if (fw_size < fw->size - 30) fw_size 2839 drivers/bluetooth/btusb.c fw_size -= dlen; fw_size 331 drivers/bluetooth/hci_nokia.c size_t fw_size; fw_size 353 drivers/bluetooth/hci_nokia.c fw_size = fw->size; fw_size 355 drivers/bluetooth/hci_nokia.c while (fw_size >= 4) { fw_size 385 drivers/bluetooth/hci_nokia.c fw_size -= pkt_size + 2; fw_size 457 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c adev->firmware.fw_size += fw_size 1008 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c cmd->cmd.cmd_load_ip_fw.fw_size = ucode->ucode_size; fw_size 1347 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c if (!adev->firmware.fw_size) fw_size 554 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c amdgpu_bo_create_kernel(adev, adev->firmware.fw_size, PAGE_SIZE, fw_size 563 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c memset(adev->firmware.fw_buf_ptr, 0, adev->firmware.fw_size); fw_size 352 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h unsigned int fw_size; fw_size 545 drivers/gpu/drm/amd/amdgpu/cik_sdma.c u32 fw_size; fw_size 556 drivers/gpu/drm/amd/amdgpu/cik_sdma.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 564 drivers/gpu/drm/amd/amdgpu/cik_sdma.c for (j = 0; j < fw_size; j++) fw_size 780 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 787 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 794 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 801 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 811 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 817 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 823 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 832 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 839 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 848 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 855 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c adev->firmware.fw_size += fw_size 1055 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned fw_size; fw_size 1088 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); fw_size 1101 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(fw, fw_data, fw_size); fw_size 1900 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned i, fw_size; fw_size 1910 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 1915 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c for (i = 0; i < fw_size; i++) fw_size 2078 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t fw_size) fw_size 2090 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (fw_size == 0) fw_size 2091 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = toc_fw_size; fw_size 2093 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (fw_size > toc_fw_size) fw_size 2094 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = toc_fw_size; fw_size 2096 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(ptr + toc_offset, fw_data, fw_size); fw_size 2098 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c if (fw_size < toc_fw_size) fw_size 2099 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memset(ptr + toc_offset + fw_size, 0, toc_fw_size - fw_size); fw_size 2118 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t fw_size; fw_size 2127 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); fw_size 2130 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_data, fw_size); fw_size 2137 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); fw_size 2140 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_data, fw_size); fw_size 2147 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); fw_size 2150 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_data, fw_size); fw_size 2157 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); fw_size 2160 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_data, fw_size); fw_size 2167 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - fw_size 2171 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_data, fw_size); fw_size 2179 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c uint32_t fw_size; fw_size 2188 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); fw_size 2192 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c FIRMWARE_ID_SDMA0_UCODE, fw_data, fw_size); fw_size 2200 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c FIRMWARE_ID_SDMA1_UCODE, fw_data, fw_size); fw_size 2465 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned i, fw_size; fw_size 2476 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); fw_size 2489 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(adev->gfx.pfp.pfp_fw_ptr, fw_data, fw_size); fw_size 2535 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned i, fw_size; fw_size 2546 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes); fw_size 2559 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(adev->gfx.ce.ce_fw_ptr, fw_data, fw_size); fw_size 2604 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c unsigned i, fw_size; fw_size 2615 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes); fw_size 2628 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c memcpy(adev->gfx.me.me_fw_ptr, fw_data, fw_size); fw_size 1977 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 fw_size; fw_size 1994 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; fw_size 1996 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (i = 0; i < fw_size; i++) fw_size 2003 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; fw_size 2005 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (i = 0; i < fw_size; i++) fw_size 2012 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; fw_size 2014 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (i = 0; i < fw_size; i++) fw_size 2527 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c u32 fw_size; fw_size 2549 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 2555 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c for (i = 0; i < fw_size; i++) { fw_size 2460 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c unsigned i, fw_size; fw_size 2485 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; fw_size 2487 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 2495 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; fw_size 2497 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 2505 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; fw_size 2507 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 2727 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c unsigned i, fw_size; fw_size 2744 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; fw_size 2746 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 2766 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; fw_size 2768 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 3519 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c unsigned i, fw_size; fw_size 3556 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 3558 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c for (i = 0; i < fw_size; i++) fw_size 1168 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1175 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1182 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1189 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1196 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1201 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1208 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1217 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c adev->firmware.fw_size += fw_size 1112 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1119 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1126 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1238 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1248 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1254 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1260 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1320 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1326 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1335 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1344 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c adev->firmware.fw_size += fw_size 1722 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c unsigned fw_size; fw_size 1755 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; fw_size 1768 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c memcpy(fw, fw_data, fw_size); fw_size 2998 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c unsigned i, fw_size; fw_size 3008 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 3012 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (i = 0; i < fw_size; i++) fw_size 3086 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c unsigned i, fw_size; fw_size 3108 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; fw_size 3110 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (i = 0; i < fw_size; i++) fw_size 3118 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; fw_size 3120 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (i = 0; i < fw_size; i++) fw_size 3128 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; fw_size 3130 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c for (i = 0; i < fw_size; i++) fw_size 117 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c unsigned fw_size; fw_size 124 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); fw_size 126 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c r = amdgpu_bo_create_reserved(adev, fw_size, fw_size 136 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c memcpy(adev->mes.ucode_fw_ptr, fw_data, fw_size); fw_size 149 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c unsigned fw_size; fw_size 156 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); fw_size 158 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c r = amdgpu_bo_create_reserved(adev, fw_size, fw_size 168 drivers/gpu/drm/amd/amdgpu/mes_v10_1.c memcpy(adev->mes.data_fw_ptr, fw_data, fw_size); fw_size 253 drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h uint32_t fw_size; /* FW buffer size in bytes */ fw_size 171 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c adev->firmware.fw_size += fw_size 328 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c adev->firmware.fw_size += fw_size 521 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c adev->firmware.fw_size += fw_size 1246 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c u32 fw_size; fw_size 1258 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 1266 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c for (j = 0; j < fw_size; j++) fw_size 217 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c adev->firmware.fw_size += fw_size 799 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c u32 fw_size; fw_size 811 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 819 drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c for (j = 0; j < fw_size; j++) { fw_size 435 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c adev->firmware.fw_size += fw_size 441 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c adev->firmware.fw_size += fw_size 455 drivers/gpu/drm/amd/amdgpu/vce_v4_0.c adev->firmware.fw_size += fw_size 118 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c adev->firmware.fw_size += fw_size 150 drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c adev->firmware.fw_size += fw_size 149 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c adev->firmware.fw_size += fw_size 155 drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c adev->firmware.fw_size += fw_size 862 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->firmware.fw_size += fw_size 867 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c adev->firmware.fw_size += fw_size 195 drivers/gpu/drm/amd/powerplay/smu_v11_0.c adev->firmware.fw_size += fw_size 173 drivers/gpu/drm/i915/intel_csr.c u32 fw_size; fw_size 298 drivers/gpu/drm/i915/intel_csr.c u32 i, fw_size; fw_size 310 drivers/gpu/drm/i915/intel_csr.c fw_size = dev_priv->csr.dmc_fw_size; fw_size 315 drivers/gpu/drm/i915/intel_csr.c for (i = 0; i < fw_size; i++) fw_size 454 drivers/gpu/drm/i915/intel_csr.c payload_size = dmc_header->fw_size * 4; fw_size 462 drivers/gpu/drm/i915/intel_csr.c csr->dmc_fw_size = dmc_header->fw_size; fw_size 3915 drivers/gpu/drm/radeon/cik.c u32 fw_size; fw_size 3924 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; fw_size 3926 drivers/gpu/drm/radeon/cik.c for (i = 0; i < fw_size; i++) fw_size 3933 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; fw_size 3935 drivers/gpu/drm/radeon/cik.c for (i = 0; i < fw_size; i++) fw_size 3942 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; fw_size 3944 drivers/gpu/drm/radeon/cik.c for (i = 0; i < fw_size; i++) fw_size 4273 drivers/gpu/drm/radeon/cik.c u32 fw_size; fw_size 4280 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; fw_size 4282 drivers/gpu/drm/radeon/cik.c for (i = 0; i < fw_size; i++) fw_size 4294 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; fw_size 4296 drivers/gpu/drm/radeon/cik.c for (i = 0; i < fw_size; i++) fw_size 476 drivers/gpu/drm/radeon/cik_sdma.c u32 fw_size; fw_size 483 drivers/gpu/drm/radeon/cik_sdma.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 485 drivers/gpu/drm/radeon/cik_sdma.c for (i = 0; i < fw_size; i++) fw_size 492 drivers/gpu/drm/radeon/cik_sdma.c fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 494 drivers/gpu/drm/radeon/cik_sdma.c for (i = 0; i < fw_size; i++) fw_size 3497 drivers/gpu/drm/radeon/si.c u32 fw_size; fw_size 3506 drivers/gpu/drm/radeon/si.c fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; fw_size 3508 drivers/gpu/drm/radeon/si.c for (i = 0; i < fw_size; i++) fw_size 3515 drivers/gpu/drm/radeon/si.c fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; fw_size 3517 drivers/gpu/drm/radeon/si.c for (i = 0; i < fw_size; i++) fw_size 3524 drivers/gpu/drm/radeon/si.c fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; fw_size 3526 drivers/gpu/drm/radeon/si.c for (i = 0; i < fw_size; i++) fw_size 5893 drivers/gpu/drm/radeon/si.c u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; fw_size 5899 drivers/gpu/drm/radeon/si.c for (i = 0; i < fw_size; i++) { fw_size 174 drivers/input/touchscreen/hideep.c unsigned int fw_size; fw_size 578 drivers/input/touchscreen/hideep.c ts->fw_size = 1024 * 48; fw_size 583 drivers/input/touchscreen/hideep.c ts->fw_size = 1024 * 64; fw_size 886 drivers/input/touchscreen/hideep.c if (fw_entry->size > ts->fw_size) { fw_size 888 drivers/input/touchscreen/hideep.c fw_entry->size, ts->fw_size); fw_size 1080 drivers/input/touchscreen/melfas_mip4.c const u8 *fw_data, u32 fw_size, u32 fw_offset) fw_size 1109 drivers/input/touchscreen/melfas_mip4.c offset < fw_offset + fw_size; fw_size 1156 drivers/input/touchscreen/melfas_mip4.c u32 *fw_offset_start, u32 *fw_size, fw_size 1196 drivers/input/touchscreen/melfas_mip4.c *fw_size = get_unaligned_le32(&fw_info->bin_length); fw_size 1200 drivers/input/touchscreen/melfas_mip4.c *fw_offset_start, *fw_size); fw_size 1202 drivers/input/touchscreen/melfas_mip4.c if (*fw_size % MIP4_BL_PAGE_SIZE) { fw_size 1205 drivers/input/touchscreen/melfas_mip4.c *fw_size, MIP4_BL_PAGE_SIZE); fw_size 1209 drivers/input/touchscreen/melfas_mip4.c if (fw->size != *fw_offset_start + *fw_size) { fw_size 1212 drivers/input/touchscreen/melfas_mip4.c *fw_offset_start + *fw_size, fw->size); fw_size 1250 drivers/input/touchscreen/melfas_mip4.c u32 fw_size; fw_size 1255 drivers/input/touchscreen/melfas_mip4.c &fw_start_offset, &fw_size, &fw_info); fw_size 1269 drivers/input/touchscreen/melfas_mip4.c error = mip4_flash_fw(ts, fw->data, fw_size, fw_start_offset); fw_size 284 drivers/input/touchscreen/silead.c unsigned int fw_size, i; fw_size 297 drivers/input/touchscreen/silead.c fw_size = fw->size / sizeof(*fw_data); fw_size 300 drivers/input/touchscreen/silead.c for (i = 0; i < fw_size; i++) { fw_size 2583 drivers/media/dvb-frontends/drxd_hard.c static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size) fw_size 2668 drivers/media/dvb-frontends/drxd_hard.c status = DownloadMicrocode(state, fw, fw_size); fw_size 142 drivers/media/dvb-frontends/sp887x.c int fw_size = fw->size; fw_size 148 drivers/media/dvb-frontends/sp887x.c if (fw_size < FW_SIZE + 10) fw_size 755 drivers/media/dvb-frontends/tda10071.c int ret, i, len, remaining, fw_size; fw_size 879 drivers/media/dvb-frontends/tda10071.c fw_size = fw->size - 1; fw_size 881 drivers/media/dvb-frontends/tda10071.c for (remaining = fw_size; remaining > 0; fw_size 888 drivers/media/dvb-frontends/tda10071.c (u8 *) &fw->data[fw_size - remaining], len); fw_size 511 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->fw_size = data[0] + (data[1] << 16); fw_size 417 drivers/media/i2c/s5c73m3/s5c73m3.h unsigned int fw_size; fw_size 478 drivers/media/platform/mtk-vpu/mtk_vpu.c size_t fw_size = fw_type ? VPU_D_FW_SIZE : VPU_P_FW_SIZE; fw_size 492 drivers/media/platform/mtk-vpu/mtk_vpu.c if (dl_size > fw_size) { fw_size 29 drivers/media/platform/qcom/venus/firmware.c u32 fw_size = core->fw.mapped_mem_size; fw_size 33 drivers/media/platform/qcom/venus/firmware.c writel(fw_size, base + WRAPPER_FW_END_ADDR); fw_size 35 drivers/media/platform/qcom/venus/firmware.c writel(fw_size, base + WRAPPER_CPA_END_ADDR); fw_size 36 drivers/media/platform/qcom/venus/firmware.c writel(fw_size, base + WRAPPER_NONPIX_START_ADDR); fw_size 37 drivers/media/platform/qcom/venus/firmware.c writel(fw_size, base + WRAPPER_NONPIX_END_ADDR); fw_size 71 drivers/media/platform/qcom/venus/firmware.c ssize_t fw_size; fw_size 93 drivers/media/platform/qcom/venus/firmware.c fw_size = qcom_mdt_get_size(mdt); fw_size 94 drivers/media/platform/qcom/venus/firmware.c if (fw_size < 0) { fw_size 95 drivers/media/platform/qcom/venus/firmware.c ret = fw_size; fw_size 102 drivers/media/platform/qcom/venus/firmware.c if (*mem_size < fw_size || fw_size > VENUS_FW_MEM_SIZE) { fw_size 280 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h unsigned int fw_size; fw_size 3406 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_size = 0; fw_size 3417 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_size = (mode == 1) ? 0x4000 : 0x2000; fw_size 3420 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_size); fw_size 3421 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_buffer = kzalloc(hdw->fw_size,GFP_KERNEL); fw_size 3423 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_size = 0; fw_size 3436 drivers/media/usb/pvrusb2/pvrusb2-hdw.c for(address = 0; address < hdw->fw_size; fw_size 3457 drivers/media/usb/pvrusb2/pvrusb2-hdw.c hdw->fw_size = EEPROM_SIZE; fw_size 3486 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (offs >= hdw->fw_size) { fw_size 3494 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs; fw_size 181 drivers/media/usb/s2255/s2255drv.c int fw_size; fw_size 516 drivers/media/usb/s2255/s2255drv.c if (data->fw_loaded < data->fw_size) { fw_size 517 drivers/media/usb/s2255/s2255drv.c len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? fw_size 518 drivers/media/usb/s2255/s2255drv.c data->fw_size % CHUNK_SIZE : CHUNK_SIZE; fw_size 2187 drivers/media/usb/s2255/s2255drv.c dev->fw_data->fw_size = dev->fw_data->fw->size; fw_size 2210 drivers/media/usb/s2255/s2255drv.c int fw_size; fw_size 2286 drivers/media/usb/s2255/s2255drv.c fw_size = dev->fw_data->fw->size; fw_size 2287 drivers/media/usb/s2255/s2255drv.c pdata = (__le32 *) &dev->fw_data->fw->data[fw_size - 8]; fw_size 2296 drivers/media/usb/s2255/s2255drv.c pRel = (__le32 *) &dev->fw_data->fw->data[fw_size - 4]; fw_size 27 drivers/misc/habanalabs/firmware_if.c size_t fw_size; fw_size 36 drivers/misc/habanalabs/firmware_if.c fw_size = fw->size; fw_size 37 drivers/misc/habanalabs/firmware_if.c if ((fw_size % 4) != 0) { fw_size 39 drivers/misc/habanalabs/firmware_if.c fw_name, fw_size); fw_size 44 drivers/misc/habanalabs/firmware_if.c dev_dbg(hdev->dev, "%s firmware size == %zu\n", fw_name, fw_size); fw_size 48 drivers/misc/habanalabs/firmware_if.c memcpy_toio(dst, fw_data, fw_size); fw_size 1807 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c size_t fw_size) fw_size 1846 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (fw_size < sizeof(struct bnxt_fw_header)) { fw_size 1848 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c (unsigned int)fw_size); fw_size 1867 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - fw_size 1869 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); fw_size 1877 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 0, 0, fw_data, fw_size); fw_size 1887 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c size_t fw_size) fw_size 1894 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (fw_size < sizeof(struct bnxt_ucode_trailer)) { fw_size 1896 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c (unsigned int)fw_size); fw_size 1899 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c trailer = (struct bnxt_ucode_trailer *)(fw_data + (fw_size - fw_size 1919 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c stored_crc = le32_to_cpu(*(__le32 *)(fw_data + fw_size - fw_size 1921 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c calculated_crc = ~crc32(~0, fw_data, fw_size - sizeof(stored_crc)); fw_size 1930 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 0, 0, fw_data, fw_size); fw_size 1661 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h const u8 *fw_data, unsigned int fw_size, fw_size 4333 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned int fw_size = 0; fw_size 4364 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c fw_size = fw->size; fw_size 4368 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ret = t4_prep_fw(adap, fw_info, fw_data, fw_size, card_fw, fw_size 3491 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c const u8 *fw_data, unsigned int fw_size, fw_size 3532 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_size, 0); fw_size 3661 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c unsigned int fw_size = FLASH_FW_MAX_SIZE; fw_size 3678 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (size > fw_size) { fw_size 3680 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fw_size); fw_size 819 drivers/net/ethernet/sun/cassini.c cp->fw_size = fw->size - 2; fw_size 820 drivers/net/ethernet/sun/cassini.c cp->fw_data = vmalloc(cp->fw_size); fw_size 823 drivers/net/ethernet/sun/cassini.c memcpy(cp->fw_data, &fw->data[2], cp->fw_size); fw_size 853 drivers/net/ethernet/sun/cassini.c for (i = 0; i < cp->fw_size; i++) fw_size 2863 drivers/net/ethernet/sun/cassini.h u32 fw_size; fw_size 1845 drivers/net/ethernet/toshiba/spider_net.c int fw_size; fw_size 1870 drivers/net/ethernet/toshiba/spider_net.c fw_prop = of_get_property(dn, "firmware", &fw_size); fw_size 1874 drivers/net/ethernet/toshiba/spider_net.c if ( (fw_size != SPIDER_NET_FIRMWARE_LEN) && fw_size 1383 drivers/net/wimax/i2400m/fw.c size_t fw_size, enum i2400m_bri flags) fw_size 1392 drivers/net/wimax/i2400m/fw.c i2400m, bcf, fw_size); fw_size 1466 drivers/net/wimax/i2400m/fw.c i2400m, bcf, fw_size, ret); fw_size 1019 drivers/net/wireless/ath/ath9k/hif_usb.c size_t len = hif_dev->fw_size; fw_size 1063 drivers/net/wireless/ath/ath9k/hif_usb.c hif_dev->fw_name, (unsigned long) hif_dev->fw_size); fw_size 1210 drivers/net/wireless/ath/ath9k/hif_usb.c hif_dev->fw_size = fw->size; fw_size 1432 drivers/net/wireless/ath/ath9k/hif_usb.c hif_dev->fw_size = fw->size; fw_size 120 drivers/net/wireless/ath/ath9k/hif_usb.h size_t fw_size; fw_size 8344 drivers/net/wireless/intel/ipw2x00/ipw2100.c unsigned int fw_size; fw_size 8363 drivers/net/wireless/intel/ipw2x00/ipw2100.c fw->fw.size = h->fw_size; fw_size 8364 drivers/net/wireless/intel/ipw2x00/ipw2100.c fw->uc.data = fw->fw.data + h->fw_size; fw_size 3388 drivers/net/wireless/intel/ipw2x00/ipw2200.c __le32 fw_size; fw_size 3413 drivers/net/wireless/intel/ipw2x00/ipw2200.c le32_to_cpu(fw->ucode_size) + le32_to_cpu(fw->fw_size)) { fw_size 3583 drivers/net/wireless/intel/ipw2x00/ipw2200.c rc = ipw_load_firmware(priv, fw_img, le32_to_cpu(fw->fw_size)); fw_size 913 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c qtnf_ep_fw_load(struct qtnf_pcie_pearl_state *ps, const u8 *fw, u32 fw_size) fw_size 916 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c int blk_count = fw_size / blk_size + ((fw_size % blk_size) ? 1 : 0); fw_size 922 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c pr_debug("FW upload started: fw_addr=0x%p size=%d\n", fw, fw_size); fw_size 930 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c len = qtnf_ep_fw_send(ps->base.pdev, fw_size, blk, pblk, fw); fw_size 898 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c qtnf_ep_fw_load(struct qtnf_pcie_topaz_state *ts, const u8 *fw, u32 fw_size) fw_size 902 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c u32 remaining = fw_size; fw_size 913 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c pr_debug("FW upload started: fw_addr = 0x%p, size=%d\n", fw, fw_size); fw_size 935 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c nblocks = NBLOCKS(fw_size, blksize); fw_size 1272 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h size_t fw_size; fw_size 2024 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c pages = priv->fw_size / RTL_FW_PAGE_SIZE; fw_size 2025 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c remainder = priv->fw_size % RTL_FW_PAGE_SIZE; fw_size 2090 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c priv->fw_size = fw->size - sizeof(struct rtl8xxxu_firmware_header); fw_size 168 drivers/nfc/pn544/i2c.c size_t fw_size; fw_size 770 drivers/nfc/pn544/i2c.c phy->fw_size = phy->fw->size; fw_size 841 drivers/nfc/pn544/i2c.c phy->fw_size -= phy->fw_blob_size + fw_size 843 drivers/nfc/pn544/i2c.c if (phy->fw_size >= PN544_FW_SECURE_BLOB_HEADER_LEN fw_size 853 drivers/nfc/pn544/i2c.c if (r < 0 || phy->fw_size == 0) fw_size 204 drivers/remoteproc/remoteproc_elf_loader.c find_table(struct device *dev, struct elf32_hdr *ehdr, size_t fw_size) fw_size 226 drivers/remoteproc/remoteproc_elf_loader.c if (offset + size > fw_size || offset + size < size) { fw_size 2315 drivers/scsi/csiostor/csio_hw.c const u8 *fw_data, unsigned int fw_size, fw_size 2356 drivers/scsi/csiostor/csio_hw.c fw_size, 0); fw_size 2415 drivers/scsi/csiostor/csio_hw.c unsigned int fw_size = 0; fw_size 2446 drivers/scsi/csiostor/csio_hw.c fw_size = fw->size; fw_size 2450 drivers/scsi/csiostor/csio_hw.c ret = csio_hw_prep_fw(hw, fw_info, fw_data, fw_size, card_fw, fw_size 1057 drivers/scsi/qla2xxx/qla_bsg.c mn->fw_size = cpu_to_le32(data_len); fw_size 1606 drivers/scsi/qla2xxx/qla_fw.h uint32_t fw_size; fw_size 176 drivers/scsi/wd719x.c dma_free_coherent(&wd->pdev->dev, wd->fw_size, wd->fw_virt, fw_size 327 drivers/scsi/wd719x.c wd->fw_size = ALIGN(fw_wcs->size, 4) + fw_risc->size; fw_size 330 drivers/scsi/wd719x.c wd->fw_virt = dma_alloc_coherent(&wd->pdev->dev, wd->fw_size, fw_size 71 drivers/scsi/wd719x.h size_t fw_size; /* firmware buffer size */ fw_size 681 sound/pci/hda/hda_sysfs.c size_t fw_size = *fw_size_p; fw_size 684 sound/pci/hda/hda_sysfs.c while (isspace(*p) && fw_size) { fw_size 686 sound/pci/hda/hda_sysfs.c fw_size--; fw_size 688 sound/pci/hda/hda_sysfs.c if (!fw_size) fw_size 691 sound/pci/hda/hda_sysfs.c for (len = 0; len < fw_size; len++) { fw_size 703 sound/pci/hda/hda_sysfs.c *fw_size_p = fw_size - len; fw_size 715 sound/pci/hda/hda_sysfs.c int snd_hda_load_patch(struct hda_bus *bus, size_t fw_size, const void *fw_buf) fw_size 723 sound/pci/hda/hda_sysfs.c while (get_line_from_fw(buf, sizeof(buf) - 1, &fw_size, &fw_buf)) { fw_size 265 sound/soc/intel/baytrail/sst-baytrail-dsp.c sst->addr.fw_ext = ioremap(pdata->fw_base, pdata->fw_size); fw_size 139 sound/soc/intel/common/sst-acpi.c sst_pdata->fw_size = resource_size(mmio); fw_size 192 sound/soc/intel/common/sst-dsp.h u32 fw_size;