/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gm204.c | 259 int gpc, tpc, ppc, rop; in gm204_gr_init() local 288 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gm204_gr_init() 290 gpc = (gpc + 1) % priv->gpc_nr; in gm204_gr_init() 291 } while (!tpcnr[gpc]); in gm204_gr_init() 292 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_gr_init() 302 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gm204_gr_init() 303 nv_wr32(priv, GPC_UNIT(gpc, 0x0914), in gm204_gr_init() 304 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gm204_gr_init() 305 nv_wr32(priv, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gm204_gr_init() 307 nv_wr32(priv, GPC_UNIT(gpc, 0x0918), magicgpc918); in gm204_gr_init() [all …]
|
D | gk104.c | 204 int gpc, tpc, rop; in gk104_gr_init() local 229 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gk104_gr_init() 231 gpc = (gpc + 1) % priv->gpc_nr; in gk104_gr_init() 232 } while (!tpcnr[gpc]); in gk104_gr_init() 233 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gk104_gr_init() 243 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gk104_gr_init() 244 nv_wr32(priv, GPC_UNIT(gpc, 0x0914), in gk104_gr_init() 245 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gk104_gr_init() 246 nv_wr32(priv, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gk104_gr_init() 248 nv_wr32(priv, GPC_UNIT(gpc, 0x0918), magicgpc918); in gk104_gr_init() [all …]
|
D | gm107.c | 330 int gpc, tpc, ppc, rop; in gm107_gr_init() local 351 for (i = 0, gpc = -1; i < priv->tpc_total; i++) { in gm107_gr_init() 353 gpc = (gpc + 1) % priv->gpc_nr; in gm107_gr_init() 354 } while (!tpcnr[gpc]); in gm107_gr_init() 355 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm107_gr_init() 365 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gm107_gr_init() 366 nv_wr32(priv, GPC_UNIT(gpc, 0x0914), in gm107_gr_init() 367 priv->magic_not_rop_nr << 8 | priv->tpc_nr[gpc]); in gm107_gr_init() 368 nv_wr32(priv, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gm107_gr_init() 370 nv_wr32(priv, GPC_UNIT(gpc, 0x0918), magicgpc918); in gm107_gr_init() [all …]
|
D | ctxgf100.c | 1063 int gpc, tpc; in gf100_grctx_generate_attrib() local 1070 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gf100_grctx_generate_attrib() 1071 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib() 1072 const u32 o = TPC_UNIT(gpc, tpc, 0x0520); in gf100_grctx_generate_attrib() 1088 int gpc, tpc, id; in gf100_grctx_generate_tpcid() local 1091 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gf100_grctx_generate_tpcid() 1092 if (tpc < priv->tpc_nr[gpc]) { in gf100_grctx_generate_tpcid() 1093 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x698), id); in gf100_grctx_generate_tpcid() 1094 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x4e8), id); in gf100_grctx_generate_tpcid() 1095 nv_wr32(priv, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gf100_grctx_generate_tpcid() [all …]
|
D | ctxgm107.c | 909 int gpc, ppc, n = 0; in gm107_grctx_generate_attrib() local 917 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gm107_grctx_generate_attrib() 918 for (ppc = 0; ppc < priv->ppc_nr[gpc]; ppc++, n++) { in gm107_grctx_generate_attrib() 919 const u32 as = alpha * priv->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 920 const u32 bs = attrib * priv->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 922 const u32 o = PPC_UNIT(gpc, ppc, 0); in gm107_grctx_generate_attrib() 925 bo += impl->attrib_nr_max * priv->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 928 ao += impl->alpha_nr_max * priv->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 937 int gpc, tpc, id; in gm107_grctx_generate_tpcid() local 940 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gm107_grctx_generate_tpcid() [all …]
|
D | ctxgm204.c | 924 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local 927 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gm204_grctx_generate_tpcid() 928 if (tpc < priv->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid() 929 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x698), id); in gm204_grctx_generate_tpcid() 930 nv_wr32(priv, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gm204_grctx_generate_tpcid() 931 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x088), id); in gm204_grctx_generate_tpcid() 953 int tpc, gpc, i; in gm204_grctx_generate_405b60() local 961 for (gpc = -1, i = 0; i < priv->tpc_total; i++) { in gm204_grctx_generate_405b60() 963 gpc = (gpc + 1) % priv->gpc_nr; in gm204_grctx_generate_405b60() 964 } while(!tpcnr[gpc]); in gm204_grctx_generate_405b60() [all …]
|
D | gf100.c | 773 gf100_gr_trap_gpc_rop(struct gf100_gr_priv *priv, int gpc) in gf100_gr_trap_gpc_rop() argument 778 trap[0] = nv_rd32(priv, GPC_UNIT(gpc, 0x0420)); in gf100_gr_trap_gpc_rop() 779 trap[1] = nv_rd32(priv, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop() 780 trap[2] = nv_rd32(priv, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop() 781 trap[3] = nv_rd32(priv, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop() 783 nv_error(priv, "GPC%d/PROP trap:", gpc); in gf100_gr_trap_gpc_rop() 795 nv_wr32(priv, GPC_UNIT(gpc, 0x0420), 0xc0000000); in gf100_gr_trap_gpc_rop() 838 gf100_gr_trap_mp(struct gf100_gr_priv *priv, int gpc, int tpc) in gf100_gr_trap_mp() argument 840 u32 werr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x648)); in gf100_gr_trap_mp() 841 u32 gerr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x650)); in gf100_gr_trap_mp() [all …]
|
D | ctxgf117.c | 197 int gpc, ppc; in gf117_grctx_generate_attrib() local 204 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gf117_grctx_generate_attrib() 205 for (ppc = 0; ppc < priv->ppc_nr[gpc]; ppc++) { in gf117_grctx_generate_attrib() 206 const u32 a = alpha * priv->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 207 const u32 b = beta * priv->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 209 const u32 o = PPC_UNIT(gpc, ppc, 0); in gf117_grctx_generate_attrib() 212 bo += impl->attrib_nr_max * priv->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 214 ao += impl->alpha_nr_max * priv->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 228 gf100_gr_mmio(priv, oclass->gpc); in gf117_grctx_generate_main() 269 .gpc = gf117_grctx_pack_gpc,
|
D | ctxgf108.c | 745 int gpc, tpc; in gf108_grctx_generate_attrib() local 752 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { in gf108_grctx_generate_attrib() 753 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf108_grctx_generate_attrib() 757 const u32 o = TPC_UNIT(gpc, tpc, 0x500); in gf108_grctx_generate_attrib() 792 .gpc = gf108_grctx_pack_gpc,
|
D | ctxgk104.c | 891 int gpc, tpc, i; in gk104_grctx_generate_r418bb8() local 896 gpc = -1; in gk104_grctx_generate_r418bb8() 899 gpc = (gpc + 1) % priv->gpc_nr; in gk104_grctx_generate_r418bb8() 900 } while (!tpcnr[gpc]); in gk104_grctx_generate_r418bb8() 901 tpcnr[gpc]--; in gk104_grctx_generate_r418bb8() 903 data[tpc / 6] |= gpc << ((tpc % 6) * 5); in gk104_grctx_generate_r418bb8() 960 gf100_gr_mmio(priv, oclass->gpc); in gk104_grctx_generate_main() 1007 .gpc = gk104_grctx_pack_gpc,
|
D | ctxgk20a.c | 45 .gpc = gk104_grctx_pack_gpc,
|
D | ctxgk110b.c | 86 .gpc = gk110_grctx_pack_gpc,
|
D | ctxgf104.c | 96 .gpc = gf100_grctx_pack_gpc,
|
D | ctxgm206.c | 66 .gpc = gm206_grctx_pack_gpc,
|
D | ctxgf110.c | 347 .gpc = gf110_grctx_pack_gpc,
|
D | ctxgf119.c | 515 .gpc = gf119_grctx_pack_gpc,
|
D | ctxgk208.c | 547 .gpc = gk208_grctx_pack_gpc,
|
D | ctxgk110.c | 825 .gpc = gk110_grctx_pack_gpc,
|
D | ctxgf100.h | 30 const struct gf100_gr_pack *gpc; member
|
/linux-4.1.27/Documentation/devicetree/bindings/power/ |
D | fsl,imx-gpc.txt | 9 - compatible: Should be "fsl,imx6q-gpc" or "fsl,imx6sl-gpc" 18 The gpc node is a power-controller as documented by the generic power domain 23 gpc: gpc@020dc000 { 24 compatible = "fsl,imx6q-gpc"; 43 that is a phandle pointing to the gpc device node and a DOMAIN_INDEX specifying 51 power-domains = <&gpc 1>;
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | s3c64xx-pinctrl.dtsi | 38 gpc: gpc { label 219 samsung,pins = "gpc-0", "gpc-1", "gpc-2"; 225 samsung,pins = "gpc-3"; 231 samsung,pins = "gpc-4", "gpc-5", "gpc-6"; 237 samsung,pins = "gpc-7"; 310 samsung,pins = "gpc-4"; 316 samsung,pins = "gpc-5"; 359 samsung,pins = "gpc-4", "gpc-5", "gpc-6", "gph-6",
|
D | s3c2416-pinctrl.dtsi | 26 gpc: gpc { label
|
D | imx6qdl.dtsi | 86 interrupt-parent = <&gpc>; 156 interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 157 <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 158 <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 159 <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 699 gpc: gpc@020dc000 { label 700 compatible = "fsl,imx6q-gpc";
|
D | imx6sl.dtsi | 99 interrupt-parent = <&gpc>; 604 gpc: gpc@020dc000 { label 605 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
|
D | imx6sx.dtsi | 135 interrupt-parent = <&gpc>; 701 gpc: gpc@020dc000 { label 702 compatible = "fsl,imx6sx-gpc", "fsl,imx6q-gpc";
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
D | gpio-core.h | 84 static inline struct samsung_gpio_chip *to_samsung_gpio(struct gpio_chip *gpc) in to_samsung_gpio() argument 86 return container_of(gpc, struct samsung_gpio_chip, chip); in to_samsung_gpio()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | gpcgf100.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgf117.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgk208.fuc5 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgk104.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgm107.fuc5 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgk110.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
/linux-4.1.27/Documentation/RCU/ |
D | trace.txt | 399 0!np=26111 qsp=29 rpq=5386 cbr=1 cng=570 gpc=3674 gps=577 nn=15903 ndw=0 400 1!np=28913 qsp=35 rpq=6097 cbr=1 cng=448 gpc=3700 gps=554 nn=18113 ndw=0 401 2!np=32740 qsp=37 rpq=6202 cbr=0 cng=476 gpc=4627 gps=546 nn=20889 ndw=0 402 3 np=23679 qsp=22 rpq=5044 cbr=1 cng=415 gpc=3403 gps=347 nn=14469 ndw=0 403 4!np=30714 qsp=4 rpq=5574 cbr=0 cng=528 gpc=3931 gps=639 nn=20042 ndw=0 404 5 np=28910 qsp=2 rpq=5246 cbr=0 cng=428 gpc=4105 gps=709 nn=18422 ndw=0 405 6!np=38648 qsp=5 rpq=7076 cbr=0 cng=840 gpc=4072 gps=961 nn=25699 ndw=0 406 7 np=37275 qsp=2 rpq=6873 cbr=0 cng=868 gpc=3416 gps=971 nn=25147 ndw=0 429 o "gpc" is the number of times that an old grace period had
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-lpc32xx.c | 169 struct gpio_chip *gpc) in to_lpc32xx_gpio() argument 171 return container_of(gpc, struct lpc32xx_gpio_chip, chip); in to_lpc32xx_gpio()
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | Makefile | 82 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.c | 603 u32 gpc = (stat & 0x1f000000) >> 24; in gf100_fifo_intr_fault() local 646 snprintf(gpcid, sizeof(gpcid), "%d", gpc); in gf100_fifo_intr_fault()
|
D | gk104.c | 717 u32 gpc = (stat & 0x1f000000) >> 24; in gk104_fifo_intr_fault() local 760 snprintf(gpcid, sizeof(gpcid), "%d", gpc); in gk104_fifo_intr_fault()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6495 u32 gpc; in ixgbe_check_for_bad_vf() local 6502 gpc = IXGBE_READ_REG(hw, IXGBE_TXDGPC); in ixgbe_check_for_bad_vf() 6503 if (gpc) /* If incrementing then no need for the check below */ in ixgbe_check_for_bad_vf()
|