/DragonOS-0.1.2/kernel/src/driver/pci/ |
D | msi.c | 25 …dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_msix_cap_list() 32 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list() 34 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list() 42 …dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_cap_list() 48 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 53 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 61 …cap_list.msg_data = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->p… in __msi_read_cap_list() 66 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 68 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 94 uint32_t bar = pci_read_config(pci_dev->bus, pci_dev->device, pci_dev->func, bar_off); in __msix_map_table() [all …]
|
D | pci.c | 234 common_header->device = slot; in pci_read_header() 308 static void pci_checkFunction(uint8_t bus, uint8_t device, uint8_t function) in pci_checkFunction() argument 311 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, function… in pci_checkFunction() 328 static int pci_checkDevice(uint8_t bus, uint8_t device) in pci_checkDevice() argument 332 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, 0, false… in pci_checkDevice() 351 pci_checkFunction(bus, device, 0); in pci_checkDevice() 361 … = (struct pci_device_structure_header_t *)pci_read_header(&header_type, bus, device, func, false); in pci_checkDevice() 364 pci_checkFunction(bus, device, func); in pci_checkDevice() 377 for (uint8_t device = 0; device < 32; ++device) in pci_checkBus() local 379 pci_checkDevice(bus, device); in pci_checkBus() [all …]
|
D | pci.h | 31 uint8_t device; member
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | errno.md | 103 #define ENODEV 44 /* 没有指定的设备 No such device.*/ 121 #define ENOSPC 52 /* 设备上没有空间 No space left on device.*/ 145 #define ENXIO 63 /* 没有这样的设备或地址 No such device or address.*/ 185 #define EXDEV 81 /* 跨设备连接 Cross-device link.*/
|
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/ |
D | ahci.h | 72 uint8_t device; // Device register member 109 uint8_t device; // Device register member 160 uint8_t device; // Device register member
|
D | ahci.c | 383 cmdfis->device = 1 << 6; // LBA mode in ahci_read() 478 cmdfis->device = 1 << 6; // LBA mode in ahci_write()
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 2090 … dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, dev_hdr->header.Vendor_ID, in xhci_init() 2105 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2108 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x4, tmp); in xhci_init() 2152 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2154 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x60, tmp); in xhci_init() 2157 …if (((pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0) & 0xff… in xhci_init() 2158 …(((pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0) >> 16) & … in xhci_init() 2160 …((pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 8) & 0xff) ==… in xhci_init() 2163 …pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0xd8, 0xffffff… in xhci_init() 2164 …pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0xd0, 0xffffff… in xhci_init() [all …]
|