Lines Matching full:short
27 unsigned short val) in nsp32_write2()
32 static inline unsigned short nsp32_read2(unsigned int base, in nsp32_read2()
76 unsigned short val) in nsp32_mmio_write2()
78 volatile unsigned short *ptr; in nsp32_mmio_write2()
80 ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); in nsp32_mmio_write2()
85 static inline unsigned short nsp32_mmio_read2(unsigned long base, in nsp32_mmio_read2()
88 volatile unsigned short *ptr; in nsp32_mmio_read2()
90 ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + index); in nsp32_mmio_read2()
133 static inline unsigned short nsp32_index_read2(unsigned int base, in nsp32_index_read2()
142 unsigned short val) in nsp32_index_write2()
179 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read1()
181 index_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + INDEX_REG); in nsp32_mmio_index_read1()
182 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read1()
192 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write1()
194 index_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + INDEX_REG); in nsp32_mmio_index_write1()
195 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write1()
201 static inline unsigned short nsp32_mmio_index_read2(unsigned long base, in nsp32_mmio_index_read2()
204 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read2()
206 index_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + INDEX_REG); in nsp32_mmio_index_read2()
207 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read2()
215 unsigned short val) in nsp32_mmio_index_write2()
217 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write2()
219 index_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + INDEX_REG); in nsp32_mmio_index_write2()
220 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write2()