Lines Matching refs:vortex

36 	vortex_t *vortex = (vortex_t *) (a->vortex);  in a3dsrc_SetTimeConsts()  local
37 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
39 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
41 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
43 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
62 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() local
63 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
66 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
69 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
77 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosCurrent() local
78 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
81 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
84 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
91 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosState() local
92 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x1), x1); in a3dsrc_SetAtmosState()
93 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x2), x2); in a3dsrc_SetAtmosState()
94 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y1), y1); in a3dsrc_SetAtmosState()
95 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y2), y2); in a3dsrc_SetAtmosState()
108 vortex_t *vortex = (vortex_t *) (a->vortex);
110 hwread(vortex->mmio,
113 hwread(vortex->mmio,
116 hwread(vortex->mmio,
119 hwread(vortex->mmio,
122 hwread(vortex->mmio,
138 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfTarget() local
142 hwwrite(vortex->mmio, in a3dsrc_SetHrtfTarget()
151 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfCurrent() local
155 hwwrite(vortex->mmio, in a3dsrc_SetHrtfCurrent()
164 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfState() local
168 hwwrite(vortex->mmio, in a3dsrc_SetHrtfState()
176 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfOutput() local
177 hwwrite(vortex->mmio, in a3dsrc_SetHrtfOutput()
179 hwwrite(vortex->mmio, in a3dsrc_SetHrtfOutput()
186 vortex_t *vortex = (vortex_t *) (a->vortex);
191 hwread(vortex->mmio,
196 hwread(vortex->mmio,
203 vortex_t *vortex = (vortex_t *) (a->vortex);
208 hwread(vortex->mmio,
213 hwread(vortex->mmio,
220 vortex_t *vortex = (vortex_t *) (a->vortex);
225 hwread(vortex->mmio,
230 hwread(vortex->mmio,
237 vortex_t *vortex = (vortex_t *) (a->vortex);
239 hwread(vortex->mmio,
242 hwread(vortex->mmio,
255 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdTarget() local
265 hwwrite(vortex->mmio, in a3dsrc_SetItdTarget()
273 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdCurrent() local
283 hwwrite(vortex->mmio, in a3dsrc_SetItdCurrent()
291 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdDline() local
295 hwwrite(vortex->mmio, in a3dsrc_SetItdDline()
303 vortex_t *vortex = (vortex_t *) (a->vortex);
305 hwread(vortex->mmio,
308 hwread(vortex->mmio,
314 vortex_t *vortex = (vortex_t *) (a->vortex);
317 hwread(vortex->mmio,
320 hwread(vortex->mmio,
326 vortex_t *vortex = (vortex_t *) (a->vortex);
331 hwread(vortex->mmio,
341 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetGainTarget() local
342 hwwrite(vortex->mmio, in a3dsrc_SetGainTarget()
349 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetGainCurrent() local
350 hwwrite(vortex->mmio, in a3dsrc_SetGainCurrent()
358 vortex_t *vortex = (vortex_t *) (a->vortex);
360 hwread(vortex->mmio,
363 hwread(vortex->mmio,
369 vortex_t *vortex = (vortex_t *) (a->vortex);
371 hwread(vortex->mmio,
374 hwread(vortex->mmio,
381 vortex_t *vortex = (vortex_t *) (a->vortex);
382 hwwrite(vortex->mmio, addr, (aa << 0x10) | b);
390 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DSampleRate() local
394 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), esp0); in a3dsrc_SetA3DSampleRate()
400 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_EnableA3D() local
401 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), in a3dsrc_EnableA3D()
408 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_DisableA3D() local
409 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), in a3dsrc_DisableA3D()
415 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DControlReg() local
416 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), ctrl); in a3dsrc_SetA3DControlReg()
421 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DPointerReg() local
422 hwwrite(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd), ptr); in a3dsrc_SetA3DPointerReg()
428 vortex_t *vortex = (vortex_t *) (a->vortex);
429 *sr = ((hwread(vortex->mmio, A3D_SLICE_Control + (a->slice << 0xd))
436 vortex_t *vortex = (vortex_t *) (a->vortex);
437 *ctrl = hwread(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd));
442 vortex_t *vortex = (vortex_t *) (a->vortex);
443 *ptr = hwread(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd));
449 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_ZeroSliceIO() local
453 hwwrite(vortex->mmio, in a3dsrc_ZeroSliceIO()
457 hwwrite(vortex->mmio, in a3dsrc_ZeroSliceIO()
491 if ((a->vortex) == NULL) { in a3dsrc_ZeroStateA3D()
537 vortex_t *vortex = (vortex_t *) (a->vortex);
540 hwwrite(vortex->mmio,
542 hwwrite(vortex->mmio,
559 a3dsrc->vortex = (void *)v; in vortex_A3dSourceHw_Initialize()
595 static int vortex_a3d_register_controls(vortex_t * vortex);
596 static void vortex_a3d_unregister_controls(vortex_t * vortex);
682 if (a->vortex == NULL) { in vortex_Vort3D_InitializeSource()
859 static int vortex_a3d_register_controls(vortex_t *vortex) in vortex_a3d_register_controls() argument
866 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
871 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_a3d_register_controls()
877 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
882 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_a3d_register_controls()
888 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
893 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_a3d_register_controls()
899 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
904 if ((err = snd_ctl_add(vortex->card, kcontrol)) < 0) in vortex_a3d_register_controls()
910 static void vortex_a3d_unregister_controls(vortex_t * vortex) in vortex_a3d_unregister_controls() argument