Lines Matching refs:dsp56k_host_interface

52 #define DSP56K_TX_INT_ON	dsp56k_host_interface.icr |=  DSP56K_ICR_TREQ
53 #define DSP56K_RX_INT_ON dsp56k_host_interface.icr |= DSP56K_ICR_RREQ
54 #define DSP56K_TX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_TREQ
55 #define DSP56K_RX_INT_OFF dsp56k_host_interface.icr &= ~DSP56K_ICR_RREQ
57 #define DSP56K_TRANSMIT (dsp56k_host_interface.isr & DSP56K_ISR_TXDE)
58 #define DSP56K_RECEIVE (dsp56k_host_interface.isr & DSP56K_ISR_RXDF)
156 dsp56k_host_interface.data.b[1] = fw->data[i]; in dsp56k_upload()
157 dsp56k_host_interface.data.b[2] = fw->data[i + 1]; in dsp56k_upload()
158 dsp56k_host_interface.data.b[3] = fw->data[i + 2]; in dsp56k_upload()
163 dsp56k_host_interface.data.b[1] = 0; in dsp56k_upload()
164 dsp56k_host_interface.data.b[2] = 0; in dsp56k_upload()
165 dsp56k_host_interface.data.b[3] = 0; in dsp56k_upload()
170 get_user(dsp56k_host_interface.data.b[1], bin++); in dsp56k_upload()
171 get_user(dsp56k_host_interface.data.b[2], bin++); in dsp56k_upload()
172 get_user(dsp56k_host_interface.data.b[3], bin++); in dsp56k_upload()
176 dsp56k_host_interface.data.l = 3; /* Magic execute */ in dsp56k_upload()
202 put_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_read()
212 put_user(dsp56k_host_interface.data.w[1], data+n++)); in dsp56k_read()
219 put_user(dsp56k_host_interface.data.b[1], buf+n++); in dsp56k_read()
220 put_user(dsp56k_host_interface.data.b[2], buf+n++); in dsp56k_read()
221 put_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_read()
231 put_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_read()
264 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
274 get_user(dsp56k_host_interface.data.w[1], data+n++)); in dsp56k_write()
281 get_user(dsp56k_host_interface.data.b[1], buf+n++); in dsp56k_write()
282 get_user(dsp56k_host_interface.data.b[2], buf+n++); in dsp56k_write()
283 get_user(dsp56k_host_interface.data.b[3], buf+n++)); in dsp56k_write()
293 get_user(dsp56k_host_interface.data.l, data+n++)); in dsp56k_write()
369 dsp56k_host_interface.icr |= DSP56K_ICR_HF0; in dsp56k_ioctl()
371 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_ioctl()
373 dsp56k_host_interface.icr |= DSP56K_ICR_HF1; in dsp56k_ioctl()
375 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF1; in dsp56k_ioctl()
378 if (dsp56k_host_interface.icr & DSP56K_ICR_HF0) status |= 0x1; in dsp56k_ioctl()
379 if (dsp56k_host_interface.icr & DSP56K_ICR_HF1) status |= 0x2; in dsp56k_ioctl()
380 if (dsp56k_host_interface.isr & DSP56K_ISR_HF2) status |= 0x4; in dsp56k_ioctl()
381 if (dsp56k_host_interface.isr & DSP56K_ISR_HF3) status |= 0x8; in dsp56k_ioctl()
389 dsp56k_host_interface.cvr = (u_char)((arg & DSP56K_CVR_HV_MASK) | in dsp56k_ioctl()
449 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF0; in dsp56k_open()
450 dsp56k_host_interface.icr &= ~DSP56K_ICR_HF1; in dsp56k_open()