/freebsd-current/crypto/heimdal/lib/hx509/ |
H A D | test_soft_pkcs11.c | 84 CK_SLOT_ID slot; local 112 slot = slot_ids[0]; 115 ret = (*func->C_GetSlotInfo)(slot, &slot_info); 122 ret = (*func->C_OpenSession)(slot, CKF_SERIAL_SESSION, 127 ret = (*func->C_GetTokenInfo)(slot, &token_info); 138 ret = (*func->C_GetTokenInfo)(slot, &token_info);
|
/freebsd-current/sys/dev/pci/ |
H A D | pci_host_generic_den0115.c | 202 pci_host_acpi_smccc_read_config(device_t dev, u_int bus, u_int slot, argument 213 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || 217 addr = (sc->base.ecam << 16) | (bus << 8) | (slot << 3) | (func << 0); 227 pci_host_acpi_smccc_write_config(device_t dev, u_int bus, u_int slot, argument 238 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || 242 addr = (sc->base.ecam << 16) | (bus << 8) | (slot << 3) | (func << 0);
|
H A D | pci_subr.c | 51 host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, argument 56 id = read_config(0, bus, slot, func, PCIR_DEVVENDOR, 4); 64 /* *busnum = read_config(0, bus, slot, func, 0x41, 1); */ 69 *busnum = read_config(0, bus, slot, func, 0x4a, 1); 85 switch (slot) { 119 *busnum = read_config(0, bus, slot, func, 0x44, 1); 124 *busnum = read_config(0, bus, slot, func, 0xc8, 1);
|
/freebsd-current/sys/powerpc/powermac/ |
H A D | grackle.c | 140 grackle_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 150 if (grackle_enable_config(sc, bus, slot, func, reg) != 0) { 180 grackle_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 189 if (grackle_enable_config(sc, bus, slot, func, reg)) { 209 grackle_enable_config(struct grackle_softc *sc, u_int bus, u_int slot, argument 218 cfgval = (bus << 16) | (slot << 11) | (func << 8) | (reg & 0xFC)
|
/freebsd-current/sys/dev/aic7xxx/ |
H A D | ahc_isa.c | 80 int slot; local 84 for (slot = 0; slot <= max_slot; slot++) { 93 iobase = (slot * AHC_EISA_SLOT_SIZE) + AHC_EISA_SLOT_OFFSET; 100 "alloc failed\n", slot, iobase);
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_xhci.c | 190 /* device context base address array: maps slot->device context */ 292 /* port and slot numbering start from 1 */ 345 static void pci_xhci_reset_slot(struct pci_xhci_softc *sc, int slot); 578 pci_xhci_get_dev_ctx(struct pci_xhci_softc *sc, uint32_t slot) argument 583 assert(slot > 0 && slot <= XHCI_MAX_DEVS); 584 assert(XHCI_SLOTDEV_PTR(sc, slot) != NULL); 587 devctx_addr = sc->opregs.dcbaa_p->dcba[slot]; 594 DPRINTF(("pci_xhci: get dev ctx, slot %u devctx addr %016lx", 595 slot, devctx_add 721 pci_xhci_reset_slot(struct pci_xhci_softc *sc, int slot) argument 819 pci_xhci_cmd_enable_slot(struct pci_xhci_softc *sc, uint32_t *slot) argument 845 pci_xhci_cmd_disable_slot(struct pci_xhci_softc *sc, uint32_t slot) argument 878 pci_xhci_cmd_reset_device(struct pci_xhci_softc *sc, uint32_t slot) argument 927 pci_xhci_cmd_address_device(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1008 pci_xhci_cmd_config_ep(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1125 pci_xhci_cmd_reset_ep(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1218 pci_xhci_cmd_set_tr(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1297 pci_xhci_cmd_eval_ctx(struct pci_xhci_softc *sc, uint32_t slot, struct xhci_trb *trb) argument 1376 uint32_t slot; local 1542 pci_xhci_xfer_complete(struct pci_xhci_softc *sc, struct usb_data_xfer *xfer, uint32_t slot, uint32_t epid, int *do_intr) argument 1663 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 1709 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 1901 pci_xhci_device_doorbell(struct pci_xhci_softc *sc, uint32_t slot, uint32_t epid, uint32_t streamid) argument 2688 int slot; local 2729 long slot; local 2951 struct pci_xhci_dev_emu *dev, *slot; local [all...] |
H A D | pci_emul.c | 161 static void pci_cfgrw(int in, int bus, int slot, int func, int coff, 207 * <bus>:<slot>:<func>,<emul>[,<config>] 208 * <slot>[:<func>],<emul>[,<config>] 210 * slot is 0..31 223 EPRINTLN("Invalid PCI slot info field \"%s\"", aopt); 258 * pci.<bus>.<slot>.<func> 260 * Where "bus", "slot", and "func" are all decimal values without 293 /* <bus>:<slot>:<func> */ 296 /* <slot>:<func> */ 299 /* <slot> */ 1119 pci_emul_init(struct vmctx *ctx, struct pci_devemu *pde, int bus, int slot, int func, struct funcinfo *fi) argument 1449 int bus, slot, func, coff, in; local 1506 int bus, slot, func; local 1687 pci_apic_prt_entry(int bus __unused, int slot, int pin, struct pci_irq *irq, void *arg __unused) argument 1701 pci_pirq_prt_entry(int bus __unused, int slot, int pin, struct pci_irq *irq, void *arg __unused) argument 1730 int func, slot; local 2067 int count, slot, pin; local 2089 int slot, pin; local 2109 pci_emul_is_mfdev(int bus, int slot) argument 2132 pci_emul_hdrtype_fixup(int bus, int slot, int off, int bytes, uint32_t *rv) argument 2241 pci_cfgrw(int in, int bus, int slot, int func, int coff, int bytes, uint32_t *valp) argument 2732 unsigned bus = 0, slot = 0, func = 0; local [all...] |
/freebsd-current/sys/arm/arm/ |
H A D | debug_monitor.c | 61 u_int slot; member in struct:dbg_wb_conf 386 dbg_setup_breakpoint(db_expr_t addr, db_expr_t size, u_int slot) argument 394 conf.slot = slot; 400 dbg_remove_breakpoint(u_int slot) argument 405 if (dbg_check_slot_free(DBG_TYPE_BREAKPOINT, slot)) 408 conf.slot = slot; 488 dbg_check_slot_free(enum dbg_t type, u_int slot) argument 509 if (slot > [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | dba.c | 88 unsigned int slot; local 91 for (entry = ohash_first(macro, &slot); entry != NULL; 92 entry = ohash_next(macro, &slot)) { 345 unsigned int slot; local 347 slot = ohash_qlookup(macro, value); 348 if ((entry = ohash_find(macro, slot)) == NULL) { 353 ohash_insert(macro, slot, entry); 437 unsigned int ie, ne, slot; local 451 for (entry = ohash_first(macro, &slot); entry != NULL; 452 entry = ohash_next(macro, &slot)) { [all...] |
H A D | chars.c | 443 unsigned int slot; local 447 slot = ohash_qlookup(&mchars, lines[i].roffcode); 448 assert(ohash_find(&mchars, slot) == NULL); 449 ohash_insert(&mchars, slot, lines + i);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | DelaySlotFiller.cpp | 1 //===-- DelaySlotFiller.cpp - SPARC delay slot filler ---------------------===// 10 // instructions. If no instructions can be moved into the delay slot, then a 28 #define DEBUG_TYPE "delay-slot-filler" 35 cl::desc("Disable the Sparc delay slot filler."), 53 // instructions to fill delay slot. 83 findDelayInstr(MachineBasicBlock &MBB, MachineBasicBlock::iterator slot); 103 /// We assume there is only one delay slot per delayed instruction. 132 // If MI has no delay slot, skip. 167 MachineBasicBlock::iterator slot) 174 if (slot 166 findDelayInstr(MachineBasicBlock &MBB, MachineBasicBlock::iterator slot) argument [all...] |
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 64 * the number of files merged into a given array slot equals the batch size, 65 * the merged CTF graph in that array is added to the done slot in order by 66 * array slot. 104 * when the thread restarts the loop. If the array slot was full, the 105 * array lock will be held while the slot contents are added to the done 106 * queue. The done queue lock is used to protect the wip slot cv's. 295 * order, starting with the slot containing the next batch that would 316 debug(2, "clearing slot %d (%d) (saving %d)\n", 319 debug(2, "clearing slot %d (%d)\n", slotnum, i); 362 wip_save_work(workqueue_t *wq, wip_t *slot, in argument 383 wip_add_work(wip_t *slot, tdata_t *pow) argument [all...] |
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evmap.c | 114 #define GET_IO_SLOT(x, map, slot, type) \ 117 key_.fd = slot; \ 122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ 125 key_.fd = slot; \ 135 ent_->fd = slot; \ 160 'struct type *' corresponding to the fd or signal 'slot'. Set 'x' to NULL 161 if there are no entries for 'slot'. Does no bounds-checking. */ 162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ 163 (x) = (struct type *)((map)->entries[slot]) 164 /* As GET_SLOT, but construct the entry for 'slot' i 205 evmap_make_space(struct event_signal_map *map, int slot, int msize) argument [all...] |
/freebsd-current/contrib/libevent/ |
H A D | evmap.c | 114 #define GET_IO_SLOT(x, map, slot, type) \ 117 key_.fd = slot; \ 122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ 125 key_.fd = slot; \ 135 ent_->fd = slot; \ 160 'struct type *' corresponding to the fd or signal 'slot'. Set 'x' to NULL 161 if there are no entries for 'slot'. Does no bounds-checking. */ 162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ 163 (x) = (struct type *)((map)->entries[slot]) 164 /* As GET_SLOT, but construct the entry for 'slot' i 205 evmap_make_space(struct event_signal_map *map, int slot, int msize) argument [all...] |
/freebsd-current/contrib/flex/src/ |
H A D | tblcmp.c | 550 * address below; find the next free slot. 602 /* Find next free slot in tables. */ 640 int i, slot, tblbase; local 646 slot = lastprot; 652 slot = numprots; 654 protnext[slot] = firstprot; 657 protprev[firstprot] = slot; 659 firstprot = slot; 660 prottbl[slot] = statenum; 661 protcomst[slot] [all...] |
/freebsd-current/sys/amd64/vmm/io/ |
H A D | iommu.c | 173 int error, bus, slot, func; local 218 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { 220 dev = pci_find_dbsf(0, bus, slot, func);
|
/freebsd-current/contrib/lua/src/ |
H A D | lvm.c | 288 ** if 'slot' is NULL, 't' is not a table; otherwise, 'slot' points to 292 const TValue *slot) { 296 if (slot == NULL) { /* 't' is not a table? */ 304 lua_assert(isempty(slot)); 317 if (luaV_fastget(L, t, key, slot, luaH_get)) { /* fast track? */ 318 setobj2s(L, val, slot); /* done */ 329 ** If 'slot' is NULL, 't' is not a table. Otherwise, 'slot' points 331 ** is no such entry. (The value at 'slot' mus 291 luaV_finishget(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot) argument 334 luaV_finishset(lua_State *L, const TValue *t, TValue *key, TValue *val, const TValue *slot) argument 1257 const TValue *slot; local 1270 const TValue *slot; local 1285 const TValue *slot; local 1300 const TValue *slot; local 1312 const TValue *slot; local 1326 const TValue *slot; local 1341 const TValue *slot; local 1356 const TValue *slot; local 1388 const TValue *slot; local [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_vale.c | 507 struct netmap_slot *slot = &ring->slot[j]; local 510 ft[ft_i].ft_len = slot->len; 511 ft[ft_i].ft_flags = slot->flags; 514 nm_prdis("flags is 0x%x", slot->flags); 516 slot->flags &= ~NS_BUF_CHANGED; 518 /* this slot goes into a list so initialize the link field */ 520 buf = ft[ft_i].ft_buf = (slot->flags & NS_INDIRECT) ? 521 (void *)(uintptr_t)slot->ptr : NMB_O(kring, slot); 946 struct netmap_slot *slot; local [all...] |
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | rtree.h | 332 size_t slot = rtree_cache_direct_map(key); local 337 if (likely(rtree_ctx->cache[slot].leafkey == leafkey)) { 338 rtree_leaf_elm_t *leaf = rtree_ctx->cache[slot].leaf; 345 * slot in L1 cache, and move the position in L2 up by 1. 358 rtree_ctx->cache[slot].leafkey; \ 360 rtree_ctx->cache[slot].leaf; \ 363 rtree_ctx->cache[slot].leafkey; \ 365 rtree_ctx->cache[slot].leaf; \ 367 rtree_ctx->cache[slot].leafkey = leafkey; \ 368 rtree_ctx->cache[slot] 467 size_t slot = rtree_cache_direct_map(key); local [all...] |
/freebsd-current/usr.sbin/ppp/ |
H A D | ether.c | 107 u_int32_t slot; /* ifindex << 24 | unit */ member in struct:etherdevice 188 return dev->slot; 224 u_long slot; local 282 slot = strtoul(sessionid, &end, 16); 284 dev->slot = slot; 678 dev->slot = GetIfIndex(path); 717 * set in the environment. If so, use it as the slot 721 u_long slot; local 723 slot [all...] |
/freebsd-current/sys/netinet/ |
H A D | tcp_hpts.h | 127 * slot possibly waking up the hpts if you are requesting 147 uint32_t tcp_hpts_insert_diag(struct tcpcb *tp, uint32_t slot, int32_t line, 149 #define tcp_hpts_insert(inp, slot) \ 150 tcp_hpts_insert_diag((inp), (slot), __LINE__, NULL)
|
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2838_pci.c | 267 u_int slot, u_int func, u_int reg) 276 if (bus == 0 && slot == 0 && func == 0) 284 func_index = PCIE_ADDR_OFFSET(bus, slot, func, 0); 291 bcm_pcib_is_valid_quad(struct bcm_pcib_softc *sc, u_int bus, u_int slot, argument 297 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX)) 300 if (bus == 0 && slot == 0 && func == 0) 313 bcm_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument 321 if (!bcm_pcib_is_valid_quad(sc, bus, slot, func, reg)) 325 offset = bcm_get_offset_and_prepare_config(sc, bus, slot, func, reg); 347 bcm_pcib_write_config(device_t dev, u_int bus, u_int slot, argument 266 bcm_get_offset_and_prepare_config(struct bcm_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg) argument [all...] |
/freebsd-current/tools/tools/netmap/ |
H A D | pkt-gen.c | 780 ring, cur, ring->slot[cur].buf_idx, 781 ring->slot[cur].flags, len); 1266 struct netmap_slot *slot = &ring->slot[head]; local 1272 struct netmap_slot *slot = &ring->slot[head]; 1273 char *p = NETMAP_BUF(ring, slot->buf_idx); 1286 slot = &ring->slot[head]; 1287 p = NETMAP_BUF(ring, slot 1423 struct netmap_slot *slot; local 1625 struct netmap_slot *slot = &rxring->slot[head]; local 1764 struct netmap_slot *slot; local 1906 struct netmap_slot *slot = &ring->slot[head]; local 2149 struct netmap_slot *slot = &ring->slot[head]; local 2238 struct netmap_slot *slot = &ring->slot[head]; local 2347 struct netmap_slot *slot = &ring->slot[head]; local [all...] |
/freebsd-current/crypto/openssh/ |
H A D | sk-api.h | 68 size_t slot; member in struct:sk_resident_key
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | testmode.h | 44 struct mt7915_tm_slot_time slot; member in union:mt7915_tm_cmd::__anon356
|