Home
last modified time | relevance | path

Searched refs:joystick (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/macintosh/ams/
H A Dams-input.c3 * Apple Motion Sensor driver (joystick emulation)
18 static bool joystick; variable
19 module_param(joystick, bool, S_IRUGO);
20 MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
86 joystick = true; in ams_input_enable()
102 joystick = false; in ams_input_disable()
108 return sprintf(buf, "%d\n", joystick); in ams_input_show_joystick()
126 if (enable != joystick) { in ams_input_store_joystick()
138 static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
143 if (joystick) in ams_input_init()
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/ams/
H A Dams-input.c3 * Apple Motion Sensor driver (joystick emulation)
18 static bool joystick; variable
19 module_param(joystick, bool, S_IRUGO);
20 MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
86 joystick = true; in ams_input_enable()
102 joystick = false; in ams_input_disable()
108 return sprintf(buf, "%d\n", joystick); in ams_input_show_joystick()
126 if (enable != joystick) { in ams_input_store_joystick()
138 static DEVICE_ATTR(joystick, S_IRUGO | S_IWUSR,
143 if (joystick) in ams_input_init()
[all...]
/kernel/linux/linux-5.10/sound/isa/
H A Dsc6000.c46 static bool joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = false }; variable
66 module_param_array(joystick, bool, NULL, 0444);
67 MODULE_PARM_DESC(joystick, "Enable gameport.");
356 long xmss_port, int joystick) in sc6000_hw_cfg_encode()
369 if (!joystick) in sc6000_hw_cfg_encode()
422 mss_port[dev], joystick[dev]); in sc6000_init_board()
354 sc6000_hw_cfg_encode(char __iomem *vport, int *cfg, long xport, long xmpu, long xmss_port, int joystick) sc6000_hw_cfg_encode() argument
H A Dsscape.c44 static bool joystick[SNDRV_CARDS]; variable
70 module_param_array(joystick, bool, NULL, 0444);
71 MODULE_PARM_DESC(joystick, "Enable gameport.");
1039 if (joystick[dev]) in create_sscape()
/kernel/linux/linux-6.6/sound/isa/
H A Dsc6000.c43 static bool joystick[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS-1)] = false }; variable
63 module_param_array(joystick, bool, NULL, 0444);
64 MODULE_PARM_DESC(joystick, "Enable gameport.");
353 long xmss_port, int joystick) in sc6000_hw_cfg_encode()
366 if (!joystick) in sc6000_hw_cfg_encode()
419 mss_port[dev], joystick[dev]); in sc6000_init_board()
351 sc6000_hw_cfg_encode(char __iomem *vport, int *cfg, long xport, long xmpu, long xmss_port, int joystick) sc6000_hw_cfg_encode() argument
H A Dsscape.c44 static bool joystick[SNDRV_CARDS]; variable
70 module_param_array(joystick, bool, NULL, 0444);
71 MODULE_PARM_DESC(joystick, "Enable gameport.");
1025 if (joystick[dev]) in create_sscape()
/kernel/linux/linux-5.10/include/linux/
H A Djoystick.h12 #include <uapi/linux/joystick.h>
/kernel/linux/linux-6.6/include/linux/
H A Djoystick.h12 #include <uapi/linux/joystick.h>
/kernel/linux/linux-5.10/drivers/input/
H A DMakefile24 obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
H A Djoydev.c14 #include <linux/joystick.h>
339 * Old joystick interface
829 * joysticks. A device is, for joystick detection purposes, in joydev_dev_is_absolute_mouse()
880 * Amiga joystick (amijoy) historically uses left/middle/right in joydev_dev_is_absolute_mouse()
/kernel/linux/linux-6.6/drivers/input/
H A DMakefile25 obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
H A Djoydev.c14 #include <linux/joystick.h>
338 * Old joystick interface
838 * joysticks. A device is, for joystick detection purposes, in joydev_dev_is_absolute_mouse()
889 * Amiga joystick (amijoy) historically uses left/middle/right in joydev_dev_is_absolute_mouse()
/kernel/linux/linux-5.10/sound/pci/
H A Dens1370.c79 static bool joystick[SNDRV_CARDS]; variable
98 module_param_array(joystick, bool, NULL, 0444);
99 MODULE_PARM_DESC(joystick, "Enable joystick.");
140 #define ES_1371_JOY_ASEL(o) (((o)&0x03)<<24)/* joystick port mapping */
241 #define ES_1371_JFAST (1<<31) /* fast joystick timing */
1761 "invalid joystick port %#x", joystick_port[dev]); in snd_ensoniq_get_joystick_port()
1768 return joystick[dev] ? 0x200 : 0; in snd_ensoniq_get_joystick_port()
H A Dvia82xx.c69 static bool joystick; variable
84 module_param(joystick, bool, 0444);
85 MODULE_PARM_DESC(joystick, "Enable joystick. (VT82C686x only)");
1909 if (!joystick) in snd_via686_create_gameport()
1914 dev_warn(chip->card->dev, "cannot reserve joystick port %#x\n", in snd_via686_create_gameport()
1933 /* Enable legacy joystick port */ in snd_via686_create_gameport()
2031 legacy &= ~VIA_FUNC_ENABLE_GAME; /* disable joystick */ in snd_via686_init_misc()
H A Des1968.c129 static bool joystick[SNDRV_CARDS]; variable
152 module_param_array(joystick, bool, NULL, 0444);
153 MODULE_PARM_DESC(joystick, "Enable joystick.");
2438 if (!joystick[dev]) in snd_es1968_create_gameport()
H A Dintel8x0.c86 static int joystick; variable
87 module_param(joystick, int, 0444);
/kernel/linux/linux-6.6/sound/pci/
H A Dvia82xx.c68 static bool joystick; variable
83 module_param(joystick, bool, 0444);
84 MODULE_PARM_DESC(joystick, "Enable joystick. (VT82C686x only)");
1915 if (!joystick) in snd_via686_create_gameport()
1920 dev_warn(chip->card->dev, "cannot reserve joystick port %#x\n", in snd_via686_create_gameport()
1937 /* Enable legacy joystick port */ in snd_via686_create_gameport()
2028 legacy &= ~VIA_FUNC_ENABLE_GAME; /* disable joystick */ in snd_via686_init_misc()
H A Des1968.c125 static bool joystick[SNDRV_CARDS]; variable
148 module_param_array(joystick, bool, NULL, 0444);
149 MODULE_PARM_DESC(joystick, "Enable joystick.");
2435 if (!joystick[dev]) in snd_es1968_create_gameport()
H A Dens1370.c71 static bool joystick[SNDRV_CARDS]; variable
90 module_param_array(joystick, bool, NULL, 0444);
91 MODULE_PARM_DESC(joystick, "Enable joystick.");
132 #define ES_1371_JOY_ASEL(o) (((o)&0x03)<<24)/* joystick port mapping */
233 #define ES_1371_JFAST (1<<31) /* fast joystick timing */
1757 "invalid joystick port %#x", joystick_port[dev]); in snd_ensoniq_get_joystick_port()
1764 return joystick[dev] ? 0x200 : 0; in snd_ensoniq_get_joystick_port()
H A Dintel8x0.c63 static int joystick; variable
64 module_param(joystick, int, 0444);

Completed in 39 milliseconds