H A D | pdaudiocf_irq.c | 54 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono16() argument 57 *dst++ = inw(rdp_port) ^ xor; pdacf_transfer_mono16() 58 inw(rdp_port); pdacf_transfer_mono16() 62 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono32() argument 67 val1 = inw(rdp_port); pdacf_transfer_mono32() 68 val2 = inw(rdp_port); pdacf_transfer_mono32() 69 inw(rdp_port); pdacf_transfer_mono32() 74 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo16() argument 77 *dst++ = inw(rdp_port) ^ xor; pdacf_transfer_stereo16() 78 *dst++ = inw(rdp_port) ^ xor; pdacf_transfer_stereo16() 82 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo32() argument 87 val1 = inw(rdp_port); pdacf_transfer_stereo32() 88 val2 = inw(rdp_port); pdacf_transfer_stereo32() 89 val3 = inw(rdp_port); pdacf_transfer_stereo32() 95 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono16sw() argument 98 *dst++ = swab16(inw(rdp_port) ^ xor); pdacf_transfer_mono16sw() 99 inw(rdp_port); pdacf_transfer_mono16sw() 103 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono32sw() argument 108 val1 = inw(rdp_port); pdacf_transfer_mono32sw() 109 val2 = inw(rdp_port); pdacf_transfer_mono32sw() 110 inw(rdp_port); pdacf_transfer_mono32sw() 115 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo16sw() argument 118 *dst++ = swab16(inw(rdp_port) ^ xor); pdacf_transfer_stereo16sw() 119 *dst++ = swab16(inw(rdp_port) ^ xor); pdacf_transfer_stereo16sw() 123 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo32sw() argument 128 val1 = inw(rdp_port); pdacf_transfer_stereo32sw() 129 val2 = inw(rdp_port); pdacf_transfer_stereo32sw() 130 val3 = inw(rdp_port); pdacf_transfer_stereo32sw() 136 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono24le() argument 142 val1 = inw(rdp_port); pdacf_transfer_mono24le() 143 val2 = inw(rdp_port); pdacf_transfer_mono24le() 144 inw(rdp_port); pdacf_transfer_mono24le() 152 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_mono24be() argument 158 val1 = inw(rdp_port); pdacf_transfer_mono24be() 159 val2 = inw(rdp_port); pdacf_transfer_mono24be() 160 inw(rdp_port); pdacf_transfer_mono24be() 168 static inline void pdacf_transfer_stereo24le(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo24le() argument 174 val1 = inw(rdp_port); pdacf_transfer_stereo24le() 175 val2 = inw(rdp_port); pdacf_transfer_stereo24le() 176 val3 = inw(rdp_port); pdacf_transfer_stereo24le() 188 static inline void pdacf_transfer_stereo24be(u8 *dst, u32 xor, unsigned int size, unsigned long rdp_port) pdacf_transfer_stereo24be() argument 194 val1 = inw(rdp_port); pdacf_transfer_stereo24be() 195 val2 = inw(rdp_port); pdacf_transfer_stereo24be() 196 val3 = inw(rdp_port); pdacf_transfer_stereo24be() 210 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; pdacf_transfer() local 216 pdacf_transfer_mono24le((char *)chip->pcm_area + (off * 3), xor, size, rdp_port); pdacf_transfer() 218 pdacf_transfer_stereo24le((char *)chip->pcm_area + (off * 6), xor, size, rdp_port); pdacf_transfer() 222 pdacf_transfer_mono24be((char *)chip->pcm_area + (off * 3), xor, size, rdp_port); pdacf_transfer() 224 pdacf_transfer_stereo24be((char *)chip->pcm_area + (off * 6), xor, size, rdp_port); pdacf_transfer() 232 pdacf_transfer_mono16((u16 *)chip->pcm_area + off, xor, size, rdp_port); pdacf_transfer() 234 pdacf_transfer_mono32((u32 *)chip->pcm_area + off, xor, size, rdp_port); pdacf_transfer() 238 pdacf_transfer_stereo16((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port); pdacf_transfer() 240 pdacf_transfer_stereo32((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port); pdacf_transfer() 246 pdacf_transfer_mono16sw((u16 *)chip->pcm_area + off, xor, size, rdp_port); pdacf_transfer() 248 pdacf_transfer_mono32sw((u32 *)chip->pcm_area + off, xor, size, rdp_port); pdacf_transfer() 252 pdacf_transfer_stereo16sw((u16 *)chip->pcm_area + (off * 2), xor, size, rdp_port); pdacf_transfer() 254 pdacf_transfer_stereo32sw((u32 *)chip->pcm_area + (off * 2), xor, size, rdp_port); pdacf_transfer() 288 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; pdacf_threaded_irq() 290 inw(rdp_port); pdacf_threaded_irq() 291 inw(rdp_port); pdacf_threaded_irq() 294 unsigned long rdp_port = chip->port + PDAUDIOCF_REG_MD; pdacf_threaded_irq() 296 inw(rdp_port); pdacf_threaded_irq() 297 inw(rdp_port); pdacf_threaded_irq() 298 inw(rdp_port); pdacf_threaded_irq()
|