• Home
  • Raw
  • Download

Lines Matching refs:bios

30 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()
36 data = nvbios_rd16(bios, dcb + 0x0a); in dcb_gpio_table()
38 if (*ver >= 0x22 && nvbios_rd08(bios, dcb - 1) >= 0x13) in dcb_gpio_table()
39 data = nvbios_rd16(bios, dcb - 0x0f); in dcb_gpio_table()
42 *ver = nvbios_rd08(bios, data + 0x00); in dcb_gpio_table()
45 *cnt = nvbios_rd08(bios, data + 0x02); in dcb_gpio_table()
46 *len = nvbios_rd08(bios, data + 0x01); in dcb_gpio_table()
49 *hdr = nvbios_rd08(bios, data + 0x01); in dcb_gpio_table()
50 *cnt = nvbios_rd08(bios, data + 0x02); in dcb_gpio_table()
51 *len = nvbios_rd08(bios, data + 0x03); 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()
69 gpio = dcb_xpio_table(bios, idx, &xver, &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
81 u16 data = dcb_gpio_entry(bios, idx, ent, ver, len); in dcb_gpio_parse()
84 u16 info = nvbios_rd16(bios, data); in dcb_gpio_parse()
94 u32 info = nvbios_rd32(bios, data); in dcb_gpio_parse()
103 u32 info = nvbios_rd32(bios, data + 0); in dcb_gpio_parse()
104 u8 info1 = nvbios_rd32(bios, data + 4); in dcb_gpio_parse()
119 dcb_gpio_match(struct nvkm_bios *bios, int idx, u8 func, u8 line, in dcb_gpio_match() argument
125 while ((data = dcb_gpio_parse(bios, idx, i++, ver, len, gpio))) { in dcb_gpio_match()
132 if ((data = dcb_table(bios, ver, &hdr, &cnt, len))) { in dcb_gpio_match()
134 u8 conf = nvbios_rd08(bios, data - 5); in dcb_gpio_match()
135 u8 addr = nvbios_rd08(bios, data - 4); in dcb_gpio_match()