Lines Matching refs:gameport
7 * - CMI8328 - main chip (SB Pro emulation, gameport, OPL3, MPU401, CD-ROM)
15 #include <linux/gameport.h>
47 static bool gameport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = true};
69 module_param_array(gameport, bool, NULL, 0444);
70 MODULE_PARM_DESC(gameport, "Enable gameport.");
80 struct gameport *gameport;
90 * bit 1: gameport: 0=disabled, 1=enabled
376 if (!gameport[ndev])
378 /* gameport is hardwired to 0x200 */
379 res = devm_request_region(pdev, 0x200, 8, "CMI8328 gameport");
381 snd_printk(KERN_WARNING "unable to allocate gameport I/O port\n");
383 struct gameport *gp = cmi->gameport = gameport_allocate_port();
384 if (cmi->gameport) {
389 /* Enable gameport */
405 if (cmi->gameport)
406 gameport_unregister_port(cmi->gameport);