Home
last modified time | relevance | path

Searched refs:ver (Results 1 – 25 of 243) sorted by relevance

12345678910

/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dgpio.c30 dcb_gpio_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_gpio_table() argument
33 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_gpio_table()
35 if (*ver >= 0x30 && *hdr >= 0x0c) in dcb_gpio_table()
38 if (*ver >= 0x22 && nvbios_rd08(bios, dcb - 1) >= 0x13) in dcb_gpio_table()
42 *ver = nvbios_rd08(bios, data + 0x00); in dcb_gpio_table()
43 if (*ver < 0x30) { in dcb_gpio_table()
48 if (*ver <= 0x41) { in dcb_gpio_table()
61 dcb_gpio_entry(struct nvkm_bios *bios, int idx, int ent, u8 *ver, u8 *len) in dcb_gpio_entry() argument
67 gpio = dcb_gpio_table(bios, ver, &hdr, &cnt, len); in dcb_gpio_entry()
78 dcb_gpio_parse(struct nvkm_bios *bios, int idx, int ent, u8 *ver, u8 *len, in dcb_gpio_parse() argument
[all …]
Ddp.c29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument
37 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_dp_table()
38 switch (*ver) { in nvbios_dp_table()
60 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dpout_entry() argument
62 u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpout_entry()
65 switch (*ver * !!outp) { in nvbios_dpout_entry()
84 *ver = 0x00; in nvbios_dpout_entry()
90 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_parse() argument
93 u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); in nvbios_dpout_parse()
95 if (data && *ver) { in nvbios_dpout_parse()
[all …]
Dmxm.c29 mxm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr) in mxm_table() argument
39 *ver = x.version; in mxm_table()
41 if (*ver != 1 || *hdr < 3) { in mxm_table()
42 nvkm_warn(subdev, "BIT 'x' table %d/%d unknown\n", *ver, *hdr); in mxm_table()
78 u8 ver, hdr; in mxm_sor_map() local
79 u16 mxm = mxm_table(bios, &ver, &hdr); in mxm_sor_map()
83 ver = nvbios_rd08(bios, map); in mxm_sor_map()
84 if (ver == 0x10) { in mxm_sor_map()
94 nvkm_warn(subdev, "unknown sor map v%02x\n", ver); in mxm_sor_map()
115 u8 ver, hdr; in mxm_ddc_map() local
[all …]
Ddisp.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) in nvbios_disp_table() argument
38 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_disp_table()
39 switch (*ver) { in nvbios_disp_table()
59 nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) in nvbios_disp_entry() argument
62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry()
65 *ver = 0x00; in nvbios_disp_entry()
70 nvbios_disp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, in nvbios_disp_parse() argument
73 u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); in nvbios_disp_parse()
83 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_outp_entry() argument
86 u16 data = nvbios_disp_parse(bios, idx, ver, len, hdr, &info); in nvbios_outp_entry()
[all …]
DM0205.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_M0205Te() argument
39 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_M0205Te()
40 switch (*ver) { in nvbios_M0205Te()
59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz, in nvbios_M0205Tp() argument
62 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, snr, ssz); in nvbios_M0205Tp()
64 switch (!!data * *ver) { in nvbios_M0205Tp()
76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0205Ee() argument
79 u32 data = nvbios_M0205Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0205Ee()
92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0205Ep() argument
95 u32 data = nvbios_M0205Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0205Ep()
[all …]
Dperf.c30 nvbios_perf_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, in nvbios_perf_table() argument
40 *ver = nvbios_rd08(bios, perf + 0); in nvbios_perf_table()
42 if (*ver >= 0x40 && *ver < 0x41) { in nvbios_perf_table()
49 if (*ver >= 0x20 && *ver < 0x40) { in nvbios_perf_table()
65 *ver = nvbios_rd08(bios, perf + 1); in nvbios_perf_table()
80 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_perf_entry() argument
83 u16 perf = nvbios_perf_table(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_perf_entry()
96 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_perfE *info) in nvbios_perfEp() argument
98 u16 perf = nvbios_perf_entry(bios, idx, ver, hdr, cnt, len); in nvbios_perfEp()
101 switch (!!perf * *ver) { in nvbios_perfEp()
[all …]
DM0203.c29 nvbios_M0203Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0203Te() argument
38 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_M0203Te()
39 switch (*ver) { in nvbios_M0203Te()
55 nvbios_M0203Tp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0203Tp() argument
58 u32 data = nvbios_M0203Te(bios, ver, hdr, cnt, len); in nvbios_M0203Tp()
60 switch (!!data * *ver) { in nvbios_M0203Tp()
72 nvbios_M0203Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_M0203Ee() argument
75 u32 data = nvbios_M0203Te(bios, ver, hdr, &cnt, &len); in nvbios_M0203Ee()
85 nvbios_M0203Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_M0203Ep() argument
88 u32 data = nvbios_M0203Ee(bios, idx, ver, hdr); in nvbios_M0203Ep()
[all …]
DP0260.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) in nvbios_P0260Te() argument
39 *ver = nvbios_rd08(bios, data + 0); in nvbios_P0260Te()
40 switch (*ver) { in nvbios_P0260Te()
58 nvbios_P0260Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_P0260Ee() argument
61 u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, len, &xnr, &xsz); in nvbios_P0260Ee()
68 nvbios_P0260Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, in nvbios_P0260Ep() argument
71 u32 data = nvbios_P0260Ee(bios, idx, ver, len); in nvbios_P0260Ep()
73 switch (!!data * *ver) { in nvbios_P0260Ep()
84 nvbios_P0260Xe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *xsz) in nvbios_P0260Xe() argument
87 u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, &len, &xnr, xsz); in nvbios_P0260Xe()
[all …]
Ddcb.c28 dcb_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_table() argument
41 *ver = nvbios_rd08(bios, dcb); in dcb_table()
43 if (*ver >= 0x42) { in dcb_table()
44 nvkm_warn(subdev, "DCB version 0x%02x unknown\n", *ver); in dcb_table()
47 if (*ver >= 0x30) { in dcb_table()
55 if (*ver >= 0x20) { in dcb_table()
64 if (*ver >= 0x15) { in dcb_table()
99 dcb_outp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) in dcb_outp() argument
102 u16 dcb = dcb_table(bios, ver, &hdr, &cnt, len); in dcb_outp()
121 dcb_outp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, in dcb_outp_parse() argument
[all …]
Di2c.c29 dcb_i2c_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_i2c_table() argument
32 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_i2c_table()
34 if (*ver >= 0x15) in dcb_i2c_table()
36 if (*ver >= 0x30) in dcb_i2c_table()
40 if (i2c && *ver >= 0x42) { in dcb_i2c_table()
41 nvkm_warn(&bios->subdev, "ccb %02x not supported\n", *ver); in dcb_i2c_table()
45 if (i2c && *ver >= 0x30) { in dcb_i2c_table()
46 *ver = nvbios_rd08(bios, i2c + 0); in dcb_i2c_table()
51 *ver = *ver; /* use DCB version */ in dcb_i2c_table()
61 dcb_i2c_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) in dcb_i2c_entry() argument
[all …]
Dconn.c29 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_connTe() argument
31 u32 dcb = dcb_table(bios, ver, hdr, cnt, len); in nvbios_connTe()
32 if (dcb && *ver >= 0x30 && *hdr >= 0x16) { in nvbios_connTe()
35 *ver = nvbios_rd08(bios, data + 0); in nvbios_connTe()
46 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_connTp() argument
49 u32 data = nvbios_connTe(bios, ver, hdr, cnt, len); in nvbios_connTp()
51 switch (!!data * *ver) { in nvbios_connTp()
62 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) in nvbios_connEe() argument
65 u32 data = nvbios_connTe(bios, ver, &hdr, &cnt, len); in nvbios_connEe()
72 nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, in nvbios_connEp() argument
[all …]
Dcstep.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz) in nvbios_cstepTe() argument
40 *ver = nvbios_rd08(bios, cstep + 0); in nvbios_cstepTe()
41 switch (*ver) { in nvbios_cstepTe()
59 nvbios_cstepEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_cstepEe() argument
62 u16 data = nvbios_cstepTe(bios, ver, hdr, &cnt, &len, &xnr, &xsz); in nvbios_cstepEe()
72 nvbios_cstepEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_cstepEp() argument
75 u16 data = nvbios_cstepEe(bios, idx, ver, hdr); in nvbios_cstepEp()
85 nvbios_cstepEm(struct nvkm_bios *bios, u8 pstate, u8 *ver, u8 *hdr, in nvbios_cstepEm() argument
89 while ((data = nvbios_cstepEp(bios, idx++, ver, hdr, info))) { in nvbios_cstepEm()
97 nvbios_cstepXe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_cstepXe() argument
[all …]
DM0209.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_M0209Te() argument
39 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_M0209Te()
40 switch (*ver) { in nvbios_M0209Te()
59 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0209Ee() argument
62 u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0209Ee()
75 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *info) in nvbios_M0209Ep() argument
77 u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0209Ep()
79 switch (!!data * *ver) { in nvbios_M0209Ep()
95 nvbios_M0209Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) in nvbios_M0209Se() argument
99 u32 data = nvbios_M0209Ee(bios, ent, ver, hdr, &cnt, &len); in nvbios_M0209Se()
[all …]
Dvmap.c29 nvbios_vmap_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_vmap_table() argument
38 *ver = nvbios_rd08(bios, vmap + 0); in nvbios_vmap_table()
39 switch (*ver) { in nvbios_vmap_table()
57 nvbios_vmap_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_vmap_parse() argument
60 u16 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); in nvbios_vmap_parse()
62 switch (!!vmap * *ver) { in nvbios_vmap_parse()
71 nvbios_vmap_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_vmap_entry() argument
74 u16 vmap = nvbios_vmap_table(bios, ver, &hdr, &cnt, len); in nvbios_vmap_entry()
83 nvbios_vmap_entry_parse(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, in nvbios_vmap_entry_parse() argument
86 u16 vmap = nvbios_vmap_entry(bios, idx, ver, len); in nvbios_vmap_entry_parse()
[all …]
Dboost.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz) in nvbios_boostTe() argument
40 *ver = nvbios_rd08(bios, boost + 0); in nvbios_boostTe()
41 switch (*ver) { in nvbios_boostTe()
60 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_boostEe() argument
63 u16 data = nvbios_boostTe(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_boostEe()
76 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEp() argument
78 u16 data = nvbios_boostEe(bios, idx, ver, hdr, cnt, len); in nvbios_boostEp()
90 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_boostE *info) in nvbios_boostEm() argument
93 while ((data = nvbios_boostEp(bios, idx++, ver, hdr, cnt, len, info))) { in nvbios_boostEm()
102 u16 data, u8 *ver, u8 *hdr, u8 cnt, u8 len) in nvbios_boostSe() argument
[all …]
Dxpio.c29 dcb_xpiod_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_xpiod_table() argument
31 u16 data = dcb_gpio_table(bios, ver, hdr, cnt, len); in dcb_xpiod_table()
32 if (data && *ver >= 0x40 && *hdr >= 0x06) { in dcb_xpiod_table()
35 *ver = nvbios_rd08(bios, data + 0x00); in dcb_xpiod_table()
47 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_xpio_table() argument
49 u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); in dcb_xpio_table()
53 *ver = nvbios_rd08(bios, data + 0x00); in dcb_xpio_table()
65 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_xpio *info) in dcb_xpio_parse() argument
67 u16 data = dcb_xpio_table(bios, idx, ver, hdr, cnt, len); in dcb_xpio_parse()
Diccsense.c29 nvbios_iccsense_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, in nvbios_iccsense_table() argument
43 *ver = nvbios_rd08(bios, iccsense + 0); in nvbios_iccsense_table()
44 switch (*ver) { in nvbios_iccsense_table()
62 u8 ver, hdr, cnt, len, i; in nvbios_iccsense_parse() local
65 table = nvbios_iccsense_table(bios, &ver, &hdr, &cnt, &len); in nvbios_iccsense_parse()
69 if (ver != 0x10 && ver != 0x20) { in nvbios_iccsense_parse()
70 nvkm_error(subdev, "ICCSENSE version 0x%02x unknown\n", ver); in nvbios_iccsense_parse()
83 switch(ver) { in nvbios_iccsense_parse()
Dvolt.c29 nvbios_volt_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_volt_table() argument
42 *ver = nvbios_rd08(bios, volt + 0); in nvbios_volt_table()
43 switch (*ver) { in nvbios_volt_table()
69 nvbios_volt_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_volt_parse() argument
72 u16 volt = nvbios_volt_table(bios, ver, hdr, cnt, len); in nvbios_volt_parse()
74 switch (!!volt * *ver) { in nvbios_volt_parse()
117 nvbios_volt_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_volt_entry() argument
120 u16 volt = nvbios_volt_table(bios, ver, &hdr, &cnt, len); in nvbios_volt_entry()
129 nvbios_volt_entry_parse(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, in nvbios_volt_entry_parse() argument
132 u16 volt = nvbios_volt_entry(bios, idx, ver, len); in nvbios_volt_entry_parse()
[all …]
Dpmu.c30 nvbios_pmuTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_pmuTe() argument
39 *ver = nvbios_rd08(bios, data + 0x00); /* maybe? */ in nvbios_pmuTe()
50 nvbios_pmuEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_pmuEe() argument
53 u32 data = nvbios_pmuTe(bios, ver, hdr, &cnt, &len); in nvbios_pmuEe()
63 nvbios_pmuEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_pmuEp() argument
66 u32 data = nvbios_pmuEe(bios, idx, ver, hdr); in nvbios_pmuEp()
68 switch (!!data * *ver) { in nvbios_pmuEp()
81 u8 ver, hdr, idx = 0; in nvbios_pmuRm() local
84 while ((data = nvbios_pmuEp(bios, idx++, &ver, &hdr, &pmuE))) { in nvbios_pmuRm()
Dextdev.c29 extdev_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) in extdev_table() argument
42 *ver = nvbios_rd08(bios, extdev + 0); in extdev_table()
50 nvbios_extdev_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_extdev_entry() argument
53 u16 extdev = extdev_table(bios, ver, &hdr, len, &cnt); in nvbios_extdev_entry()
72 u8 ver, len; in nvbios_extdev_parse() local
75 if (!(entry = nvbios_extdev_entry(bios, idx, &ver, &len))) in nvbios_extdev_parse()
86 u8 ver, len, i; in nvbios_extdev_find() local
90 while ((entry = nvbios_extdev_entry(bios, i++, &ver, &len))) { in nvbios_extdev_find()
Drammap.c29 nvbios_rammapTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, in nvbios_rammapTe() argument
40 *ver = nvbios_rd08(bios, rammap + 0); in nvbios_rammapTe()
41 switch (*ver) { in nvbios_rammapTe()
61 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_rammapEe() argument
64 u32 rammap = nvbios_rammapTe(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_rammapEe()
92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *p) in nvbios_rammapEp() argument
94 u32 data = nvbios_rammapEe(bios, idx, ver, hdr, cnt, len), temp; in nvbios_rammapEp()
96 p->rammap_ver = *ver; in nvbios_rammapEp()
98 switch (!!data * *ver) { in nvbios_rammapEp()
134 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *info) in nvbios_rammapEm() argument
[all …]
/drivers/bluetooth/
Dhci_ag6xx.c170 struct intel_version ver; in ag6xx_setup() local
184 err = btintel_read_version(hdev, &ver); in ag6xx_setup()
188 btintel_version_info(hdev, &ver); in ag6xx_setup()
193 if (ver.hw_platform != 0x37) { in ag6xx_setup()
195 ver.hw_platform); in ag6xx_setup()
202 if (ver.hw_variant != 0x0a) { in ag6xx_setup()
204 ver.hw_variant); in ag6xx_setup()
209 ver.hw_platform, ver.hw_variant); in ag6xx_setup()
236 if (ver.fw_patch_num) { in ag6xx_setup()
238 ver.fw_patch_num); in ag6xx_setup()
[all …]
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Ddisp.h4 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub);
10 u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub);
11 u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub,
21 u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
23 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *);
25 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *);
34 u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
36 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *);
38 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ocfg *);
/drivers/misc/mei/
Dbus-fixup.c149 struct mei_nfc_if_version *ver) in mei_nfc_if_version() argument
187 memcpy(ver, reply->data, sizeof(struct mei_nfc_if_version)); in mei_nfc_if_version()
190 ver->fw_ivn, ver->vendor_id, ver->radio_type); in mei_nfc_if_version()
204 static const char *mei_nfc_radio_name(struct mei_nfc_if_version *ver) in mei_nfc_radio_name() argument
207 if (ver->vendor_id == MEI_NFC_VENDOR_INSIDE) { in mei_nfc_radio_name()
208 if (ver->radio_type == MEI_NFC_VENDOR_INSIDE_UREAD) in mei_nfc_radio_name()
212 if (ver->vendor_id == MEI_NFC_VENDOR_NXP) { in mei_nfc_radio_name()
213 if (ver->radio_type == MEI_NFC_VENDOR_NXP_PN544) in mei_nfc_radio_name()
232 struct mei_nfc_if_version ver; in mei_nfc() local
266 ret = mei_nfc_if_version(cl, &ver); in mei_nfc()
[all …]
/drivers/usb/host/
Dfsl-mph-dr-of.c131 enum fsl_usb2_controller_ver ver = FSL_USB_VER_NONE; in usb_get_ver_info() local
142 ver = FSL_USB_VER_1_6; in usb_get_ver_info()
144 ver = FSL_USB_VER_2_2; in usb_get_ver_info()
146 ver = FSL_USB_VER_2_4; in usb_get_ver_info()
148 ver = FSL_USB_VER_2_5; in usb_get_ver_info()
150 ver = FSL_USB_VER_OLD; in usb_get_ver_info()
152 if (ver > FSL_USB_VER_NONE) in usb_get_ver_info()
153 return ver; in usb_get_ver_info()
161 ver = FSL_USB_VER_1_6; in usb_get_ver_info()
163 ver = FSL_USB_VER_2_2; in usb_get_ver_info()
[all …]

12345678910