/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gm204.c | 245 int gpc, tpc, ppc, rop; in gm204_gr_init() local 269 for (i = 0, gpc = -1; i < gr->tpc_total; i++) { in gm204_gr_init() 271 gpc = (gpc + 1) % gr->gpc_nr; in gm204_gr_init() 272 } while (!tpcnr[gpc]); in gm204_gr_init() 273 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_gr_init() 283 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm204_gr_init() 284 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gm204_gr_init() 285 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gm204_gr_init() 286 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gm204_gr_init() 288 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gm204_gr_init() [all …]
|
D | gk104.c | 187 int gpc, tpc, rop; in gk104_gr_init() local 205 for (i = 0, gpc = -1; i < gr->tpc_total; i++) { in gk104_gr_init() 207 gpc = (gpc + 1) % gr->gpc_nr; in gk104_gr_init() 208 } while (!tpcnr[gpc]); in gk104_gr_init() 209 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gk104_gr_init() 219 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gk104_gr_init() 220 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gk104_gr_init() 221 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gk104_gr_init() 222 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gk104_gr_init() 224 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gk104_gr_init() [all …]
|
D | gm107.c | 317 int gpc, tpc, ppc, rop; in gm107_gr_init() local 334 for (i = 0, gpc = -1; i < gr->tpc_total; i++) { in gm107_gr_init() 336 gpc = (gpc + 1) % gr->gpc_nr; in gm107_gr_init() 337 } while (!tpcnr[gpc]); in gm107_gr_init() 338 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm107_gr_init() 348 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm107_gr_init() 349 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gm107_gr_init() 350 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gm107_gr_init() 351 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gm107_gr_init() 353 nvkm_wr32(device, 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 < gr->gpc_nr; gpc++) { in gf100_grctx_generate_attrib() 1071 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib() 1072 const u32 o = TPC_UNIT(gpc, tpc, 0x0520); in gf100_grctx_generate_attrib() 1089 int gpc, tpc, id; in gf100_grctx_generate_tpcid() local 1092 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_tpcid() 1093 if (tpc < gr->tpc_nr[gpc]) { in gf100_grctx_generate_tpcid() 1094 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x698), id); in gf100_grctx_generate_tpcid() 1095 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x4e8), id); in gf100_grctx_generate_tpcid() 1096 nvkm_wr32(device, 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 < gr->gpc_nr; gpc++) { in gm107_grctx_generate_attrib() 918 for (ppc = 0; ppc < gr->ppc_nr[gpc]; ppc++, n++) { in gm107_grctx_generate_attrib() 919 const u32 as = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 920 const u32 bs = attrib * gr->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 += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 928 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gm107_grctx_generate_attrib() 938 int gpc, tpc, id; in gm107_grctx_generate_tpcid() local 941 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm107_grctx_generate_tpcid() [all …]
|
D | ctxgm204.c | 925 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local 928 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gm204_grctx_generate_tpcid() 929 if (tpc < gr->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid() 930 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x698), id); in gm204_grctx_generate_tpcid() 931 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gm204_grctx_generate_tpcid() 932 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x088), id); in gm204_grctx_generate_tpcid() 956 int tpc, gpc, i; in gm204_grctx_generate_405b60() local 964 for (gpc = -1, i = 0; i < gr->tpc_total; i++) { in gm204_grctx_generate_405b60() 966 gpc = (gpc + 1) % gr->gpc_nr; in gm204_grctx_generate_405b60() 967 } while(!tpcnr[gpc]); in gm204_grctx_generate_405b60() [all …]
|
D | ctxgf117.c | 197 int gpc, ppc; in gf117_grctx_generate_attrib() local 204 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf117_grctx_generate_attrib() 205 for (ppc = 0; ppc < gr->ppc_nr[gpc]; ppc++) { in gf117_grctx_generate_attrib() 206 const u32 a = alpha * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 207 const u32 b = beta * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 209 const u32 o = PPC_UNIT(gpc, ppc, 0); in gf117_grctx_generate_attrib() 210 if (!(gr->ppc_mask[gpc] & (1 << ppc))) in gf117_grctx_generate_attrib() 214 bo += grctx->attrib_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 216 ao += grctx->alpha_nr_max * gr->ppc_tpc_nr[gpc][ppc]; in gf117_grctx_generate_attrib() 231 gf100_gr_mmio(gr, grctx->gpc); in gf117_grctx_generate_main() [all …]
|
D | gf100.c | 855 gf100_gr_trap_gpc_rop(struct gf100_gr *gr, int gpc) in gf100_gr_trap_gpc_rop() argument 862 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop() 863 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop() 864 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop() 865 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop() 871 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop() 873 nvkm_wr32(device, GPC_UNIT(gpc, 0x0420), 0xc0000000); in gf100_gr_trap_gpc_rop() 897 gf100_gr_trap_mp(struct gf100_gr *gr, int gpc, int tpc) in gf100_gr_trap_mp() argument 901 u32 werr = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x648)); in gf100_gr_trap_mp() 902 u32 gerr = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x650)); in gf100_gr_trap_mp() [all …]
|
D | gk20a.c | 189 int gpc, tpc; in gk20a_gr_init() local 218 for (i = 0, gpc = -1; i < gr->tpc_total; i++) { in gk20a_gr_init() 220 gpc = (gpc + 1) % gr->gpc_nr; in gk20a_gr_init() 221 } while (!tpcnr[gpc]); in gk20a_gr_init() 222 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gk20a_gr_init() 232 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gk20a_gr_init() 233 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in gk20a_gr_init() 234 gr->magic_not_rop_nr << 8 | gr->tpc_nr[gpc]); in gk20a_gr_init() 235 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in gk20a_gr_init() 237 nvkm_wr32(device, GPC_UNIT(gpc, 0x0918), magicgpc918); in gk20a_gr_init()
|
D | ctxgf108.c | 745 int gpc, tpc; in gf108_grctx_generate_attrib() local 752 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf108_grctx_generate_attrib() 753 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf108_grctx_generate_attrib() 757 const u32 o = TPC_UNIT(gpc, tpc, 0x500); in gf108_grctx_generate_attrib() 784 .gpc = gf108_grctx_pack_gpc,
|
D | ctxgk104.c | 893 int gpc, tpc, i; in gk104_grctx_generate_r418bb8() local 898 gpc = -1; in gk104_grctx_generate_r418bb8() 901 gpc = (gpc + 1) % gr->gpc_nr; in gk104_grctx_generate_r418bb8() 902 } while (!tpcnr[gpc]); in gk104_grctx_generate_r418bb8() 903 tpcnr[gpc]--; in gk104_grctx_generate_r418bb8() 905 data[tpc / 6] |= gpc << ((tpc % 6) * 5); in gk104_grctx_generate_r418bb8() 964 gf100_gr_mmio(gr, grctx->gpc); in gk104_grctx_generate_main() 1002 .gpc = gk104_grctx_pack_gpc,
|
D | ctxgk110b.c | 77 .gpc = gk110_grctx_pack_gpc,
|
D | ctxgf104.c | 87 .gpc = gf100_grctx_pack_gpc,
|
D | ctxgm206.c | 57 .gpc = gm206_grctx_pack_gpc,
|
D | ctxgf110.c | 338 .gpc = gf110_grctx_pack_gpc,
|
D | ctxgf119.c | 506 .gpc = gf119_grctx_pack_gpc,
|
D | ctxgk208.c | 538 .gpc = gk208_grctx_pack_gpc,
|
D | ctxgk110.c | 816 .gpc = gk110_grctx_pack_gpc,
|
D | ctxgf100.h | 29 const struct gf100_gr_pack *gpc; member
|
/linux-4.4.14/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.4.14/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>; 184 interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 185 <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 186 <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 187 <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 405 power-domains = <&gpc 1>; 760 gpc: gpc@020dc000 { label 761 compatible = "fsl,imx6q-gpc";
|
D | imx6ul.dtsi | 129 interrupt-parent = <&gpc>; 467 gpc: gpc@020dc000 { label 468 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
|
D | imx6sl.dtsi | 99 interrupt-parent = <&gpc>; 621 gpc: gpc@020dc000 { label 622 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
|
D | imx6sx.dtsi | 136 interrupt-parent = <&gpc>; 711 gpc: gpc@020dc000 { label 712 compatible = "fsl,imx6sx-gpc", "fsl,imx6q-gpc";
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | gpcgk208.fuc5 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgk110.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgf100.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgm107.fuc5 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgf117.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
D | gpcgk104.fuc3 | 33 #include "gpc.fuc" 40 #include "gpc.fuc"
|
/linux-4.4.14/Documentation/RCU/ |
D | trace.txt | 383 0!np=26111 qsp=29 rpq=5386 cbr=1 cng=570 gpc=3674 gps=577 nn=15903 ndw=0 384 1!np=28913 qsp=35 rpq=6097 cbr=1 cng=448 gpc=3700 gps=554 nn=18113 ndw=0 385 2!np=32740 qsp=37 rpq=6202 cbr=0 cng=476 gpc=4627 gps=546 nn=20889 ndw=0 386 3 np=23679 qsp=22 rpq=5044 cbr=1 cng=415 gpc=3403 gps=347 nn=14469 ndw=0 387 4!np=30714 qsp=4 rpq=5574 cbr=0 cng=528 gpc=3931 gps=639 nn=20042 ndw=0 388 5 np=28910 qsp=2 rpq=5246 cbr=0 cng=428 gpc=4105 gps=709 nn=18422 ndw=0 389 6!np=38648 qsp=5 rpq=7076 cbr=0 cng=840 gpc=4072 gps=961 nn=25699 ndw=0 390 7 np=37275 qsp=2 rpq=6873 cbr=0 cng=868 gpc=3416 gps=971 nn=25147 ndw=0 413 o "gpc" is the number of times that an old grace period had
|
/linux-4.4.14/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.4.14/arch/arm/mach-imx/ |
D | Makefile | 75 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.c | 297 u32 gpc = (stat & 0x1f000000) >> 24; in gf100_fifo_intr_fault() local 314 snprintf(gpcid, sizeof(gpcid), "GPC%d/", gpc); in gf100_fifo_intr_fault()
|
D | gk104.c | 362 u32 gpc = (stat & 0x1f000000) >> 24; in gk104_fifo_intr_fault() local 379 snprintf(gpcid, sizeof(gpcid), "GPC%d/", gpc); in gk104_fifo_intr_fault()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 6620 u32 gpc; in ixgbe_check_for_bad_vf() local 6627 gpc = IXGBE_READ_REG(hw, IXGBE_TXDGPC); in ixgbe_check_for_bad_vf() 6628 if (gpc) /* If incrementing then no need for the check below */ in ixgbe_check_for_bad_vf()
|