Home
last modified time | relevance | path

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

12

/drivers/media/platform/s5p-mfc/
Ds5p_mfc_ctrl.c32 dev->fw_size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware()
39 dev->fw_virt_addr = dma_alloc_coherent(dev->mem_dev_l, dev->fw_size, in s5p_mfc_alloc_firmware()
53 dma_free_coherent(dev->mem_dev_l, dev->fw_size, in s5p_mfc_alloc_firmware()
102 if (fw_blob->size > dev->fw_size) { in s5p_mfc_load_firmware()
126 dma_free_coherent(dev->mem_dev_l, dev->fw_size, dev->fw_virt_addr, in s5p_mfc_release_firmware()
Ds5p_mfc_cmd_v5.c50 h2r_args.arg[0] = dev->fw_size; in s5p_mfc_sys_init_cmd_v5()
Ds5p_mfc_common.h322 size_t fw_size; member
/drivers/bluetooth/
Dbcm203x.c75 unsigned int fw_size; member
126 if (data->fw_sent == data->fw_size) { in bcm203x_complete()
132 len = min_t(uint, data->fw_size - data->fw_sent, 4096); in bcm203x_complete()
238 data->fw_size = firmware->size; in bcm203x_probe()
Dbtusb.c1776 size_t fw_size; in btusb_setup_bcm_patchram() local
1843 fw_size = fw->size; in btusb_setup_bcm_patchram()
1845 while (fw_size >= sizeof(*cmd)) { in btusb_setup_bcm_patchram()
1848 fw_size -= sizeof(*cmd); in btusb_setup_bcm_patchram()
1850 if (fw_size < cmd->plen) { in btusb_setup_bcm_patchram()
1859 fw_size -= cmd->plen; in btusb_setup_bcm_patchram()
/drivers/misc/carma/
Dcarma-fpga-program.c74 size_t fw_size; member
633 if (priv->bytes != priv->fw_size) { in fpga_do_program()
636 priv->bytes, priv->fw_size); in fpga_do_program()
709 nr_pages = DIV_ROUND_UP(priv->fw_size, PAGE_SIZE); in fpga_open()
737 if (priv->bytes >= priv->fw_size) in fpga_write()
740 count = min_t(size_t, priv->fw_size - priv->bytes, count); in fpga_write()
765 return fixed_size_llseek(file, offset, origin, priv->fw_size); in fpga_llseek()
1021 priv->fw_size = (ver & (1 << 18)) ? FW_SIZE_EP2S130 : FW_SIZE_EP2S90; in fpga_of_probe()
/drivers/gpu/drm/radeon/
Dcik_sdma.c447 u32 fw_size; in cik_sdma_load_microcode() local
454 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
456 for (i = 0; i < fw_size; i++) in cik_sdma_load_microcode()
463 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
465 for (i = 0; i < fw_size; i++) in cik_sdma_load_microcode()
Dcik.c4239 u32 fw_size; in cik_cp_gfx_load_microcode() local
4248 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4250 for (i = 0; i < fw_size; i++) in cik_cp_gfx_load_microcode()
4257 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4259 for (i = 0; i < fw_size; i++) in cik_cp_gfx_load_microcode()
4266 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4268 for (i = 0; i < fw_size; i++) in cik_cp_gfx_load_microcode()
4601 u32 fw_size; in cik_cp_compute_load_microcode() local
4608 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
4610 for (i = 0; i < fw_size; i++) in cik_cp_compute_load_microcode()
[all …]
Dsi.c3458 u32 fw_size; in si_cp_load_microcode() local
3467 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3469 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3476 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3478 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3485 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3487 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
5837 u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_rlc_resume() local
5843 for (i = 0; i < fw_size; i++) { in si_rlc_resume()
/drivers/remoteproc/
Dremoteproc_elf_loader.c212 find_table(struct device *dev, struct elf32_hdr *ehdr, size_t fw_size) argument
234 if (offset + size > fw_size || offset + size < size) {
Dste_modem_rproc.c31 size_t fw_size; member
141 sproc->fw_size = fw->size; in sproc_find_rsc_table()
/drivers/nfc/pn544/
Di2c.c169 size_t fw_size; member
770 phy->fw_size = phy->fw->size; in pn544_hci_i2c_fw_work()
841 phy->fw_size -= phy->fw_blob_size + in pn544_hci_i2c_fw_work()
843 if (phy->fw_size >= PN544_FW_SECURE_BLOB_HEADER_LEN in pn544_hci_i2c_fw_work()
853 if (r < 0 || phy->fw_size == 0) in pn544_hci_i2c_fw_work()
/drivers/net/wireless/ath/ath9k/
Dhif_usb.h95 size_t fw_size; member
Dhif_usb.c986 size_t len = hif_dev->fw_size; in ath9k_hif_usb_download_fw()
1029 hif_dev->fw_name, (unsigned long) hif_dev->fw_size); in ath9k_hif_usb_download_fw()
1100 hif_dev->fw_size = fw->size; in ath9k_hif_usb_firmware_cb()
1337 hif_dev->fw_size = fw->size; in ath9k_hif_usb_resume()
/drivers/media/usb/s2255/
Ds2255drv.c193 int fw_size; member
534 if (data->fw_loaded < data->fw_size) { in s2255_fwchunk_complete()
535 len = (data->fw_loaded + CHUNK_SIZE) > data->fw_size ? in s2255_fwchunk_complete()
536 data->fw_size % CHUNK_SIZE : CHUNK_SIZE; in s2255_fwchunk_complete()
2209 dev->fw_data->fw_size = dev->fw_data->fw->size; in s2255_fwload_start()
2232 int fw_size; in s2255_probe() local
2312 fw_size = dev->fw_data->fw->size; in s2255_probe()
2313 pdata = (__le32 *) &dev->fw_data->fw->data[fw_size - 8]; in s2255_probe()
2322 pRel = (__le32 *) &dev->fw_data->fw->data[fw_size - 4]; in s2255_probe()
/drivers/media/dvb-frontends/
Dsp887x.c142 int fw_size = fw->size; in sp887x_initial_setup() local
148 if (fw_size < FW_SIZE+10) in sp887x_initial_setup()
Dtda10071.c875 int ret, i, len, remaining, fw_size; in tda10071_init() local
999 fw_size = fw->size - 1; in tda10071_init()
1001 for (remaining = fw_size; remaining > 0; in tda10071_init()
1008 (u8 *) &fw->data[fw_size - remaining], len); in tda10071_init()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h295 unsigned int fw_size; member
Dpvrusb2-hdw.c3451 hdw->fw_size = 0; in pvr2_hdw_cpufw_set_enabled()
3462 hdw->fw_size = (mode == 1) ? 0x4000 : 0x2000; in pvr2_hdw_cpufw_set_enabled()
3465 " (size=%u)", hdw->fw_size); in pvr2_hdw_cpufw_set_enabled()
3466 hdw->fw_buffer = kzalloc(hdw->fw_size,GFP_KERNEL); in pvr2_hdw_cpufw_set_enabled()
3468 hdw->fw_size = 0; in pvr2_hdw_cpufw_set_enabled()
3481 for(address = 0; address < hdw->fw_size; in pvr2_hdw_cpufw_set_enabled()
3502 hdw->fw_size = EEPROM_SIZE; in pvr2_hdw_cpufw_set_enabled()
3531 if (offs >= hdw->fw_size) { in pvr2_hdw_cpufw_get()
3539 if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs; in pvr2_hdw_cpufw_get()
/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c216 int fw_size; in rtl8723a_FirmwareDownload() local
269 fw_size = fw->size; in rtl8723a_FirmwareDownload()
292 fw_size = fw_size - 32; in rtl8723a_FirmwareDownload()
312 rtStatus = _WriteFW(padapter, buf, fw_size); in rtl8723a_FirmwareDownload()
/drivers/media/i2c/s5c73m3/
Ds5c73m3.h425 unsigned int fw_size; member
/drivers/net/wimax/i2400m/
Dfw.c1386 size_t fw_size, enum i2400m_bri flags) in i2400m_fw_dnload() argument
1395 i2400m, bcf, fw_size); in i2400m_fw_dnload()
1469 i2400m, bcf, fw_size, ret); in i2400m_fw_dnload()
/drivers/net/ethernet/toshiba/
Dspider_net.c1877 int fw_size; in spider_net_init_firmware() local
1902 fw_prop = of_get_property(dn, "firmware", &fw_size); in spider_net_init_firmware()
1906 if ( (fw_size != SPIDER_NET_FIRMWARE_LEN) && in spider_net_init_firmware()
/drivers/atm/
Dfore200e.c2493 u32 fw_size; in fore200e_load_and_start_fw() local
2514 fw_size = firmware->size / sizeof(u32); in fore200e_load_and_start_fw()
2519 fore200e->name, load_addr, fw_size); in fore200e_load_and_start_fw()
2526 for (; fw_size--; fw_data++, load_addr++) in fore200e_load_and_start_fw()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h995 const u8 *fw_data, unsigned int fw_size,

12