/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. * * @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 <linux/list.h>
struct imapper { unsignedshort slot; /* the id of the slot containing input data */ unsignedshort user; /* the id of the user resource consuming data */ unsignedshort addr; /* the input mapper ram id */ unsignedshort 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);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.