Lines Matching refs:i
38 int i; in intel_save_swf() local
42 for (i = 0; i < 7; i++) { in intel_save_swf()
43 dev_priv->regfile.saveSWF0[i] = intel_de_read(dev_priv, in intel_save_swf()
44 SWF0(dev_priv, i)); in intel_save_swf()
45 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, in intel_save_swf()
46 SWF1(dev_priv, i)); in intel_save_swf()
48 for (i = 0; i < 3; i++) in intel_save_swf()
49 dev_priv->regfile.saveSWF3[i] = intel_de_read(dev_priv, in intel_save_swf()
50 SWF3(dev_priv, i)); in intel_save_swf()
52 for (i = 0; i < 7; i++) in intel_save_swf()
53 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, in intel_save_swf()
54 SWF1(dev_priv, i)); in intel_save_swf()
56 for (i = 0; i < 16; i++) { in intel_save_swf()
57 dev_priv->regfile.saveSWF0[i] = intel_de_read(dev_priv, in intel_save_swf()
58 SWF0(dev_priv, i)); in intel_save_swf()
59 dev_priv->regfile.saveSWF1[i] = intel_de_read(dev_priv, in intel_save_swf()
60 SWF1(dev_priv, i)); in intel_save_swf()
62 for (i = 0; i < 3; i++) in intel_save_swf()
63 dev_priv->regfile.saveSWF3[i] = intel_de_read(dev_priv, in intel_save_swf()
64 SWF3(dev_priv, i)); in intel_save_swf()
70 int i; in intel_restore_swf() local
74 for (i = 0; i < 7; i++) { in intel_restore_swf()
75 intel_de_write(dev_priv, SWF0(dev_priv, i), in intel_restore_swf()
76 dev_priv->regfile.saveSWF0[i]); in intel_restore_swf()
77 intel_de_write(dev_priv, SWF1(dev_priv, i), in intel_restore_swf()
78 dev_priv->regfile.saveSWF1[i]); in intel_restore_swf()
80 for (i = 0; i < 3; i++) in intel_restore_swf()
81 intel_de_write(dev_priv, SWF3(dev_priv, i), in intel_restore_swf()
82 dev_priv->regfile.saveSWF3[i]); in intel_restore_swf()
84 for (i = 0; i < 7; i++) in intel_restore_swf()
85 intel_de_write(dev_priv, SWF1(dev_priv, i), in intel_restore_swf()
86 dev_priv->regfile.saveSWF1[i]); in intel_restore_swf()
88 for (i = 0; i < 16; i++) { in intel_restore_swf()
89 intel_de_write(dev_priv, SWF0(dev_priv, i), in intel_restore_swf()
90 dev_priv->regfile.saveSWF0[i]); in intel_restore_swf()
91 intel_de_write(dev_priv, SWF1(dev_priv, i), in intel_restore_swf()
92 dev_priv->regfile.saveSWF1[i]); in intel_restore_swf()
94 for (i = 0; i < 3; i++) in intel_restore_swf()
95 intel_de_write(dev_priv, SWF3(dev_priv, i), in intel_restore_swf()
96 dev_priv->regfile.saveSWF3[i]); in intel_restore_swf()