/freebsd-11-stable/sys/dev/cardbus/ |
H A D | cardbus.c | 186 int bus, domain, slot, func; local 197 slot = 0; 203 pci_read_device(brdev, cbdev, domain, bus, slot, func); 297 dinfo->pci.cfg.slot, dinfo->pci.cfg.func);
|
/freebsd-11-stable/sys/mips/nlm/ |
H A D | board.h | 154 int nlm_board_cpld_dboard_type(uint64_t cpldbase, int slot);
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | xen_pci_bus.c | 85 add_pci.devfn = (dinfo->cfg.slot << 3) | dinfo->cfg.func;
|
H A D | hvm.c | 241 u_int slot; local 244 slot = pci_get_slot(dev); 246 xhp.value = HVM_CALLBACK_PCI_INTX(slot, pin);
|
/freebsd-11-stable/sys/x86/iommu/ |
H A D | intel_fault.c | 194 int sid, bus, slot, func, faultp; local 216 * Note that the slot and function will not be correct 221 slot = PCI_RID2SLOT(sid); 229 slot = pci_get_slot(ctx->ctx_tag.owner); 236 bus, slot, func, sid, DMAR_FRCD2_T(fault_rec[1]),
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_offloadings.c | 178 dst_slot = &dst_ring->slot[j_cur]; 199 /* We are processing the first input slot and there is a mismatch 396 /* Next destination slot. */ 398 dst_slot = &dst_ring->slot[j_cur]; 402 /* Next input slot. */ 414 /* Address of a checksum field into a destination slot. */ 454 /* Next destination slot. */ 456 dst_slot = &dst_ring->slot[j_cur]; 459 /* Next source slot. */ 471 /* A second pass on the destination slots to set the slot flag [all...] |
/freebsd-11-stable/sys/dev/mlx5/ |
H A D | mlx5io.h | 41 uint8_t slot; member in struct:mlx5_tool_addr
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_hub.c | 1828 * The best Transaction Translation slot for an interrupt endpoint. 1842 /* find the last slot with lesser used bandwidth */ 1854 /* check if the current multi-slot is more optimal */ 1871 * having index "slot" by "len" bytes. "len" can be negative. If the 1872 * "slot" argument is greater or equal to "USB_HS_MICRO_FRAMES_MAX" 1873 * the "slot" argument will be replaced by the slot having least used 1874 * bandwidth. The "mask" argument is used for multi-slot allocations. 1877 * The slot in which the bandwidth update was done: 0..7 1881 uint8_t slot, uint8_ 1880 usb_hs_bandwidth_adjust(struct usb_device *udev, int16_t len, uint8_t slot, uint8_t mask) argument 1941 uint8_t slot; local 2022 uint8_t slot; local 2109 uint16_t slot; local [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_ioctl.c | 68 int domain, bus, slot, func, ret; local 88 ret = sscanf(busid, "PCI:%d:%d:%d", &bus, &slot, &func); 98 (slot != dev->pci_slot) ||
|
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | denode.h | 129 * Set a slot in the fat cache. 131 #define fc_setcache(dep, slot, frcn, fsrcn) \ 132 (dep)->de_fc[(slot)].fc_frcn = (frcn); \ 133 (dep)->de_fc[(slot)].fc_fsrcn = (fsrcn);
|
/freebsd-11-stable/usr.sbin/apmd/contrib/ |
H A D | pccardq.c | 25 fprintf(stderr, "usage: %s [-a] [-n] [-s slot]\n", prog); 51 warnc(0, "Invalid slot number."); 153 get_slot_info(int so, int slot, char **manuf, char **version, char argument 167 if ((slen = snprintf(buf, sizeof buf, "N%d", slot)) < 0) { 188 if (atoi(sl) != slot)
|
/freebsd-11-stable/contrib/gcc/cp/ |
H A D | tree.c | 256 tree slot = build_decl (VAR_DECL, NULL_TREE, type); local 257 DECL_ARTIFICIAL (slot) = 1; 258 DECL_IGNORED_P (slot) = 1; 259 DECL_CONTEXT (slot) = current_function_decl; 260 layout_decl (slot, 0); 261 return slot; 275 tree slot; local 291 slot = build_local_temp (type); 299 temporary slot. Then, expand_expr builds up a call-expression 300 using the new slot 351 tree slot; local 767 void **slot; local 1043 void **slot; local [all...] |
/freebsd-11-stable/lib/libvmmapi/ |
H A D | vmmapi.c | 847 vm_assign_pptdev(struct vmctx *ctx, int bus, int slot, int func) argument 853 pptdev.slot = slot; 860 vm_unassign_pptdev(struct vmctx *ctx, int bus, int slot, int func) argument 866 pptdev.slot = slot; 873 vm_map_pptdev_mmio(struct vmctx *ctx, int bus, int slot, int func, argument 880 pptmmio.slot = slot; 890 vm_setup_pptdev_msi(struct vmctx *ctx, int vcpu, int bus, int slot, in argument 908 vm_setup_pptdev_msix(struct vmctx *ctx, 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/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_bcj.c | 200 /* Instruction slot (0, 1, or 2) in the 128-bit instruction word */ 201 uint32_t slot; local 203 /* Bitwise offset of the instruction indicated by slot */ 224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { 225 if (((mask >> slot) & 1) == 0)
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | ofw_pci.c | 166 u_int bus, u_int slot, u_int func, u_int reg, int width) 177 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax) 202 __func__, bus, slot, func, reg); 211 u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int width) 218 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax) 165 ofw_pci_read_config_common(device_t dev, u_int regmax, u_long offset, u_int bus, u_int slot, u_int func, u_int reg, int width) argument 210 ofw_pci_write_config_common(device_t dev, u_int regmax, u_long offset, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int width) argument
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_os_freebsd.c | 293 int i, slot; local 300 slot = dsi->matches[i].slot; 301 switch (slot) { 340 for (res = false, dsi = sysid; dsi->matches[0].slot != 0 ; dsi++) {
|
/freebsd-11-stable/contrib/lua/src/ |
H A D | lapi.c | 589 const TValue *slot; local 591 if (luaV_fastget(L, t, str, slot, luaH_getstr)) { 592 setobj2s(L, L->top, slot); 598 luaV_finishget(L, t, L->top - 1, L->top - 1, slot); 630 const TValue *slot; local 633 if (luaV_fastget(L, t, n, slot, luaH_getint)) { 634 setobj2s(L, L->top, slot); 640 luaV_finishget(L, t, L->top - 1, L->top - 1, slot); 744 const TValue *slot; local 747 if (luaV_fastset(L, t, str, slot, luaH_getst 785 const TValue *slot; local 803 TValue *slot; local 832 TValue k, *slot; local [all...] |
H A D | lvm.c | 157 ** if 'slot' is NULL, 't' is not a table; otherwise, 'slot' points to 161 const TValue *slot) { 165 if (slot == NULL) { /* 't' is not a table? */ 173 lua_assert(ttisnil(slot)); 186 if (luaV_fastget(L,t,key,slot,luaH_get)) { /* fast track? */ 187 setobj2s(L, val, slot); /* done */ 198 ** If 'slot' is NULL, 't' is not a table. Otherwise, 'slot' points 200 ** entry. (The value at 'slot' mus 160 luaV_finishget(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot) argument 203 luaV_finishset(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot) argument [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | mansearch.c | 97 unsigned int slot; local 169 for (rp = ohash_first(htab, &slot); rp != NULL; 170 rp = ohash_next(htab, &slot)) { 247 unsigned int slot; local 287 slot = ohash_lookup_memory(htab, 289 if ((rp = ohash_find(htab, slot)) != NULL) { 295 ohash_insert(htab, slot, rp);
|
/freebsd-11-stable/sys/dev/bwn/ |
H A D | if_bwn.c | 660 | IEEE80211_C_SHSLOT /* short slot time supported */ 1047 #define BWN_GET_TXHDRCACHE(slot) \ 1048 &(txhdr_cache[(slot / BWN_TX_SLOTS_PER_FRAME) * BWN_HDRSIZE(mac)]) 1056 int error, slot, backup[2] = { dr->dr_curslot, dr->dr_usedslot }; local 1064 slot = bwn_dma_getslot(dr); 1065 dr->getdesc(dr, slot, &desc, &mt); 1070 (struct bwn_txhdr *)BWN_GET_TXHDRCACHE(slot), 1071 BWN_DMA_COOKIE(dr, slot)); 1075 BWN_GET_TXHDRCACHE(slot), BWN_HDRSIZE(mac), bwn_dma_ring_addr, 1088 slot 2844 bwn_dma_32_getdesc(struct bwn_dma_ring *dr, int slot, struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta) argument 2864 int slot; local 2890 bwn_dma_32_start_transfer(struct bwn_dma_ring *dr, int slot) argument 2925 bwn_dma_32_set_curslot(struct bwn_dma_ring *dr, int slot) argument 2933 bwn_dma_64_getdesc(struct bwn_dma_ring *dr, int slot, struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta) argument 2952 int slot; local 2985 bwn_dma_64_start_transfer(struct bwn_dma_ring *dr, int slot) argument 3020 bwn_dma_64_set_curslot(struct bwn_dma_ring *dr, int slot) argument 4411 int slot, tmp; local 5172 int slot, curslot; local 5332 bwn_dma_nextslot(struct bwn_dma_ring *dr, int slot) argument 5344 bwn_dma_rxeof(struct bwn_dma_ring *dr, int *slot) argument 5900 int slot; local 6702 int slot; local 7049 bwn_dma_parse_cookie(struct bwn_mac *mac, const struct bwn_txstatus *status, uint16_t cookie, int *slot) argument [all...] |
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlx.c | 71 static int mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status); 76 static int mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status); 81 static int mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status); 287 * where we allocate in smaller chunks and keep a lookup table from slot 1305 /* get a command slot */ 1504 /* get a command slot */ 1613 /* get a command slot */ 1663 /* get a command slot */ 1706 /* get a command slot */ 1750 /* get a command slot */ 2145 int slot, limit; local 2302 u_int8_t slot; local 2505 mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument 2624 mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument 2739 mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | cselib.c | 796 void **slot; 821 slot = htab_find_slot_with_hash (cselib_hash_table, wrap_constant (mode, x), 823 *slot = mem_elt; 928 void **slot; 972 slot = htab_find_slot_with_hash (cselib_hash_table, x, e->value, INSERT); 973 *slot = e; 985 slot = htab_find_slot_with_hash (cselib_hash_table, wrap_constant (mode, x), 987 if (slot == 0) 990 e = (cselib_val *) *slot; 996 /* We have to fill the slot befor 795 void **slot; local 927 void **slot; local [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_beacon.c | 422 * frame contents are done as needed and the slot time is 432 int slot, otherant; local 472 slot = ((tsftu % ic->ic_lintval) * ATH_BCBUF) / ic->ic_lintval; 473 vap = sc->sc_bslot[(slot+1) % ATH_BCBUF]; 483 for (slot = 0; slot < ATH_BCBUF; slot++) { 484 vap = sc->sc_bslot[slot]; 507 * Handle slot time change when a non-ERP station joins/leaves 516 sc->sc_slotupdate = slot; [all...] |
/freebsd-11-stable/sys/sparc64/sbus/ |
H A D | sbus.c | 393 i, (i & INTMAP_OBIO_MASK) == 0 ? "SBus slot" : "OBIO", 470 int i, nreg, nintr, slot, rslot; local 478 slot = -1; 495 if (slot != -1 && slot != rslot) { 501 slot = rslot; 508 sdi->sdi_slot = slot; 519 * SBus card devices need the slot number encoded into 523 iv |= slot << 3; 723 int i, slot; local [all...] |
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | mtk_pcie.c | 592 mtk_pci_make_addr(int bus, int slot, int func, int reg) argument 596 addr = ((((reg & 0xf00) >> 8) << 24) | (bus << 16) | (slot << 11) | 610 mtk_pci_slot_has_link(device_t dev, int slot) argument 614 return !!(sc->pcie_link_status & (1<<slot)); 618 mtk_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 624 /* Return ~0U if slot has no link */ 625 if (bus == 0 && mtk_pci_slot_has_link(dev, slot) == 0) { 630 addr = mtk_pci_make_addr(bus, slot, func, (reg & ~3)) & sc->addr_mask; 652 mtk_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument 658 /* Do not write if slot ha [all...] |