/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | def.h | 143 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 144 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 145 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 146 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 147 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 148 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 151 #define IS_81XXC(version) \ argument 152 ((GET_CVID_IC_TYPE(version) == 0) ? true : false) 153 #define IS_8723_SERIES(version) \ argument 154 ((GET_CVID_IC_TYPE(version) == CHIP_8723) ? true : false) [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | def.h | 188 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 189 #define GET_CVID_CHIP_TYPE(version) ((version) & CHIP_TYPE_MASK) argument 190 #define GET_CVID_RF_TYPE(version) ((version) & RF_TYPE_MASK) argument 191 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 192 #define GET_CVID_ROM_VERSION(version) ((version) & ROM_VERSION_MASK) argument 193 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 195 #define IS_1T1R(version) ((GET_CVID_RF_TYPE(version)) ? \ argument 197 #define IS_1T2R(version) ((GET_CVID_RF_TYPE(version) == \ argument 199 #define IS_2T2R(version) ((GET_CVID_RF_TYPE(version) == \ argument 202 #define IS_92D_SINGLEPHY(version) ((IS_92D(version)) ? \ argument [all …]
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | def.h | 64 #define GET_CVID_IC_TYPE(version) ((version) & IC_TYPE_MASK) argument 65 #define GET_CVID_MANUFACTUER(version) ((version) & MANUFACTUER_MASK) argument 66 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 68 #define IS_81XXC(version) ((GET_CVID_IC_TYPE(version) == 0) ?\ argument 70 #define IS_8723_SERIES(version) \ argument 71 ((GET_CVID_IC_TYPE(version) == CHIP_8723) ? true : false) 72 #define IS_CHIP_VENDOR_UMC(version) \ argument 73 ((GET_CVID_MANUFACTUER(version)) ? true : false) 75 #define IS_VENDOR_UMC_A_CUT(version) ((IS_CHIP_VENDOR_UMC(version)) ? \ argument 76 ((GET_CVID_CUT_VERSION(version)) ? false : true) : false) [all …]
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | def.h | 41 #define IS_NORMAL_CHIP(version) \ argument 42 (((version) & NORMAL_CHIP) ? true : false) 44 #define IS_8723_SERIES(version) \ argument 45 (((version) & CHIP_8723) ? true : false) 47 #define IS_92C_1T2R(version) \ argument 48 (((version) & CHIP_92C) && ((version) & CHIP_92C_1T2R)) 50 #define IS_VENDOR_UMC(version) \ argument 51 (((version) & CHIP_VENDOR_UMC) ? true : false) 53 #define IS_VENDOR_8723_A_CUT(version) \ argument 54 (((version) & CHIP_VENDOR_UMC) ? (((version) & (BIT(6))) ? \
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | def.h | 152 #define IS_VENDOR_UMC_A_CUT(version) ((IS_CHIP_VENDOR_UMC(version)) ? \ argument 153 ((GET_CVID_CUT_VERSION(version)) ? false : true) : false) 154 #define IS_CHIP_VER_B(version) ((version & CHIP_VER_B) ? true : false) argument 155 #define IS_VENDOR_UMC_A_CUT(version) ((IS_CHIP_VENDOR_UMC(version)) ? \ argument 156 ((GET_CVID_CUT_VERSION(version)) ? false : true) : false) 157 #define IS_92C_SERIAL(version) ((version & CHIP_92C_BITMASK) ? true : false) argument 158 #define IS_CHIP_VENDOR_UMC(version) \ argument 159 ((version & CHIP_VENDOR_UMC) ? true : false) 160 #define GET_CVID_CUT_VERSION(version) ((version) & CUT_VERSION_MASK) argument 161 #define IS_81xxC_VENDOR_UMC_B_CUT(version) \ argument [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-fw.c | 37 u32 version; member 206 u32 tmp, filesize, version, err_flags, first_timeout, fwlength; in saa7164_downloadfirmware() local 225 version = saa7164_getcurrentfirmwareversion(dev); in saa7164_downloadfirmware() 227 if (version == 0x00) { in saa7164_downloadfirmware() 370 version = in saa7164_downloadfirmware() 372 if (version) { in saa7164_downloadfirmware() 388 version = saa7164_getcurrentfirmwareversion(dev); in saa7164_downloadfirmware() 395 SAA_DEVICE_IMAGE_BOOTING) && (version == 0)) { in saa7164_downloadfirmware() 411 (version & 0x0000fc00) >> 10, in saa7164_downloadfirmware() 412 (version & 0x000003e0) >> 5, in saa7164_downloadfirmware() [all …]
|
/drivers/gpu/drm/nouveau/core/subdev/mxm/ |
D | base.c | 47 mxm_shadow_rom(struct nouveau_mxm *mxm, u8 version) in mxm_shadow_rom() argument 82 mxm_shadow_dsm(struct nouveau_mxm *mxm, u8 version) in mxm_shadow_dsm() argument 101 .integer.value = (version & 0xf0) << 4 | (version & 0x0f), in mxm_shadow_dsm() 148 wmi_wmmx_mxmi(struct nouveau_mxm *mxm, u8 version) in wmi_wmmx_mxmi() argument 150 u32 mxmi_args[] = { 0x494D584D /* MXMI */, version, 0 }; in wmi_wmmx_mxmi() 164 version = obj->integer.value; in wmi_wmmx_mxmi() 166 (version >> 4), version & 0x0f); in wmi_wmmx_mxmi() 168 version = 0; in wmi_wmmx_mxmi() 173 return version; in wmi_wmmx_mxmi() 177 mxm_shadow_wmi(struct nouveau_mxm *mxm, u8 version) in mxm_shadow_wmi() argument [all …]
|
/drivers/ps3/ |
D | ps3-sys-manager.c | 57 u8 version; member 70 pr_debug("%s:%d: version: %xh\n", func, line, h->version); in _dump_sm_header() 246 BUG_ON(header->version != 1); in ps3_sys_manager_write() 270 u8 version; in ps3_sys_manager_send_attr() member 280 header.version = 1; in ps3_sys_manager_send_attr() 286 payload.version = 1; in ps3_sys_manager_send_attr() 304 u8 version; in ps3_sys_manager_send_next_op() member 317 header.version = 1; in ps3_sys_manager_send_next_op() 323 payload.version = 3; in ps3_sys_manager_send_next_op() 348 u8 version; in ps3_sys_manager_send_request_shutdown() member [all …]
|
/drivers/block/rsxx/ |
D | config.c | 34 cfg->hdr.version = RSXX_CFG_VERSION; in initialize_config() 59 hdr->version = be32_to_cpu((__force __be32) hdr->version); in config_hdr_be_to_cpu() 65 hdr->version = (__force u32) cpu_to_be32(hdr->version); in config_hdr_cpu_to_be() 105 if (unlikely(cfg.hdr.version != RSXX_CFG_VERSION)) { in rsxx_save_config() 108 cfg.hdr.version); in rsxx_save_config() 146 if (card->config.hdr.version == RSXX_CFG_VERSION) { in rsxx_load_config() 170 } else if (card->config.hdr.version != 0) { in rsxx_load_config() 173 card->config.hdr.version); in rsxx_load_config() 191 card->config.hdr.version); in rsxx_load_config()
|
/drivers/hv/ |
D | connection.c | 65 __u32 version) in vmbus_negotiate_version() argument 77 msg->vmbus_version_requested = version; in vmbus_negotiate_version() 136 __u32 version; in vmbus_connect() local 194 version = VERSION_CURRENT; in vmbus_connect() 197 ret = vmbus_negotiate_version(msginfo, version); in vmbus_connect() 201 version = vmbus_get_next_version(version); in vmbus_connect() 202 } while (version != VERSION_INVAL); in vmbus_connect() 204 if (version == VERSION_INVAL) in vmbus_connect() 207 vmbus_proto_version = version; in vmbus_connect() 212 version >> 16, version & 0xFFFF); in vmbus_connect()
|
/drivers/mfd/ |
D | viperboard.c | 57 u16 version = 0; in vprbrd_probe() local 81 version = vb->buf[0]; in vprbrd_probe() 87 version <<= 8; in vprbrd_probe() 88 version = version | vb->buf[0]; in vprbrd_probe() 93 version >> 8, version & 0xff, in vprbrd_probe()
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | mxm.c | 39 *ver = x.version; in mxm_table() 97 if (bios->version.chip == 0x84 || bios->version.chip == 0x86) in mxm_sor_map() 99 if (bios->version.chip == 0x92) in mxm_sor_map() 101 if (bios->version.chip == 0x94 || bios->version.chip == 0x96) in mxm_sor_map() 103 if (bios->version.chip == 0x98) in mxm_sor_map()
|
D | base.c | 463 bios->version.major = nv_ro08(bios, bit_i.offset + 3); in nouveau_bios_ctor() 464 bios->version.chip = nv_ro08(bios, bit_i.offset + 2); in nouveau_bios_ctor() 465 bios->version.minor = nv_ro08(bios, bit_i.offset + 1); in nouveau_bios_ctor() 466 bios->version.micro = nv_ro08(bios, bit_i.offset + 0); in nouveau_bios_ctor() 467 bios->version.patch = nv_ro08(bios, bit_i.offset + 4); in nouveau_bios_ctor() 470 bios->version.major = nv_ro08(bios, bios->bmp_offset + 13); in nouveau_bios_ctor() 471 bios->version.chip = nv_ro08(bios, bios->bmp_offset + 12); in nouveau_bios_ctor() 472 bios->version.minor = nv_ro08(bios, bios->bmp_offset + 11); in nouveau_bios_ctor() 473 bios->version.micro = nv_ro08(bios, bios->bmp_offset + 10); in nouveau_bios_ctor() 477 bios->version.major, bios->version.chip, in nouveau_bios_ctor() [all …]
|
/drivers/platform/x86/ |
D | acerhdf.c | 126 const char *version; member 561 char const *vendor, *version, *product; in acerhdf_check_hardware() local 566 version = dmi_get_system_info(DMI_BIOS_VERSION); in acerhdf_check_hardware() 569 if (!vendor || !version || !product) { in acerhdf_check_hardware() 577 version = force_bios; in acerhdf_check_hardware() 578 pr_info("forcing BIOS version: %s\n", version); in acerhdf_check_hardware() 590 vendor, version, product); in acerhdf_check_hardware() 600 str_starts_with(version, bt->version)) { in acerhdf_check_hardware() 608 vendor, product, version); in acerhdf_check_hardware()
|
/drivers/isdn/hardware/avm/ |
D | b1.c | 332 memset(cinfo->version, 0, sizeof(cinfo->version)); in b1_reset_ctr() 426 cinfo->version[j] = "\0\0" + 1; in b1_parse_version() 430 cinfo->version[j] = &cinfo->versionbuf[i + 1]; in b1_parse_version() 432 strlcpy(ctrl->serial, cinfo->version[VER_SERIAL], sizeof(ctrl->serial)); in b1_parse_version() 433 memcpy(&ctrl->profile, cinfo->version[VER_PROFILE], sizeof(capi_profile)); in b1_parse_version() 435 dversion = cinfo->version[VER_DRIVER]; in b1_parse_version() 436 ctrl->version.majorversion = 2; in b1_parse_version() 437 ctrl->version.minorversion = 0; in b1_parse_version() 438 ctrl->version.majormanuversion = (((dversion[0] - '0') & 0xf) << 4); in b1_parse_version() 439 ctrl->version.majormanuversion |= ((dversion[2] - '0') & 0xf); in b1_parse_version() [all …]
|
/drivers/media/platform/ |
D | indycam.c | 50 u8 version; member 204 if (camera->version == CAMERA_VERSION_MOOSE) { in indycam_g_ctrl() 272 if (camera->version == CAMERA_VERSION_MOOSE) { in indycam_s_ctrl() 293 camera->version); in indycam_g_chip_ident() 325 camera->version = i2c_smbus_read_byte_data(client, in indycam_probe() 327 if (camera->version != CAMERA_VERSION_INDY && in indycam_probe() 328 camera->version != CAMERA_VERSION_MOOSE) { in indycam_probe() 334 INDYCAM_VERSION_MAJOR(camera->version), in indycam_probe() 335 INDYCAM_VERSION_MINOR(camera->version)); in indycam_probe()
|
/drivers/misc/ti-st/ |
D | st_kim.c | 216 unsigned short version = 0, chip = 0, min_ver = 0, maj_ver = 0; in read_local_version() local 237 version = in read_local_version() 240 chip = (version & 0x7C00) >> 10; in read_local_version() 241 min_ver = (version & 0x007F); in read_local_version() 242 maj_ver = (version & 0x0380) >> 7; in read_local_version() 244 if (version & 0x8000) in read_local_version() 250 kim_gdata->version.full = version; in read_local_version() 251 kim_gdata->version.chip = chip; in read_local_version() 252 kim_gdata->version.maj_ver = maj_ver; in read_local_version() 253 kim_gdata->version.min_ver = min_ver; in read_local_version() [all …]
|
/drivers/video/ |
D | hdmi.c | 54 frame->version = 2; in hdmi_avi_infoframe_init() 89 ptr[1] = frame->version; in hdmi_avi_infoframe_pack() 153 frame->version = 1; in hdmi_spd_infoframe_init() 191 ptr[1] = frame->version; in hdmi_spd_infoframe_pack() 220 frame->version = 1; in hdmi_audio_infoframe_init() 261 ptr[1] = frame->version; in hdmi_audio_infoframe_pack() 313 ptr[1] = frame->version; in hdmi_vendor_infoframe_pack()
|
/drivers/misc/altera-stapl/ |
D | altera.c | 255 int version = 0; in altera_execute() local 282 version = (first_word & 1L); in altera_execute() 283 *format_version = version + 1; in altera_execute() 284 delta = version * 8; in altera_execute() 326 if ((status == 0) && (version > 0)) { in altera_execute() 336 delta = version * 2; in altera_execute() 385 version) != uncomp_size) in altera_execute() 445 if (version > 0) { in altera_execute() 642 if ((version > 0) && (stack_ptr == 0)) { in altera_execute() 1134 if ((version > 0) && in altera_execute() [all …]
|
/drivers/mtd/nand/ |
D | nand_bbt.c | 387 td->version[0] = buf[bbt_get_ver_offs(mtd, td)]; in read_abs_bbts() 389 td->pages[0], td->version[0]); in read_abs_bbts() 396 md->version[0] = buf[bbt_get_ver_offs(mtd, md)]; in read_abs_bbts() 398 md->pages[0], md->version[0]); in read_abs_bbts() 589 td->version[i] = 0; in search_bbt() 603 td->version[i] = buf[offs]; in search_bbt() 616 "0x%02X\n", td->pages[i], td->version[i]); in search_bbt() 814 buf[ooboffs + td->veroffs] = td->version[chip]; in write_bbt() 844 (unsigned long long)to, td->version[chip]); in write_bbt() 916 } else if (td->version[i] == md->version[i]) { in check_create() [all …]
|
/drivers/char/tpm/ |
D | tpm_ppi.c | 138 char version[PPI_VERSION_LEN + 1]; in tpm_store_ppi_request() local 161 strlcpy(version, in tpm_store_ppi_request() 172 if (strcmp(version, "1.1") == -1) in tpm_store_ppi_request() 182 if (strcmp(version, "1.2") == -1) { in tpm_store_ppi_request() 213 char version[PPI_VERSION_LEN + 1]; in tpm_show_ppi_transition_action() local 240 strlcpy(version, in tpm_show_ppi_transition_action() 248 if (strcmp(version, "1.2") == -1) { in tpm_show_ppi_transition_action() 354 char version[PPI_VERSION_LEN + 1]; in show_ppi_operations() local 384 strlcpy(version, in show_ppi_operations() 390 if (strcmp(version, "1.2") == -1) in show_ppi_operations() [all …]
|
/drivers/gpu/drm/nouveau/core/core/ |
D | falcon.c | 58 falcon->version = 0; in _nouveau_falcon_init() 62 falcon->version = (caps & 0x0000000f); in _nouveau_falcon_init() 70 nv_debug(falcon, "falcon version: %d\n", falcon->version); in _nouveau_falcon_init() 76 if (falcon->secret && falcon->version < 4) { in _nouveau_falcon_init() 77 if (!falcon->version) in _nouveau_falcon_init() 175 if (falcon->version < 3) { in _nouveau_falcon_init() 190 if (falcon->version < 3) { in _nouveau_falcon_init()
|
/drivers/media/dvb-frontends/ |
D | dib0090.c | 133 u8 version; member 359 identity->version = v & 0xff; in dib0090_identify() 365 if ((identity->version & 0x3) == SOC) { in dib0090_identify() 367 switch (identity->version) { in dib0090_identify() 388 switch ((identity->version >> 5) & 0x7) { in dib0090_identify() 405 switch (identity->version & 0x1f) { in dib0090_identify() 449 identity->version = v & 0xff; in dib0090_fw_identify() 455 if ((identity->version & 0x3) == SOC) { in dib0090_fw_identify() 457 switch (identity->version) { in dib0090_fw_identify() 478 switch ((identity->version >> 5) & 0x7) { in dib0090_fw_identify() [all …]
|
/drivers/input/tablet/ |
D | Kconfig | 19 Say Y here if you want to use the USB version of the Acecad Flair 32 Say Y here if you want to use the USB version of the Aiptek 6000U, 44 Say Y here if you want to use the USB version of the GTCO 57 Say Y here if you want to use the USB version of the Hanwang Art 68 Say Y here if you want to use the USB version of the KB Gear 84 Say Y here if you want to use the USB version of the Wacom Intuos
|
/drivers/dma/ioat/ |
D | dma.h | 88 u8 version; member 234 u8 ver = chan->device->version; in ioat_chansts_32() 253 u8 ver = chan->device->version; in ioat_chansts() 271 u8 ver = chan->device->version; in ioat_start() 288 u8 ver = chan->device->version; in ioat_suspend() 295 u8 ver = chan->device->version; in ioat_reset() 302 u8 ver = chan->device->version; in ioat_reset_pending()
|