Searched refs:slot (Results 151 - 175 of 352) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/netmap/
H A Dnetmap_offloadings.c179 dst_slot = &dst_ring->slot[j_cur];
200 /* We are processing the first input slot and there is a mismatch
397 /* Next destination slot. */
399 dst_slot = &dst_ring->slot[j_cur];
403 /* Next input slot. */
415 /* Address of a checksum field into a destination slot. */
455 /* Next destination slot. */
457 dst_slot = &dst_ring->slot[j_cur];
460 /* Next source slot. */
472 /* A second pass on the destination slots to set the slot flag
[all...]
/freebsd-current/sys/dev/cardbus/
H A Dcardbus.c187 int bus, domain, slot, func; local
198 slot = 0;
205 pci_read_device(brdev, cbdev, domain, bus, slot, func);
301 dinfo->pci.cfg.slot, dinfo->pci.cfg.func);
/freebsd-current/usr.sbin/bhyve/aarch64/
H A Dfdt.c309 int slot, pin, intr, i; local
358 * for each consecutive slot). Must match pci_irq_route().
370 slot = i / 4;
371 intr = intrs[(pin + slot) % 4];
373 SET_PROP_U32(prop, 10 * i + 0, slot << 11);
/freebsd-current/sys/x86/iommu/
H A Dintel_fault.c193 int sid, bus, slot, func, faultp; local
215 * Note that the slot and function will not be correct
220 slot = PCI_RID2SLOT(sid);
228 slot = pci_get_slot(ctx->context.tag->owner);
235 bus, slot, func, sid, DMAR_FRCD2_T(fault_rec[1]),
H A Dintel_ctx.c231 int slot, int func, int dev_domain, int dev_busno,
262 domain->iodom.iommu->unit, bus, slot, func,
271 printf("pci%d:%d:%d ", bus, slot, func);
302 printf("pci%d:%d:%d ", bus, slot, func);
527 int bus, slot, func, error; local
532 slot = pci_get_slot(dev);
536 slot = PCI_RID2SLOT(rid);
543 KASSERT(!iommu_is_buswide_ctx(unit, bus) || (slot == 0 && func == 0),
545 slot, func));
562 slot, fun
230 domain_init_rmrr(struct dmar_domain *domain, device_t dev, int bus, int slot, int func, int dev_domain, int dev_busno, const void *dev_path, int dev_path_len) argument
[all...]
/freebsd-current/sys/dev/usb/
H A Dusb_hub.c1811 * The best Transaction Translation slot for an interrupt endpoint.
1825 /* find the last slot with lesser used bandwidth */
1836 /* check if the current multi-slot is more optimal */
1853 * having index "slot" by "len" bytes. "len" can be negative. If the
1854 * "slot" argument is greater or equal to "USB_HS_MICRO_FRAMES_MAX"
1855 * the "slot" argument will be replaced by the slot having least used
1856 * bandwidth. The "mask" argument is used for multi-slot allocations.
1859 * The slot in which the bandwidth update was done: 0..7
1863 uint8_t slot, uint8_
1862 usb_hs_bandwidth_adjust(struct usb_device *udev, int16_t len, uint8_t slot, uint8_t mask) argument
1923 uint8_t slot; local
2004 uint8_t slot; local
2091 uint16_t slot; local
[all...]
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_ioctl.c365 void *slot; local
368 slot = uapi_get_attr_for_method(pbundle, attr_key);
369 if (!slot) {
378 attr = slot;
496 void *slot; local
498 slot = uapi_get_attr_for_method(
501 if (WARN_ON(!slot))
504 attr_uapi = slot;
528 void *slot; local
534 slot
[all...]
/freebsd-current/usr.sbin/apmd/contrib/
H A Dpccardq.c24 fprintf(stderr, "usage: %s [-a] [-n] [-s slot]\n", prog);
50 warnc(0, "Invalid slot number.");
152 get_slot_info(int so, int slot, char **manuf, char **version, char argument
166 if ((slen = snprintf(buf, sizeof buf, "N%d", slot)) < 0) {
187 if (atoi(sl) != slot)
/freebsd-current/tools/tools/netmap/
H A Dlb.c493 * set in the last received slot (this marks the start of a new packet).
506 /* push the packet described by slot rs to the group g.
528 struct netmap_slot *ts = &ring->slot[mf->shadow_head];
557 struct netmap_slot *ts = &ring->slot[scan];
948 /* slight abuse of the API here: we touch the slot
952 struct netmap_slot *rs = &ring->slot[last];
974 struct netmap_slot *slot; local
991 slot = &ring->slot[mf->shadow_head];
992 tmp.buf_idx = slot
[all...]
/freebsd-current/sys/fs/msdosfs/
H A Ddenode.h132 * Set a slot in the FAT cache.
134 #define fc_setcache(dep, slot, frcn, fsrcn) \
135 (dep)->de_fc[(slot)].fc_frcn = (frcn); \
136 (dep)->de_fc[(slot)].fc_fsrcn = (fsrcn);
/freebsd-current/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_bcj.c200 /* 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-current/sys/dev/drm2/
H A Ddrm_os_freebsd.c292 int i, slot; local
299 slot = dsi->matches[i].slot;
300 switch (slot) {
339 for (res = false, dsi = sysid; dsi->matches[0].slot != 0 ; dsi++) {
/freebsd-current/sys/dev/pci/
H A Dpci_dw.c86 #define IATU_CFG_SLOT(slot) ((uint64_t)((slot) & 0x1f) << 19)
148 pci_dw_check_dev(struct pci_dw_softc *sc, u_int bus, u_int slot, u_int func, argument
154 if (bus < sc->bus_start || bus > sc->bus_end || slot > PCI_SLOTMAX ||
167 if (slot > 0 || func > 0)
503 pci_dw_read_config(device_t dev, u_int bus, u_int slot, argument
514 if (!pci_dw_check_dev(sc, bus, slot, func, reg))
520 addr = IATU_CFG_BUS(bus) | IATU_CFG_SLOT(slot) |
552 pci_dw_write_config(device_t dev, u_int bus, u_int slot, argument
561 if (!pci_dw_check_dev(sc, bus, slot, fun
[all...]
/freebsd-current/contrib/bearssl/tools/
H A Dsslio.c78 * A single static slot for saving session parameters.
80 static br_ssl_session_parameters slot; local
119 br_ssl_engine_get_session_parameters(cc, &slot);
121 for (u = 0; u < slot.session_id_len; u ++) {
122 fprintf(stderr, "%02X", slot.session_id[u]);
131 for (u = 0; u < slot.session_id_len; u ++) {
132 fprintf(stderr, "%02X", slot.session_id[u]);
135 br_ssl_engine_set_session_parameters(cc, &slot);
/freebsd-current/sys/dev/bwn/
H A Dif_bwn.c767 | IEEE80211_C_SHSLOT /* short slot time supported */
1175 #define BWN_GET_TXHDRCACHE(slot) \
1176 &(txhdr_cache[(slot / BWN_TX_SLOTS_PER_FRAME) * BWN_HDRSIZE(mac)])
1184 int error, slot, backup[2] = { dr->dr_curslot, dr->dr_usedslot }; local
1192 slot = bwn_dma_getslot(dr);
1193 dr->getdesc(dr, slot, &desc, &mt);
1198 (struct bwn_txhdr *)BWN_GET_TXHDRCACHE(slot),
1199 BWN_DMA_COOKIE(dr, slot));
1203 BWN_GET_TXHDRCACHE(slot), BWN_HDRSIZE(mac), bwn_dma_ring_addr,
1216 slot
3024 bwn_dma_32_getdesc(struct bwn_dma_ring *dr, int slot, struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta) argument
3045 int slot; local
3074 bwn_dma_32_start_transfer(struct bwn_dma_ring *dr, int slot) argument
3109 bwn_dma_32_set_curslot(struct bwn_dma_ring *dr, int slot) argument
3117 bwn_dma_64_getdesc(struct bwn_dma_ring *dr, int slot, struct bwn_dmadesc_generic **gdesc, struct bwn_dmadesc_meta **meta) argument
3141 int slot; local
3178 bwn_dma_64_start_transfer(struct bwn_dma_ring *dr, int slot) argument
3213 bwn_dma_64_set_curslot(struct bwn_dma_ring *dr, int slot) argument
4620 int slot, tmp; local
5387 int slot, curslot; local
5547 bwn_dma_nextslot(struct bwn_dma_ring *dr, int slot) argument
5559 bwn_dma_rxeof(struct bwn_dma_ring *dr, int *slot) argument
6144 int slot; local
6882 int slot; local
7301 bwn_dma_parse_cookie(struct bwn_mac *mac, const struct bwn_txstatus *status, uint16_t cookie, int *slot) argument
[all...]
/freebsd-current/sys/dev/mlx/
H A Dmlx.c69 static int mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
74 static int mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
79 static int mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
285 * where we allocate in smaller chunks and keep a lookup table from slot
1303 /* get a command slot */
1502 /* get a command slot */
1611 /* get a command slot */
1661 /* get a command slot */
1704 /* get a command slot */
1748 /* get a command slot */
2143 int slot, limit; local
2300 u_int8_t slot; local
2503 mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument
2622 mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument
2737 mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) argument
[all...]
/freebsd-current/sys/dev/ath/
H A Dif_ath_beacon.c426 * frame contents are done as needed and the slot time is
436 int slot, otherant; local
478 slot = ((tsftu % ic->ic_lintval) * ATH_BCBUF) / ic->ic_lintval;
479 vap = sc->sc_bslot[(slot+1) % ATH_BCBUF];
489 for (slot = 0; slot < ATH_BCBUF; slot++) {
490 vap = sc->sc_bslot[slot];
513 * Handle slot time change when a non-ERP station joins/leaves
522 sc->sc_slotupdate = slot;
[all...]
/freebsd-current/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c440 fsl_pcib_cfgread(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
447 addr |= (slot & 0x1f) << 11;
478 fsl_pcib_cfgwrite(struct fsl_pcib_softc *sc, u_int bus, u_int slot, u_int func, argument
485 addr |= (slot & 0x1f) << 11;
550 fsl_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument
556 slot < PCI_SLOT_FIRST)
559 return (fsl_pcib_cfgread(sc, bus, slot, func, reg, bytes));
563 fsl_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
569 slot < PCI_SLOT_FIRST)
571 fsl_pcib_cfgwrite(sc, bus, slot, fun
[all...]
/freebsd-current/sys/dev/acpica/
H A Dacpi_pcib_acpi.c82 u_int slot, u_int func, u_int reg, int bytes);
84 u_int slot, u_int func, u_int reg, uint32_t data,
373 u_int slot, func, busok; local
480 slot = ACPI_ADR_PCI_SLOT(sc->ap_addr);
484 slot, func);
485 if (host_pcib_get_busno(pci_cfgregread, 0, slot, func, &busno) == 0)
634 acpi_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument
639 return (pci_cfgregread(sc->ap_segment, bus, slot, func, reg, bytes));
643 acpi_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
648 pci_cfgregwrite(sc->ap_segment, bus, slot, fun
[all...]
H A Dacpi_pci.c294 int func, slot; local
302 slot = ACPI_ADR_PCI_SLOT(address);
306 dinfo->ap_dinfo.cfg.slot == slot) {
/freebsd-current/sys/dev/mvs/
H A Dmvs.h440 #define MVS_CRQB_TO_ADDR(slot) ((slot) << MVS_CRQB_SHIFT)
466 #define MVS_CRPB_TO_ADDR(slot) ((slot) << MVS_CRPB_SHIFT)
503 int slot; /* Number of this slot */ member in struct:mvs_slot
507 union ccb *ccb; /* CCB occupying slot */
508 struct ata_dmaslot dma; /* DMA data of this slot */
548 struct mvs_slot slot[MVS_MAX_SLOTS]; member in struct:mvs_channel
571 int lastslot; /* Last used slot */
[all...]
/freebsd-current/sys/powerpc/powermac/
H A Dcpcht.c232 * Mark this slot is populated. The remote south bridge does
314 cpcht_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
322 (((((slot & 0x1f) << 3) | (func & 0x07)) << 8) | reg);
324 if (bus == 0 && (!(sc->sc_populated_slots & (1 << slot)) || func > 0))
346 cpcht_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
354 (((((slot & 0x1f) << 3) | (func & 0x07)) << 8) | reg);
356 if (bus == 0 && (!(sc->sc_populated_slots & (1 << slot)) || func > 0))
/freebsd-current/contrib/tcpdump/
H A Dprint-wb.c167 nd_uint32_t slot; member in struct:pgstate
212 GET_BE_U_4(id->pi_ps.slot),
291 GET_BE_U_4(ps->slot),
/freebsd-current/sys/x86/xen/
H A Dhvm.c379 u_int slot; local
382 slot = pci_get_slot(dev);
384 xhp.value = HVM_CALLBACK_PCI_INTX(slot, pin);
/freebsd-current/sys/contrib/openzfs/cmd/zpool/
H A DMakefile.am75 %D%/zpool.d/slot \
105 slot \

Completed in 711 milliseconds

1234567891011>>