Searched refs:slot (Results 126 - 150 of 354) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.h44 struct mt7915_tm_slot_time slot; member in union:mt7915_tm_cmd::__anon356
/freebsd-current/sys/dev/sdhci/
H A Dsdhci_xenon.h112 struct sdhci_slot *slot; /* SDHCI internal data */ member in struct:sdhci_xenon_softc
/freebsd-current/sys/powerpc/pseries/
H A Drtas_pci.c147 rtaspci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
157 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) |
187 rtaspci_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
196 config_addr = ((bus & 0xff) << 16) | ((slot & 0x1f) << 11) |
/freebsd-current/sys/dev/netmap/
H A Dif_ptnet.c1388 struct netmap_slot *slot; local
1424 /* We ran out of slot, let's see if the host has
1461 slot = ring->slot + head;
1462 nmbuf = NMB(na, slot);
1466 * of the first slot. */
1519 slot->len = nmbuf_bytes;
1520 slot->flags = NS_MOREFRAG;
1525 slot = ring->slot
1625 struct netmap_slot *slot = ring->slot + head; local
1705 struct netmap_slot *slot; local
[all...]
H A Dnetmap_pipe.c211 struct netmap_slot *rs = &rxring->slot[k];
212 struct netmap_slot *ts = &txring->slot[k];
266 struct netmap_slot *rs = &rxring->slot[k];
267 struct netmap_slot *ts = &txring->slot[k];
269 /* copy the slot. This also propagates any offset */
434 memcpy(kring->pipe->ring->slot,
435 kring->ring->slot,
547 * all buffers are found in exactly one slot in the userspace part of
567 ring->slot[kring->pipe_tail].buf_idx = 0;
573 nm_prdis("%s[%d] %u", kring->name, j, ring->slot[
[all...]
H A Dnetmap_generic.c550 /* This slot was used to place an event. */
576 /* Compute a slot index in the middle between inf and sup. */
626 * and hwcur, and we have to chose one of these slot to
632 /* Choose a slot in the middle, so that we don't risk ending
637 /* Choose the first pending slot, to be safe against driver
736 struct netmap_slot *slot = &ring->slot[nm_i]; local
737 u_int len = slot->len;
738 void *addr = NMB(na, slot);
818 slot
956 struct netmap_slot *slot = &ring->slot[nm_i]; local
[all...]
/freebsd-current/contrib/jemalloc/src/
H A Drtree.c266 * (1) evict last entry in L2 cache; (2) move the collision slot from L1
280 size_t slot = rtree_cache_direct_map(key); \
282 rtree_ctx->cache[slot].leafkey; \
284 rtree_ctx->cache[slot].leaf; \
286 rtree_ctx->cache[slot].leafkey = leafkey; \
287 rtree_ctx->cache[slot].leaf = leaf; \
/freebsd-current/sys/powerpc/ofw/
H A Dofw_pcibus.c167 u_int func, slot; local
177 slot = OFW_PCI_PHYS_HI_DEVICE(pcir.phys_hi);
181 if (pci_find_dbsf(domain, busno, slot, func) != NULL)
193 PCIB_WRITE_CONFIG(pcib, busno, slot, func, PCIR_INTLINE,
202 domain, busno, slot, func);
/freebsd-current/sys/dev/sound/pci/
H A Denvy24.c1398 int src, dst, ssize, dsize, slot; local
1408 slot = ch->num * 2;
1411 dmabuf[dst * ENVY24_PLAY_CHNUM + slot].buffer = data[src];
1412 dmabuf[dst * ENVY24_PLAY_CHNUM + slot + 1].buffer = data[src + 1];
1428 int src, dst, ssize, dsize, slot; local
1441 slot = ch->num * 2;
1447 dmabuf[dst * ENVY24_PLAY_CHNUM + slot].buffer = (u_int32_t)data[src] << 16;
1448 dmabuf[dst * ENVY24_PLAY_CHNUM + slot + 1].buffer = (u_int32_t)data[src + 1] << 16;
1451 printf("%08x", dmabuf[dst * ENVY24_PLAY_CHNUM + slot]);
1452 printf("%08x", dmabuf[dst * ENVY24_PLAY_CHNUM + slot
1473 int src, dst, ssize, dsize, slot; local
1503 int src, dst, ssize, dsize, slot; local
1533 int src, dst, ssize, dsize, slot; local
1763 int slot; local
[all...]
H A Denvy24ht.c1307 int src, dst, ssize, dsize, slot; local
1317 slot = ch->num * 2;
1320 dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot].buffer = data[src];
1321 dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot + 1].buffer = data[src + 1];
1337 int src, dst, ssize, dsize, slot; local
1350 slot = ch->num * 2;
1356 dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot].buffer = (u_int32_t)data[src] << 16;
1357 dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot + 1].buffer = (u_int32_t)data[src + 1] << 16;
1360 printf("%08x", dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot]);
1361 printf("%08x", dmabuf[dst * ENVY24HT_PLAY_CHNUM + slot
1382 int src, dst, ssize, dsize, slot; local
1412 int src, dst, ssize, dsize, slot; local
1442 int src, dst, ssize, dsize, slot; local
1674 int slot; local
[all...]
/freebsd-current/sys/dev/cxgbe/
H A Dt4_netmap.c690 struct netmap_slot *slot; local
735 slot = netmap_reset(na, NR_RX, i, 0);
736 MPASS(slot != NULL); /* XXXNM: error check, not assert */
744 PNMB(na, &slot[j], &ba);
764 slot = netmap_reset(na, NR_TX, i, 0);
765 MPASS(slot != NULL); /* XXXNM: error check, not assert */
970 struct netmap_slot *slot; local
992 slot = &ring->slot[kring->nr_hwcur];
993 PNMB(kring->na, slot,
1201 struct netmap_slot *slot = &ring->slot[fl_pidx]; local
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_passthru.c606 cfginit(struct pci_devinst *pi, int bus, int slot, int func) argument
617 sc->psc_sel.pc_dev = slot;
636 bus, slot, func);
642 bus, slot, func);
658 bus, slot, func, error);
708 int bus, slot, func; local
719 } else if (sscanf(opts, "pci0:%d:%d:%d", &bus, &slot, &func) == 3 ||
720 sscanf(opts, "pci%d:%d:%d", &bus, &slot, &func) == 3 ||
721 sscanf(opts, "%d/%d/%d", &bus, &slot, &func) == 3) {
724 snprintf(value, sizeof(value), "%d", slot);
791 passthru_lookup_pptdev(const char *name, int *bus, int *slot, int *func) argument
859 int bus, slot, func, error, memflags; local
[all...]
/freebsd-current/sys/net80211/
H A Dieee80211_tdma.c320 ts->tdma_inuse = 0; /* clear slot usage */
388 * the slot timing, reconfigure the bss, etc.
405 * is non-zero we scan the slot allocation state in the ie
406 * to locate a free slot for our use.
413 int slot, slotlen, update; local
422 printf("%s: bad slot cnt %u\n",
432 printf("%s: bad slot len %u\n",
447 slot = ts->tdma_slot;
450 * Pick unoccupied slot. Note we never choose slot
[all...]
H A Dieee80211_phy.h57 * For drivers that don't implement per-VAP slot time
60 * the current radio configured slot time.
67 * For drivers that implement per-VAP slot time; look
69 * is in short or long slot time.
78 #define IEEE80211_DUR_DIFS(sifs, slot) ((sifs) + 2 * (slot))
/freebsd-current/sys/dev/xilinx/
H A Dxlnx_pcib.c421 u_int bus, u_int slot, u_int func, u_int reg)
432 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
436 if (bus == 0 && slot > 0)
451 xlnx_pcib_read_config(device_t dev, u_int bus, u_int slot, argument
466 if (!xlnx_pcib_req_valid(sc, bus, slot, func, reg))
469 offset = PCIE_ADDR_OFFSET(bus - sc->bus_start, slot, func, reg);
495 xlnx_pcib_write_config(device_t dev, u_int bus, u_int slot, argument
510 if (!xlnx_pcib_req_valid(sc, bus, slot, func, reg))
513 offset = PCIE_ADDR_OFFSET(bus - sc->bus_start, slot, func, reg);
420 xlnx_pcib_req_valid(struct generic_pcie_core_softc *sc, u_int bus, u_int slot, u_int func, u_int reg) argument
/freebsd-current/sys/dev/pci/
H A Dpci_host_generic.c65 static uint32_t generic_pcie_read_config(device_t dev, u_int bus, u_int slot,
67 static void generic_pcie_write_config(device_t dev, u_int bus, u_int slot,
292 generic_pcie_read_config(device_t dev, u_int bus, u_int slot, argument
302 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
305 if ((sc->quirks & PCIE_ECAM_DESIGNWARE_QUIRK) && bus == 0 && slot > 0)
308 offset = PCIE_ADDR_OFFSET(bus - sc->bus_start, slot, func, reg);
328 generic_pcie_write_config(device_t dev, u_int bus, u_int slot, argument
337 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
341 offset = PCIE_ADDR_OFFSET(bus - sc->bus_start, slot, func, reg);
H A Dpci_host_generic_fdt.c75 uint8_t slot; member in struct:pci_ofw_devinfo
418 uint8_t slot, func, busno; local
421 slot = pci_get_slot(child);
426 if (slot == di->slot && func == di->func && busno == di->bus)
461 di->slot = OFW_PCI_PHYS_HI_DEVICE(reg[0]);
/freebsd-current/sys/fs/nfs/
H A Dnfs_commonkrpc.c674 int i = 0, j = 0, opcnt, set_sigset = 0, slot; local
914 freeslot = -1; /* Set to slot that needs to be free'd */
916 slot = -1; /* Slot that needs a sequence# increment. */
1017 /* Check for a session slot that needs to be free'd. */
1026 * The slot used for this RPC is now in a
1027 * non-deterministic state, but if the slot isn't
1028 * free'd, threads can get stuck waiting for a slot.
1034 * this slot will result in an NFSERR_SEQMISORDERED
1041 /* And free the slot. */
1051 /* Check for a session slot tha
[all...]
/freebsd-current/contrib/lua/src/
H A Dlapi.c198 api_check(L, L->tbclist.p < L->top.p, "previous pop of an unclosed slot");
640 const TValue *slot; local
642 if (luaV_fastget(L, t, str, slot, luaH_getstr)) {
643 setobj2s(L, L->top.p, slot);
649 luaV_finishget(L, t, s2v(L->top.p - 1), L->top.p - 1, slot);
675 const TValue *slot; local
679 if (luaV_fastget(L, t, s2v(L->top.p - 1), slot, luaH_get)) {
680 setobj2s(L, L->top.p - 1, slot);
683 luaV_finishget(L, t, s2v(L->top.p - 1), L->top.p - 1, slot);
697 const TValue *slot; local
830 const TValue *slot; local
857 const TValue *slot; local
879 const TValue *slot; local
[all...]
H A Dltable.h49 const TValue *slot, TValue *value);
H A Dlfunc.c197 TValue *slot = &uv->u.value; /* new position for value */ local
200 setobj(L, slot, uv->v.p); /* move value to upvalue slot */
201 uv->v.p = slot; /* now current value lives here */
204 luaC_barrier(L, uv, slot);
/freebsd-current/share/dtrace/
H A Dipfw.d138 uint32_t slot;
186 slot = (p->flags & IPFW_ARGS_REF) ? p->rule.slot : 0;
/freebsd-current/sys/security/mac/
H A Dmac_framework.c521 int error, slot, static_entry; local
551 slot = ffs(mac_slot_offsets_free);
552 if (slot == 0) {
556 slot--;
557 mac_slot_offsets_free &= ~(1 << slot);
558 *mpc->mpc_field_off = slot;
/freebsd-current/contrib/mandoc/
H A Dmandocdb.c992 unsigned int slot; local
1010 slot = ohash_qlookup(&mlinks, mlink->file);
1011 assert(NULL == ohash_find(&mlinks, slot));
1012 ohash_insert(&mlinks, slot, mlink);
1017 slot = ohash_lookup_memory(&mpages, (char *)&inodev,
1019 mpage = ohash_find(&mpages, slot);
1027 ohash_insert(&mpages, slot, mpage);
1112 unsigned int slot; local
1158 slot = ohash_qlookup(&names, mlink->name);
1159 str = ohash_find(&names, slot);
1857 unsigned int slot; local
2102 unsigned int slot; local
[all...]
/freebsd-current/sys/amd64/include/
H A Dvmm_dev.h136 int slot; member in struct:vm_pptdev
142 int slot; member in struct:vm_pptdev_mmio
152 int slot; member in struct:vm_pptdev_msi
162 int slot; member in struct:vm_pptdev_msix

Completed in 340 milliseconds

1234567891011>>