Lines Matching refs:vortex
24 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() local
25 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
27 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
29 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
31 hwwrite(vortex->mmio, in a3dsrc_SetTimeConsts()
50 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() local
51 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
54 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
57 hwwrite(vortex->mmio, in a3dsrc_SetAtmosTarget()
65 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosCurrent() local
66 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
69 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
72 hwwrite(vortex->mmio, in a3dsrc_SetAtmosCurrent()
79 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosState() local
80 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x1), x1); in a3dsrc_SetAtmosState()
81 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_x2), x2); in a3dsrc_SetAtmosState()
82 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y1), y1); in a3dsrc_SetAtmosState()
83 hwwrite(vortex->mmio, a3d_addrA(a->slice, a->source, A3D_A_y2), y2); in a3dsrc_SetAtmosState()
96 vortex_t *vortex = (vortex_t *) (a->vortex);
98 hwread(vortex->mmio,
101 hwread(vortex->mmio,
104 hwread(vortex->mmio,
107 hwread(vortex->mmio,
110 hwread(vortex->mmio,
126 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfTarget() local
130 hwwrite(vortex->mmio, in a3dsrc_SetHrtfTarget()
139 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfCurrent() local
143 hwwrite(vortex->mmio, in a3dsrc_SetHrtfCurrent()
152 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfState() local
156 hwwrite(vortex->mmio, in a3dsrc_SetHrtfState()
164 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetHrtfOutput() local
165 hwwrite(vortex->mmio, in a3dsrc_SetHrtfOutput()
167 hwwrite(vortex->mmio, in a3dsrc_SetHrtfOutput()
174 vortex_t *vortex = (vortex_t *) (a->vortex);
179 hwread(vortex->mmio,
184 hwread(vortex->mmio,
191 vortex_t *vortex = (vortex_t *) (a->vortex);
196 hwread(vortex->mmio,
201 hwread(vortex->mmio,
208 vortex_t *vortex = (vortex_t *) (a->vortex);
213 hwread(vortex->mmio,
218 hwread(vortex->mmio,
225 vortex_t *vortex = (vortex_t *) (a->vortex);
227 hwread(vortex->mmio,
230 hwread(vortex->mmio,
243 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdTarget() local
253 hwwrite(vortex->mmio, in a3dsrc_SetItdTarget()
261 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdCurrent() local
271 hwwrite(vortex->mmio, in a3dsrc_SetItdCurrent()
279 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetItdDline() local
283 hwwrite(vortex->mmio, in a3dsrc_SetItdDline()
291 vortex_t *vortex = (vortex_t *) (a->vortex);
293 hwread(vortex->mmio,
296 hwread(vortex->mmio,
302 vortex_t *vortex = (vortex_t *) (a->vortex);
305 hwread(vortex->mmio,
308 hwread(vortex->mmio,
314 vortex_t *vortex = (vortex_t *) (a->vortex);
319 hwread(vortex->mmio,
329 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetGainTarget() local
330 hwwrite(vortex->mmio, in a3dsrc_SetGainTarget()
337 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetGainCurrent() local
338 hwwrite(vortex->mmio, in a3dsrc_SetGainCurrent()
346 vortex_t *vortex = (vortex_t *) (a->vortex);
348 hwread(vortex->mmio,
351 hwread(vortex->mmio,
357 vortex_t *vortex = (vortex_t *) (a->vortex);
359 hwread(vortex->mmio,
362 hwread(vortex->mmio,
369 vortex_t *vortex = (vortex_t *) (a->vortex);
370 hwwrite(vortex->mmio, addr, (aa << 0x10) | b);
378 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DSampleRate() local
382 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), esp0); in a3dsrc_SetA3DSampleRate()
388 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_EnableA3D() local
389 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), in a3dsrc_EnableA3D()
396 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_DisableA3D() local
397 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), in a3dsrc_DisableA3D()
403 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DControlReg() local
404 hwwrite(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd), ctrl); in a3dsrc_SetA3DControlReg()
409 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetA3DPointerReg() local
410 hwwrite(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd), ptr); in a3dsrc_SetA3DPointerReg()
416 vortex_t *vortex = (vortex_t *) (a->vortex);
417 *sr = ((hwread(vortex->mmio, A3D_SLICE_Control + (a->slice << 0xd))
424 vortex_t *vortex = (vortex_t *) (a->vortex);
425 *ctrl = hwread(vortex->mmio, A3D_SLICE_Control + ((a->slice) << 0xd));
430 vortex_t *vortex = (vortex_t *) (a->vortex);
431 *ptr = hwread(vortex->mmio, A3D_SLICE_Pointers + ((a->slice) << 0xd));
437 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_ZeroSliceIO() local
441 hwwrite(vortex->mmio, in a3dsrc_ZeroSliceIO()
445 hwwrite(vortex->mmio, in a3dsrc_ZeroSliceIO()
479 if ((a->vortex) == NULL) { in a3dsrc_ZeroStateA3D()
525 vortex_t *vortex = (vortex_t *) (a->vortex);
528 hwwrite(vortex->mmio,
530 hwwrite(vortex->mmio,
547 a3dsrc->vortex = (void *)v; in vortex_A3dSourceHw_Initialize()
583 static int vortex_a3d_register_controls(vortex_t * vortex);
584 static void vortex_a3d_unregister_controls(vortex_t * vortex);
670 if (a->vortex == NULL) { in vortex_Vort3D_InitializeSource()
846 static int vortex_a3d_register_controls(vortex_t *vortex) in vortex_a3d_register_controls() argument
852 kcontrol = snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i]); in vortex_a3d_register_controls()
858 err = snd_ctl_add(vortex->card, kcontrol); in vortex_a3d_register_controls()
864 kcontrol = snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i]); in vortex_a3d_register_controls()
870 err = snd_ctl_add(vortex->card, kcontrol); in vortex_a3d_register_controls()
876 kcontrol = snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i]); in vortex_a3d_register_controls()
882 err = snd_ctl_add(vortex->card, kcontrol); in vortex_a3d_register_controls()
888 kcontrol = snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i]); in vortex_a3d_register_controls()
894 err = snd_ctl_add(vortex->card, kcontrol); in vortex_a3d_register_controls()
901 static void vortex_a3d_unregister_controls(vortex_t * vortex) in vortex_a3d_unregister_controls() argument