Home
last modified time | relevance | path

Searched refs:gpc (Results 1 – 38 of 38) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgm204.c259 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 …]
Dgk104.c204 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 …]
Dgm107.c330 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 …]
Dctxgf100.c1063 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 …]
Dctxgm107.c909 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 …]
Dctxgm204.c924 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 …]
Dgf100.c773 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 …]
Dctxgf117.c197 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,
Dctxgf108.c745 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,
Dctxgk104.c891 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,
Dctxgk20a.c45 .gpc = gk104_grctx_pack_gpc,
Dctxgk110b.c86 .gpc = gk110_grctx_pack_gpc,
Dctxgf104.c96 .gpc = gf100_grctx_pack_gpc,
Dctxgm206.c66 .gpc = gm206_grctx_pack_gpc,
Dctxgf110.c347 .gpc = gf110_grctx_pack_gpc,
Dctxgf119.c515 .gpc = gf119_grctx_pack_gpc,
Dctxgk208.c547 .gpc = gk208_grctx_pack_gpc,
Dctxgk110.c825 .gpc = gk110_grctx_pack_gpc,
Dctxgf100.h30 const struct gf100_gr_pack *gpc; member
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dfsl,imx-gpc.txt9 - 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/
Ds3c64xx-pinctrl.dtsi38 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",
Ds3c2416-pinctrl.dtsi26 gpc: gpc { label
Dimx6qdl.dtsi86 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";
Dimx6sl.dtsi99 interrupt-parent = <&gpc>;
604 gpc: gpc@020dc000 { label
605 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
Dimx6sx.dtsi135 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/
Dgpio-core.h84 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/
Dgpcgf100.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgf117.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgk208.fuc533 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgk104.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgm107.fuc533 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgk110.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
/linux-4.1.27/Documentation/RCU/
Dtrace.txt399 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/
Dgpio-lpc32xx.c169 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/
DMakefile82 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c603 u32 gpc = (stat & 0x1f000000) >> 24; in gf100_fifo_intr_fault() local
646 snprintf(gpcid, sizeof(gpcid), "%d", gpc); in gf100_fifo_intr_fault()
Dgk104.c717 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/
Dixgbe_main.c6495 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()