Lines Matching refs:saa_writeb

83 	saa_writeb(SAA7134_GPIO_GPMODE0, 0xff);  in gpio_write()
86 saa_writeb(SAA7134_GPIO_GPSTATUS0, addr); in gpio_write()
87 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in gpio_write()
88 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write()
91 saa_writeb(SAA7134_GPIO_GPSTATUS0, data & 0xff); in gpio_write()
92 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write()
93 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write()
96 saa_writeb(SAA7134_GPIO_GPSTATUS0, data >> 8); in gpio_write()
97 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in gpio_write()
98 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_write()
105 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in gpio_read()
108 saa_writeb(SAA7134_GPIO_GPSTATUS0, addr); in gpio_read()
109 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in gpio_read()
110 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_read()
112 saa_writeb(SAA7134_GPIO_GPMODE0, 0x00); in gpio_read()
115 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_READ); in gpio_read()
119 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_read()
122 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_READ); in gpio_read()
126 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in gpio_read()
139 saa_writeb(SAA7134_GPIO_GPMODE2, 0xa4); in saa7134_go7007_interface_reset()
140 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in saa7134_go7007_interface_reset()
142 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_REQ1); in saa7134_go7007_interface_reset()
143 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_RESET); in saa7134_go7007_interface_reset()
145 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_REQ1); in saa7134_go7007_interface_reset()
146 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_REQ2); in saa7134_go7007_interface_reset()
156 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_REQ1); in saa7134_go7007_interface_reset()
157 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_REQ2); in saa7134_go7007_interface_reset()
265 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in saa7134_go7007_stream_start()
266 saa_writeb(SAA7134_GPIO_GPSTATUS0, HPI_ADDR_VIDEO_BUFFER); in saa7134_go7007_stream_start()
267 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in saa7134_go7007_stream_start()
268 saa_writeb(SAA7134_GPIO_GPMODE0, 0x00); in saa7134_go7007_stream_start()
271 saa_writeb(SAA7134_TS_PARALLEL, 0xe6); in saa7134_go7007_stream_start()
278 saa_writeb(SAA7134_TS_PARALLEL_SERIAL, 128 - 1); in saa7134_go7007_stream_start()
279 saa_writeb(SAA7134_TS_DMA0, ((PAGE_SIZE >> 7) - 1) & 0xff); in saa7134_go7007_stream_start()
280 saa_writeb(SAA7134_TS_DMA1, (PAGE_SIZE >> 15) & 0xff); in saa7134_go7007_stream_start()
281 saa_writeb(SAA7134_TS_DMA2, (PAGE_SIZE >> 31) & 0x3f); in saa7134_go7007_stream_start()
284 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_VIDEO); in saa7134_go7007_stream_start()
343 saa_writeb(SAA7134_GPIO_GPMODE0, 0xff); in saa7134_go7007_send_firmware()
344 saa_writeb(SAA7134_GPIO_GPSTATUS0, HPI_ADDR_INIT_BUFFER); in saa7134_go7007_send_firmware()
345 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_ADDR); in saa7134_go7007_send_firmware()
346 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in saa7134_go7007_send_firmware()
348 saa_writeb(SAA7134_GPIO_GPSTATUS0, *data); in saa7134_go7007_send_firmware()
349 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_WRITE); in saa7134_go7007_send_firmware()
350 saa_writeb(SAA7134_GPIO_GPSTATUS2, GPIO_COMMAND_IDLE); in saa7134_go7007_send_firmware()