Lines Matching refs:dsp56k_host_interface
54 #define DSP56K_TX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_TREQ
55 #define DSP56K_RX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_RREQ
56 #define DSP56K_TX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_TREQ
57 #define DSP56K_RX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_RREQ
59 #define DSP56K_TRANSMIT (dsp56k_host_interface.isr & DSP56K_ISR_TXDE)
60 #define DSP56K_RECEIVE (dsp56k_host_interface.isr & DSP56K_ISR_RXDF)
183 dsp56k_host_interface.data.b[1] = *p++; in dsp56k_upload()
184 dsp56k_host_interface.data.b[2] = *p++; in dsp56k_upload()
185 dsp56k_host_interface.data.b[3] = *p++; in dsp56k_upload()
189 dsp56k_host_interface.data.b[1] = 0; in dsp56k_upload()
190 dsp56k_host_interface.data.b[2] = 0; in dsp56k_upload()
191 dsp56k_host_interface.data.b[3] = 0; in dsp56k_upload()
196 get_user(dsp56k_host_interface.data.b[1], bin++); in dsp56k_upload()
197 get_user(dsp56k_host_interface.data.b[2], bin++); in dsp56k_upload()
198 get_user(dsp56k_host_interface.data.b[3], bin++); in dsp56k_upload()
202 dsp56k_host_interface.data.l = 3; /* Magic execute */ in dsp56k_upload()
228 put_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_read()
238 put_user(dsp56k_host_interface.data.w[1], data+n++)); in dsp56k_read()
245 put_user(dsp56k_host_interface.data.b[1], buf+n++); in dsp56k_read()
246 put_user(dsp56k_host_interface.data.b[2], buf+n++); in dsp56k_read()
247 put_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_read()
257 put_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_read()
290 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
300 get_user(dsp56k_host_interface.data.w[1], data+n++)); in dsp56k_write()
307 get_user(dsp56k_host_interface.data.b[1], buf+n++); in dsp56k_write()
308 get_user(dsp56k_host_interface.data.b[2], buf+n++); in dsp56k_write()
309 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
319 get_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_write()
388 dsp56k_host_interface.icr |= DSP56K_ICR_HF0; in dsp56k_ioctl()
390 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_ioctl()
392 dsp56k_host_interface.icr |= DSP56K_ICR_HF1; in dsp56k_ioctl()
394 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF1; in dsp56k_ioctl()
397 if (dsp56k_host_interface.icr & DSP56K_ICR_HF0) status |= 0x1; in dsp56k_ioctl()
398 if (dsp56k_host_interface.icr & DSP56K_ICR_HF1) status |= 0x2; in dsp56k_ioctl()
399 if (dsp56k_host_interface.isr & DSP56K_ISR_HF2) status |= 0x4; in dsp56k_ioctl()
400 if (dsp56k_host_interface.isr & DSP56K_ISR_HF3) status |= 0x8; in dsp56k_ioctl()
407 dsp56k_host_interface.cvr = (u_char)((arg & DSP56K_CVR_HV_MASK) | in dsp56k_ioctl()
462 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_open()
463 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF1; in dsp56k_open()