Home
last modified time | relevance | path

Searched refs:a3d (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/input/joystick/
Da3d.c50 struct a3d { struct
109 static void a3d_read(struct a3d *a3d, unsigned char *data) in a3d_read() argument
111 struct input_dev *dev = a3d->dev; in a3d_read()
113 switch (a3d->mode) { in a3d_read()
128 a3d->axes[0] = ((signed char)((data[11] << 6) | (data[12] << 3) | (data[13]))) + 128; in a3d_read()
129 a3d->axes[1] = ((signed char)((data[14] << 6) | (data[15] << 3) | (data[16]))) + 128; in a3d_read()
130 a3d->axes[2] = ((signed char)((data[17] << 6) | (data[18] << 3) | (data[19]))) + 128; in a3d_read()
131 a3d->axes[3] = ((signed char)((data[20] << 6) | (data[21] << 3) | (data[22]))) + 128; in a3d_read()
133 a3d->buttons = ((data[3] << 3) | data[4]) & 0xf; in a3d_read()
176 struct a3d *a3d = gameport_get_drvdata(gameport); in a3d_poll() local
[all …]
DMakefile8 obj-$(CONFIG_JOYSTICK_A3D) += a3d.o
DKconfig42 module will be called a3d.
/Linux-v4.19/sound/pci/au88x0/
Dau88x0_a3d.c556 a3dsrc_t *a3dsrc = &(v->a3d[source + (slice * 4)]); in vortex_A3dSourceHw_Initialize()
605 a3dsrc_ZeroStateA3D(&v->a3d[0], v); in vortex_Vort3D_enable()
866 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
877 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
888 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
899 snd_ctl_new1(&vortex_a3d_kcontrol, &vortex->a3d[i])) == NULL) in vortex_a3d_register_controls()
Dau88x0.h173 a3dsrc_t a3d[NR_A3D]; member
Dau88x0_core.c2144 int a3d = 0; in vortex_adb_allocroute() local
2171 if ((a3d = in vortex_adb_allocroute()
2182 vortex_Vort3D_InitializeSource(&vortex->a3d[a3d], en, in vortex_adb_allocroute()
2224 vortex_route(vortex, en, 0x11, ADB_SRCOUT(src[i]), ADB_A3DIN(a3d)); in vortex_adb_allocroute()
/Linux-v4.19/Documentation/input/joydev/
Djoystick.rst303 a3d.c module. It currently supports: