Lines Matching refs:data_ptr
179 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read1() local
182 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read1()
185 return readb(data_ptr); in nsp32_mmio_index_read1()
192 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write1() local
195 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write1()
198 writeb(val, data_ptr ); in nsp32_mmio_index_write1()
204 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read2() local
207 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read2()
210 return le16_to_cpu(readw(data_ptr)); in nsp32_mmio_index_read2()
217 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write2() local
220 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write2()
223 writew(cpu_to_le16(val), data_ptr ); in nsp32_mmio_index_write2()