Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgm204.c245 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 …]
Dgk104.c187 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 …]
Dgm107.c317 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 …]
Dctxgf100.c1063 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 …]
Dctxgm107.c909 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 …]
Dctxgm204.c925 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 …]
Dctxgf117.c197 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 …]
Dgf100.c855 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 …]
Dgk20a.c189 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()
Dctxgf108.c745 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,
Dctxgk104.c893 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,
Dctxgk110b.c77 .gpc = gk110_grctx_pack_gpc,
Dctxgf104.c87 .gpc = gf100_grctx_pack_gpc,
Dctxgm206.c57 .gpc = gm206_grctx_pack_gpc,
Dctxgf110.c338 .gpc = gf110_grctx_pack_gpc,
Dctxgf119.c506 .gpc = gf119_grctx_pack_gpc,
Dctxgk208.c538 .gpc = gk208_grctx_pack_gpc,
Dctxgk110.c816 .gpc = gk110_grctx_pack_gpc,
Dctxgf100.h29 const struct gf100_gr_pack *gpc; member
/linux-4.4.14/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.4.14/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>;
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";
Dimx6ul.dtsi129 interrupt-parent = <&gpc>;
467 gpc: gpc@020dc000 { label
468 compatible = "fsl,imx6ul-gpc", "fsl,imx6q-gpc";
Dimx6sl.dtsi99 interrupt-parent = <&gpc>;
621 gpc: gpc@020dc000 { label
622 compatible = "fsl,imx6sl-gpc", "fsl,imx6q-gpc";
Dimx6sx.dtsi136 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/
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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpcgk208.fuc533 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgk110.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgf100.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgm107.fuc533 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgf117.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
Dgpcgk104.fuc333 #include "gpc.fuc"
40 #include "gpc.fuc"
/linux-4.4.14/Documentation/RCU/
Dtrace.txt383 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/
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.4.14/arch/arm/mach-imx/
DMakefile75 obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c297 u32 gpc = (stat & 0x1f000000) >> 24; in gf100_fifo_intr_fault() local
314 snprintf(gpcid, sizeof(gpcid), "GPC%d/", gpc); in gf100_fifo_intr_fault()
Dgk104.c362 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/
Dixgbe_main.c6620 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()