Lines Matching refs:cx_writeb
242 cx_writeb(P1_MDATA0, (unsigned int)value); in memory_write()
243 cx_writeb(P1_MDATA1, (unsigned int)(value >> 8)); in memory_write()
244 cx_writeb(P1_MDATA2, (unsigned int)(value >> 16)); in memory_write()
245 cx_writeb(P1_MDATA3, (unsigned int)(value >> 24)); in memory_write()
246 cx_writeb(P1_MADDR2, (unsigned int)(address >> 16) | 0x40); in memory_write()
247 cx_writeb(P1_MADDR1, (unsigned int)(address >> 8)); in memory_write()
248 cx_writeb(P1_MADDR0, (unsigned int)address); in memory_write()
261 cx_writeb(P1_MADDR2, (unsigned int)(address >> 16) & ~0xC0); in memory_read()
262 cx_writeb(P1_MADDR1, (unsigned int)(address >> 8)); in memory_read()
263 cx_writeb(P1_MADDR0, (unsigned int)address); in memory_read()
268 cx_writeb(P1_MDATA3, 0); in memory_read()
270 cx_writeb(P1_MDATA2, 0); in memory_read()
272 cx_writeb(P1_MDATA1, 0); in memory_read()
274 cx_writeb(P1_MDATA0, 0); in memory_read()
283 cx_writeb(P1_RDATA0, (unsigned int)value); in register_write()
284 cx_writeb(P1_RDATA1, (unsigned int)(value >> 8)); in register_write()
285 cx_writeb(P1_RDATA2, (unsigned int)(value >> 16)); in register_write()
286 cx_writeb(P1_RDATA3, (unsigned int)(value >> 24)); in register_write()
287 cx_writeb(P1_RADDR0, (unsigned int)address); in register_write()
288 cx_writeb(P1_RADDR1, (unsigned int)(address >> 8)); in register_write()
289 cx_writeb(P1_RRDWR, 1); in register_write()
301 cx_writeb(P1_RADDR0, (unsigned int)address); in register_read()
302 cx_writeb(P1_RADDR1, (unsigned int)(address >> 8)); in register_read()
303 cx_writeb(P1_RRDWR, 0); in register_read()