Home
last modified time | relevance | path

Searched refs:fw_version (Results 1 – 25 of 268) sorted by relevance

1234567891011

/linux/sound/soc/intel/avs/
H A Dsysfs.c15 struct avs_fw_version *fw_version = &adev->fw_cfg.fw_version; in fw_version_show() local
17 return sysfs_emit(buf, "%d.%d.%d.%d\n", fw_version->major, fw_version->minor, in fw_version_show()
18 fw_version->hotfix, fw_version->build); in fw_version_show()
20 static DEVICE_ATTR_RO(fw_version);
/linux/sound/soc/intel/atom/sst/
H A Dsst_ipc.c229 if (memcmp(&sst_drv_ctx->fw_version, &init->fw_version, in process_fw_init()
230 sizeof(init->fw_version))) in process_fw_init()
232 init->fw_version.type, init->fw_version.major, in process_fw_init()
233 init->fw_version.minor, init->fw_version.build); in process_fw_init()
238 sst_drv_ctx->fw_version.type = init->fw_version.type; in process_fw_init()
239 sst_drv_ctx->fw_version in process_fw_init()
[all...]
H A Dsst.c249 if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 && in firmware_version_show()
250 ctx->fw_version.minor == 0 && ctx->fw_version.build == 0) in firmware_version_show()
254 ctx->fw_version.type, ctx->fw_version.major, in firmware_version_show()
255 ctx->fw_version.minor, ctx->fw_version.build); in firmware_version_show()
/linux/drivers/input/touchscreen/
H A Dmelfas_mip4.c166 struct mip4_fw_version fw_version; member
228 u8 buf[sizeof(ts->fw_version)]; in mip4_get_fw_version()
233 memset(&ts->fw_version, 0xff, sizeof(ts->fw_version)); in mip4_get_fw_version()
237 mip4_parse_fw_version(buf, &ts->fw_version); in mip4_get_fw_version()
310 ts->fw_version.boot, ts->fw_version.core, in mip4_query_device()
311 ts->fw_version.app, ts->fw_version.param); in mip4_query_device()
1157 struct mip4_fw_version fw_version; in mip4_parse_firmware() local
1213 mip4_parse_fw_version((const u8 *)&fw_info->ver_boot, &fw_version); in mip4_parse_firmware()
1217 fw_version.boot, fw_version.core, in mip4_parse_firmware()
1218 fw_version.app, fw_version.param); in mip4_parse_firmware()
[all …]
H A Dst1232.c68 u8 fw_version; member
78 return sysfs_emit(buf, "%u\n", st1232_ts->fw_version); in fw_version_show()
90 static DEVICE_ATTR_RO(fw_version);
148 u8 *fw_version, u32 *fw_revision) in st1232_ts_read_fw_version() argument
156 *fw_version = ts->read_buf[0]; in st1232_ts_read_fw_version()
357 error = st1232_ts_read_fw_version(ts, &ts->fw_version, &ts->fw_revision); in st1232_ts_probe()
364 ts->fw_version, ts->fw_revision); in st1232_ts_probe()
H A Dwacom_i2c.c46 char fw_version; member
96 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
101 features->pressure_max, features->fw_version); in wacom_query_device()
197 input->id.version = features.fw_version; in wacom_i2c_probe()
/linux/drivers/net/can/kvaser_pciefd/
H A Dkvaser_pciefd_devlink.c19 if (pcie->fw_version.major) { in kvaser_pciefd_devlink_info_get()
21 pcie->fw_version.major, in kvaser_pciefd_devlink_info_get()
22 pcie->fw_version.minor, in kvaser_pciefd_devlink_info_get()
23 pcie->fw_version.build); in kvaser_pciefd_devlink_info_get()
/linux/drivers/net/ethernet/amd/pds_core/
H A Ddev.c355 memcpy_fromio(pdsc->dev_info.fw_version, in pdsc_init_devinfo()
356 pdsc->info_regs->fw_version, in pdsc_init_devinfo()
358 pdsc->dev_info.fw_version[PDS_CORE_DEVINFO_FWVERS_BUFLEN] = 0; in pdsc_init_devinfo()
365 dev_dbg(pdsc->dev, "fw_version %s\n", pdsc->dev_info.fw_version); in pdsc_init_devinfo()
410 if (isprint(pdsc->dev_info.fw_version[0]) && in pdsc_identify_ver()
411 isascii(pdsc->dev_info.fw_version[0])) in pdsc_identify_ver()
413 (int)(sizeof(pdsc->dev_info.fw_version) - 1), in pdsc_identify_ver()
414 pdsc->dev_info.fw_version); in pdsc_identify_ver()
417 (u8)pdsc->dev_info.fw_version[0], in pdsc_identify_ver()
418 (u8)pdsc->dev_info.fw_version[1], in pdsc_identify_ver()
[all …]
H A Ddevlink.c182 pdsc->dev_info.fw_version); in pdsc_dl_component_info_get()
186 pdsc->dev_info.fw_version); in pdsc_dl_component_info_get()
231 char *fw_ver = fw_list.fw_names[i].fw_version; in pdsc_dl_fw_list_info_get()
237 fw_ver[sizeof(fw_list.fw_names[i].fw_version) - 1] = '\0'; in pdsc_dl_fw_list_info_get()
258 return pdsc_dl_report_fw_ver(req, pdsc->dev_info.fw_version); in pdsc_dl_info_get_v1()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_devlink.c28 if (dev->fw_version.major) { in kvaser_usb_devlink_info_get()
30 dev->fw_version.major, in kvaser_usb_devlink_info_get()
31 dev->fw_version.minor, in kvaser_usb_devlink_info_get()
32 dev->fw_version.build); in kvaser_usb_devlink_info_get()
H A Dkvaser_usb_leaf.c158 __le32 fw_version; member
168 __le32 fw_version; member
753 u32 fw_version; in kvaser_usb_leaf_get_software_info_leaf() local
756 fw_version = le32_to_cpu(softinfo->fw_version); in kvaser_usb_leaf_get_software_info_leaf()
757 dev->fw_version.major = FIELD_GET(KVASER_USB_SW_VERSION_MAJOR_MASK, fw_version); in kvaser_usb_leaf_get_software_info_leaf()
758 dev->fw_version.minor = FIELD_GET(KVASER_USB_SW_VERSION_MINOR_MASK, fw_version); in kvaser_usb_leaf_get_software_info_leaf()
759 dev->fw_version.build = FIELD_GET(KVASER_USB_SW_VERSION_BUILD_MASK, fw_version); in kvaser_usb_leaf_get_software_info_leaf()
800 u32 fw_version; in kvaser_usb_leaf_get_software_info_inner() local
815 fw_version = le32_to_cpu(cmd.u.usbcan.softinfo.fw_version); in kvaser_usb_leaf_get_software_info_inner()
816 dev->fw_version.major = FIELD_GET(KVASER_USB_SW_VERSION_MAJOR_MASK, in kvaser_usb_leaf_get_software_info_inner()
[all …]
/linux/drivers/input/mouse/
H A Delantech.h127 #define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) \ argument
128 ((((fw_version) & 0x0f2000) == 0x0f2000) && \
129 ((fw_version) & 0x0000ff) > 0)
145 unsigned int fw_version; member
H A Delantech.c313 return info->fw_version & 0x001000; in elantech_is_buttonpad()
327 if (etd->info.fw_version < 0x020000) { in elantech_report_absolute_v1()
372 if (etd->info.fw_version < 0x020000 && in elantech_report_absolute_v1()
773 if (etd->info.fw_version < 0x020000) { in elantech_packet_check_v1()
886 ic_version = (etd->info.fw_version & 0x0f0000) >> 16; in elantech_packet_check_v4()
1192 if (info->fw_version < 0x020000 && in elantech_set_input_params()
1646 info->ic_version = (info->fw_version & 0x0f0000) >> 16; in elantech_set_properties()
1649 if (info->fw_version < 0x020030 || info->fw_version == 0x020600) in elantech_set_properties()
1670 if (info->ic_version == 0x0f && (info->fw_version & 0xff) <= 0x02) in elantech_set_properties()
1671 info->pattern = info->fw_version & 0xff; in elantech_set_properties()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dev_coredump.c92 adev->vce.fb_version, adev->vce.fw_version); in amdgpu_devcoredump_fw_info()
94 adev->uvd.fw_version); in amdgpu_devcoredump_fw_info()
96 adev->gmc.fw_version); in amdgpu_devcoredump_fw_info()
132 adev->psp.sos.feature_version, adev->psp.sos.fw_version); in amdgpu_devcoredump_fw_info()
135 adev->psp.asd_context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
139 adev->psp.xgmi_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
142 adev->psp.ras_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
145 adev->psp.hdcp_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
148 adev->psp.dtm_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
151 adev->psp.rap_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
[all …]
/linux/drivers/bluetooth/
H A Dath3k.c357 struct ath3k_version fw_version; in ath3k_load_patch() local
372 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_patch()
379 le32_to_cpu(fw_version.rom_version)); in ath3k_load_patch()
392 if (pt_rom_version != le32_to_cpu(fw_version.rom_version) || in ath3k_load_patch()
393 pt_build_version <= le32_to_cpu(fw_version.build_version)) { in ath3k_load_patch()
410 struct ath3k_version fw_version; in ath3k_load_syscfg() local
419 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_syscfg()
425 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
441 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu"); in ath3k_load_syscfg()
H A Dbtrtl.h39 __le32 fw_version; member
57 __u8 fw_version[8]; member
115 u32 fw_version; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_devlink.c18 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_devlink_info_get()
20 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_devlink_info_get()
22 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_devlink_info_get()
24 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_devlink_info_get()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_devlink.c47 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get()
49 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get()
51 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get()
53 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_devlink_info_get()
/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c133 if (st->fw_version >= 0x10201) { in dib0700_set_usb_xfer_len()
512 u32 fw_version; in dib0700_download_firmware() local
560 fw_version = (buf[8] << 24) | (buf[9] << 16) | (buf[10] << 8) | buf[11]; in dib0700_download_firmware()
567 if (fw_version >= 0x10201) { in dib0700_download_firmware()
588 if ((onoff != 0) && (st->fw_version >= 0x10201)) { in dib0700_streaming_ctrl()
661 if (st->fw_version < 0x10200) { in dib0700_change_protocol()
816 if (st->fw_version < 0x10200 || !intf) in dib0700_rc_setup()
886 u32 hwversion, romversion, fw_version, fwtype; in dib0700_probe() local
889 &fw_version, &fwtype); in dib0700_probe()
892 hwversion, romversion, fw_version, fwtype); in dib0700_probe()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
H A Dfw.c26 rtlhal->fw_version = (u16)GET_FIRMWARE_HDR_VERSION(pfwheader); in rtl92du_download_fw()
31 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92du_download_fw()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.c230 u32 *fw_version, bool is_pf) in hclge_comm_cmd_query_version_and_capability() argument
244 *fw_version = le32_to_cpu(resp->firmware); in hclge_comm_cmd_query_version_and_capability()
613 u32 *fw_version, bool is_pf, in hclge_comm_cmd_init() argument
644 fw_version, is_pf); in hclge_comm_cmd_init()
654 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_comm_cmd_init()
656 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_comm_cmd_init()
658 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_comm_cmd_init()
660 hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_comm_cmd_init()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_main.c646 if (isprint(idev->dev_info.fw_version[0]) && in ionic_identify()
647 isascii(idev->dev_info.fw_version[0])) in ionic_identify()
649 (int)(sizeof(idev->dev_info.fw_version) - 1), in ionic_identify()
650 idev->dev_info.fw_version); in ionic_identify()
653 (u8)idev->dev_info.fw_version[0], in ionic_identify()
654 (u8)idev->dev_info.fw_version[1], in ionic_identify()
655 (u8)idev->dev_info.fw_version[2], in ionic_identify()
656 (u8)idev->dev_info.fw_version[3]); in ionic_identify()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_devlink.h88 u32 fw_version; member
105 u32 fw_version; member
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00firmware.c54 snprintf(rt2x00dev->hw->wiphy->fw_version, in rt2x00lib_request_firmware()
55 sizeof(rt2x00dev->hw->wiphy->fw_version), "%d.%d", in rt2x00lib_request_firmware()
/linux/drivers/ptp/
H A Dptp_clockmatrix.h66 enum fw_version { enum
118 enum fw_version fw_ver;

1234567891011