/drivers/staging/rtl8723bs/include/ |
D | HalVerDef.h | 77 #define GET_CVID_IC_TYPE(version) ((HAL_IC_TYPE_E)((version).ICType)) argument 78 #define GET_CVID_CHIP_TYPE(version) ((HAL_CHIP_TYPE_E)((version).ChipType)) argument 79 #define GET_CVID_RF_TYPE(version) ((HAL_RF_TYPE_E)((version).RFType)) argument 80 #define GET_CVID_MANUFACTUER(version) ((HAL_VENDOR_E)((version).VendorType)) argument 81 #define GET_CVID_CUT_VERSION(version) ((HAL_CUT_VERSION_E)((version).CUTVersion)) argument 82 #define GET_CVID_ROM_VERSION(version) (((version).ROMVer) & ROM_VERSION_MASK) argument 90 #define IS_TEST_CHIP(version) ((GET_CVID_CHIP_TYPE(version) == TEST_CHIP) ? true : false) argument 91 #define IS_NORMAL_CHIP(version) ((GET_CVID_CHIP_TYPE(version) == NORMAL_CHIP) ? true : false) argument 94 #define IS_A_CUT(version) ((GET_CVID_CUT_VERSION(version) == A_CUT_VERSION) ? true : false) argument 95 #define IS_B_CUT(version) ((GET_CVID_CUT_VERSION(version) == B_CUT_VERSION) ? true : false) argument [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | def.h | 38 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 39 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 40 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 41 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 42 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 43 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 45 #define IS_81XXC(version) ((GET_CVID_IC_TYPE(version) == 0) ?\ argument 47 #define IS_8723_SERIES(version) ((GET_CVID_IC_TYPE(version) == CHIP_8723) ? \ argument 49 #define IS_1T1R(version) ((GET_CVID_RF_TYPE(version)) ? false : true) argument 50 #define IS_1T2R(version) ((GET_CVID_RF_TYPE(version) == RF_TYPE_1T2R)\ argument [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | def.h | 45 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 46 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 47 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 48 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 49 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 50 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 52 #define IS_81XXC(version) \ argument 53 ((GET_CVID_IC_TYPE(version) == 0) ? true : false) 54 #define IS_8723_SERIES(version) \ argument 55 ((GET_CVID_IC_TYPE(version) == CHIP_8723) ? true : false) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | def.h | 163 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 164 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 165 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 166 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 167 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 168 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 170 #define IS_1T1R(version) ((GET_CVID_RF_TYPE(version)) ? false : true) argument 171 #define IS_1T2R(version) ((GET_CVID_RF_TYPE(version) == RF_TYPE_1T2R)\ argument 173 #define IS_2T2R(version) ((GET_CVID_RF_TYPE(version) == RF_TYPE_2T2R)\ argument 176 #define IS_8812_SERIES(version) ((GET_CVID_IC_TYPE(version) == CHIP_8812) ? \ argument [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | def.h | 92 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 93 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 94 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 95 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 96 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 97 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 99 #define IS_1T1R(version) ((GET_CVID_RF_TYPE(version)) ? \ argument 101 #define IS_1T2R(version) ((GET_CVID_RF_TYPE(version) == \ argument 103 #define IS_2T2R(version) ((GET_CVID_RF_TYPE(version) == \ argument 106 #define IS_92D_SINGLEPHY(version) ((IS_92D(version)) ? \ argument [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | fw_common.h | 23 #define IS_CHIP_VER_B(version) ((version & CHIP_VER_B) ? true : false) argument 25 #define GET_CVID_RF_TYPE(version) \ argument 26 ((version) & RF_TYPE_MASK) 27 #define GET_CVID_CUT_VERSION(version) \ argument 28 ((version) & CUT_VERSION_MASK) 29 #define IS_NORMAL_CHIP(version) \ argument 30 ((version & NORMAL_CHIP) ? true : false) 31 #define IS_2T2R(version) \ argument 32 (((GET_CVID_RF_TYPE(version)) == \ 34 #define IS_92C_SERIAL(version) \ argument [all …]
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.h | 25 u8 version; member 125 u8 version; member 136 u8 version; member 146 u8 version; member 155 u8 version; member 165 u8 version; member 175 u8 version; member 184 u8 version; member 194 u8 version; member 209 u8 version; member [all …]
|
/drivers/staging/media/allegro-dvt/ |
D | allegro-mail.c | 47 enum mcu_msg_version version = msg->header.version; in allegro_enc_init() local 55 if (version >= MCU_MSG_VERSION_2019_2) { in allegro_enc_init() 65 enum mcu_msg_version version = param->version; in settings_get_mcu_codec() local 68 if (version < MCU_MSG_VERSION_2019_2) { in settings_get_mcu_codec() 86 enum mcu_msg_version version = param->version; in allegro_encode_config_blob() local 92 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 96 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 99 if (version < MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 102 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 120 if (version >= MCU_MSG_VERSION_2019_2) { in allegro_encode_config_blob() [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-fw.c | 23 u32 version; member 192 u32 tmp, filesize, version, err_flags, first_timeout, fwlength; in saa7164_downloadfirmware() local 211 version = saa7164_getcurrentfirmwareversion(dev); in saa7164_downloadfirmware() 213 if (version == 0x00) { in saa7164_downloadfirmware() 356 version = in saa7164_downloadfirmware() 358 if (version) { in saa7164_downloadfirmware() 374 version = saa7164_getcurrentfirmwareversion(dev); in saa7164_downloadfirmware() 381 SAA_DEVICE_IMAGE_BOOTING) && (version == 0)) { in saa7164_downloadfirmware() 397 (version & 0x0000fc00) >> 10, in saa7164_downloadfirmware() 398 (version & 0x000003e0) >> 5, in saa7164_downloadfirmware() [all …]
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | ioctl.h | 8 __u8 version; member 36 __u64 version; member 41 __u8 version; member 53 __u8 version; member 68 __u8 version; member 77 __u8 version; member 86 __u8 version; member 101 __u8 version; member 110 __u8 version; member 117 __u8 version; member [all …]
|
D | cl5070.h | 8 __u8 version; member 16 __u8 version; member 30 __u8 version; member 46 __u8 version; member 54 __u8 version; member 61 __u8 version; member 67 __u8 version; member 80 __u8 version; member 87 __u8 version; member 93 __u8 version; member
|
D | if000c.h | 4 __u8 version; member 23 __u8 version; member 34 __u8 version; member 48 __u8 version; member 54 __u8 version; member 64 __u8 version; member 70 __u8 version; member 87 __u8 version; member
|
D | event.h | 6 __u8 version; member 16 __u8 version; member 25 __u8 version; member 32 __u8 version; member 38 __u8 version; member 50 __u8 version; member
|
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | base.c | 44 mxm_shadow_rom(struct nvkm_mxm *mxm, u8 version) in mxm_shadow_rom() argument 80 mxm_shadow_dsm(struct nvkm_mxm *mxm, u8 version) in mxm_shadow_dsm() argument 106 rev = (version & 0xf0) << 4 | (version & 0x0f); in mxm_shadow_dsm() 131 wmi_wmmx_mxmi(struct nvkm_mxm *mxm, u8 version) in wmi_wmmx_mxmi() argument 134 u32 mxmi_args[] = { 0x494D584D /* MXMI */, version, 0 }; in wmi_wmmx_mxmi() 148 version = obj->integer.value; in wmi_wmmx_mxmi() 150 (version >> 4), version & 0x0f); in wmi_wmmx_mxmi() 152 version = 0; in wmi_wmmx_mxmi() 157 return version; in wmi_wmmx_mxmi() 161 mxm_shadow_wmi(struct nvkm_mxm *mxm, u8 version) in mxm_shadow_wmi() argument [all …]
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | base.c | 187 bios->version.major = nvbios_rd08(bios, bit_i.offset + 3); in nvkm_bios_new() 188 bios->version.chip = nvbios_rd08(bios, bit_i.offset + 2); in nvkm_bios_new() 189 bios->version.minor = nvbios_rd08(bios, bit_i.offset + 1); in nvkm_bios_new() 190 bios->version.micro = nvbios_rd08(bios, bit_i.offset + 0); in nvkm_bios_new() 191 bios->version.patch = nvbios_rd08(bios, bit_i.offset + 4); in nvkm_bios_new() 194 bios->version.major = nvbios_rd08(bios, bios->bmp_offset + 13); in nvkm_bios_new() 195 bios->version.chip = nvbios_rd08(bios, bios->bmp_offset + 12); in nvkm_bios_new() 196 bios->version.minor = nvbios_rd08(bios, bios->bmp_offset + 11); in nvkm_bios_new() 197 bios->version.micro = nvbios_rd08(bios, bios->bmp_offset + 10); in nvkm_bios_new() 201 bios->version.major, bios->version.chip, in nvkm_bios_new() [all …]
|
/drivers/ps3/ |
D | ps3-sys-manager.c | 46 u8 version; member 59 pr_debug("%s:%d: version: %xh\n", func, line, h->version); in _dump_sm_header() 235 BUG_ON(header->version != 1); in ps3_sys_manager_write() 259 u8 version; in ps3_sys_manager_send_attr() member 269 header.version = 1; in ps3_sys_manager_send_attr() 275 payload.version = 1; in ps3_sys_manager_send_attr() 293 u8 version; in ps3_sys_manager_send_next_op() member 306 header.version = 1; in ps3_sys_manager_send_next_op() 312 payload.version = 3; in ps3_sys_manager_send_next_op() 337 u8 version; in ps3_sys_manager_send_request_shutdown() member [all …]
|
/drivers/bluetooth/ |
D | btintel.c | 367 void btintel_version_info_tlv(struct hci_dev *hdev, struct intel_version_tlv *version) in btintel_version_info_tlv() argument 371 switch (version->img_type) { in btintel_version_info_tlv() 374 bt_dev_info(hdev, "Device revision is %u", version->dev_rev_id); in btintel_version_info_tlv() 376 version->secure_boot ? "enabled" : "disabled"); in btintel_version_info_tlv() 378 version->otp_lock ? "enabled" : "disabled"); in btintel_version_info_tlv() 380 version->api_lock ? "enabled" : "disabled"); in btintel_version_info_tlv() 382 version->debug_lock ? "enabled" : "disabled"); in btintel_version_info_tlv() 384 version->min_fw_build_nn, version->min_fw_build_cw, in btintel_version_info_tlv() 385 2000 + version->min_fw_build_yy); in btintel_version_info_tlv() 391 bt_dev_err(hdev, "Unsupported image type(%02x)", version->img_type); in btintel_version_info_tlv() [all …]
|
/drivers/firmware/efi/libstub/ |
D | tpm.c | 61 int version = EFI_TCG2_EVENT_LOG_FORMAT_TCG_2; in efi_retrieve_tpm2_eventlog() local 70 status = efi_call_proto(tcg2_protocol, get_event_log, version, in efi_retrieve_tpm2_eventlog() 74 version = EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2; in efi_retrieve_tpm2_eventlog() 75 status = efi_call_proto(tcg2_protocol, get_event_log, version, in efi_retrieve_tpm2_eventlog() 97 if (version == EFI_TCG2_EVENT_LOG_FORMAT_TCG_2) { in efi_retrieve_tpm2_eventlog() 130 if (version == EFI_TCG2_EVENT_LOG_FORMAT_TCG_2) in efi_retrieve_tpm2_eventlog() 140 offset = sizeof(final_events_table->version) + in efi_retrieve_tpm2_eventlog() 156 log_tbl->version = version; in efi_retrieve_tpm2_eventlog()
|
/drivers/block/rsxx/ |
D | config.c | 20 cfg->hdr.version = RSXX_CFG_VERSION; in initialize_config() 45 hdr->version = be32_to_cpu((__force __be32) hdr->version); in config_hdr_be_to_cpu() 51 hdr->version = (__force u32) cpu_to_be32(hdr->version); in config_hdr_cpu_to_be() 91 if (unlikely(cfg.hdr.version != RSXX_CFG_VERSION)) { in rsxx_save_config() 94 cfg.hdr.version); in rsxx_save_config() 132 if (card->config.hdr.version == RSXX_CFG_VERSION) { in rsxx_load_config() 156 } else if (card->config.hdr.version != 0) { in rsxx_load_config() 159 card->config.hdr.version); in rsxx_load_config() 177 card->config.hdr.version); in rsxx_load_config()
|
/drivers/platform/chrome/ |
D | cros_ec_trace.h | 25 __field(uint32_t, version) 32 __entry->version = cmd->version; 39 __entry->version, __entry->offset, 48 __field(uint32_t, version) 57 __entry->version = cmd->version; 66 __entry->version, __entry->offset,
|
/drivers/usb/cdns3/ |
D | drd.c | 43 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns3_set_mode() 45 else if (cdns->version == CDNS3_CONTROLLER_V1) in cdns3_set_mode() 52 if (cdns->version != CDNS3_CONTROLLER_V0) in cdns3_set_mode() 59 if (cdns->version == CDNS3_CONTROLLER_V1) { in cdns3_set_mode() 163 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns3_drd_host_on() 215 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns3_drd_gadget_on() 379 cdns->version = CDNS3_CONTROLLER_V0; in cdns3_drd_init() 387 readl(&cdns->otg_v0_regs->version)); in cdns3_drd_init() 398 cdns->version = CDNSP_CONTROLLER_V2; in cdns3_drd_init() 403 cdns->version = CDNS3_CONTROLLER_V1; in cdns3_drd_init() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_device.c | 1484 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_clockgating_state() 1486 if (!adev->ip_blocks[i].version->funcs->set_clockgating_state) in amdgpu_device_ip_set_clockgating_state() 1488 r = adev->ip_blocks[i].version->funcs->set_clockgating_state( in amdgpu_device_ip_set_clockgating_state() 1492 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_clockgating_state() 1518 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_powergating_state() 1520 if (!adev->ip_blocks[i].version->funcs->set_powergating_state) in amdgpu_device_ip_set_powergating_state() 1522 r = adev->ip_blocks[i].version->funcs->set_powergating_state( in amdgpu_device_ip_set_powergating_state() 1526 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_powergating_state() 1550 if (adev->ip_blocks[i].version->funcs->get_clockgating_state) in amdgpu_device_ip_get_clockgating_state() 1551 adev->ip_blocks[i].version->funcs->get_clockgating_state((void *)adev, flags); in amdgpu_device_ip_get_clockgating_state() [all …]
|
/drivers/mfd/ |
D | viperboard.c | 52 u16 version = 0; in vprbrd_probe() local 74 version = vb->buf[0]; in vprbrd_probe() 80 version <<= 8; in vprbrd_probe() 81 version = version | vb->buf[0]; in vprbrd_probe() 86 version >> 8, version & 0xff, in vprbrd_probe()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | def.h | 13 #define IS_92C_1T2R(version) \ argument 14 (((version) & CHIP_92C) && ((version) & CHIP_92C_1T2R)) 16 #define IS_VENDOR_UMC(version) \ argument 17 (((version) & CHIP_VENDOR_UMC) ? true : false)
|
/drivers/staging/media/atomisp/pci/ |
D | sh_css_version.c | 24 ia_css_get_version(char *version, int max_size) { in ia_css_get_version() argument 34 strscpy(version, css_version, max_size); in ia_css_get_version() 35 strcat(version, "FW:"); in ia_css_get_version() 36 strcat(version, sh_css_get_fw_version()); in ia_css_get_version() 37 strcat(version, "; "); in ia_css_get_version()
|