Lines Matching refs:reg_w
78 static void reg_w(struct usb_device *dev, in reg_w() function
93 reg_w(gspca_dev->dev, 0x07, SAA7113_I2C_BASE_WRITE, 0x0004); in spca506_Initi2c()
101 reg_w(gspca_dev->dev, 0x07, reg, 0x0001); in spca506_WriteI2c()
102 reg_w(gspca_dev->dev, 0x07, valeur, 0x0000); in spca506_WriteI2c()
132 reg_w(gspca_dev->dev, 0x08, videomask, 0x0000); in spca506_SetNormeInput()
171 reg_w(dev, 0x04, (0x18 | (code & 0x07)), 0x0000); in spca506_Setsize()
173 reg_w(dev, 0x04, 0x41, 0x0001); in spca506_Setsize()
174 reg_w(dev, 0x04, 0x00, 0x0002); in spca506_Setsize()
176 reg_w(dev, 0x04, 0x00, 0x0003); in spca506_Setsize()
179 reg_w(dev, 0x04, 0x00, 0x0004); in spca506_Setsize()
181 reg_w(dev, 0x04, 0x01, 0x0005); in spca506_Setsize()
183 reg_w(dev, 0x04, xmult, 0x0006); in spca506_Setsize()
185 reg_w(dev, 0x04, ymult, 0x0007); in spca506_Setsize()
187 reg_w(dev, 0x04, 0x00, 0x0008); in spca506_Setsize()
189 reg_w(dev, 0x04, 0x00, 0x0009); in spca506_Setsize()
191 reg_w(dev, 0x04, 0x21, 0x000a); in spca506_Setsize()
193 reg_w(dev, 0x04, 0x00, 0x000b); in spca506_Setsize()
213 reg_w(dev, 0x03, 0x00, 0x0004); in sd_init()
214 reg_w(dev, 0x03, 0xFF, 0x0003); in sd_init()
215 reg_w(dev, 0x03, 0x00, 0x0000); in sd_init()
216 reg_w(dev, 0x03, 0x1c, 0x0001); in sd_init()
217 reg_w(dev, 0x03, 0x18, 0x0001); in sd_init()
220 reg_w(dev, 0x03, 0x1c, 0x0001); in sd_init()
221 reg_w(dev, 0x03, 0x18, 0x0001); in sd_init()
222 reg_w(dev, 0x05, 0x00, 0x0000); in sd_init()
223 reg_w(dev, 0x05, 0xef, 0x0001); in sd_init()
224 reg_w(dev, 0x05, 0x00, 0x00c1); in sd_init()
225 reg_w(dev, 0x05, 0x00, 0x00c2); in sd_init()
226 reg_w(dev, 0x06, 0x18, 0x0002); in sd_init()
227 reg_w(dev, 0x06, 0xf5, 0x0011); in sd_init()
228 reg_w(dev, 0x06, 0x02, 0x0012); in sd_init()
229 reg_w(dev, 0x06, 0xfb, 0x0013); in sd_init()
230 reg_w(dev, 0x06, 0x00, 0x0014); in sd_init()
231 reg_w(dev, 0x06, 0xa4, 0x0051); in sd_init()
232 reg_w(dev, 0x06, 0x40, 0x0052); in sd_init()
233 reg_w(dev, 0x06, 0x71, 0x0053); in sd_init()
234 reg_w(dev, 0x06, 0x40, 0x0054); in sd_init()
236 reg_w(dev, 0x03, 0x00, 0x0004); in sd_init()
237 reg_w(dev, 0x03, 0x00, 0x0003); in sd_init()
238 reg_w(dev, 0x03, 0x00, 0x0004); in sd_init()
239 reg_w(dev, 0x03, 0xFF, 0x0003); in sd_init()
240 reg_w(dev, 0x02, 0x00, 0x0000); in sd_init()
241 reg_w(dev, 0x03, 0x60, 0x0000); in sd_init()
242 reg_w(dev, 0x03, 0x18, 0x0001); in sd_init()
324 reg_w(dev, 0x03, 0x00, 0x0004); in sd_start()
325 reg_w(dev, 0x03, 0x00, 0x0003); in sd_start()
326 reg_w(dev, 0x03, 0x00, 0x0004); in sd_start()
327 reg_w(dev, 0x03, 0xFF, 0x0003); in sd_start()
328 reg_w(dev, 0x02, 0x00, 0x0000); in sd_start()
329 reg_w(dev, 0x03, 0x60, 0x0000); in sd_start()
330 reg_w(dev, 0x03, 0x18, 0x0001); in sd_start()
413 reg_w(dev, 0x05, 0x00, 0x0003); in sd_start()
414 reg_w(dev, 0x05, 0x00, 0x0004); in sd_start()
415 reg_w(dev, 0x03, 0x10, 0x0001); in sd_start()
416 reg_w(dev, 0x03, 0x78, 0x0000); in sd_start()
438 reg_w(dev, 0x02, 0x01, 0x0000); in sd_start()
439 reg_w(dev, 0x03, 0x12, 0x0000); in sd_start()
451 reg_w(dev, 0x02, 0x00, 0x0000); in sd_stopN()
452 reg_w(dev, 0x03, 0x00, 0x0004); in sd_stopN()
453 reg_w(dev, 0x03, 0x00, 0x0003); in sd_stopN()