/** * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. * * This source file is released under GPL v2 license (no other versions). * See the COPYING file included in the main directory of this source * distribution for the license terms and conditions. * * @File ctimap.h * * @Brief * This file contains the definition of generic input mapper operations * for input mapper management. * * @Author Liu Chun * @Date May 23 2008 * */ #ifndef CTIMAP_H #define CTIMAP_H #include struct imapper { unsigned short slot; /* the id of the slot containing input data */ unsigned short user; /* the id of the user resource consuming data */ unsigned short addr; /* the input mapper ram id */ unsigned short next; /* the next input mapper ram id */ struct list_head list; }; int input_mapper_add(struct list_head *mappers, struct imapper *entry, int (*map_op)(void *, struct imapper *), void *data); int input_mapper_delete(struct list_head *mappers, struct imapper *entry, int (*map_op)(void *, struct imapper *), void *data); void free_input_mapper_list(struct list_head *mappers); #endif /* CTIMAP_H */ ds-private-remove'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/irda/irlan/irlan_client_event.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 11:17:54 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-11 11:17:54 -0800
commit69973b830859bc6529a7a0468ba0d80ee5117826 (patch)
tree5f11fe15ed9d9a3ab9c92242030e54b73ecdce45 /net/irda/irlan/irlan_client_event.c
parent2e4333c14de06a333783d6812cf3c4998f78b0c8 (diff)
Linux 4.9
Diffstat (limited to 'net/irda/irlan/irlan_client_event.c')