Searched refs:bios (Results 51 - 75 of 292) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgp100.c26 #include <subdev/bios.h>
27 #include <subdev/bios/init.h>
28 #include <subdev/bios/rammap.h>
35 struct nvkm_bios *bios = device->bios; local
51 data = nvbios_rammapTe(bios, &ver, &hdr, &cnt, &len, &snr, &ssz);
55 cnt = nvbios_rd08(bios, data + 0x14); /* guess at count */
56 data = nvbios_rd32(bios, data + 0x10); /* guess u32... */
62 nvbios_init(subdev, nvbios_rd32(bios, data));
H A Dramgp102.c4 #include <subdev/bios.h>
13 enum nvkm_ram_type type = nvkm_fb_bios_memtype(fb->subdev.device->bios);
H A Dramgk104.c29 #include <subdev/bios.h>
30 #include <subdev/bios/init.h>
31 #include <subdev/bios/M0205.h>
32 #include <subdev/bios/M0209.h>
33 #include <subdev/bios/pll.h>
34 #include <subdev/bios/rammap.h>
35 #include <subdev/bios/timing.h>
211 u8 v0 = next->bios.ramcfg_11_03_c0;
212 u8 v1 = next->bios.ramcfg_11_03_30;
256 int vc = !next->bios
1274 struct nvkm_bios *bios = ram->fb->subdev.device->bios; local
1401 struct nvkm_bios *bios = device->bios; local
1441 struct nvkm_bios *bios = ram->base.fb->subdev.device->bios; local
1526 struct nvkm_bios *bios = device->bios; local
[all...]
H A Dramnv50.c30 #include <subdev/bios.h>
31 #include <subdev/bios/perf.h>
32 #include <subdev/bios/pll.h>
33 #include <subdev/bios/rammap.h>
34 #include <subdev/bios/timing.h>
75 struct nvbios_ramcfg *cfg = &ram->base.target.bios;
97 unkt3b = 0x19 + ram->base.next->bios.rammap_00_16_40;
99 ram->base.next->bios.rammap_00_16_40) << 16 |
154 struct nvbios_ramcfg *cfg = &ram->base.target.bios;
223 struct nvkm_bios *bios local
545 struct nvkm_bios *bios = device->bios; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dtherm.c24 #include <subdev/bios.h>
25 #include <subdev/bios/bit.h>
26 #include <subdev/bios/therm.h>
29 therm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) argument
34 if (!bit_entry(bios, 'P', &bit_P)) {
36 therm = nvbios_rd32(bios, bit_P.offset + 12);
38 therm = nvbios_rd32(bios, bit_P.offset + 16);
40 nvkm_error(&bios->subdev,
49 *ver = nvbios_rd08(bios, therm + 0);
50 *hdr = nvbios_rd08(bios, ther
57 nvbios_therm_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) argument
67 nvbios_therm_sensor_parse(struct nvkm_bios *bios, enum nvbios_therm_domain domain, struct nvbios_therm_sensor *sensor) argument
153 nvbios_therm_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan) argument
[all...]
H A Dshadowrom.c28 nvbios_prom_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
34 *(u32 *)&bios->data[i] = nvkm_rd32(device, 0x300000 + i);
48 nvbios_prom_init(struct nvkm_bios *bios, const char *name) argument
50 struct nvkm_device *device = bios->subdev.device;
H A Dshadowacpi.c26 acpi_read_bios(acpi_handle rom_handle, u8 *bios, u32 offset, u32 length) argument
51 memcpy(bios+offset, obj->buffer.pointer, length);
64 acpi_read_fast(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
70 if (nvbios_extend(bios, limit) >= 0) {
71 int ret = acpi_read_bios(data, bios->data, start, fetch);
80 * but only return 4KiB of data. The common bios fetching logic will
85 acpi_read_slow(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
91 if (nvbios_extend(bios, limit) >= 0) {
93 int ret = acpi_read_bios(data, bios->data,
105 acpi_init(struct nvkm_bios *bios, cons argument
[all...]
H A Dshadowramin.c26 struct nvkm_bios *bios; member in struct:priv
31 pramin_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
33 struct nvkm_device *device = bios->subdev.device;
37 *(u32 *)&bios->data[i] = nvkm_rd32(device, 0x700000 + i);
48 struct nvkm_device *device = priv->bios->subdev.device;
55 pramin_init(struct nvkm_bios *bios, const char *name) argument
57 struct nvkm_subdev *subdev = &bios->subdev;
66 /* we can't get the bios image pointer without PDISP */
104 /* modify bar0 PRAMIN window to cover the bios image */
110 priv->bios
[all...]
H A Dshadowof.c34 of_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
39 memcpy_fromio(bios->data + offset, priv->data + offset, length);
53 of_init(struct nvkm_bios *bios, const char *name) argument
55 struct nvkm_device *device = bios->subdev.device;
H A Dshadowpci.c34 pcirom_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) argument
38 memcpy_fromio(bios->data + offset, priv->rom + offset, length);
54 pcirom_init(struct nvkm_bios *bios, const char *name) argument
56 struct nvkm_device *device = bios->subdev.device;
92 platform_init(struct nvkm_bios *bios, const char *name) argument
94 struct nvkm_device *device = bios->subdev.device;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfan.c27 #include <subdev/bios/fan.h>
45 target = max_t(u8, target, fan->bios.min_duty);
46 target = min_t(u8, target, fan->bios.max_duty);
87 u16 bump_period = fan->bios.bump_period;
88 u16 slow_down_period = fan->bios.slow_down_period;
186 therm->fan->bios.pwm_freq = 0;
187 therm->fan->bios.min_duty = 0;
188 therm->fan->bios.max_duty = 100;
189 therm->fan->bios.bump_period = 500;
190 therm->fan->bios
228 struct nvkm_bios *bios = device->bios; local
[all...]
H A Dic.c26 #include <subdev/bios/extdev.h>
86 struct nvkm_bios *bios = device->bios; local
95 if (!nvbios_extdev_find(bios, NVBIOS_EXTDEV_LM89, &extdev_entry)) {
107 if (!nvbios_extdev_find(bios, NVBIOS_EXTDEV_ADT7473, &extdev_entry)) {
119 if (nvbios_extdev_skip_probe(bios))
H A Dfanpwm.c28 #include <subdev/bios.h>
29 #include <subdev/bios/fan.h>
67 if (fan->base.bios.pwm_freq) {
71 divs /= fan->base.bios.pwm_freq;
88 struct nvkm_bios *bios = device->bios; local
93 nvbios_fan_parse(bios, &info);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
H A Dnv50.c26 #include <subdev/bios.h>
27 #include <subdev/bios/conn.h>
28 #include <subdev/bios/dcb.h>
29 #include <subdev/bios/mxm.h>
52 struct nvkm_bios *bios = mxm->subdev.device->bios; local
68 u8 link = mxm_sor_map(bios, ctx->desc.dig_conn);
95 mxm_dcb_sanitise_entry(struct nvkm_bios *bios, void *data, int idx, u16 pdcb) argument
98 struct context ctx = { .outp = (u32 *)(bios->data + pdcb) };
116 i2cidx = mxm_ddc_map(bios, ct
191 struct nvkm_bios *bios = subdev->device->bios; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/include/
H A Dbios_parser_interface.h35 uint8_t *bios; member in struct:bp_init_data
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_bios.c45 * part of the system bios. On boot, the system bios puts a
51 uint8_t __iomem *bios; local
59 rdev->bios = NULL;
61 bios = ioremap(vram_base, size);
62 if (!bios) {
66 if (size == 0 || bios[0] != 0x55 || bios[1] != 0xaa) {
67 iounmap(bios);
70 rdev->bios
82 uint8_t __iomem *bios, val1, val2; local
113 void __iomem *bios; local
158 radeon_atrm_call(acpi_handle atrm_handle, uint8_t *bios, int offset, int len) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv05.c29 #include <subdev/bios.h>
30 #include <subdev/bios/bmp.h>
31 #include <subdev/bios/init.h>
49 struct nvkm_bios *bios = device->bios; local
64 if ((data = bmp_mem_init_table(bios))) {
65 ramcfg[0] = nvbios_rd08(bios, data + 2 * strap + 0);
66 ramcfg[1] = nvbios_rd08(bios, data + 2 * strap + 1);
83 u32 scramble = nvbios_rd32(bios, data);
H A Dgm200.c26 #include <subdev/bios.h>
27 #include <subdev/bios/bit.h>
28 #include <subdev/bios/pmu.h>
36 struct nvkm_bios *bios = device->bios; local
43 nvkm_wr32(device, 0x10a184, nvbios_rd32(bios, img + i));
56 struct nvkm_bios *bios = device->bios; local
61 nvkm_wr32(device, 0x10a1c4, nvbios_rd32(bios, img + i));
87 struct nvkm_bios *bios local
129 struct nvkm_bios *bios = device->bios; local
[all...]
H A Dnv50.c26 #include <subdev/bios.h>
27 #include <subdev/bios/dcb.h>
28 #include <subdev/bios/disp.h>
29 #include <subdev/bios/init.h>
30 #include <subdev/bios/pll.h>
39 struct nvkm_bios *bios = device->bios; local
44 ret = nvbios_pll_parse(bios, type, &info);
124 struct nvkm_bios *bios = device->bios; local
[all...]
H A Dg98.c26 #include <subdev/bios.h>
27 #include <subdev/bios/init.h>
H A Dmcp89.c26 #include <subdev/bios.h>
27 #include <subdev/bios/init.h>
H A Dg84.c26 #include <subdev/bios.h>
27 #include <subdev/bios/init.h>
/linux-master/drivers/char/
H A Dtoshiba.c346 static int tosh_get_machine_id(void __iomem *bios) argument
353 id = (0x100*(int) readb(bios+0xfffe))+((int) readb(bios+0xfffa));
380 cx = readw(bios + address);
382 cx = readw(bios + address);
384 cx = readw(bios + address);
407 void __iomem *bios = ioremap(0xf0000, 0x10000); local
409 if (!bios)
416 if (readb(bios+0xe010+i)!=signature[i]) {
418 iounmap(bios);
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dconn.h31 u32 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
32 u32 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
45 u32 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr);
46 u32 nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr,
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.h6 #include <subdev/bios.h>
7 #include <subdev/bios/conn.h>

Completed in 205 milliseconds

1234567891011>>