sound/pci/hda/cs35l41_hda_i2c.c Original file line numberDiff line numberDiff line change @@ -39,7 +39,7 @@ static void cs35l41_hda_i2c_remove(struct i2c_client *clt) } static const struct i2c_device_id cs35l41_hda_i2c_id[] = { { "cs35l41-hda", 0 }, { "cs35l41-hda...
static int pci_bus_match(struct device *dev, struct device_driver *drv) { struct pci_dev *pci_dev = to_pci_dev(dev); struct pci_driver *pci_drv = to_pci_driver(drv); const struct pci_device_id *found_id; found_id = pci_match_device(pci_drv, pci_dev); if (found_id) return...
struct kobject kobj; 代表这个设备并且连接它到层次中的 kobject. 注意, 作为一个通用的规则, device->kobj->parent 等同于 device->parent->kobj. char bus_id[BUS_ID_SIZE]; 唯一确定这个总线上的设备的字符串. PCI 设备, 例如, 使用标准的 PCI ID 格式, 包含域, 总线, 设备, 和功能号. struct bus...
int(*resume)(structplatform_device*); structdevice_driverdriver; conststructplatform_device_id*id_table; boolprevent_deferred_probe; }; 该结构体,用于注册驱动到platform总线, 我们编写驱动的时候往往需要填充以上几个成员 platform_device platform总线用于描述设备硬件信息的结构体,包括该硬件的所有资源(io,memo...
代表这个设备并且连接它到层次中的 kobject. 注意, 作为一个通用的规则, device->kobj->parent 等同于 device->parent->kobj. char bus_id[BUS_ID_SIZE]; 唯一确定这个总线上的设备的字符串. PCI 设备, 例如, 使用标准的 PCI ID 格式, 包含域, 总线, 设备, 和功能号. ...
struct.getName() = "pci_device_id" or struct.getName() = "pci_dynid" or struct.getName() = "perf_cpu_context" or struct.getName() = "perf_event" or struct.getName() = "pglist_data" or struct.getName() = "pid_namespace" or struct.getName() = "platform_device_id" or str...
上节中,除了简单的框架,我们还看到了一个和总线驱动相关的结构体bus_type 。这个结构体的定义在include/linux/device.h 中。本节先简单介绍结构体中的成员,再对每个成员作详细描述。[cpp]01.s t r u c t b u s _t y p e { 02.c o n s t c h a r *n a m e ; 03.s t ...
* A USB controller is usually a PCI device, for example. The device model * represents the actual connections between buses and the devices they control. * A bus is represented by the bus_type structure. It contains the name, the
DEVICE* IRP::device Definition at line353of filechannels/rdpdr.h. DEVMAN* IRP::devman Definition at line354of filechannels/rdpdr.h. pcIRPResponse IRP::Discard Definition at line365of filechannels/rdpdr.h. UINT32 IRP::FileId Definition at line355of filechannels/rdpdr.h. ...
7.67.11. single_qxl_pci 7.67.12. smartcard_enabled 7.68. DisplayType enum DisplayType enum 7.68.1. spice 7.68.2. vnc 7.69. Dns struct 7.70. DnsResolverConfiguration struct DnsResolverConfiguration struct 7.70.1. name_servers 7.71. Domain struct Domain struct 7.71.1. 用户 7.72. DynamicCpu stru...