原创 include/linux/list.h

#ifndef _LINUX_LIST_H #define _LINUX_LIST_H #include <linux/types.h> #incl

原创 void kobject_init(struct kobject *kobj, struct kobj_type *ktype)

lib/kobject.c /**  * kobject_init - initialize a kobject structure  * @kobj: pointer to the kobject to initialize  * @k

原创 struct file

include/linux/fs.h struct file {     /*      * fu_list becomes invalid after file_free is called and queued via      *

原创 struct kset

include/linux/kobject.h /**  * struct kset - a set of kobjects of a specific type, belonging to a specific subsystem.  

原创 int device_register(struct device *dev)

drivers/base/core.c /**  * device_register - register a device with the system.  * @dev: pointer to the device structur

原创 struct bus_type

include/linux/device.h /**  * struct bus_type - The bus type of the device  *  * @name:    The name of the bus.  * @bus

原创 struct nand_chip

include/linux/mtd/nand.h struct nand_chip {     void __iomem *IO_ADDR_R;     void __iomem *IO_ADDR_W;     uint8_t (*rea

原创 struct mtd_info

include/linux/mtd/mtd.h struct mtd_info {     u_char type;               //MTD 設備類型     u_int32_t flags;           //MT

原创 struct resource

include/linux/ioport.h /*  * Resources are tree-like, allowing  * nesting etc..  */ struct resource {     resource_size

原创 struct kobj_type

include/linux/kobject.h struct kobj_type {     void (*release)(struct kobject *kobj);     const struct sysfs_ops *sysfs

原创 struct device_driver {

include/linux/device.h /**  * struct device_driver - The basic device driver structure  * @name:    Name of the device

原创 int uart_register_driver(struct uart_driver *drv)

drivers/tty/serial/serial_core.c /**  *    uart_register_driver - register a driver with the uart core layer  *    @drv

原创 struct kset_uevent_ops

include/linux/kobject.h struct kset_uevent_ops {     int (* const filter)(struct kset *kset, struct kobject *kobj);   

原创 arch/arm/plat-samsung/dev-uart.c

/* linux/arch/arm/plat-samsung/dev-uart.c  *    originally from arch/arm/plat-s3c24xx/devs.c  *x  * Co

原创 struct s3c24xx_uart_port {

drivers/tty/serial/samsung.h struct s3c24xx_uart_port {     unsigned char            rx_claimed;     unsigned char