Lines Matching defs:rdp_port
41 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
44 *dst++ = inw(rdp_port) ^ xor;
45 inw(rdp_port);
49 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
54 val1 = inw(rdp_port);
55 val2 = inw(rdp_port);
56 inw(rdp_port);
61 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
64 *dst++ = inw(rdp_port) ^ xor;
65 *dst++ = inw(rdp_port) ^ xor;
69 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
74 val1 = inw(rdp_port);
75 val2 = inw(rdp_port);
76 val3 = inw(rdp_port);
82 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
85 *dst++ = swab16(inw(rdp_port) ^ xor);
86 inw(rdp_port);
90 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
95 val1 = inw(rdp_port);
96 val2 = inw(rdp_port);
97 inw(rdp_port);
102 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
105 *dst++ = swab16(inw(rdp_port) ^ xor);
106 *dst++ = swab16(inw(rdp_port) ^ xor);
110 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
115 val1 = inw(rdp_port);
116 val2 = inw(rdp_port);
117 val3 = inw(rdp_port);
123 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
129 val1 = inw(rdp_port);
130 val2 = inw(rdp_port);
131 inw(rdp_port);
139 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port)
145 val1 = inw(rdp_port);
146 val2 = inw(rdp_port);
147 inw(rdp_port);
155 static inline void pdacf_transfer_stereo24le(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
161 val1 = inw(rdp_port);
162 val2 = inw(rdp_port);
163 val3 = inw(rdp_port);
175 static inline void pdacf_transfer_stereo24be(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port)
181 val1 = inw(rdp_port);
182 val2 = inw(rdp_port);
183 val3 = inw(rdp_port);
197 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD;
203 pdacf_transfer_mono24le((char *)chip->pcm_area + (off * 3), xor, size, rdp_port);
205 pdacf_transfer_stereo24le((char *)chip->pcm_area + (off * 6), xor, size, rdp_port);
209 pdacf_transfer_mono24be((char *)chip->pcm_area + (off * 3), xor, size, rdp_port);
211 pdacf_transfer_stereo24be((char *)chip->pcm_area + (off * 6), xor, size, rdp_port);
219 pdacf_transfer_mono16((u16 *)chip->pcm_area + off, xor, size, rdp_port);
221 pdacf_transfer_mono32((u32 *)chip->pcm_area + off, xor, size, rdp_port);
225 pdacf_transfer_stereo16((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port);
227 pdacf_transfer_stereo32((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port);
233 pdacf_transfer_mono16sw((u16 *)chip->pcm_area + off, xor, size, rdp_port);
235 pdacf_transfer_mono32sw((u32 *)chip->pcm_area + off, xor, size, rdp_port);
239 pdacf_transfer_stereo16sw((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port);
241 pdacf_transfer_stereo32sw((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port);
275 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD;
277 inw(rdp_port);
278 inw(rdp_port);
281 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD;
283 inw(rdp_port);
284 inw(rdp_port);
285 inw(rdp_port);