/freebsd-11-stable/sys/dev/mps/ |
H A D | mps_mapping.h | 40 * @slot: slot ID 48 uint16_t slot; member in struct:_map_phy_change
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | uninorthpci.c | 169 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 178 if (uninorth_enable_config(sc, bus, slot, func, reg) != 0) { 196 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 205 if (uninorth_enable_config(sc, bus, slot, func, reg)) { 221 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, argument 229 if (pass == slot) 244 if (slot < 11) 247 cfgval = (1 << slot) | (func << 8) | (reg & 0xfc); 249 cfgval = (bus << 16) | (slot << 11) | (func << 8) |
|
/freebsd-11-stable/sys/powerpc/mpc85xx/ |
H A D | pci_mpc85xx.c | 402 fsl_pcib_cfgread(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument 409 addr |= (slot & 0x1f) << 11; 440 fsl_pcib_cfgwrite(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument 447 addr |= (slot & 0x1f) << 11; 512 fsl_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 518 if (bus == sc->sc_busnr && !sc->sc_pcie && slot < 10) 520 devfn = DEVFN(bus, slot, func); 525 return (fsl_pcib_cfgread(sc, bus, slot, func, reg, bytes)); 529 fsl_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 534 if (bus == sc->sc_busnr && !sc->sc_pcie && slot < 1 540 fsl_pcib_init_via(struct fsl_pcib_softc *sc, uint16_t device, int bus, int slot, int fn) argument 561 int slot, func, maxfunc; local [all...] |
/freebsd-11-stable/sys/dev/netmap/ |
H A D | ixgbe_netmap.h | 215 * the corresponding slot in the NIC ring. Some drivers also 216 * need to update the buffer's physical address in the NIC slot 227 * to prefetch the next slot and txr entry. 234 __builtin_prefetch(&ring->slot[nm_i]); 238 struct netmap_slot *slot = &ring->slot[nm_i]; local 239 u_int len = slot->len; 241 void *addr = PNMB(na, slot, &paddr); 246 int flags = (slot->flags & NS_REPORT || 251 __builtin_prefetch(&ring->slot[nm_ 439 struct netmap_slot *slot = &ring->slot[nm_i]; local [all...] |
/freebsd-11-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_sqlite.h | 192 svn_sqlite__bind_int(svn_sqlite__stmt_t *stmt, int slot, int val); 196 svn_sqlite__bind_int64(svn_sqlite__stmt_t *stmt, int slot, 202 svn_sqlite__bind_text(svn_sqlite__stmt_t *stmt, int slot, 208 int slot, 215 int slot, 222 svn_sqlite__bind_revnum(svn_sqlite__stmt_t *stmt, int slot, 225 /* Bind a set of properties to the given slot. If PROPS is NULL, then no 229 int slot, 233 /* Bind a set of inherited properties to the given slot. If INHERITED_PROPS 238 int slot, [all...] |
/freebsd-11-stable/sys/dev/en/ |
H A D | midway.c | 525 struct en_txslot *slot = &sc->txslot[tx->chan]; local 541 cur = slot->cur; 573 EN_WRAPADD(slot->start, slot->stop, cur, cnt); \ 591 EN_WRAPADD(slot->start, slot->stop, cur, 4); 595 EN_WRAPADD(slot->start, slot->stop, cur, 4); 598 PUT_DTQ_ENTRY(0, MIDDMA_JK, WORD_IDX(slot->start, cur), 0); 609 EN_WRAPADD(slot 706 en_txdma(struct en_softc *sc, struct en_txslot *slot) argument 1172 struct en_rxslot *slot; local 1431 int vc, slot; local 1713 uint32_t slot; local 1806 struct en_rxslot *slot; local 1987 struct en_rxslot *slot = rx->vc->rxslot; local 2174 struct en_rxslot *slot; local 3199 u_int slot; local 3221 struct en_rxslot *slot; local [all...] |
/freebsd-11-stable/sys/arm/mv/ |
H A D | mv_pci.c | 668 mv_pcib_init_bar(struct mv_pcib_softc *sc, int bus, int slot, int func, argument 680 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, ~0, 4); 681 bar = mv_pcib_read_config(sc->sc_dev, bus, slot, func, reg, 4); 694 bus, slot, func, reg, bar, addr); 696 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4); 698 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg + 4, 705 mv_pcib_init_bridge(struct mv_pcib_softc *sc, int bus, int slot, int func) argument 717 mv_pcib_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEL_1, 719 mv_pcib_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEH_1, 721 mv_pcib_write_config(sc->sc_dev, bus, slot, fun 752 int slot, func, maxfunc, error; local 805 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument 940 mv_pcib_hw_cfgread(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument 975 mv_pcib_hw_cfgwrite(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument 1016 mv_pcib_root_slot(device_t dev, u_int bus, u_int slot, u_int func) argument 1035 mv_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument 1049 mv_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int bytes) argument [all...] |
/freebsd-11-stable/sys/dev/eisa/ |
H A D | eisaconf.c | 73 int slot; member in struct:eisa_ioconf 95 static int eisa_probe_slot(int slot, eisa_id_t *eisa_id); 151 int devices_found, slot; local 159 for (slot = 0; slot < num_eisa_slots; slot++) { 161 if (eisa_probe_slot(slot, &eisa_id)) { 163 * If there's no card in the first slot (the 170 if (slot == 0) 177 /* Prepare an eisa_device_node for this slot */ 206 eisa_probe_slot(int slot, eisa_id_t *eisa_id) argument 231 u_int8_t slot = eisa_get_slot(child); local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 177 unsigned slot = 0; local 184 slot = R_PPC_JMP_SLOT; 187 slot = R_PPC64_JMP_SLOT; 191 slot = R_386_JUMP_SLOT; 194 slot = R_X86_64_JUMP_SLOT; 197 slot = R_ARM_JUMP_SLOT; 200 slot = R_HEX_JMP_SLOT; 203 slot = R_AARCH64_JUMP_SLOT; 206 slot = R_MIPS_JUMP_SLOT; 209 slot [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | cgraph.c | 201 struct cgraph_node key, *node, **slot; local 210 slot = (struct cgraph_node **) htab_find_slot (cgraph_hash, &key, INSERT); 212 if (*slot) 214 node = *slot; 222 *slot = node; 238 struct cgraph_node **slot; local 240 slot = (struct cgraph_node **) htab_find_slot (cgraph_hash, node, INSERT); 242 gcc_assert (!*slot); 243 *slot = node; 339 void **slot; local 364 void **slot; local 419 void **slot; local 531 void **slot; local 845 struct cgraph_varpool_node key, *node, **slot; local [all...] |
H A D | genconditions.c | 115 write_one_condition (void **slot, void * ARG_UNUSED (dummy)) argument 117 const struct c_test *test = * (const struct c_test **) slot;
|
H A D | tree-vn.c | 254 void **slot; local 262 slot = htab_find_slot_with_hash (value_table, new_pair, new_pair->hashcode, 264 if (*slot) 265 free (*slot); 266 *slot = (void *) new_pair; 293 void **slot; local 303 slot = htab_find_slot_with_hash (value_table, &vep, vep.hashcode, NO_INSERT); 304 if (!slot) 307 return ((val_expr_pair_t) *slot)->v;
|
H A D | tree-ssa-alias-warnings.c | 368 void **slot = NULL; 372 slot = htab_find_slot (ref_map, &to_find, NO_INSERT); 374 if (!slot) 377 found = (struct tree_map *) *slot; 400 void **slot; 407 slot = htab_find_slot (ht, tp, INSERT); 408 *slot = (void *) tp; 1012 void **slot; 1017 slot = htab_find_slot (seen, func, INSERT); 1018 gcc_assert (slot); 366 void **slot = NULL; local 398 void **slot; local 1008 void **slot; local [all...] |
H A D | tree-ssa-threadupdate.c | 249 void **slot; local 260 slot = htab_find_slot (redirection_data, elt, insert); 264 if (slot == NULL) 272 if (*slot == NULL) 274 *slot = (void *)elt; 288 elt = (struct redirection_data *) *slot; 334 create_duplicates (void **slot, void *data) argument 336 struct redirection_data *rd = (struct redirection_data *) *slot; 373 fixup_template_block (void **slot, void *data) argument 375 struct redirection_data *rd = (struct redirection_data *) *slot; 586 redirect_edges(void **slot, void *data) argument [all...] |
/freebsd-11-stable/sys/dev/ahci/ |
H A D | ahci.c | 67 static void ahci_execute_transaction(struct ahci_slot *slot); 68 static void ahci_timeout(struct ahci_slot *slot); 69 static void ahci_end_transaction(struct ahci_slot *slot, enum ahci_err_type et); 1132 bzero(ch->slot, sizeof(ch->slot)); 1134 struct ahci_slot *slot = &ch->slot[i]; local 1136 slot->ch = ch; 1137 slot->slot 1155 struct ahci_slot *slot = &ch->slot[i]; local 1531 struct ahci_slot *slot; local 1581 struct ahci_slot *slot = arg; local 1611 ahci_execute_transaction(struct ahci_slot *slot) argument 1783 struct ahci_slot *slot = &ch->slot[i]; local 1798 ahci_timeout(struct ahci_slot *slot) argument 1877 ahci_end_transaction(struct ahci_slot *slot, enum ahci_err_type et) argument [all...] |
/freebsd-11-stable/contrib/binutils/opcodes/ |
H A D | ia64-dis.c | 71 ia64_insn t0, t1, slot[3], template, s_bit, insn; local 104 slot[0] = (t0 >> 5) & 0x1ffffffffffLL; 105 slot[1] = ((t0 >> 46) & 0x3ffff) | ((t1 & 0x7fffff) << 18); 106 slot[2] = (t1 >> 23) & 0x1ffffffffffLL; 118 /* skip L slot in MLI template: */ 123 insn = slot[slotnum]; 159 | (slot[1] << 22) | (((insn >> 36) & 0x1) << 63); 164 value = ((slot[1] & 0x1ffffffffffLL) << 21) 173 | (((slot[1] >> 2) & 0x7fffffffffLL) << 20)) << 4;
|
/freebsd-11-stable/sys/xen/ |
H A D | hvm.h | 80 #define HVM_CALLBACK_PCI_INTX(slot, pin) \ 82 | (((slot) & HVM_CB_PCI_INTX_SLOT_MASK) << HVM_CB_PCI_INTX_SLOT_SHIFT) \
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | radix-tree.h | 68 #define radix_tree_for_each_slot(slot, root, iter, start) \ 70 radix_tree_iter_find(root, iter, &(slot)); (iter)->index++)
|
/freebsd-11-stable/sys/arm/ti/cpsw/ |
H A D | if_cpsw.c | 375 #define cpsw_cpdma_bd_paddr(sc, slot) \ 376 BUS_SPACE_PHYSADDR(sc->mem_res, slot->bd_offset) 377 #define cpsw_cpdma_read_bd(sc, slot, val) \ 378 bus_read_region_4(sc->mem_res, slot->bd_offset, (uint32_t *) val, 4) 379 #define cpsw_cpdma_write_bd(sc, slot, val) \ 380 bus_write_region_4(sc->mem_res, slot->bd_offset, (uint32_t *) val, 4) 381 #define cpsw_cpdma_write_bd_next(sc, slot, next_slot) \ 382 cpsw_write_4(sc, slot->bd_offset, cpsw_cpdma_bd_paddr(sc, next_slot)) 383 #define cpsw_cpdma_write_bd_flags(sc, slot, val) \ 384 bus_write_2(sc->mem_res, slot 421 cpsw_dump_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) argument 462 struct cpsw_slot *slot; local 487 struct cpsw_slot *slot; local 504 struct cpsw_slot *slot; local 527 cpsw_free_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) argument 602 struct cpsw_slot *slot; local 1588 struct cpsw_slot *last, *slot; local 1715 struct cpsw_slot *first_new_slot, *last_old_slot, *next, *slot; local 1826 struct cpsw_slot *first_new_slot, *last, *last_old_slot, *next, *slot; local 1970 struct cpsw_slot *slot, *last_removed_slot = NULL; local [all...] |
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_xhci.c | 178 /* device context base address array: maps slot->device context */ 333 static void pci_xhci_reset_slot(struct pci_xhci_softc *sc, int slot); 562 pci_xhci_get_dev_ctx(struct pci_xhci_softc *sc, uint32_t slot) argument 567 assert(slot > 0 && slot <= sc->ndevices); 570 devctx_addr = sc->opregs.dcbaa_p->dcba[slot]; 577 DPRINTF(("pci_xhci: get dev ctx, slot %u devctx addr %016lx\r\n", 578 slot, devctx_addr)); 703 /* reset device at slot and data structures related to it */ 705 pci_xhci_reset_slot(struct pci_xhci_softc *sc, int slot) argument 803 pci_xhci_cmd_enable_slot(struct pci_xhci_softc *sc, uint32_t *slot) argument 829 pci_xhci_cmd_disable_slot(struct pci_xhci_softc *sc, uint32_t slot) argument 861 pci_xhci_cmd_reset_device(struct pci_xhci_softc *sc, uint32_t slot) argument 910 pci_xhci_cmd_address_device(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 991 pci_xhci_cmd_config_ep(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1108 pci_xhci_cmd_reset_ep(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1204 pci_xhci_cmd_set_tr(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1285 pci_xhci_cmd_eval_ctx(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1364 uint32_t slot; local 1530 pci_xhci_xfer_complete(struct pci_xhci_softc *sc, struct usb_data_xfer *xfer, uint32_t slot, uint32_t epid, int *do_intr) argument 1651 pci_xhci_try_usb_xfer(struct pci_xhci_softc *sc, struct pci_xhci_dev_emu *dev, struct pci_xhci_dev_ep *devep, struct xhci_endp_ctx *ep_ctx, uint32_t slot, uint32_t epid) argument 1697 pci_xhci_handle_transfer(struct pci_xhci_softc *sc, struct pci_xhci_dev_emu *dev, struct pci_xhci_dev_ep *devep, struct xhci_endp_ctx *ep_ctx, struct xhci_trb *trb, uint32_t slot, uint32_t epid, uint64_t addr, uint32_t ccs, uint32_t streamid) argument 1883 pci_xhci_device_doorbell(struct pci_xhci_softc *sc, uint32_t slot, uint32_t epid, uint32_t streamid) argument [all...] |
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | ppt.c | 124 int bus, slot, func; local 130 slot = pci_get_slot(dev); 140 else if (vmm_is_pptdev(bus, slot, func)) 200 ppt_find(int bus, int slot, int func) argument 211 if (bus == b && slot == s && func == f) 375 ppt_assign_device(struct vm *vm, int bus, int slot, int func) argument 379 ppt = ppt_find(bus, slot, func); 399 ppt_unassign_device(struct vm *vm, int bus, int slot, int func) argument 403 ppt = ppt_find(bus, slot, func); 428 int bus, slot, fun local 445 ppt_map_mmio(struct vm *vm, int bus, int slot, int func, vm_paddr_t gpa, size_t len, vm_paddr_t hpa) argument 502 ppt_setup_msi(struct vm *vm, int vcpu, int bus, int slot, int func, uint64_t addr, uint64_t msg, int numvec) argument 593 ppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func, int idx, uint64_t addr, uint64_t msg, uint32_t vector_control) argument [all...] |
/freebsd-11-stable/sys/dev/le/ |
H A D | lebuffer_sbus.c | 175 int i, nreg, nintr, slot, rslot; local 183 slot = -1; 197 if (slot != -1 && slot != rslot) { 203 slot = rslot; 209 if (slot != sbus_get_slot(dev)) { 210 device_printf(dev, "<%s>: parent and child slot do not match\n", 224 * SBus card devices need the slot number encoded into 228 iv |= slot << 3;
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | tag.c | 131 unsigned int slot; local 142 slot = ohash_qlookup(&tag_data, s); 143 entry = ohash_find(&tag_data, slot); 154 ohash_insert(&tag_data, slot, entry); 198 unsigned int slot; local 203 entry = ohash_first(&tag_data, &slot); 211 entry = ohash_next(&tag_data, &slot);
|
/freebsd-11-stable/usr.bin/checknr/ |
H A D | checknr.c | 212 static int slot; /* slot in knowncmds found by binsrch */ variable 599 /* binsrch sets slot as a side effect */ 601 printf("binsrch(%s) -> %d\n", mac, slot); 603 loc = &knowncmds[slot]; 613 knowncmds[slot-2], knowncmds[slot-1], knowncmds[slot], 614 knowncmds[slot+1], knowncmds[slot [all...] |
/freebsd-11-stable/sys/contrib/vchiq/interface/compat/ |
H A D | vchi_bsd.c | 469 struct thread_data *slot; local 471 slot = data; 472 slot->threadfn(slot->data); 483 struct thread_data *slot; local 490 slot = &thread_slots[thread_data_slot]; 491 slot->data = data; 492 slot->threadfn = threadfn; 499 if (kproc_create(kthread_wrapper, (void*)slot, &newp, 0, 0,
|