/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | ramcfg.c | 54 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()
|
D | M0203.c | 93 info->strap = (nvbios_rd08(bios, data + 0x00) & 0xf0) >> 4; in nvbios_M0203Ep() 119 if (info->strap != ramcfg) in nvbios_M0203Em()
|
D | init.c | 1593 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/ |
D | nv05.c | 53 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/ |
D | gpio-ts5500.c | 40 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/ |
D | ramgf100.c | 137 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()
|
D | ramnv50.c | 228 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()
|
D | ramgt215.c | 503 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/ |
D | M0203.h | 20 u8 strap; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.c | 2307 u32 boot0, strap; local 2352 strap = ioread32_native(map + 0x101000); 2476 strap &= 0x00000040; 2478 strap &= 0x00400040; 2480 switch (strap) {
|
/drivers/net/ethernet/intel/e1000e/ |
D | ich8lan.c | 2019 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/ |
D | bnx2.c | 7935 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()
|