| /dev/bus/pci/bus_mgr/ |
| A D | resource.cpp | 19 resource_range &resource_allocator::type_to_range(pci_resource_type type, bool prefetchable) { in type_to_range() argument 21 switch (type) { in type_to_range() 27 DEBUG_ASSERT_MSG(0, "uhandled prefetchable pci resource type %d\n", type); in type_to_range() 30 switch (type) { in type_to_range() 38 DEBUG_ASSERT_MSG(0, "uhandled pci resource type %d\n", type); in type_to_range() 46 …ase %#llx size %#llx type %d prefetchable %d\n", range.base, range.size, range.type, prefetchable); in set_range() 47 type_to_range(range.type, prefetchable) = range; in set_range() 52 pci_resource_type type; in allocate_mmio() local 56 type = PCI_RESOURCE_MMIO64_RANGE; in allocate_mmio() 58 type = PCI_RESOURCE_MMIO_RANGE; in allocate_mmio() [all …]
|
| A D | resource.h | 18 pci_resource_type type; member 24 type, base, size); in dump() 55 resource_range &type_to_range(pci_resource_type type, bool prefetchable);
|
| A D | bus.cpp | 170 … auto split_and_sort_list = [](pci_resource_type type, list_node *main_list, list_node *out_list) { in allocate_resources() argument 173 if (r->type == type) { in allocate_resources() 236 auto type = r->type; in allocate_resources() local 237 const bool can_be_64bit = (type == PCI_RESOURCE_MMIO64_RANGE); in allocate_resources()
|
| A D | bus_mgr.cpp | 171 status_t pci_bus_mgr_add_resource(enum pci_resource_type type, uint64_t mmio_base, uint64_t len) { in pci_bus_mgr_add_resource() argument 172 LTRACEF("type %d: mmio base %#llx len %#llx\n", type, mmio_base, len); in pci_bus_mgr_add_resource() 175 r.type = type; in pci_bus_mgr_add_resource() 350 const char *pci_resource_type_to_str(enum pci_resource_type type) { in pci_resource_type_to_str() argument 351 switch (type) { in pci_resource_type_to_str()
|
| A D | bridge.cpp | 332 …auto make_request = [this, &bar_alloc_requests](pci_resource_type type, bool prefetchable, uint64_… in get_bar_alloc_requests() argument 338 request->type = type; in get_bar_alloc_requests() 377 switch (request->type) { in assign_resource() 447 r.type = PCI_RESOURCE_IO_RANGE; in assign_child_resources() 456 r.type = PCI_RESOURCE_MMIO_RANGE; in assign_child_resources() 468 r.type = PCI_RESOURCE_MMIO_RANGE; in assign_child_resources() 470 r.type = PCI_RESOURCE_MMIO64_RANGE; in assign_child_resources()
|
| A D | device.cpp | 519 request->type = PCI_RESOURCE_IO_RANGE; in get_bar_alloc_requests() 526 request->type = PCI_RESOURCE_MMIO64_RANGE; in get_bar_alloc_requests() 534 request->type = PCI_RESOURCE_MMIO_RANGE; in get_bar_alloc_requests() 557 switch (request->type) { in assign_resource() 573 panic("invalid request type %d\n", request->type); in assign_resource() 586 …this, pci_loc_string(dev->loc(), str), type, pci_resource_type_to_str(type), prefetchable, size, a… in dump() 589 …this, pci_loc_string(dev->loc(), str), type, pci_resource_type_to_str(type), prefetchable, size, a… in dump()
|
| A D | device.h | 66 pci_resource_type type; member
|
| /dev/include/dev/ |
| A D | driver.h | 63 const char *type; member 74 .type = #type_, \ 94 #define device_get_driver_ops(dev, type, member) ({ \ argument 95 type *__ops = NULL; \ 97 __ops = containerof(dev->driver->ops, type, member); \
|
| A D | udc.h | 56 udc_endpoint_t *udc_endpoint_alloc(unsigned type, unsigned maxpkt);
|
| A D | usbc.h | 54 status_t usbc_setup_endpoint(ep_t ep, ep_dir_t dir, uint width, ep_type_t type);
|
| /dev/virtio/gpu/ |
| A D | virtio-gpu.c | 118 req.type = VIRTIO_GPU_CMD_GET_DISPLAY_INFO; in get_display_info() 130 if (info->hdr.type != VIRTIO_GPU_RESP_OK_DISPLAY_INFO) { in get_display_info() 170 req.hdr.type = VIRTIO_GPU_CMD_RESOURCE_CREATE_2D; in allocate_2d_resource() 183 LTRACEF("response type 0x%x\n", res->type); in allocate_2d_resource() 229 LTRACEF("response type 0x%x\n", res->type); in attach_backing() 250 req.hdr.type = VIRTIO_GPU_CMD_SET_SCANOUT; in set_scanout() 263 LTRACEF("response type 0x%x\n", res->type); in set_scanout() 284 req.hdr.type = VIRTIO_GPU_CMD_RESOURCE_FLUSH; in flush_resource() 296 LTRACEF("response type 0x%x\n", res->type); in flush_resource() 317 req.hdr.type = VIRTIO_GPU_CMD_TRANSFER_TO_HOST_2D; in transfer_to_host_2d() [all …]
|
| A D | virtio_gpu.h | 78 uint32_t type; member
|
| /dev/ |
| A D | driver.c | 27 dev->driver->type, dev->name, code); in device_init_all() 45 dev->driver->type, dev->name, code); in device_fini_all() 63 dprintf(INFO, "dev: initializing device %s:%s\n", dev->driver->type, dev->name); in device_init()
|
| /dev/virtio/9p/ |
| A D | protocol.c | 140 qid.type = pdu_readb(pdu); in pdu_readqid() 193 ent->type = pdu_readb(&fake_pdu); in p9_dirent_read() 199 ent->qid.type, ent->qid.version, ent->qid.path, ent->offset, ent->type, in p9_dirent_read() 269 rmsg->msg.rattach.qid.type, rmsg->msg.rattach.qid.version, in p9_proto_rattach() 302 rmsg->msg.rwalk.qid[i].type, rmsg->msg.rwalk.qid[i].version, in p9_proto_rwalk() 329 rmsg->msg.ropen.qid.type, rmsg->msg.ropen.qid.version, in p9_proto_ropen() 355 rmsg->msg.rlopen.qid.type, rmsg->msg.rlopen.qid.version, in p9_proto_rlopen() 410 rmsg->msg.rgetattr.valid, rmsg->msg.rgetattr.qid.type, in p9_proto_rgetattr() 547 rmsg->msg.rlcreate.qid.type, rmsg->msg.rlcreate.qid.version, in p9_proto_rlcreate() 602 rmsg->msg.rmkdir.qid.type, rmsg->msg.rmkdir.qid.version, in p9_proto_rmkdir()
|
| /dev/bus/pci/ |
| A D | pci.cpp | 167 const uint8_t type = config->header_type & 0x7f; in pci_read_config() local 168 if (type == 0) { in pci_read_config() 200 } else if (type == 1) { in pci_read_config()
|
| /dev/include/hw/ |
| A D | multiboot.h | 156 uint32_t type; member
|
| /dev/virtio/9p/include/dev/virtio/ |
| A D | 9p.h | 230 uint8_t type; member 250 uint8_t type; member
|
| /dev/virtio/block/ |
| A D | virtio-block.c | 69 uint32_t type; member 323 txn->req.type = write ? VIRTIO_BLK_T_OUT : VIRTIO_BLK_T_IN; in virtio_block_do_txn() 330 LTRACEF("blk_req type %u ioprio %u sector %llu\n", txn->req.type, in virtio_block_do_txn()
|