/freebsd-11-stable/sys/dev/pci/ |
H A D | pci_host_generic.c | 78 #define PCIE_ADDR_OFFSET(bus, slot, func, reg) \ 80 (((slot) & PCIE_SLOT_MASK) << PCIE_SLOT_SHIFT) | \ 102 static uint32_t generic_pcie_read_config(device_t dev, u_int bus, u_int slot, 104 static void generic_pcie_write_config(device_t dev, u_int bus, u_int slot, 344 generic_pcie_read_config(device_t dev, u_int bus, u_int slot, argument 353 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || 359 offset = PCIE_ADDR_OFFSET(bus, slot, func, reg); 381 generic_pcie_write_config(device_t dev, u_int bus, u_int slot, argument 389 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || 395 offset = PCIE_ADDR_OFFSET(bus, slot, fun [all...] |
H A D | pcib_private.h | 149 int slot, int func, uint8_t *busnum); 195 int *slot, int *func);
|
/freebsd-11-stable/stand/sparc64/loader/ |
H A D | main.c | 369 dtlb_get_data_sun4u(u_int tlb, u_int slot) argument 373 slot = TLB_DAR_SLOT(tlb, slot); 380 (void)ldxa(slot, ASI_DTLB_DATA_ACCESS_REG); 381 data = ldxa(slot, ASI_DTLB_DATA_ACCESS_REG); 387 itlb_get_data_sun4u(u_int tlb, u_int slot) argument 391 slot = TLB_DAR_SLOT(tlb, slot); 398 (void)ldxa(slot, ASI_ITLB_DATA_ACCESS_REG); 399 data = ldxa(slot, ASI_ITLB_DATA_ACCESS_RE [all...] |
/freebsd-11-stable/tools/tools/netmap/ |
H A D | lb.c | 482 /* push the packet described by slot rs to the group g. 501 struct netmap_slot *ts = &ring->slot[ring->head]; 897 /* slight abuse of the API here: we touch the slot 901 struct netmap_slot *rs = &ring->slot[last]; 922 struct netmap_slot *slot; local 935 slot = &ring->slot[ring->head]; 936 tmp.buf_idx = slot->buf_idx; 938 *slot = s; 939 slot [all...] |
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 614 cfginit(struct vmctx *ctx, struct pci_devinst *pi, int bus, int slot, int func) argument 624 sc->psc_sel.pc_dev = slot; 629 bus, slot, func); 635 bus, slot, func); 647 int bus, slot, func, error, memflags; local 714 sscanf(opts, "%d/%d/%d", &bus, &slot, &func) != 3) { 719 if (vm_assign_pptdev(ctx, bus, slot, func) != 0) { 721 bus, slot, func); 731 if ((error = cfginit(ctx, pi, bus, slot, func)) != 0) 738 vm_unassign_pptdev(ctx, bus, slot, fun [all...] |
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | ds1.c | 105 volatile struct rbank *slot; member in struct:sc_rchinfo 359 int slot; local 363 slot = sc->pslotfree++; 364 return sc->pbank[slot * 2]; 427 ds_enapslot(struct sc_info *sc, int slot, int go) argument 429 wrl(sc, &sc->pbase[slot + 1], go? (sc->pbankbase + 2 * slot * sc->pbanksize) : 0); 430 /* printf("pbase[%d] = 0x%x\n", slot + 1, go? (sc->pbankbase + 2 * slot * sc->pbanksize) : 0); */ 466 ch->slot[ [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-into-ssa.c | 454 void **slot; local 457 slot = htab_find_slot (def_blocks, (void *) &db, INSERT); 458 if (*slot == NULL) 465 *slot = (void *) db_p; 468 db_p = (struct def_blocks_d *) *slot; 602 void **slot; local 605 slot = htab_find_slot (repl_tbl, (void *) &m, NO_INSERT); 608 if (slot == NULL || *slot == NULL) 611 return ((struct repl_map_d *) *slot) 621 void **slot; local 1556 debug_def_blocks_r(void **slot, void *data ATTRIBUTE_UNUSED) argument [all...] |
H A D | except.c | 784 struct ehl_map_entry **slot, *entry; 792 slot = (struct ehl_map_entry **) 799 gcc_assert (!*slot || cfun->eh->built_landing_pads); 801 *slot = entry; 1157 tree *slot; 1159 slot = (tree *) htab_find_slot_with_hash (type_to_runtime_map, type, 1161 if (*slot == NULL) 1164 *slot = tree_cons (type, runtime, NULL_TREE); 1171 tree *slot; 1173 slot 777 struct ehl_map_entry **slot, *entry; local 1148 tree *slot; local 1162 tree *slot; local 1233 struct ttypes_filter **slot, *n; local 1259 struct ttypes_filter **slot, *n; local 2159 struct ehl_map_entry **slot, tmp; local 2271 struct ehl_map_entry **slot, tmp; local 3077 struct action_record **slot, *new, tmp; local [all...] |
H A D | tree-ssa-reassoc.c | 193 void **slot; local 197 slot = htab_find_slot (operand_rank, &vrd, NO_INSERT); 198 if (!slot) 200 return ((operand_entry_t) *slot); 208 void **slot; local 213 slot = htab_find_slot (operand_rank, new_pair, INSERT); 214 gcc_assert (*slot == NULL); 215 *slot = new_pair;
|
/freebsd-11-stable/sys/dev/mvs/ |
H A D | mvs.h | 440 #define MVS_CRQB_TO_ADDR(slot) ((slot) << MVS_CRQB_SHIFT) 466 #define MVS_CRPB_TO_ADDR(slot) ((slot) << MVS_CRPB_SHIFT) 503 int slot; /* Number of this slot */ member in struct:mvs_slot 506 union ccb *ccb; /* CCB occupying slot */ 507 struct ata_dmaslot dma; /* DMA data of this slot */ 547 struct mvs_slot slot[MVS_MAX_SLOTS]; member in struct:mvs_channel 570 int lastslot; /* Last used slot */ [all...] |
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | cpcht.c | 230 * Mark this slot is populated. The remote south bridge does 312 cpcht_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 320 (((((slot & 0x1f) << 3) | (func & 0x07)) << 8) | reg); 322 if (bus == 0 && (!(sc->sc_populated_slots & (1 << slot)) || func > 0)) 344 cpcht_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 352 (((((slot & 0x1f) << 3) | (func & 0x07)) << 8) | reg); 354 if (bus == 0 && (!(sc->sc_populated_slots & (1 << slot)) || func > 0))
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar724x_pci.c | 117 ar724x_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 133 dprintf("%s: tag (%x, %x, %x) reg %d(%d)\n", __func__, bus, slot, 136 if ((bus == 0) && (slot == 0) && (func == 0)) 150 ar724x_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 154 dprintf("%s: tag (%x, %x, %x) reg %d(%d): %x\n", __func__, bus, slot, 157 if ((bus != 0) || (slot != 0) || (func != 0)) 330 * Check whether the given slot has a hint to poke.
|
H A D | qca955x_pci.c | 134 qca955x_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 151 dprintf("%s: tag (%x, %x, %x) reg %d(%d)\n", __func__, bus, slot, 154 if ((bus == 0) && (slot == 0) && (func == 0)) 168 qca955x_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 173 dprintf("%s: tag (%x, %x, %x) reg %d(%d): %x\n", __func__, bus, slot, 176 if ((bus != 0) || (slot != 0) || (func != 0))
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-wb.c | 150 uint32_t slot; member in struct:pgstate 195 EXTRACT_32BITS(&id->pi_ps.slot), 275 EXTRACT_32BITS(&ps->slot),
|
/freebsd-11-stable/contrib/gcc/cp/ |
H A D | typeck2.c | 183 void **slot; 193 slot = htab_find_slot_with_hash (abstract_pending_vars, type, 195 if (!slot) 197 pat = (struct pending_abstract_type*)*slot; 229 htab_clear_slot (abstract_pending_vars, slot); 256 void **slot; 266 slot = htab_find_slot_with_hash (abstract_pending_vars, type, 276 pat->next = (struct pending_abstract_type *) *slot; 277 *slot = pat; 1341 then the slot bein 182 void **slot; local 255 void **slot; local [all...] |
/freebsd-11-stable/sys/dev/hme/ |
H A D | if_hme_pci.c | 144 int j, slot; local 249 slot = pci_get_slot(dev); 260 pci_get_slot(children[j]) == slot) { 318 j += slot * (PCI_VPDRES_LARGE_DATA + PCI_VPD_SIZE +
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_pci.c | 283 int func, slot; local 291 slot = ACPI_ADR_PCI_SLOT(address); 295 dinfo->ap_dinfo.cfg.slot == slot) {
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap.c | 123 a number of slot in the ring, then the lock is released, 892 * IMPORTANT: Always keep one slot empty. 1175 struct netmap_slot *slot = &kring->ring->slot[n]; local 1177 if ((slot->flags & NS_FORWARD) == 0 && !force) 1179 if (slot->len < 14 || slot->len > NETMAP_BUF_SIZE(na)) { 1180 nm_prlim(5, "bad pkt at %d len %d", n, slot->len); 1183 slot->flags &= ~NS_FORWARD; // XXX needed ? 1185 m = m_devget(NMB(na, slot), slo 1339 struct netmap_slot *slot = &ring->slot[nm_i]; local [all...] |
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | tc-ia64.c | 65 #define PREV_SLOT md.slot[(md.curr_slot + NUM_SLOTS - 1) % NUM_SLOTS] 66 #define CURR_SLOT md.slot[md.curr_slot] 270 struct slot struct in struct:__anon325 300 slot[NUM_SLOTS]; member in struct:__anon325 707 /* A slot_number is a frag address plus the slot index (0-2). We use the 746 /* Any unwind entires that should be attached to the current slot 843 static void build_insn PARAMS ((struct slot *, bfd_vma *)); 2947 as_bad (" Insn slot not set in unwind record."); 6549 build_insn (slot, insnp) 6550 struct slot *slo 7341 match(int templ, int type, int slot) argument 7368 extra_goodness(int templ, int slot) argument 11529 long slot; local [all...] |
/freebsd-11-stable/contrib/gcc/config/ |
H A D | darwin.c | 356 machopic_indirection_hash (const void *slot) argument 358 const machopic_indirection *p = (const machopic_indirection *) slot; 366 machopic_indirection_eq (const void *slot, const void *key) argument 368 return strcmp (((const machopic_indirection *) slot)->ptr_name, key) == 0; 381 void ** slot; local 438 slot = htab_find_slot_with_hash (machopic_indirections, buffer, 440 if (*slot) 442 p = (machopic_indirection *) *slot; 451 *slot = p; 931 machopic_output_indirection (void **slot, voi argument [all...] |
/freebsd-11-stable/contrib/libarchive/cpio/ |
H A D | cpio.c | 1372 int slot; local 1385 slot = id % cache->size; 1386 if (cache->cache[slot].name != NULL) { 1387 if (cache->cache[slot].id == id) { 1389 return (cache->cache[slot].name); 1391 free(cache->cache[slot].name); 1392 cache->cache[slot].name = NULL; 1401 cache->cache[slot].name = strdup(name); 1402 if (cache->cache[slot].name != NULL) { 1403 cache->cache[slot] [all...] |
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | sequence.c | 113 elem_set(struct gss_msg_order *o, unsigned int slot, OM_uint32 val) argument 115 o->elem[slot % o->jitter_window] = val;
|
/freebsd-11-stable/sys/mips/nlm/hal/ |
H A D | iomap.h | 99 #define XLP_IO_MMC_OFFSET(node, slot) \ 100 ((XLP_IO_SD_OFFSET(node))+(slot*0x100)+XLP_IO_PCI_HDRSZ) 196 * input is the pci device (slot) number.
|
/freebsd-11-stable/tools/tools/pirtool/ |
H A D | pirtool.c | 270 if (p->slot == 0) 273 printf("slot %-3d ", p->slot);
|
/freebsd-11-stable/usr.bin/xargs/ |
H A D | xargs.c | 84 static void clearslot(int slot); 264 * added in an extra slot. 274 * slot. 701 int slot; local 703 slot = findfreeslot(); 704 childpids[slot] = pid; 711 int slot; local 713 if ((slot = findslot(pid)) < 0) 716 clearslot(slot); 724 int slot; local 734 int slot; local 743 clearslot(int slot) argument [all...] |