Lines Matching full:bios
24 #include <subdev/bios.h>
25 #include <subdev/bios/gpio.h>
26 #include <subdev/bios/xpio.h>
29 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()
33 u16 xpio = nvbios_rd16(bios, data + 0x04); in dcb_xpiod_table()
35 *ver = nvbios_rd08(bios, data + 0x00); in dcb_xpiod_table()
36 *hdr = nvbios_rd08(bios, data + 0x01); in dcb_xpiod_table()
37 *cnt = nvbios_rd08(bios, data + 0x02); in dcb_xpiod_table()
38 *len = nvbios_rd08(bios, data + 0x03); in dcb_xpiod_table()
46 dcb_xpio_table(struct nvkm_bios *bios, u8 idx, in dcb_xpio_table() argument
49 u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); in dcb_xpio_table()
51 u16 xpio = nvbios_rd16(bios, data + *hdr + (idx * *len)); in dcb_xpio_table()
53 *ver = nvbios_rd08(bios, data + 0x00); in dcb_xpio_table()
54 *hdr = nvbios_rd08(bios, data + 0x01); in dcb_xpio_table()
55 *cnt = nvbios_rd08(bios, data + 0x02); in dcb_xpio_table()
56 *len = nvbios_rd08(bios, data + 0x03); in dcb_xpio_table()
64 dcb_xpio_parse(struct nvkm_bios *bios, u8 idx, in dcb_xpio_parse() argument
67 u16 data = dcb_xpio_table(bios, idx, ver, hdr, cnt, len); in dcb_xpio_parse()
69 info->type = nvbios_rd08(bios, data + 0x04); in dcb_xpio_parse()
70 info->addr = nvbios_rd08(bios, data + 0x05); in dcb_xpio_parse()
71 info->flags = nvbios_rd08(bios, data + 0x06); in dcb_xpio_parse()