Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 22 of 22) sorted by relevance

/drivers/media/pci/cx18/
Dcx18-firmware.c148 const u8 *vers; in load_apu_fw_direct() local
162 vers = fw->data + sizeof(seghdr); in load_apu_fw_direct()
165 apu_version = (vers[0] << 24) | (vers[4] << 16) | vers[32]; in load_apu_fw_direct()
/drivers/md/
Ddm-ioctl.c49 struct dm_target_versions *vers, *old_vers; member
572 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > in list_version_get_info()
580 info->old_vers->next = (uint32_t) ((void *)info->vers - in list_version_get_info()
582 info->vers->version[0] = tt->version[0]; in list_version_get_info()
583 info->vers->version[1] = tt->version[1]; in list_version_get_info()
584 info->vers->version[2] = tt->version[2]; in list_version_get_info()
585 info->vers->next = 0; in list_version_get_info()
586 strcpy(info->vers->name, tt->name); in list_version_get_info()
588 info->old_vers = info->vers; in list_version_get_info()
589 info->vers = align_ptr(((void *) ++info->vers) + strlen(tt->name) + 1); in list_version_get_info()
[all …]
/drivers/tee/
Dtee_core.c112 struct tee_ioctl_version_data vers; in tee_ioctl_version() local
114 ctx->teedev->desc->ops->get_version(ctx->teedev, &vers); in tee_ioctl_version()
117 vers.gen_caps |= TEE_GEN_CAP_PRIVILEGED; in tee_ioctl_version()
119 if (copy_to_user(uvers, &vers, sizeof(vers))) in tee_ioctl_version()
776 struct tee_ioctl_version_data vers; in implementation_id_show() local
778 teedev->desc->ops->get_version(teedev, &vers); in implementation_id_show()
779 return scnprintf(buf, PAGE_SIZE, "%d\n", vers.impl_id); in implementation_id_show()
/drivers/macintosh/
Dtherm_adt746x.c473 int i, rc, vers, offset = 0; in probe_thermostat() local
480 vers = be32_to_cpup(prop); in probe_thermostat()
482 vers, vers == 1 ? "" : "un"); in probe_thermostat()
483 if (vers != 1) in probe_thermostat()
Dwindfarm_pm72.c514 const u32 *vers = of_get_property(u3, "device-rev", NULL); in backside_setup_pid() local
515 if (vers) in backside_setup_pid()
516 if (((*vers) & 0x3f) < 0x34) in backside_setup_pid()
/drivers/isdn/hisax/
Davm_a1p.c218 u_char model, vers; in setup_avm_a1_pcmcia() local
243 vers = bytein(cs->hw.avm.cfg_reg + VERREG_OFFSET); in setup_avm_a1_pcmcia()
246 cs->hw.avm.cfg_reg, cs->irq, model, vers); in setup_avm_a1_pcmcia()
/drivers/ata/
Dlibahci.c401 u32 cap, cap2, vers, port_map; in ahci_save_initial_config() local
414 vers = readl(mmio + HOST_VERSION); in ahci_save_initial_config()
415 if ((vers >> 16) > 1 || in ahci_save_initial_config()
416 ((vers >> 16) == 1 && (vers & 0xFFFF) >= 0x200)) in ahci_save_initial_config()
499 if (!port_map && vers < 0x10300) { in ahci_save_initial_config()
2391 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local
2394 vers = readl(mmio + HOST_VERSION); in ahci_print_info()
2414 (vers >> 24) & 0xff, in ahci_print_info()
2415 (vers >> 16) & 0xff, in ahci_print_info()
2416 (vers >> 8) & 0xff, in ahci_print_info()
[all …]
/drivers/media/dvb-frontends/
Dcx24116.c572 unsigned char vers[4]; in cx24116_load_firmware() local
680 vers[i] = cx24116_readreg(state, CX24116_REG_MAILBOX); in cx24116_load_firmware()
683 vers[0], vers[1], vers[2], vers[3]); in cx24116_load_firmware()
Dcx24120.c1283 unsigned char vers[4]; in cx24120_init() local
1452 vers[i] = cx24120_readreg(state, CX24120_REG_MAILBOX); in cx24120_init()
1454 info("FW version %i.%i.%i.%i\n", vers[0], vers[1], vers[2], vers[3]); in cx24120_init()
Dcx24117.c557 unsigned char vers[4]; in cx24117_load_firmware() local
730 vers[i] = cx24117_readreg(state, 0x33); in cx24117_load_firmware()
734 vers[0], vers[1], vers[2], vers[3]); in cx24117_load_firmware()
/drivers/char/
Dapplicom.h79 unsigned char vers; member
Dapplicom.c745 adgl->vers = readb(pmem); in ac_ioctl()
/drivers/net/fddi/skfp/
Dsmt.c92 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers);
1433 static void smt_fill_version(struct s_smc *smc, struct smt_p_version *vers) in smt_fill_version() argument
1436 SMTSETPARA(vers,SMT_P_VERSION) ; in smt_fill_version()
1437 vers->v_pad = 0 ; in smt_fill_version()
1438 vers->v_n = 1 ; /* one version is enough .. */ in smt_fill_version()
1439 vers->v_index = 1 ; in smt_fill_version()
1440 vers->v_version[0] = SMT_VID_2 ; in smt_fill_version()
1441 vers->v_pad2 = 0 ; in smt_fill_version()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c924 int t3_get_tp_version(struct adapter *adapter, u32 *vers) in t3_get_tp_version() argument
935 *vers = t3_read_reg(adapter, A_TP_EMBED_OP_FIELD1); in t3_get_tp_version()
949 u32 vers; in t3_check_tpsram_version() local
956 ret = t3_get_tp_version(adapter, &vers); in t3_check_tpsram_version()
960 major = G_TP_VERSION_MAJOR(vers); in t3_check_tpsram_version()
961 minor = G_TP_VERSION_MINOR(vers); in t3_check_tpsram_version()
1014 int t3_get_fw_version(struct adapter *adapter, u32 *vers) in t3_get_fw_version() argument
1016 return t3_read_flash(adapter, FW_VERS_ADDR, 1, vers, 0); in t3_get_fw_version()
1029 u32 vers; in t3_check_fw_version() local
1032 ret = t3_get_fw_version(adapter, &vers); in t3_check_fw_version()
[all …]
Dcommon.h682 int t3_get_tp_version(struct adapter *adapter, u32 *vers);
688 int t3_get_fw_version(struct adapter *adapter, u32 *vers);
/drivers/tee/optee/
Dcore.c216 struct tee_ioctl_version_data *vers) in optee_get_version() argument
227 *vers = v; in optee_get_version()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h1258 int t4_get_fw_version(struct adapter *adapter, u32 *vers);
1259 int t4_get_tp_version(struct adapter *adapter, u32 *vers);
1260 int t4_get_exprom_version(struct adapter *adapter, u32 *vers);
Dt4_hw.c2916 int t4_get_fw_version(struct adapter *adapter, u32 *vers) in t4_get_fw_version() argument
2920 vers, 0); in t4_get_fw_version()
2930 int t4_get_tp_version(struct adapter *adapter, u32 *vers) in t4_get_tp_version() argument
2934 1, vers, 0); in t4_get_tp_version()
2947 int t4_get_exprom_version(struct adapter *adap, u32 *vers) in t4_get_exprom_version() argument
2967 *vers = (FW_HDR_FW_VER_MAJOR_V(hdr->hdr_ver[0]) | in t4_get_exprom_version()
/drivers/net/ppp/
Dppp_generic.c1057 char *vers; in ppp_net_ioctl() local
1079 vers = PPP_VERSION; in ppp_net_ioctl()
1080 if (copy_to_user(addr, vers, strlen(vers) + 1)) in ppp_net_ioctl()
/drivers/scsi/csiostor/
Dcsio_hw.c637 csio_hw_get_fw_version(struct csio_hw *hw, uint32_t *vers) in csio_hw_get_fw_version() argument
641 vers, 0); in csio_hw_get_fw_version()
652 csio_hw_get_tp_version(struct csio_hw *hw, u32 *vers) in csio_hw_get_tp_version() argument
656 vers, 0); in csio_hw_get_tp_version()
/drivers/pcmcia/
Dcistpl.c1237 v2->vers = p[0]; in parse_vers_2()
/drivers/net/wireless/ipw2x00/
Dipw2200.c10458 char vers[64]; in ipw_ethtool_get_drvinfo() local
10465 len = sizeof(vers); in ipw_ethtool_get_drvinfo()
10466 ipw_get_ordinal(p, IPW_ORD_STAT_FW_VERSION, vers, &len); in ipw_ethtool_get_drvinfo()
10471 vers, date); in ipw_ethtool_get_drvinfo()