/* * Allwinner Reduced Serial Bus Driver * * Copyright (c) 2015 Chen-Yu Tsai * * Author: Chen-Yu Tsai <wens@csie.org> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied.
*/ #ifndef _SUNXI_RSB_H #define _SUNXI_RSB_H
/** * struct sunxi_rsb_driver - RSB slave device driver * @driver: RSB device drivers should initialize name and owner field of * this structure. * @probe: binds this driver to a RSB device. * @remove: unbinds this driver from the RSB device.
*/ struct sunxi_rsb_driver { struct device_driver driver; int (*probe)(struct sunxi_rsb_device *rdev); void (*remove)(struct sunxi_rsb_device *rdev);
};
/** * devm_regmap_init_sunxi_rsb(): Initialise managed register map * * @rdev: Device that will be interacted with * @config: Configuration for register map * * The return value will be an ERR_PTR() on error or a valid pointer * to a struct regmap. The regmap will be automatically freed by the * device management code.
*/ #define devm_regmap_init_sunxi_rsb(rdev, config) \
__regmap_lockdep_wrapper(__devm_regmap_init_sunxi_rsb, #config, \
rdev, config)
#endif/* _SUNXI_RSB_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
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.