Lines Matching refs:cards
700 * Currently, a max of 16 cards simultaneously can have locks issued from
712 * Each user has an array of these, tracking which cards have locks
723 struct vga_arb_user_card cards[MAX_USER_CARDS];
871 if (priv->cards[i].pdev == pdev) {
873 priv->cards[i].io_cnt++;
875 priv->cards[i].mem_cnt++;
910 if (priv->cards[i].pdev == pdev)
911 uc = &priv->cards[i];
958 if (priv->cards[i].pdev == pdev) {
960 priv->cards[i].io_cnt++;
962 priv->cards[i].mem_cnt++;
1022 if (priv->cards[i].pdev == pdev)
1024 if (priv->cards[i].pdev == NULL) {
1025 priv->cards[i].pdev = pdev;
1026 priv->cards[i].io_cnt = 0;
1027 priv->cards[i].mem_cnt = 0;
1032 pr_err("vgaarb: maximum user cards (%d) number reached!\n",
1104 priv->cards[0].pdev = priv->target;
1105 priv->cards[0].io_cnt = 0;
1106 priv->cards[0].mem_cnt = 0;
1127 uc = &priv->cards[i];
1150 * change in VGA cards
1187 * cases of hotplugable vga cards. */