Searched defs:gpc (Results 1 - 13 of 13) sorted by relevance

/drivers/gpu/drm/nouveau/core/engine/graph/
H A Dnve4.c203 int gpc, tpc, rop; local
228 for (i = 0, gpc = -1; i < priv->tpc_total; i++) {
230 gpc = (gpc + 1) % priv->gpc_nr;
231 } while (!tpcnr[gpc]);
232 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--;
242 for (gpc = 0; gpc < priv->gpc_nr; gpc
[all...]
H A Dctxnvc0.h31 const struct nvc0_graph_pack *gpc; member in struct:nvc0_grctx_oclass
H A Dctxnvc1.c744 int gpc, tpc; local
751 for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
752 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) {
756 const u32 o = TPC_UNIT(gpc, tpc, 0x500);
791 .gpc = nvc1_grctx_pack_gpc,
H A Dctxnvd7.c195 int gpc, ppc; local
202 for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
203 for (ppc = 0; ppc < priv->ppc_nr[gpc]; ppc++) {
204 const u32 a = alpha * priv->ppc_tpc_nr[gpc][ppc];
205 const u32 b = beta * priv->ppc_tpc_nr[gpc][ppc];
207 const u32 o = PPC_UNIT(gpc, ppc, 0);
210 bo += impl->attrib_nr_max * priv->ppc_tpc_nr[gpc][ppc];
212 ao += impl->alpha_nr_max * priv->ppc_tpc_nr[gpc][pp
[all...]
H A Dctxgm107.c907 int gpc, ppc, n = 0; local
915 for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
916 for (ppc = 0; ppc < priv->ppc_nr[gpc]; ppc++, n++) {
917 const u32 as = alpha * priv->ppc_tpc_nr[gpc][ppc];
918 const u32 bs = attrib * priv->ppc_tpc_nr[gpc][ppc];
920 const u32 o = PPC_UNIT(gpc, ppc, 0);
923 bo += impl->attrib_nr_max * priv->ppc_tpc_nr[gpc][ppc];
926 ao += impl->alpha_nr_max * priv->ppc_tpc_nr[gpc][pp
935 int gpc, tpc, id; local
[all...]
H A Dctxnve4.c889 int gpc, tpc, i; local
894 gpc = -1;
897 gpc = (gpc + 1) % priv->gpc_nr;
898 } while (!tpcnr[gpc]);
899 tpcnr[gpc]--;
901 data[tpc / 6] |= gpc << ((tpc % 6) * 5);
950 nvc0_graph_mmio(priv, oclass->gpc);
1003 .gpc = nve4_grctx_pack_gpc,
H A Dgm107.c329 int gpc, tpc, ppc, rop; local
350 for (i = 0, gpc = -1; i < priv->tpc_total; i++) {
352 gpc = (gpc + 1) % priv->gpc_nr;
353 } while (!tpcnr[gpc]);
354 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--;
364 for (gpc = 0; gpc < priv->gpc_nr; gpc
[all...]
H A Dctxnvc0.c1059 int gpc, tpc; local
1066 for (gpc = 0; gpc < priv->gpc_nr; gpc++) {
1067 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) {
1068 const u32 o = TPC_UNIT(gpc, tpc, 0x0520);
1084 int gpc, tpc, id; local
1087 for (gpc = 0; gpc < priv->gpc_nr; gpc
1118 int gpc, tpc, i; local
1142 int gpc, tpc, i; local
1199 int gpc, tpc; local
[all...]
H A Dnvc0.c762 nvc0_graph_trap_gpc_rop(struct nvc0_graph_priv *priv, int gpc) argument
767 trap[0] = nv_rd32(priv, GPC_UNIT(gpc, 0x0420));
768 trap[1] = nv_rd32(priv, GPC_UNIT(gpc, 0x0434));
769 trap[2] = nv_rd32(priv, GPC_UNIT(gpc, 0x0438));
770 trap[3] = nv_rd32(priv, GPC_UNIT(gpc, 0x043c));
772 nv_error(priv, "GPC%d/PROP trap:", gpc);
784 nv_wr32(priv, GPC_UNIT(gpc, 0x0420), 0xc0000000);
807 nvc0_graph_trap_mp(struct nvc0_graph_priv *priv, int gpc, int tpc) argument
809 u32 werr = nv_rd32(priv, TPC_UNIT(gpc, tpc, 0x648));
810 u32 gerr = nv_rd32(priv, TPC_UNIT(gpc, tp
825 nvc0_graph_trap_tpc(struct nvc0_graph_priv *priv, int gpc, int tpc) argument
861 nvc0_graph_trap_gpc(struct nvc0_graph_priv *priv, int gpc) argument
910 int rop, gpc, i; local
1028 u32 gpc; local
1374 int gpc, tpc, rop; local
[all...]
/drivers/gpio/
H A Dgpio-lpc32xx.c169 struct gpio_chip *gpc)
171 return container_of(gpc, struct lpc32xx_gpio_chip, chip);
168 to_lpc32xx_gpio( struct gpio_chip *gpc) argument
/drivers/gpu/drm/nouveau/core/engine/fifo/
H A Dnvc0.c611 u32 gpc = (stat & 0x1f000000) >> 24; local
654 snprintf(gpcid, sizeof(gpcid), "%d", gpc);
H A Dnve0.c726 u32 gpc = (stat & 0x1f000000) >> 24; local
769 snprintf(gpcid, sizeof(gpcid), "%d", gpc);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c6416 u32 gpc; local
6419 gpc = IXGBE_READ_REG(hw, IXGBE_TXDGPC);
6420 if (gpc) /* If incrementing then no need for the check below */

Completed in 179 milliseconds