ns558              52 drivers/input/gameport/ns558.c 	struct ns558 *ns558;
ns558             126 drivers/input/gameport/ns558.c 	ns558 = kzalloc(sizeof(struct ns558), GFP_KERNEL);
ns558             128 drivers/input/gameport/ns558.c 	if (!ns558 || !port) {
ns558             131 drivers/input/gameport/ns558.c 		kfree(ns558);
ns558             136 drivers/input/gameport/ns558.c 	ns558->io = io;
ns558             137 drivers/input/gameport/ns558.c 	ns558->size = 1 << i;
ns558             138 drivers/input/gameport/ns558.c 	ns558->gameport = port;
ns558             146 drivers/input/gameport/ns558.c 	list_add(&ns558->node, &ns558_list);
ns558             184 drivers/input/gameport/ns558.c 	struct ns558 *ns558;
ns558             198 drivers/input/gameport/ns558.c 	ns558 = kzalloc(sizeof(struct ns558), GFP_KERNEL);
ns558             200 drivers/input/gameport/ns558.c 	if (!ns558 || !port) {
ns558             202 drivers/input/gameport/ns558.c 		kfree(ns558);
ns558             207 drivers/input/gameport/ns558.c 	ns558->io = ioport;
ns558             208 drivers/input/gameport/ns558.c 	ns558->size = iolen;
ns558             209 drivers/input/gameport/ns558.c 	ns558->dev = dev;
ns558             210 drivers/input/gameport/ns558.c 	ns558->gameport = port;
ns558             219 drivers/input/gameport/ns558.c 	list_add_tail(&ns558->node, &ns558_list);
ns558             258 drivers/input/gameport/ns558.c 	struct ns558 *ns558, *safe;
ns558             260 drivers/input/gameport/ns558.c 	list_for_each_entry_safe(ns558, safe, &ns558_list, node) {
ns558             261 drivers/input/gameport/ns558.c 		gameport_unregister_port(ns558->gameport);
ns558             262 drivers/input/gameport/ns558.c 		release_region(ns558->io & ~(ns558->size - 1), ns558->size);
ns558             263 drivers/input/gameport/ns558.c 		kfree(ns558);