/drivers/media/usb/s2255/ |
D | s2255drv.c | 270 struct s2255_fw *fw_data; member 1448 state = atomic_read(&dev->fw_data->fw_state); in s2255_open() 1456 wait_event_timeout(dev->fw_data->wait_fw, in s2255_open() 1457 ((atomic_read(&dev->fw_data->fw_state) in s2255_open() 1459 (atomic_read(&dev->fw_data->fw_state) in s2255_open() 1463 state = atomic_read(&dev->fw_data->fw_state); in s2255_open() 1470 wait_event_timeout(dev->fw_data->wait_fw, in s2255_open() 1471 ((atomic_read(&dev->fw_data->fw_state) in s2255_open() 1473 (atomic_read(&dev->fw_data->fw_state) in s2255_open() 1477 state = atomic_read(&dev->fw_data->fw_state); in s2255_open() [all …]
|
/drivers/bluetooth/ |
D | bcm203x.c | 74 unsigned char *fw_data; member 135 data->fw_data + data->fw_sent, len, bcm203x_complete, data); in bcm203x_complete() 229 data->fw_data = kmemdup(firmware->data, firmware->size, GFP_KERNEL); in bcm203x_probe() 230 if (!data->fw_data) { in bcm203x_probe() 267 kfree(data->fw_data); in bcm203x_disconnect()
|
/drivers/gpu/drm/radeon/ |
D | cik_sdma.c | 446 const __le32 *fw_data; in cik_sdma_load_microcode() local 452 fw_data = (const __le32 *) in cik_sdma_load_microcode() 457 WREG32(SDMA0_UCODE_DATA + SDMA0_REGISTER_OFFSET, le32_to_cpup(fw_data++)); in cik_sdma_load_microcode() 461 fw_data = (const __le32 *) in cik_sdma_load_microcode() 466 WREG32(SDMA0_UCODE_DATA + SDMA1_REGISTER_OFFSET, le32_to_cpup(fw_data++)); in cik_sdma_load_microcode() 469 const __be32 *fw_data; in cik_sdma_load_microcode() local 472 fw_data = (const __be32 *)rdev->sdma_fw->data; in cik_sdma_load_microcode() 475 WREG32(SDMA0_UCODE_DATA + SDMA0_REGISTER_OFFSET, be32_to_cpup(fw_data++)); in cik_sdma_load_microcode() 479 fw_data = (const __be32 *)rdev->sdma_fw->data; in cik_sdma_load_microcode() 482 WREG32(SDMA0_UCODE_DATA + SDMA1_REGISTER_OFFSET, be32_to_cpup(fw_data++)); in cik_sdma_load_microcode()
|
D | cik.c | 1807 const __be32 *fw_data = NULL; in ci_mc_load_microcode() local 1844 fw_data = (const __be32 *)rdev->mc_fw->data; in ci_mc_load_microcode() 1874 WREG32(MC_SEQ_SUP_PGM, be32_to_cpup(fw_data++)); in ci_mc_load_microcode() 4238 const __le32 *fw_data; in cik_cp_gfx_load_microcode() local 4246 fw_data = (const __le32 *) in cik_cp_gfx_load_microcode() 4251 WREG32(CP_PFP_UCODE_DATA, le32_to_cpup(fw_data++)); in cik_cp_gfx_load_microcode() 4255 fw_data = (const __le32 *) in cik_cp_gfx_load_microcode() 4260 WREG32(CP_CE_UCODE_DATA, le32_to_cpup(fw_data++)); in cik_cp_gfx_load_microcode() 4264 fw_data = (const __be32 *) in cik_cp_gfx_load_microcode() 4269 WREG32(CP_ME_RAM_DATA, le32_to_cpup(fw_data++)); in cik_cp_gfx_load_microcode() [all …]
|
D | r600_cp.c | 393 const __be32 *fw_data; in r600_cp_load_microcode() local 414 fw_data = (const __be32 *)dev_priv->me_fw->data; in r600_cp_load_microcode() 418 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 420 fw_data = (const __be32 *)dev_priv->pfp_fw->data; in r600_cp_load_microcode() 424 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 486 const __be32 *fw_data; in r700_cp_load_microcode() local 507 fw_data = (const __be32 *)dev_priv->pfp_fw->data; in r700_cp_load_microcode() 510 RADEON_WRITE(R600_CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in r700_cp_load_microcode() 513 fw_data = (const __be32 *)dev_priv->me_fw->data; in r700_cp_load_microcode() 516 RADEON_WRITE(R600_CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in r700_cp_load_microcode()
|
D | ni.c | 610 const __be32 *fw_data; in ni_mc_load_microcode() local 661 fw_data = (const __be32 *)rdev->mc_fw->data; in ni_mc_load_microcode() 663 WREG32(MC_SEQ_SUP_PGM, be32_to_cpup(fw_data++)); in ni_mc_load_microcode() 1472 const __be32 *fw_data; in cayman_cp_load_microcode() local 1480 fw_data = (const __be32 *)rdev->pfp_fw->data; in cayman_cp_load_microcode() 1483 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in cayman_cp_load_microcode() 1486 fw_data = (const __be32 *)rdev->me_fw->data; in cayman_cp_load_microcode() 1489 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in cayman_cp_load_microcode()
|
D | si.c | 1512 const __be32 *fw_data = NULL; in si_mc_load_microcode() local 1559 fw_data = (const __be32 *)rdev->mc_fw->data; in si_mc_load_microcode() 1589 WREG32(MC_SEQ_SUP_PGM, be32_to_cpup(fw_data++)); in si_mc_load_microcode() 3457 const __le32 *fw_data; in si_cp_load_microcode() local 3465 fw_data = (const __le32 *) in si_cp_load_microcode() 3470 WREG32(CP_PFP_UCODE_DATA, le32_to_cpup(fw_data++)); in si_cp_load_microcode() 3474 fw_data = (const __le32 *) in si_cp_load_microcode() 3479 WREG32(CP_CE_UCODE_DATA, le32_to_cpup(fw_data++)); in si_cp_load_microcode() 3483 fw_data = (const __be32 *) in si_cp_load_microcode() 3488 WREG32(CP_ME_RAM_DATA, le32_to_cpup(fw_data++)); in si_cp_load_microcode() [all …]
|
D | rv770.c | 1087 const __be32 *fw_data; in rv770_cp_load_microcode() local 1106 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode() 1109 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in rv770_cp_load_microcode() 1112 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode() 1115 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in rv770_cp_load_microcode()
|
D | evergreen.c | 2827 const __be32 *fw_data; in evergreen_cp_load_microcode() local 2840 fw_data = (const __be32 *)rdev->pfp_fw->data; in evergreen_cp_load_microcode() 2843 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in evergreen_cp_load_microcode() 2846 fw_data = (const __be32 *)rdev->me_fw->data; in evergreen_cp_load_microcode() 2849 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in evergreen_cp_load_microcode() 4236 const __be32 *fw_data; in evergreen_rlc_resume() local 4276 fw_data = (const __be32 *)rdev->rlc_fw->data; in evergreen_rlc_resume() 4280 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in evergreen_rlc_resume() 4285 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in evergreen_rlc_resume() 4290 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in evergreen_rlc_resume()
|
D | r600.c | 2569 const __be32 *fw_data; in r600_cp_load_microcode() local 2591 fw_data = (const __be32 *)rdev->me_fw->data; in r600_cp_load_microcode() 2595 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 2597 fw_data = (const __be32 *)rdev->pfp_fw->data; in r600_cp_load_microcode() 2601 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 3438 const __be32 *fw_data; in r600_rlc_resume() local 3455 fw_data = (const __be32 *)rdev->rlc_fw->data; in r600_rlc_resume() 3459 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in r600_rlc_resume() 3464 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in r600_rlc_resume()
|
D | radeon_cp.c | 549 const __be32 *fw_data; in radeon_cp_load_microcode() local 556 fw_data = (const __be32 *)&dev_priv->me_fw->data[0]; in radeon_cp_load_microcode() 560 be32_to_cpup(&fw_data[i])); in radeon_cp_load_microcode() 562 be32_to_cpup(&fw_data[i + 1])); in radeon_cp_load_microcode()
|
/drivers/media/usb/as102/ |
D | as102_fw.c | 49 static int parse_hex_line(unsigned char *fw_data, unsigned char *addr, in parse_hex_line() argument 56 if (*fw_data++ != ':') { in parse_hex_line() 62 for (src = fw_data; *src != '\n'; src += 2) { in parse_hex_line()
|
/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 381 carl9170_find_fw_desc(struct ar9170 *ar, const __u8 *fw_data, const size_t len) in carl9170_find_fw_desc() argument 392 if (fw_data[scan++] == otus_magic[found]) in carl9170_find_fw_desc() 407 return (void *)&fw_data[scan - found]; in carl9170_find_fw_desc()
|
/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 1247 u8 *fw_data; in fm_download_firmware() local 1261 fw_data = (void *)fw_entry->data; in fm_download_firmware() 1264 fw_header = (struct bts_header *)fw_data; in fm_download_firmware() 1273 fw_data += sizeof(struct bts_header); in fm_download_firmware() 1276 while (fw_data && fw_len > 0) { in fm_download_firmware() 1277 action = (struct bts_action *)fw_data; in fm_download_firmware() 1294 fw_data += (sizeof(struct bts_action) + (action->size)); in fm_download_firmware()
|
/drivers/net/wireless/mwifiex/ |
D | usb.h | 90 struct fw_data { struct
|
/drivers/gpu/drm/r128/ |
D | r128_cce.c | 145 const __be32 *fw_data; in r128_cce_load_microcode() local 173 fw_data = (const __be32 *)fw->data; in r128_cce_load_microcode() 177 be32_to_cpup(&fw_data[i * 2])); in r128_cce_load_microcode() 179 be32_to_cpup(&fw_data[i * 2 + 1])); in r128_cce_load_microcode()
|
/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.h | 94 const void *fw_data; member
|
D | hif_usb.c | 985 const void *data = hif_dev->fw_data; in ath9k_hif_usb_download_fw() 1099 hif_dev->fw_data = fw->data; in ath9k_hif_usb_firmware_cb() 1336 hif_dev->fw_data = fw->data; in ath9k_hif_usb_resume()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 1004 const u8 *fw_data, unsigned int fw_size, in t4_prep_fw() argument 1026 if (fw_data != NULL) { in t4_prep_fw() 1027 fs_fw = (const void *)fw_data; in t4_prep_fw() 1044 ret = -t4_fw_upgrade(adap, adap->mbox, fw_data, in t4_prep_fw() 1142 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw() argument 1148 const __be32 *p = (const __be32 *)fw_data; in t4_load_fw() 1149 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw() 1193 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw() 1202 fw_data += SF_PAGE_SIZE; in t4_load_fw() 1203 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data); in t4_load_fw() [all …]
|
D | cxgb4.h | 988 int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size); 990 const u8 *fw_data, unsigned int size, int force); 995 const u8 *fw_data, unsigned int fw_size,
|
/drivers/scsi/ |
D | qla1280.c | 1707 const __le16 *fw_data; in qla1280_load_firmware_pio() local 1716 fw_data = (const __le16 *)&fw->data[0]; in qla1280_load_firmware_pio() 1717 ha->fwstart = __le16_to_cpu(fw_data[2]); in qla1280_load_firmware_pio() 1721 fw_data = (const __le16 *)&fw->data[6]; in qla1280_load_firmware_pio() 1727 mb[2] = __le16_to_cpu(fw_data[i]); in qla1280_load_firmware_pio() 1746 const __le16 *fw_data; in qla1280_load_firmware_dma() local 1763 fw_data = (const __le16 *)&fw->data[0]; in qla1280_load_firmware_dma() 1764 ha->fwstart = __le16_to_cpu(fw_data[2]); in qla1280_load_firmware_dma() 1768 fw_data = (const __le16 *)&fw->data[6]; in qla1280_load_firmware_dma() 1785 fw_data, cnt, num, risc_address); in qla1280_load_firmware_dma() [all …]
|
D | qlogicpti.c | 468 const __le16 *fw_data; in qlogicpti_load_firmware() local 489 fw_data = (const __le16 *)&fw->data[0]; in qlogicpti_load_firmware() 499 csum += __le16_to_cpu(fw_data[i]); in qlogicpti_load_firmware() 561 param[2] = __le16_to_cpu(fw_data[i]); in qlogicpti_load_firmware()
|
/drivers/scsi/csiostor/ |
D | csio_hw.c | 735 csio_hw_fw_dload(struct csio_hw *hw, uint8_t *fw_data, uint32_t size) in csio_hw_fw_dload() argument 742 const __be32 *p = (const __be32 *)fw_data; in csio_hw_fw_dload() 743 struct fw_hdr *hdr = (struct fw_hdr *)fw_data; in csio_hw_fw_dload() 798 memcpy(first_page, fw_data, SF_PAGE_SIZE); in csio_hw_fw_dload() 810 fw_data += SF_PAGE_SIZE; in csio_hw_fw_dload() 811 ret = csio_hw_write_flash(hw, addr, SF_PAGE_SIZE, fw_data); in csio_hw_fw_dload() 1297 const u8 *fw_data, uint32_t size, int32_t force) in csio_hw_fw_upgrade() argument 1299 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in csio_hw_fw_upgrade() 1306 ret = csio_hw_fw_dload(hw, (uint8_t *) fw_data, size); in csio_hw_fw_upgrade()
|
/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 744 u8 *fw_data; in lme2510_download_firmware() local 762 fw_data = (u8 *)(fw->data + j); in lme2510_download_firmware() 771 memcpy(&data[2], fw_data, dlen+1); in lme2510_download_firmware() 773 data[wlen-1] = check_sum(fw_data, dlen+1); in lme2510_download_firmware()
|
/drivers/net/ethernet/alteon/ |
D | acenic.c | 2877 const __be32 *fw_data; in ace_load_firmware() local 2897 fw_data = (void *)fw->data; in ace_load_firmware() 2908 ap->firmware_start = be32_to_cpu(fw_data[1]); in ace_load_firmware() 2916 load_addr = be32_to_cpu(fw_data[2]); in ace_load_firmware() 2929 ace_copy(regs, &fw_data[3], load_addr, fw->size-12); in ace_load_firmware()
|