/linux-6.6.21/sound/soc/codecs/ |
D | zl38060.c | 446 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/ |
D | card.h | 152 #define cid_rev(hwrev, fwrev, year, month) \ argument 154 ((u64) fwrev) << 32 | \ 160 card->cid.fwrev, \
|
D | mmc.c | 97 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);
|
D | sd.c | 105 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/ |
D | card.h | 21 unsigned char fwrev; member 94 u8 fwrev[MMC_FIRMWARE_LEN]; /* FW version */ member
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_init.c | 978 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()
|
D | csio_hw.c | 623 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()
|
D | csio_hw.h | 505 uint32_t fwrev; member
|
D | csio_mb.c | 118 hw->fwrev = ntohl(rsp->fwrev); in csio_mb_process_hello_rsp()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_common.h | 168 u32 fwrev; /* firmware version */ member
|
D | cxgb4vf_main.c | 1561 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()
|
D | t4vf_hw.c | 1002 dev_params->fwrev = vals[0]; in t4vf_get_dev_params()
|
/linux-6.6.21/Documentation/driver-api/mmc/ |
D | mmc-dev-attrs.rst | 24 fwrev Firmware/Product Revision (from CID Register)
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 960 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);
|
D | lpfc_ct.c | 1821 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()
|
D | lpfc_init.c | 14622 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/ |
D | main.c | 1660 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/ |
D | main.c | 2612 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/ |
D | hpsa.c | 522 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/ |
D | t4fw_api.h | 1092 __be32 fwrev; member
|