Lines Matching refs:cnt
29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument
47 *cnt = nvbios_rd08(bios, data + 0x03); in nvbios_dp_table()
61 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dpout_entry() argument
63 u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpout_entry()
64 if (data && idx < *cnt) { in nvbios_dpout_entry()
72 *cnt = nvbios_rd08(bios, outp + 0x04); in nvbios_dpout_entry()
78 *cnt = 0; in nvbios_dpout_entry()
92 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_parse() argument
95 u16 data = nvbios_dpout_entry(bios, idx, ver, hdr, cnt, len); in nvbios_dpout_parse()
139 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpout_match() argument
143 while ((data = nvbios_dpout_parse(bios, idx++, ver, hdr, cnt, len, info)) || *ver) { in nvbios_dpout_match()
154 u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dpcfg_entry() argument
157 outp = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpcfg_entry()
158 *hdr = *hdr + (*len * * cnt); in nvbios_dpcfg_entry()
160 *cnt = nvbios_rd08(bios, outp + 0x07) * in nvbios_dpcfg_entry()
164 if (idx < *cnt) in nvbios_dpcfg_entry()
172 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpcfg_parse() argument
175 u16 data = nvbios_dpcfg_entry(bios, outp, idx, ver, hdr, cnt, len); in nvbios_dpcfg_parse()
208 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_dpcfg_match() argument
224 ver, hdr, cnt, len))) { in nvbios_dpcfg_match()
231 return nvbios_dpcfg_parse(bios, outp, idx, ver, hdr, cnt, len, info); in nvbios_dpcfg_match()