Home
last modified time | relevance | path

Searched refs:strap (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dramcfg.c54 u8 strap = nvbios_ramcfg_strap(subdev); in nvbios_ramcfg_index() local
69 nvbios_M0203Em(bios, strap, &ver, &hdr, &M0203E)) in nvbios_ramcfg_index()
76 strap = nvbios_rd08(bios, xlat + strap); in nvbios_ramcfg_index()
77 return strap; in nvbios_ramcfg_index()
DM0203.c93 info->strap = (nvbios_rd08(bios, data + 0x00) & 0xf0) >> 4; in nvbios_M0203Ep()
119 if (info->strap != ramcfg) in nvbios_M0203Em()
Dinit.c1593 u32 strap; in init_configure_preinit() local
1604 strap = init_rd32(init, 0x101000); in init_configure_preinit()
1605 strap = ((strap << 2) & 0xf0) | ((strap & 0x40) >> 6); in init_configure_preinit()
1606 init_wrvgai(init, 0x03d4, 0x3c, strap); in init_configure_preinit()
1910 u8 strap = init_ram_restrict(init); in init_ram_restrict_pll() local
1919 if (cconf == strap) { in init_ram_restrict_pll()
/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv05.c53 u8 strap, ramcfg[2]; in nv05_devinit_meminit() local
63 strap = (nvkm_rd32(device, 0x101000) & 0x0000003c) >> 2; in nv05_devinit_meminit()
65 ramcfg[0] = nvbios_rd08(bios, data + 2 * strap + 0); in nv05_devinit_meminit()
66 ramcfg[1] = nvbios_rd08(bios, data + 2 * strap + 1); in nv05_devinit_meminit()
68 ramcfg[0] = default_config_tab[strap][0]; in nv05_devinit_meminit()
69 ramcfg[1] = default_config_tab[strap][1]; in nv05_devinit_meminit()
/drivers/gpio/
Dgpio-ts5500.c40 bool strap; member
281 if (priv->strap) in ts5500_gpio_to_irq()
358 priv->strap = pdata->strap; in ts5500_dio_probe()
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgf100.c137 u8 ver, cnt, len, strap; in gf100_ram_calc() local
156 strap = nvbios_ramcfg_index(subdev); in gf100_ram_calc()
157 if (strap >= cnt) { in gf100_ram_calc()
162 ramcfg.data = rammap.data + rammap.size + (strap * ramcfg.size); in gf100_ram_calc()
169 strap = nvbios_rd08(bios, ramcfg.data + 0x01); in gf100_ram_calc()
170 if (strap != 0xff) { in gf100_ram_calc()
171 timing.data = nvbios_timingEe(bios, strap, &ver, &timing.size, in gf100_ram_calc()
Dramnv50.c228 u8 ver, hdr, cnt, len, strap, size; in nv50_ram_calc() local
254 strap = nvbios_ramcfg_index(subdev); in nv50_ram_calc()
255 if (strap >= cnt) { in nv50_ram_calc()
260 data = nvbios_rammapSp_from_perf(bios, data + hdr, size, strap, in nv50_ram_calc()
274 strap, data, ver, hdr); in nv50_ram_calc()
Dramgt215.c503 u8 ver, hdr, cnt, len, strap; in gt215_ram_calc() local
527 strap = nvbios_ramcfg_index(subdev); in gt215_ram_calc()
528 if (strap >= cnt) { in gt215_ram_calc()
533 data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, strap, in gt215_ram_calc()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
DM0203.h20 u8 strap; member
/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dbase.c2307 u32 boot0, strap; local
2352 strap = ioread32_native(map + 0x101000);
2476 strap &= 0x00000040;
2478 strap &= 0x00400040;
2480 switch (strap) {
/drivers/net/ethernet/intel/e1000e/
Dich8lan.c2019 u32 strap = er32(STRAP); in e1000_write_smbus_addr() local
2020 u32 freq = (strap & E1000_STRAP_SMT_FREQ_MASK) >> in e1000_write_smbus_addr()
2024 strap &= E1000_STRAP_SMBUS_ADDRESS_MASK; in e1000_write_smbus_addr()
2031 phy_data |= (strap >> E1000_STRAP_SMBUS_ADDRESS_SHIFT); in e1000_write_smbus_addr()
/drivers/net/ethernet/broadcom/
Dbnx2.c7935 u32 strap; in bnx2_get_5709_media() local
7945 strap = (val & BNX2_MISC_DUAL_MEDIA_CTRL_PHY_CTRL) >> 21; in bnx2_get_5709_media()
7947 strap = (val & BNX2_MISC_DUAL_MEDIA_CTRL_PHY_CTRL_STRAP) >> 8; in bnx2_get_5709_media()
7950 switch (strap) { in bnx2_get_5709_media()
7958 switch (strap) { in bnx2_get_5709_media()