/freebsd-current/sys/dev/hid/ |
H A D | bcm5974.c | 822 int slot; local 839 for (i = 0, slot = 0; i != ntouch; i++) { 845 slot = evdev_mt_id_to_slot(sc->sc_evdev, id); 849 "ot=%4x, id=%4x, slot=%d\n", 853 fc->pressure, fc->id_ori >> 5, id, slot); 854 if (fc->touch_major == 0 || slot == -1) 866 evdev_mt_push_slot(sc->sc_evdev, slot, &slot_data); 886 .id = slot, 897 evdev_mt_push_slot(sc->sc_evdev, slot, &slot_data); 898 slot [all...] |
/freebsd-current/sys/dev/exca/ |
H A D | excavar.h | 165 EXCA_ACCESSOR(slot, SLOT, uint32_t)
|
/freebsd-current/usr.sbin/bhyve/amd64/ |
H A D | pci_lpc.c | 484 for (uint8_t slot = 0; slot <= PCI_SLOTMAX; ++slot) { 487 sel->pc_dev = slot;
|
H A D | mptbl.c | 211 mpt_generate_pci_int(int bus, int slot, int pin, struct pci_irq *irq, argument 227 mpie->src_bus_irq = slot << 2 | (pin - 1);
|
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_kern.h | 395 * nkr_lease_idx index of next free slot in nr_leases, to be assigned 574 uint32_t mon_tail; /* last seen slot on rx */ 663 * to the next unused slot. 750 #define NAF_OFFSETS 1024 /* the adapter supports the slot offsets */ 914 int na_next_pipe; /* next free slot in the array */ 922 * bytes that a single netmap slot can reference. Larger packets 1458 nm_prlim(5, "bad addr/len ring %d slot %d idx %d len %d", \ 1459 kring->ring_id, nm_i, slot->buf_idx, len); \ 1951 NMB(struct netmap_adapter *na, struct netmap_slot *slot) argument 1954 uint32_t i = slot 1960 PNMB(struct netmap_adapter *na, struct netmap_slot *slot, uint64_t *pp) argument 1976 nm_write_offset(struct netmap_kring *kring, struct netmap_slot *slot, uint64_t offset) argument 1984 nm_get_offset(struct netmap_kring *kring, struct netmap_slot *slot) argument 1993 NMB_O(struct netmap_kring *kring, struct netmap_slot *slot) argument 2000 PNMB_O(struct netmap_kring *kring, struct netmap_slot *slot, uint64_t *pp) argument [all...] |
H A D | netmap_mem2.c | 1020 uint32_t mask, j = 0; /* slot counter */ 1042 /* locate a slot */ 1188 netmap_new_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n) argument 1191 u_int i = 0; /* slot counter */ 1192 uint32_t pos = 0; /* slot in p->bitmap */ 1201 slot[i].buf_idx = index; 1202 slot[i].len = p->_objsize; 1203 slot[i].flags = 0; 1204 slot[i].ptr = 0; 1213 netmap_obj_free(p, slot[ 1220 netmap_mem_set_ring(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n, uint32_t index) argument 1247 netmap_free_bufs(struct netmap_mem_d *nmd, struct netmap_slot *slot, u_int n) argument [all...] |
H A D | netmap.c | 124 a number of slot in the ring, then the lock is released, 913 * IMPORTANT: Always keep one slot empty. 1239 struct netmap_slot *slot = &kring->ring->slot[n]; local 1241 if ((slot->flags & NS_FORWARD) == 0 && !force) 1243 if (slot->len < 14 || slot->len > NETMAP_BUF_SIZE(na)) { 1244 nm_prlim(5, "bad pkt at %d len %d", n, slot->len); 1247 slot->flags &= ~NS_FORWARD; // XXX needed ? 1249 m = m_devget(NMB(na, slot), slo 1403 struct netmap_slot *slot = &ring->slot[nm_i]; local 2392 struct netmap_slot *slot = ring->slot + j; local [all...] |
/freebsd-current/sys/net/ |
H A D | if_ovpn.c | 814 int slot, keyid, peerid; local 820 if (! nvlist_exists_number(nvl, "slot")) 822 slot = nvlist_get_number(nvl, "slot"); 832 if (slot != OVPN_KEY_SLOT_PRIMARY && 833 slot != OVPN_KEY_SLOT_SECONDARY) 860 ovpn_free_kkey_dir(peer->keys[slot].encrypt); 861 ovpn_free_kkey_dir(peer->keys[slot].decrypt); 863 peer->keys[slot].encrypt = enc; 864 peer->keys[slot] 875 ovpn_check_key(struct ovpn_softc *sc, struct ovpn_kpeer *peer, enum ovpn_key_slot slot) argument 945 enum ovpn_key_slot slot; local [all...] |
/freebsd-current/contrib/libarchive/cpio/ |
H A D | cpio.c | 1367 int slot; local 1380 slot = id % cache->size; 1381 if (cache->cache[slot].name != NULL) { 1382 if (cache->cache[slot].id == id) { 1384 return (cache->cache[slot].name); 1386 free(cache->cache[slot].name); 1387 cache->cache[slot].name = NULL; 1396 cache->cache[slot].name = strdup(name); 1397 if (cache->cache[slot].name != NULL) { 1398 cache->cache[slot] [all...] |
/freebsd-current/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-current/libexec/save-entropy/ |
H A D | save-entropy.sh | 78 # Scan slots [1..$entropy_save_num), picking an empty slot or the oldest 79 # existing file if no empty slot was available. 81 # 1. Find out the first regular file or empty slot (and its serial number) 95 # 2. Start from (serial number + 1), and check if the slot is empty 97 # case, and break early if we found an empty slot. 118 # an empty slot, and bail out as that means there is no available slot. 122 No available slot in "${entropy_dir}", save entropy is aborted. 126 # Save entropy to the selected slot.
|
/freebsd-current/tools/tools/dmardump/ |
H A D | dmardump.c | 58 pci_find_conf(int segment, int bus, int slot, int func) argument 77 patterns[0].pc_sel.pc_dev = slot;
|
/freebsd-current/tools/tools/pirtool/ |
H A D | pirtool.c | 270 if (p->slot == 0) 273 printf("slot %-3d ", p->slot);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_report.cpp | 428 // Replays the trace of slot sid up to the target event identified 443 TidSlot *slot = &ctx->slots[static_cast<uptr>(sid)]; local 445 // Need to lock the slot mutex as it protects slot->journal. 446 slot->mtx.CheckLocked(); 447 for (uptr i = 0; i < slot->journal.Size(); i++) { 449 static_cast<int>(slot->journal[i].epoch), slot->journal[i].tid); 450 if (i == slot->journal.Size() - 1 || slot [all...] |
H A D | tsan_rtl_mutex.cpp | 460 for (auto &slot : ctx->slots) thr->clock.Set(slot.sid, slot.epoch()); 510 thr->slot->SetEpoch(epoch); 523 for (auto &slot : ctx->slots) 524 thr->last_sleep_clock.Set(slot.sid, slot.epoch()); 556 // We need to lock the slot during RestoreStack because it protects 557 // the slot journal.
|
/freebsd-current/sys/dev/pci/ |
H A D | pcib_private.h | 155 int slot, int func, uint8_t *busnum); 195 int *slot, int *func);
|
/freebsd-current/sys/arm64/rockchip/ |
H A D | rk_pcie.c | 304 rk_pcie_check_dev(struct rk_pcie_softc *sc, u_int bus, u_int slot, u_int func, argument 309 if (bus < sc->bus_start || bus > sc->bus_end || slot > PCI_SLOTMAX || 315 if (slot > 0 || func > 0) 326 if (bus == sc->sub_bus && slot != 0 ) 448 rk_pcie_read_config(device_t dev, u_int bus, u_int slot, argument 460 if (!rk_pcie_check_dev(sc, bus, slot, func, reg)) 465 addr = ATU_CFG_BUS(bus) | ATU_CFG_SLOT(slot) | ATU_CFG_FUNC(func) | 491 rk_pcie_write_config(device_t dev, u_int bus, u_int slot, argument 500 if (!rk_pcie_check_dev(sc, bus, slot, func, reg)) 506 addr = ATU_CFG_BUS(bus) | ATU_CFG_SLOT(slot) | ATU_CFG_FUN [all...] |
/freebsd-current/contrib/mandoc/ |
H A D | mansearch.c | 96 unsigned int slot; local 168 for (rp = ohash_first(htab, &slot); rp != NULL; 169 rp = ohash_next(htab, &slot)) { 256 unsigned int slot; local 296 slot = ohash_lookup_memory(htab, 298 if ((rp = ohash_find(htab, slot)) != NULL) { 304 ohash_insert(htab, slot, rp);
|
H A D | html.c | 166 unsigned int slot; local 172 entry = ohash_first(&id_unique, &slot); 175 entry = ohash_next(&id_unique, &slot); 368 unsigned int slot; local 413 slot = ohash_qlookup(&id_unique, buf); 414 if ((entry = ohash_find(&id_unique, slot)) == NULL) { 419 ohash_insert(&id_unique, slot, entry);
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_pci.c | 223 int domain, bus, slot, func, ret; local 243 ret = sscanf(master->unique, "PCI:%d:%d:%d", &bus, &slot, &func); 254 (slot != dev->pci_slot) ||
|
/freebsd-current/sys/dev/hyperv/pcib/ |
H A D | vmbus_pcib.c | 228 uint32_t slot:5; member in struct:win_slot_encoding::__anon17 485 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) 495 wslot.bits.slot = PCI_SLOT(devfn); 505 unsigned int slot; local 510 slot = encoding.bits.slot; 513 return (PCI_DEVFN(slot, func)); 1772 vmbus_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument 1777 unsigned int devfn = PCI_DEVFN(slot, fun 1792 vmbus_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument [all...] |
/freebsd-current/sys/netinet/ |
H A D | tcp_hpts.c | 42 * itself to be called again by calling tcp_hpts_insert(tcpcb, slot). The 43 * slot is the time from now that the stack wants to be called but it 44 * must be converted to tcp_hpts's notion of slot. This is done with 187 uint32_t p_prev_slot; /* Previous slot we were on */ 188 uint32_t p_cur_slot; /* Current slot in wheel hpts is draining */ 189 uint32_t p_nxt_slot; /* The next slot outside the current range of 606 * tcp_hpts_remove() marks as IHPTS_MOVING, slot = -1 607 * tcp_hpts_insert() sets slot to a meaningful value 609 * tcp_hptsi() finds pcb with meaningful slot and INP_DROPPED 620 * Given a slot o 815 tcp_hpts_insert_diag(struct tcpcb *tp, uint32_t slot, int32_t line, struct hpts_diag *diag) argument [all...] |
/freebsd-current/contrib/bearssl/src/codec/ |
H A D | pemdec.c | 199 #define T0_ENTER(ip, rp, slot) do { \ 202 t0_newip = &t0_codeblock[t0_caddr[(slot) - T0_INTERPRETED]]; \ 209 #define T0_DEFENTRY(name, slot) \ 215 T0_ENTER(t0ctx->ip, t0ctx->rp, slot); \
|
/freebsd-current/sys/dev/mpi3mr/ |
H A D | mpi3mr_cam.h | 87 uint16_t slot; member in struct:mpi3mr_target
|
/freebsd-current/sys/dev/mlx/ |
H A D | mlxvar.h | 87 u_int8_t mc_slot; /* command slot we occupy */ 178 int (* mlx_findcomplete)(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
|