Home
last modified time | relevance | path

Searched refs:fwrev (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/sound/soc/codecs/
Dzl38060.c446 unsigned int hwrev, fwprod, fwrev; in zl38_check_revision() local
456 err = regmap_read(regmap, REG_FW_REV, &fwrev); in zl38_check_revision()
460 fw_major = (fwrev >> 12) & 0xF; in zl38_check_revision()
461 fw_minor = (fwrev >> 8) & 0xF; in zl38_check_revision()
462 fw_micro = fwrev & 0xFF; in zl38_check_revision()
/linux-6.6.21/drivers/mmc/core/
Dcard.h152 #define cid_rev(hwrev, fwrev, year, month) \ argument
154 ((u64) fwrev) << 32 | \
160 card->cid.fwrev, \
Dmmc.c97 card->cid.fwrev = UNSTUFF_BITS(resp, 40, 4); in mmc_decode_cid()
639 memcpy(card->ext_csd.fwrev, &ext_csd[EXT_CSD_FIRMWARE_VERSION], in mmc_decode_ext_csd()
824 return sysfs_emit(buf, "0x%x\n", card->cid.fwrev); in mmc_fwrev_show()
827 card->ext_csd.fwrev); in mmc_fwrev_show()
830 static DEVICE_ATTR(fwrev, S_IRUGO, mmc_fwrev_show, NULL);
Dsd.c105 card->cid.fwrev = UNSTUFF_BITS(resp, 56, 4); in mmc_decode_cid()
709 MMC_DEV_ATTR(fwrev, "0x%x\n", card->cid.fwrev);
/linux-6.6.21/include/linux/mmc/
Dcard.h21 unsigned char fwrev; member
94 u8 fwrev[MMC_FIRMWARE_LEN]; /* FW version */ member
/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_init.c978 FW_HDR_FW_VER_MAJOR_G(hw->fwrev), in csio_probe_one()
979 FW_HDR_FW_VER_MINOR_G(hw->fwrev), in csio_probe_one()
980 FW_HDR_FW_VER_MICRO_G(hw->fwrev), in csio_probe_one()
981 FW_HDR_FW_VER_BUILD_G(hw->fwrev)); in csio_probe_one()
Dcsio_hw.c623 FW_HDR_FW_VER_MAJOR_G(hw->fwrev), in csio_hw_print_fw_version()
624 FW_HDR_FW_VER_MINOR_G(hw->fwrev), in csio_hw_print_fw_version()
625 FW_HDR_FW_VER_MICRO_G(hw->fwrev), in csio_hw_print_fw_version()
626 FW_HDR_FW_VER_BUILD_G(hw->fwrev)); in csio_hw_print_fw_version()
2392 hw->fwrev = be32_to_cpu(card_fw->fw_ver); in csio_hw_prep_fw()
2463 (hw->fwrev < CSIO_MIN_T6_FW)) { in csio_hw_check_fwver()
2508 rv = csio_hw_get_fw_version(hw, &hw->fwrev); in csio_hw_configure()
2526 csio_hw_get_fw_version(hw, &hw->fwrev); in csio_hw_configure()
Dcsio_hw.h505 uint32_t fwrev; member
Dcsio_mb.c118 hw->fwrev = ntohl(rsp->fwrev); in csio_mb_process_hello_rsp()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h168 u32 fwrev; /* firmware version */ member
Dcxgb4vf_main.c1561 FW_HDR_FW_VER_MAJOR_G(adapter->params.dev.fwrev), in cxgb4vf_get_drvinfo()
1562 FW_HDR_FW_VER_MINOR_G(adapter->params.dev.fwrev), in cxgb4vf_get_drvinfo()
1563 FW_HDR_FW_VER_MICRO_G(adapter->params.dev.fwrev), in cxgb4vf_get_drvinfo()
1564 FW_HDR_FW_VER_BUILD_G(adapter->params.dev.fwrev), in cxgb4vf_get_drvinfo()
Dt4vf_hw.c1002 dev_params->fwrev = vals[0]; in t4vf_get_dev_params()
/linux-6.6.21/Documentation/driver-api/mmc/
Dmmc-dev-attrs.rst24 fwrev Firmware/Product Revision (from CID Register)
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_attr.c960 char fwrev[FW_REV_STR_SIZE]; in lpfc_fwrev_show() local
963 lpfc_decode_firmware_rev(phba, fwrev, 1); in lpfc_fwrev_show()
969 fwrev, phba->sli_rev); in lpfc_fwrev_show()
972 fwrev, phba->sli_rev, if_type, sli_family); in lpfc_fwrev_show()
1014 char fwrev[FW_REV_STR_SIZE]; in lpfc_option_rom_version_show() local
1020 lpfc_decode_firmware_rev(phba, fwrev, 1); in lpfc_option_rom_version_show()
1021 return scnprintf(buf, PAGE_SIZE, "%s\n", fwrev); in lpfc_option_rom_version_show()
2975 static DEVICE_ATTR(fwrev, S_IRUGO, lpfc_fwrev_show, NULL);
Dlpfc_ct.c1821 char fwrev[FW_REV_STR_SIZE] = {0}; in lpfc_vport_symbolic_node_name() local
1830 lpfc_decode_firmware_rev(vport->phba, fwrev, 0); in lpfc_vport_symbolic_node_name()
1831 scnprintf(tmp, sizeof(tmp), " FV%s", fwrev); in lpfc_vport_symbolic_node_name()
Dlpfc_init.c14622 char fwrev[FW_REV_STR_SIZE]; in lpfc_write_firmware() local
14643 lpfc_decode_firmware_rev(phba, fwrev, 1); in lpfc_write_firmware()
14644 if (strncmp(fwrev, image->revision, strnlen(image->revision, 16))) { in lpfc_write_firmware()
14648 fwrev, image->revision); in lpfc_write_firmware()
14698 fwrev, image->revision); in lpfc_write_firmware()
/linux-6.6.21/drivers/net/wireless/broadcom/b43legacy/
Dmain.c1660 u16 fwrev; in b43legacy_upload_microcode() local
1738 fwrev = b43legacy_shm_read16(dev, B43legacy_SHM_SHARED, in b43legacy_upload_microcode()
1747 if (fwrev > 0x128) { in b43legacy_upload_microcode()
1757 "(20%.2i-%.2i-%.2i %.2i:%.2i:%.2i)\n", fwrev, fwpatch, in b43legacy_upload_microcode()
1762 dev->fw.rev = fwrev; in b43legacy_upload_microcode()
/linux-6.6.21/drivers/net/wireless/broadcom/b43/
Dmain.c2612 u16 fwrev, fwpatch, fwdate, fwtime; in b43_upload_microcode() local
2674 fwrev = b43_shm_read16(dev, B43_SHM_SHARED, B43_SHM_SH_UCODEREV); in b43_upload_microcode()
2679 if (fwrev <= 0x128) { in b43_upload_microcode()
2687 dev->fw.rev = fwrev; in b43_upload_microcode()
2720 fwrev, fwpatch, in b43_upload_microcode()
/linux-6.6.21/drivers/scsi/
Dhpsa.c522 unsigned char *fwrev; in host_show_firmware_revision() local
527 fwrev = &h->hba_inquiry_data[32]; in host_show_firmware_revision()
529 fwrev[0], fwrev[1], fwrev[2], fwrev[3]); in host_show_firmware_revision()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dt4fw_api.h1092 __be32 fwrev; member