HelenOS sources
pci 44 kernel/arch/sparc64/include/arch/drivers/pci.h typedef struct pci pci_t;
pci 84 kernel/arch/sparc64/src/drivers/pci.c pci_t *pci;
pci 105 kernel/arch/sparc64/src/drivers/pci.c pci = (pci_t *) malloc(sizeof(pci_t));
pci 106 kernel/arch/sparc64/src/drivers/pci.c if (!pci)
pci 109 kernel/arch/sparc64/src/drivers/pci.c pci->model = PCI_SABRE;
pci 110 kernel/arch/sparc64/src/drivers/pci.c pci->op = &pci_sabre_ops;
pci 111 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[SABRE_INTERNAL_REG].size,
pci 114 kernel/arch/sparc64/src/drivers/pci.c return pci;
pci 125 kernel/arch/sparc64/src/drivers/pci.c pci_t *pci;
pci 146 kernel/arch/sparc64/src/drivers/pci.c pci = (pci_t *) malloc(sizeof(pci_t));
pci 147 kernel/arch/sparc64/src/drivers/pci.c if (!pci)
pci 150 kernel/arch/sparc64/src/drivers/pci.c pci->model = PCI_PSYCHO;
pci 151 kernel/arch/sparc64/src/drivers/pci.c pci->op = &pci_psycho_ops;
pci 152 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size,
pci 155 kernel/arch/sparc64/src/drivers/pci.c return pci;
pci 158 kernel/arch/sparc64/src/drivers/pci.c void obio_enable_interrupt(pci_t *pci, int inr)
pci 160 kernel/arch/sparc64/src/drivers/pci.c pci->reg[OBIO_IMR(inr & INO_MASK)] |= IMAP_V_MASK;
pci 163 kernel/arch/sparc64/src/drivers/pci.c void obio_clear_interrupt(pci_t *pci, int inr)
pci 165 kernel/arch/sparc64/src/drivers/pci.c pci->reg[OBIO_CIR(inr & INO_MASK)] = 0; /* set IDLE */
pci 209 kernel/arch/sparc64/src/drivers/pci.c void pci_enable_interrupt(pci_t *pci, int inr)
pci 211 kernel/arch/sparc64/src/drivers/pci.c assert(pci->op && pci->op->enable_interrupt);
pci 212 kernel/arch/sparc64/src/drivers/pci.c pci->op->enable_interrupt(pci, inr);
pci 217 kernel/arch/sparc64/src/drivers/pci.c pci_t *pci = (pci_t *)pcip;
pci 219 kernel/arch/sparc64/src/drivers/pci.c assert(pci->op && pci->op->clear_interrupt);
pci 220 kernel/arch/sparc64/src/drivers/pci.c pci->op->clear_interrupt(pci, inr);
pci 133 kernel/genarch/src/ofw/pci.c pci_t *pci = node->device;
pci 134 kernel/genarch/src/ofw/pci.c if (!pci) {
pci 135 kernel/genarch/src/ofw/pci.c pci = pci_init(node);
pci 136 kernel/genarch/src/ofw/pci.c if (!pci)
pci 138 kernel/genarch/src/ofw/pci.c node->device = pci;
pci 141 kernel/genarch/src/ofw/pci.c pci_enable_interrupt(pci, ino);
pci 145 kernel/genarch/src/ofw/pci.c *cir_arg = pci;
pci 174 uspace/app/pci/pci.c pci_t *pci = NULL;
pci 202 uspace/app/pci/pci.c rc = pci_open(svc_id, &pci);
pci 208 uspace/app/pci/pci.c rc = pci_get_devices(pci, &dev_ids, &dev_cnt);
pci 215 uspace/app/pci/pci.c rc = pci_dev_get_info(pci, dev_ids[i], &dev_info);
pci 248 uspace/app/pci/pci.c pci_close(pci);
pci 249 uspace/app/pci/pci.c pci = NULL;
pci 260 uspace/app/pci/pci.c if (pci != NULL)
pci 261 uspace/app/pci/pci.c pci_close(pci);
pci 55 uspace/lib/device/src/pci.c pci_t *pci;
pci 58 uspace/lib/device/src/pci.c pci = calloc(1, sizeof(pci_t));
pci 59 uspace/lib/device/src/pci.c if (pci == NULL) {
pci 64 uspace/lib/device/src/pci.c pci->sess = loc_service_connect(svc_id, INTERFACE_PCI, 0);
pci 65 uspace/lib/device/src/pci.c if (pci->sess == NULL) {
pci 70 uspace/lib/device/src/pci.c *rpci = pci;
pci 73 uspace/lib/device/src/pci.c free(pci);
pci 81 uspace/lib/device/src/pci.c void pci_close(pci_t *pci)
pci 83 uspace/lib/device/src/pci.c if (pci == NULL)
pci 86 uspace/lib/device/src/pci.c async_hangup(pci->sess);
pci 87 uspace/lib/device/src/pci.c free(pci);
pci 101 uspace/lib/device/src/pci.c static errno_t pci_get_ids_once(pci_t *pci, sysarg_t method, sysarg_t arg1,
pci 104 uspace/lib/device/src/pci.c async_exch_t *exch = async_exchange_begin(pci->sess);
pci 139 uspace/lib/device/src/pci.c static errno_t pci_get_ids_internal(pci_t *pci, sysarg_t method, sysarg_t arg1,
pci 146 uspace/lib/device/src/pci.c errno_t rc = pci_get_ids_once(pci, method, arg1, NULL, 0, &act_size);
pci 156 uspace/lib/device/src/pci.c rc = pci_get_ids_once(pci, method, arg1, ids, alloc_size,
pci 186 uspace/lib/device/src/pci.c errno_t pci_get_devices(pci_t *pci, devman_handle_t **data, size_t *count)
pci 188 uspace/lib/device/src/pci.c return pci_get_ids_internal(pci, PCI_GET_DEVICES, 0, data, count);
pci 200 uspace/lib/device/src/pci.c errno_t pci_dev_get_info(pci_t *pci, devman_handle_t dev_handle,
pci 207 uspace/lib/device/src/pci.c exch = async_exchange_begin(pci->sess);
HelenOS homepage, sources at GitHub