/drivers/staging/rtl8723bs/include/ |
D | HalVerDef.h | 55 #define GET_CVID_IC_TYPE(version) ((enum hal_ic_type_e)((version).ICType)) argument 56 #define GET_CVID_CHIP_TYPE(version) ((enum hal_chip_type_e)((version).ChipType)) argument 57 #define GET_CVID_MANUFACTUER(version) ((enum hal_vendor_e)((version).VendorType)) argument 58 #define GET_CVID_CUT_VERSION(version) ((enum hal_cut_version_e)((version).CUTVersion)) argument 59 #define GET_CVID_ROM_VERSION(version) (((version).ROMVer) & ROM_VERSION_MASK) argument 67 #define IS_TEST_CHIP(version) ((GET_CVID_CHIP_TYPE(version) == TEST_CHIP) ? true : false) argument 68 #define IS_NORMAL_CHIP(version) ((GET_CVID_CHIP_TYPE(version) == NORMAL_CHIP) ? true : false) argument 71 #define IS_A_CUT(version) ((GET_CVID_CUT_VERSION(version) == A_CUT_VERSION) ? true : false) argument 72 #define IS_B_CUT(version) ((GET_CVID_CUT_VERSION(version) == B_CUT_VERSION) ? true : false) argument 73 #define IS_C_CUT(version) ((GET_CVID_CUT_VERSION(version) == C_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/ipa/ |
D | ipa_reg.c | 15 enum ipa_version version = ipa->version; in ipa_reg_valid() local 25 valid = version < IPA_VERSION_4_5; in ipa_reg_valid() 31 valid = version >= IPA_VERSION_3_5; in ipa_reg_valid() 37 valid = version >= IPA_VERSION_4_5; in ipa_reg_valid() 42 valid = version <= IPA_VERSION_3_1 || in ipa_reg_valid() 43 version == IPA_VERSION_4_5; in ipa_reg_valid() 48 valid = version <= IPA_VERSION_3_1; in ipa_reg_valid() 52 valid = version != IPA_VERSION_4_2; in ipa_reg_valid() 57 valid = version >= IPA_VERSION_3_1; in ipa_reg_valid() 78 static const struct ipa_regs *ipa_regs(enum ipa_version version) in ipa_regs() argument [all …]
|
D | ipa_main.c | 193 if (ipa->version >= IPA_VERSION_4_5) in ipa_hardware_config_bcr() 203 enum ipa_version version = ipa->version; in ipa_hardware_config_tx() local 208 if (version <= IPA_VERSION_4_0 || version >= IPA_VERSION_4_5) in ipa_hardware_config_tx() 224 enum ipa_version version = ipa->version; in ipa_hardware_config_clkon() local 228 if (version >= IPA_VERSION_4_5) in ipa_hardware_config_clkon() 231 if (version < IPA_VERSION_4_0 && version != IPA_VERSION_3_1) in ipa_hardware_config_clkon() 236 if (version == IPA_VERSION_3_1) { in ipa_hardware_config_clkon() 256 if (ipa->version < IPA_VERSION_4_0) in ipa_hardware_config_comp() 263 if (ipa->version == IPA_VERSION_4_0) { in ipa_hardware_config_comp() 267 } else if (ipa->version < IPA_VERSION_4_5) { in ipa_hardware_config_comp() [all …]
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.h | 26 u8 version; member 126 u8 version; member 137 u8 version; member 147 u8 version; member 156 u8 version; member 166 u8 version; member 176 u8 version; member 185 u8 version; member 195 u8 version; member 210 u8 version; member [all …]
|
/drivers/media/platform/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() 90 enum mcu_msg_version version = param->version; in allegro_encode_config_blob() local 96 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 100 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 103 if (version < MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 106 if (version >= MCU_MSG_VERSION_2019_2) in allegro_encode_config_blob() 117 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 45 __u8 version; member 53 __u8 version; member 59 __u8 version; member 72 __u8 version; member 79 __u8 version; member 85 __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 88 __u8 version; member
|
/drivers/scsi/qla2xxx/ |
D | qla_edif_bsg.h | 33 uint8_t version; member 46 uint8_t version; member 53 uint8_t version; member 62 uint8_t version; member 70 uint8_t version; member 77 uint8_t version; member 84 uint8_t version; member 106 uint8_t version; member 120 uint8_t version; member 134 uint8_t version; member [all …]
|
/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/staging/r8188eu/include/ |
D | HalVerDef.h | 31 #define GET_CVID_CHIP_TYPE(version) (((version).ChipType)) argument 32 #define GET_CVID_MANUFACTUER(version) (((version).VendorType)) argument 35 #define IS_NORMAL_CHIP(version) \ argument 36 (GET_CVID_CHIP_TYPE(version) == NORMAL_CHIP) 39 #define IS_CHIP_VENDOR_TSMC(version) \ argument 40 (GET_CVID_MANUFACTUER(version) == CHIP_VENDOR_TSMC)
|
/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/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | base.c | 188 bios->version.major = nvbios_rd08(bios, bit_i.offset + 3); in nvkm_bios_new() 189 bios->version.chip = nvbios_rd08(bios, bit_i.offset + 2); in nvkm_bios_new() 190 bios->version.minor = nvbios_rd08(bios, bit_i.offset + 1); in nvkm_bios_new() 191 bios->version.micro = nvbios_rd08(bios, bit_i.offset + 0); in nvkm_bios_new() 192 bios->version.patch = nvbios_rd08(bios, bit_i.offset + 4); in nvkm_bios_new() 195 bios->version.major = nvbios_rd08(bios, bios->bmp_offset + 13); in nvkm_bios_new() 196 bios->version.chip = nvbios_rd08(bios, bios->bmp_offset + 12); in nvkm_bios_new() 197 bios->version.minor = nvbios_rd08(bios, bios->bmp_offset + 11); in nvkm_bios_new() 198 bios->version.micro = nvbios_rd08(bios, bios->bmp_offset + 10); in nvkm_bios_new() 202 bios->version.major, bios->version.chip, in nvkm_bios_new() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | sienna_cichlid.c | 79 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip() 81 adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_suspend_ip() 85 r = adev->ip_blocks[i].version->funcs->suspend(adev); in sienna_cichlid_mode2_suspend_ip() 90 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_suspend_ip() 178 if (adev->ip_blocks[i].version->type == AMD_IP_BLOCK_TYPE_IH) { in sienna_cichlid_mode2_restore_ip() 179 r = adev->ip_blocks[i].version->funcs->resume(adev); in sienna_cichlid_mode2_restore_ip() 183 adev->ip_blocks[i].version->funcs->name, r); in sienna_cichlid_mode2_restore_ip() 192 if (!(adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_restore_ip() 194 adev->ip_blocks[i].version->type == in sienna_cichlid_mode2_restore_ip() 197 r = adev->ip_blocks[i].version->funcs->resume(adev); in sienna_cichlid_mode2_restore_ip() [all …]
|
/drivers/usb/cdns3/ |
D | drd.c | 41 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns_set_mode() 43 else if (cdns->version == CDNS3_CONTROLLER_V1) in cdns_set_mode() 50 if (cdns->version != CDNS3_CONTROLLER_V0) in cdns_set_mode() 57 if (cdns->version == CDNS3_CONTROLLER_V1) { in cdns_set_mode() 110 if (cdns->version != CDNSP_CONTROLLER_V2) in cdns_clear_vbus() 123 if (cdns->version != CDNSP_CONTROLLER_V2) in cdns_set_vbus() 159 if (cdns->version) in cdns_otg_disable_irq() 188 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns_drd_host_on() 240 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns_drd_gadget_on() 406 cdns->version = CDNS3_CONTROLLER_V0; in cdns_drd_init() [all …]
|
/drivers/media/platform/qcom/venus/ |
D | hfi_platform.c | 9 const struct hfi_platform *hfi_platform_get(enum hfi_version version) in hfi_platform_get() argument 11 switch (version) { in hfi_platform_get() 24 hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vpp_freq() argument 29 plat = hfi_platform_get(version); in hfi_platform_get_codec_vpp_freq() 40 hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vsp_freq() argument 45 plat = hfi_platform_get(version); in hfi_platform_get_codec_vsp_freq() 56 hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_lp_freq() argument 61 plat = hfi_platform_get(version); in hfi_platform_get_codec_lp_freq()
|
/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/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/hv/ |
D | connection.c | 75 int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo, u32 version) in vmbus_negotiate_version() argument 87 msg->vmbus_version_requested = version; in vmbus_negotiate_version() 100 if (version >= VERSION_WIN10_V5) { in vmbus_negotiate_version() 148 if (version >= VERSION_WIN10_V5) in vmbus_negotiate_version() 165 __u32 version; in vmbus_connect() local 311 version = vmbus_versions[i]; in vmbus_connect() 312 if (version > max_version) in vmbus_connect() 315 ret = vmbus_negotiate_version(msginfo, version); in vmbus_connect() 323 if (hv_is_isolation_supported() && version < VERSION_WIN10_V5_2) { in vmbus_connect() 325 version >> 16, version & 0xFFFF, VERSION_WIN10_V5_2 >> 16, VERSION_WIN10_V5_2 & 0xFFFF); in vmbus_connect() [all …]
|