/drivers/media/usb/s2255/ |
D | s2255drv.c | 270 struct s2255_fw *fw_data; member 1627 state = atomic_read(&dev->fw_data->fw_state); in __s2255_open() 1635 wait_event_timeout(dev->fw_data->wait_fw, in __s2255_open() 1636 ((atomic_read(&dev->fw_data->fw_state) in __s2255_open() 1638 (atomic_read(&dev->fw_data->fw_state) in __s2255_open() 1642 state = atomic_read(&dev->fw_data->fw_state); in __s2255_open() 1649 wait_event_timeout(dev->fw_data->wait_fw, in __s2255_open() 1650 ((atomic_read(&dev->fw_data->fw_state) in __s2255_open() 1652 (atomic_read(&dev->fw_data->fw_state) in __s2255_open() 1656 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/staging/media/as102/ |
D | as102_fw.c | 53 static int parse_hex_line(unsigned char *fw_data, unsigned char *addr, in parse_hex_line() argument 60 if (*fw_data++ != ':') { in parse_hex_line() 66 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 | 1243 u8 *fw_data; in fm_download_firmware() local 1257 fw_data = (void *)fw_entry->data; in fm_download_firmware() 1260 fw_header = (struct bts_header *)fw_data; in fm_download_firmware() 1269 fw_data += sizeof(struct bts_header); in fm_download_firmware() 1272 while (fw_data && fw_len > 0) { in fm_download_firmware() 1273 action = (struct bts_action *)fw_data; in fm_download_firmware() 1290 fw_data += (sizeof(struct bts_action) + (action->size)); in fm_download_firmware()
|
/drivers/net/wireless/mwifiex/ |
D | usb.h | 86 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 | 977 const void *data = hif_dev->fw_data; in ath9k_hif_usb_download_fw() 1107 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/gpu/drm/radeon/ |
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 | 489 const __be32 *fw_data; in ni_mc_load_microcode() local 540 fw_data = (const __be32 *)rdev->mc_fw->data; in ni_mc_load_microcode() 542 WREG32(MC_SEQ_SUP_PGM, be32_to_cpup(fw_data++)); in ni_mc_load_microcode() 1256 const __be32 *fw_data; in cayman_cp_load_microcode() local 1264 fw_data = (const __be32 *)rdev->pfp_fw->data; in cayman_cp_load_microcode() 1267 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in cayman_cp_load_microcode() 1270 fw_data = (const __be32 *)rdev->me_fw->data; in cayman_cp_load_microcode() 1273 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in cayman_cp_load_microcode()
|
D | rv770.c | 1179 const __be32 *fw_data; in rv770_cp_load_microcode() local 1198 fw_data = (const __be32 *)rdev->pfp_fw->data; in rv770_cp_load_microcode() 1201 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in rv770_cp_load_microcode() 1204 fw_data = (const __be32 *)rdev->me_fw->data; in rv770_cp_load_microcode() 1207 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in rv770_cp_load_microcode()
|
D | si.c | 1234 const __be32 *fw_data; in si_mc_load_microcode() local 1289 fw_data = (const __be32 *)rdev->mc_fw->data; in si_mc_load_microcode() 1291 WREG32(MC_SEQ_SUP_PGM, be32_to_cpup(fw_data++)); in si_mc_load_microcode() 2950 const __be32 *fw_data; in si_cp_load_microcode() local 2959 fw_data = (const __be32 *)rdev->pfp_fw->data; in si_cp_load_microcode() 2962 WREG32(CP_PFP_UCODE_DATA, be32_to_cpup(fw_data++)); in si_cp_load_microcode() 2966 fw_data = (const __be32 *)rdev->ce_fw->data; in si_cp_load_microcode() 2969 WREG32(CP_CE_UCODE_DATA, be32_to_cpup(fw_data++)); in si_cp_load_microcode() 2973 fw_data = (const __be32 *)rdev->me_fw->data; in si_cp_load_microcode() 2976 WREG32(CP_ME_RAM_DATA, be32_to_cpup(fw_data++)); in si_cp_load_microcode() [all …]
|
D | r600.c | 2310 const __be32 *fw_data; in r600_cp_load_microcode() local 2332 fw_data = (const __be32 *)rdev->me_fw->data; in r600_cp_load_microcode() 2336 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 2338 fw_data = (const __be32 *)rdev->pfp_fw->data; in r600_cp_load_microcode() 2342 be32_to_cpup(fw_data++)); in r600_cp_load_microcode() 3795 const __be32 *fw_data; in r600_rlc_init() local 3820 fw_data = (const __be32 *)rdev->rlc_fw->data; in r600_rlc_init() 3824 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in r600_rlc_init() 3829 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in r600_rlc_init() 3834 WREG32(RLC_UCODE_DATA, be32_to_cpup(fw_data++)); in r600_rlc_init() [all …]
|
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/scsi/ |
D | qla1280.c | 1714 const __le16 *fw_data; in qla1280_load_firmware_pio() local 1723 fw_data = (const __le16 *)&fw->data[0]; in qla1280_load_firmware_pio() 1724 ha->fwstart = __le16_to_cpu(fw_data[2]); in qla1280_load_firmware_pio() 1728 fw_data = (const __le16 *)&fw->data[6]; in qla1280_load_firmware_pio() 1734 mb[2] = __le16_to_cpu(fw_data[i]); in qla1280_load_firmware_pio() 1753 const __le16 *fw_data; in qla1280_load_firmware_dma() local 1770 fw_data = (const __le16 *)&fw->data[0]; in qla1280_load_firmware_dma() 1771 ha->fwstart = __le16_to_cpu(fw_data[2]); in qla1280_load_firmware_dma() 1775 fw_data = (const __le16 *)&fw->data[6]; in qla1280_load_firmware_dma() 1792 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/media/usb/dvb-usb-v2/ |
D | it913x.c | 569 u8 *fw_data; in it913x_download_firmware() local 590 fw_data = (u8 *)(fw->data + pos); in it913x_download_firmware() 595 0, fw_data, packet_size); in it913x_download_firmware()
|
D | lmedm04.c | 734 u8 *fw_data; in lme2510_download_firmware() local 752 fw_data = (u8 *)(fw->data + j); in lme2510_download_firmware() 761 memcpy(&data[2], fw_data, dlen+1); in lme2510_download_firmware() 763 data[wlen-1] = check_sum(fw_data, dlen+1); in lme2510_download_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() 1313 const u8 *fw_data, uint32_t size, int32_t force) in csio_hw_fw_upgrade() argument 1315 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in csio_hw_fw_upgrade() 1322 ret = csio_hw_fw_dload(hw, (uint8_t *) fw_data, size); in csio_hw_fw_upgrade()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 1062 int t4_load_fw(struct adapter *adap, const u8 *fw_data, unsigned int size) in t4_load_fw() argument 1068 const __be32 *p = (const __be32 *)fw_data; in t4_load_fw() 1069 const struct fw_hdr *hdr = (const struct fw_hdr *)fw_data; in t4_load_fw() 1113 memcpy(first_page, fw_data, SF_PAGE_SIZE); in t4_load_fw() 1122 fw_data += SF_PAGE_SIZE; in t4_load_fw() 1123 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data); in t4_load_fw() 2868 const u8 *fw_data, unsigned int size, int force) in t4_fw_upgrade() argument 2870 const struct fw_hdr *fw_hdr = (const struct fw_hdr *)fw_data; in t4_fw_upgrade() 2877 ret = t4_load_fw(adap, fw_data, size); in t4_fw_upgrade()
|
D | cxgb4.h | 900 int t4_load_fw(struct adapter *adapter, const u8 *fw_data, unsigned int size); 940 const u8 *fw_data, unsigned int size, int force);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 283 u32 rsp, mbx_val, fw_data, rsp_num, mbx_cmd, val, wait_time = 0; in qlcnic_sriov_post_bc_msg() local 336 fw_data = readl(QLCNIC_MBX_FW(ahw, 0)); in qlcnic_sriov_post_bc_msg() 337 if (fw_data & QLCNIC_MBX_ASYNC_EVENT) { in qlcnic_sriov_post_bc_msg() 341 mbx_err_code = QLCNIC_MBX_STATUS(fw_data); in qlcnic_sriov_post_bc_msg() 342 rsp_num = QLCNIC_MBX_NUM_REGS(fw_data); in qlcnic_sriov_post_bc_msg() 343 opcode = QLCNIC_MBX_RSP(fw_data); in qlcnic_sriov_post_bc_msg()
|
D | qlcnic_83xx_hw.c | 687 u32 fw_data; in qlcnic_83xx_mac_rcode() local 690 fw_data = readl(QLCNIC_MBX_FW(adapter->ahw, 2)); in qlcnic_83xx_mac_rcode() 691 mac_cmd_rcode = (u8)fw_data; in qlcnic_83xx_mac_rcode() 723 u32 rsp, mbx_val, fw_data, rsp_num, mbx_cmd, wait_time = 0; in qlcnic_83xx_mbx_op() local 759 fw_data = readl(QLCNIC_MBX_FW(ahw, 0)); in qlcnic_83xx_mbx_op() 760 if (fw_data & QLCNIC_MBX_ASYNC_EVENT) { in qlcnic_83xx_mbx_op() 764 mbx_err_code = QLCNIC_MBX_STATUS(fw_data); in qlcnic_83xx_mbx_op() 765 rsp_num = QLCNIC_MBX_NUM_REGS(fw_data); in qlcnic_83xx_mbx_op() 766 opcode = QLCNIC_MBX_RSP(fw_data); in qlcnic_83xx_mbx_op()
|
/drivers/net/ethernet/alteon/ |
D | acenic.c | 2891 const __be32 *fw_data; in ace_load_firmware() local 2911 fw_data = (void *)fw->data; in ace_load_firmware() 2922 ap->firmware_start = be32_to_cpu(fw_data[1]); in ace_load_firmware() 2930 load_addr = be32_to_cpu(fw_data[2]); in ace_load_firmware() 2943 ace_copy(regs, &fw_data[3], load_addr, fw->size-12); in ace_load_firmware()
|