/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_id_valid() local 19 return version == IPA_VERSION_4_2; in ipa_reg_id_valid() 22 return version < IPA_VERSION_5_0 && version != IPA_VERSION_4_2; in ipa_reg_id_valid() 27 return version >= IPA_VERSION_5_0; in ipa_reg_id_valid() 31 return version < IPA_VERSION_4_5; in ipa_reg_id_valid() 36 return version >= IPA_VERSION_3_5; in ipa_reg_id_valid() 41 return version >= IPA_VERSION_4_5; in ipa_reg_id_valid() 45 return version <= IPA_VERSION_3_1 || in ipa_reg_id_valid() 46 version == IPA_VERSION_4_5 || in ipa_reg_id_valid() 47 version == IPA_VERSION_5_0; in ipa_reg_id_valid() [all …]
|
D | ipa_main.c | 210 if (ipa->version >= IPA_VERSION_4_5) in ipa_hardware_config_bcr() 220 enum ipa_version version = ipa->version; in ipa_hardware_config_tx() local 225 if (version <= IPA_VERSION_4_0 || version >= IPA_VERSION_4_5) in ipa_hardware_config_tx() 241 enum ipa_version version = ipa->version; in ipa_hardware_config_clkon() local 245 if (version >= IPA_VERSION_4_5) in ipa_hardware_config_clkon() 248 if (version < IPA_VERSION_4_0 && version != IPA_VERSION_3_1) in ipa_hardware_config_clkon() 253 if (version == IPA_VERSION_3_1) { in ipa_hardware_config_clkon() 273 if (ipa->version < IPA_VERSION_4_0) in ipa_hardware_config_comp() 281 if (ipa->version == IPA_VERSION_4_0) { in ipa_hardware_config_comp() 285 } 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() 355 version = in saa7164_downloadfirmware() 357 if (version) { in saa7164_downloadfirmware() 373 version = saa7164_getcurrentfirmwareversion(dev); in saa7164_downloadfirmware() 380 SAA_DEVICE_IMAGE_BOOTING) && (version == 0)) { in saa7164_downloadfirmware() 396 (version & 0x0000fc00) >> 10, in saa7164_downloadfirmware() 397 (version & 0x000003e0) >> 5, in saa7164_downloadfirmware() [all …]
|
/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/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 | smu_v13_0_10.c | 76 if (!(adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_suspend_ip() 78 adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_suspend_ip() 80 adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_suspend_ip() 84 r = adev->ip_blocks[i].version->funcs->suspend(adev); in smu_v13_0_10_mode2_suspend_ip() 89 adev->ip_blocks[i].version->funcs->name, r); in smu_v13_0_10_mode2_suspend_ip() 183 if (!(adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_restore_ip() 185 adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_restore_ip() 187 adev->ip_blocks[i].version->type == in smu_v13_0_10_mode2_restore_ip() 190 r = adev->ip_blocks[i].version->funcs->resume(adev); in smu_v13_0_10_mode2_restore_ip() 194 adev->ip_blocks[i].version->funcs->name, r); in smu_v13_0_10_mode2_restore_ip() [all …]
|
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 …]
|
D | amdgpu_device.c | 1610 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_clockgating_state() 1612 if (!adev->ip_blocks[i].version->funcs->set_clockgating_state) in amdgpu_device_ip_set_clockgating_state() 1614 r = adev->ip_blocks[i].version->funcs->set_clockgating_state( in amdgpu_device_ip_set_clockgating_state() 1618 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_clockgating_state() 1644 if (adev->ip_blocks[i].version->type != block_type) in amdgpu_device_ip_set_powergating_state() 1646 if (!adev->ip_blocks[i].version->funcs->set_powergating_state) in amdgpu_device_ip_set_powergating_state() 1648 r = adev->ip_blocks[i].version->funcs->set_powergating_state( in amdgpu_device_ip_set_powergating_state() 1652 adev->ip_blocks[i].version->funcs->name, r); in amdgpu_device_ip_set_powergating_state() 1676 if (adev->ip_blocks[i].version->funcs->get_clockgating_state) in amdgpu_device_ip_get_clockgating_state() 1677 adev->ip_blocks[i].version->funcs->get_clockgating_state((void *)adev, flags); in amdgpu_device_ip_get_clockgating_state() [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() 242 if (cdns->version == CDNSP_CONTROLLER_V2) in cdns_drd_gadget_on() 410 cdns->version = CDNS3_CONTROLLER_V0; in cdns_drd_init() [all …]
|
/drivers/gpu/drm/nouveau/include/nvif/ |
D | if000c.h | 4 __u8 version; member 27 __u8 version; member 38 __u8 version; member 52 __u8 version; member 58 __u8 version; member 68 __u8 version; member 74 __u8 version; member 94 __u8 version; member 112 __u8 version; member
|
D | ioctl.h | 8 __u8 version; member 32 __u64 version; member 37 __u8 version; member 49 __u8 version; member 64 __u8 version; member 72 __u8 version; member 81 __u8 version; member 90 __u8 version; member
|
/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/firmware/arm_scmi/ |
D | system.c | 37 u32 version; member 132 u32 version; in scmi_system_protocol_init() local 135 ret = ph->xops->version_get(ph, &version); in scmi_system_protocol_init() 140 PROTOCOL_REV_MAJOR(version), PROTOCOL_REV_MINOR(version)); in scmi_system_protocol_init() 146 pinfo->version = version; in scmi_system_protocol_init() 147 if (PROTOCOL_REV_MAJOR(pinfo->version) >= 0x2) in scmi_system_protocol_init() 150 return ph->set_priv(ph, pinfo, version); in scmi_system_protocol_init()
|