| /f-stack/freebsd/amd64/pci/ |
| H A D | pci_cfgreg.c | 87 (bus != 0 || !(1 << slot & pcie_badslots))) in pci_docfgregread() 127 (bus != 0 || !(1 << slot & pcie_badslots))) in pci_cfgregwrite() 218 int slot; in pcie_cfgregopen() local 243 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in pcie_cfgregopen() 244 val1 = pcireg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen() 248 val2 = pciereg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen() 250 pcie_badslots |= (1 << slot); in pcie_cfgregopen() 257 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument 260 (((slot) & 0x1f) << 15) | \ 283 va = PCIE_VADDR(pcie_base, reg, bus, slot, func); in pciereg_cfgread() [all …]
|
| /f-stack/tools/compat/include/sys/ |
| H A D | osd.h | 62 void **osd_reserve(u_int slot); 74 #define osd_thread_deregister(slot) \ argument 75 osd_deregister(OSD_THREAD, (slot)) 80 #define osd_thread_get(td, slot) \ argument 82 #define osd_thread_del(td, slot) do { \ argument 93 #define osd_jail_deregister(slot) \ argument 94 osd_deregister(OSD_JAIL, (slot)) 99 #define osd_jail_get(pr, slot) \ argument 100 osd_get(OSD_JAIL, &(pr)->pr_osd, (slot)) 101 #define osd_jail_del(pr, slot) \ argument [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | osd.h | 64 void **osd_reserve(u_int slot); 76 #define osd_thread_deregister(slot) \ argument 77 osd_deregister(OSD_THREAD, (slot)) 82 #define osd_thread_get(td, slot) \ argument 84 #define osd_thread_del(td, slot) do { \ argument 95 #define osd_jail_deregister(slot) \ argument 96 osd_deregister(OSD_JAIL, (slot)) 101 #define osd_jail_get(pr, slot) \ argument 102 osd_get(OSD_JAIL, &(pr)->pr_osd, (slot)) 103 #define osd_jail_del(pr, slot) \ argument [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_osd.c | 191 type, slot); in osd_deregister() 194 type, slot); in osd_deregister() 208 osd_reserve(u_int slot) in osd_reserve() argument 228 if (slot > osd->osd_nslots) { in osd_set_reserved() 234 type, slot); in osd_set_reserved() 277 osd->osd_nslots = slot; in osd_set_reserved() 281 slot, value); in osd_set_reserved() 306 if (slot > osd->osd_nslots) { in osd_get() 312 type, slot, value); in osd_get() 339 if (slot > osd->osd_nslots) { in do_osd_del() [all …]
|
| H A D | subr_pctrie.c | 132 int slot; in pctrie_node_put() local 137 for (slot = 0; slot < PCTRIE_COUNT; slot++) { in pctrie_node_put() 254 int slot; in pctrie_addval() local 303 int slot; in pctrie_reclaim_allnodes_int() local 307 for (slot = 0; node->pn_count != 0; slot++) { in pctrie_reclaim_allnodes_int() 353 int slot; in pctrie_insert() local 431 int slot; in _pctrie_lookup() local 492 int slot; in pctrie_lookup_ge() local 563 slot++; in pctrie_lookup_ge() 607 int slot; in pctrie_lookup_le() local [all …]
|
| /f-stack/freebsd/i386/pci/ |
| H A D | pci_cfgreg.c | 213 && slot < devmax in pci_cfgenable() 223 | (bus << 16) | (slot << 11) in pci_cfgenable() 230 dataport = 0xc000 | (slot << 8) | reg; in pci_cfgenable() 444 int i, slot; in pcie_cfgregopen() local 506 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in pcie_cfgregopen() 507 val1 = pcireg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen() 511 val2 = pciereg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen() 513 pcie_badslots |= (1 << slot); in pcie_cfgregopen() 523 (((slot) & 0x1f) << 15) | \ 586 va = pciereg_findaddr(bus, slot, func, reg); in pciereg_cfgread() [all …]
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2835_sdhci.c | 84 ((slot)->curcmd->data->len - (slot)->offset) 587 slot = &sc->sc_slot; in bcm_sdhci_start_dma_seg() 591 slot->offset += len; in bcm_sdhci_start_dma_seg() 630 slot->intmask); in bcm_sdhci_start_dma_seg() 650 bcm_sdhci_write_4(slot->bus, slot, SDHCI_SIGNAL_ENABLE, in bcm_sdhci_dma_exit() 651 slot->intmask); in bcm_sdhci_dma_exit() 680 mtx_lock(&slot->mtx); in bcm_sdhci_dma_intr() 701 reg = bcm_sdhci_read_4(slot->bus, slot, SDHCI_INT_STATUS) & in bcm_sdhci_dma_intr() 706 bcm_sdhci_write_4(slot->bus, slot, SDHCI_INT_STATUS, in bcm_sdhci_dma_intr() 718 bcm_sdhci_write_4(slot->bus, slot, SDHCI_INT_STATUS, in bcm_sdhci_dma_intr() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/sound/ |
| H A D | tdm-slot.txt | 1 TDM slot: 3 This specifies audio DAI's TDM slot. 5 TDM slot properties: 6 dai-tdm-slot-num : Number of slots in use. 7 dai-tdm-slot-width : Width in bits for each slot. 8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional 9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional 12 dai-tdm-slot-num = <2>; 13 dai-tdm-slot-width = <8>; 14 dai-tdm-slot-tx-mask = <0 1>; [all …]
|
| H A D | max98373.txt | 13 - maxim,vmon-slot-no : slot number used to send voltage information 15 interleave slot. 16 slot range : 0 ~ 15, Default : 0 18 - maxim,imon-slot-no : slot number used to send current information 19 slot range : 0 ~ 15, Default : 0 21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information 22 slot range : 0 ~ 15, Default : 0 36 maxim,vmon-slot-no = <0>; 37 maxim,imon-slot-no = <1>; 38 maxim,spkfb-slot-no = <2>;
|
| H A D | max9892x.txt | 12 - vmon-slot-no : slot number used to send voltage information 14 interleave slot. 15 MAX98925/MAX98926 slot range : 0 ~ 30, Default : 0 16 MAX98927 slot range : 0 ~ 15, Default : 0 18 - imon-slot-no : slot number used to send current information 19 MAX98925/MAX98926 slot range : 0 ~ 30, Default : 0 20 MAX98927 slot range : 0 ~ 15, Default : 0 37 vmon-slot-no = <0>; 38 imon-slot-no = <1>;
|
| H A D | amlogic,axg-sound-card.txt | 28 - dai-tdm-slot-rx-mask-{0,1,2,3}: Receive direction slot masks 29 - dai-tdm-slot-tx-mask-{0,1,2,3}: Transmit direction slot masks 31 slots. A valid must have at one slot, so at 33 an enabled slot. 34 - dai-tdm-slot-num : Please refer to tdm-slot.txt. 37 - dai-tdm-slot-width : Please refer to tdm-slot.txt. default to 32 if omitted. 53 - dai-tdm-slot-tx-mask : Please refer to tdm-slot.txt. 54 - dai-tdm-slot-rx-mask : Please refer to tdm-slot.txt. 94 dai-tdm-slot-tx-mask-2 = <1 1>; 95 dai-tdm-slot-tx-mask-3 = <1 1>; [all …]
|
| H A D | tas2562.txt | 13 - ti,imon-slot-no:- TDM TX current sense time slot. 14 - ti,vmon-slot-no:- TDM TX voltage sense time slot. This slot must always be 15 greater then ti,imon-slot-no. 34 ti,imon-slot-no = <0>; 35 ti,vmon-slot-no = <1>;
|
| /f-stack/freebsd/contrib/ck/include/ |
| H A D | ck_bytelock.h | 92 if (slot <= sizeof bytelock->readers) in ck_bytelock_write_lock() 93 ck_pr_store_8(&bytelock->readers[slot - 1], false); in ck_bytelock_write_lock() 131 if (ck_pr_load_uint(&bytelock->owner) == slot) { in ck_bytelock_read_lock() 132 ck_pr_store_8(&bytelock->readers[slot - 1], true); in ck_bytelock_read_lock() 139 if (slot > sizeof bytelock->readers) { in ck_bytelock_read_lock() 155 slot -= 1; in ck_bytelock_read_lock() 158 ck_pr_fas_8(&bytelock->readers[slot], true); in ck_bytelock_read_lock() 161 ck_pr_store_8(&bytelock->readers[slot], true); in ck_bytelock_read_lock() 173 ck_pr_store_8(&bytelock->readers[slot], false); in ck_bytelock_read_lock() 188 if (slot > sizeof bytelock->readers) in ck_bytelock_read_unlock() [all …]
|
| /f-stack/freebsd/vm/ |
| H A D | vm_radix.c | 156 int slot; in vm_radix_node_put() local 161 for (slot = 0; slot < VM_RADIX_COUNT; slot++) { in vm_radix_node_put() 280 int slot; in vm_radix_addpage() local 328 int slot; in vm_radix_reclaim_allnodes_int() local 332 for (slot = 0; rnode->rn_count != 0; slot++) { in vm_radix_reclaim_allnodes_int() 392 int slot; in vm_radix_insert() local 483 int slot; in _vm_radix_lookup() local 613 slot++; in vm_radix_lookup_ge() 727 slot--; in vm_radix_lookup_le() 765 int i, slot; in vm_radix_remove() local [all …]
|
| /f-stack/freebsd/x86/pci/ |
| H A D | pci_early_quirks.c | 64 intel_stolen_base_gen3(int bus, int slot, int func) in intel_stolen_base_gen3() argument 69 ctrl = pci_cfgregread(bus, slot, func, INTEL_BSM, 4); in intel_stolen_base_gen3() 75 intel_stolen_size_gen3(int bus, int slot, int func) in intel_stolen_size_gen3() argument 115 intel_stolen_size_gen6(int bus, int slot, int func) in intel_stolen_size_gen6() argument 120 ctrl = pci_cfgregread(bus, slot, func, SNB_GMCH_CTRL, 2); in intel_stolen_size_gen6() 126 intel_stolen_size_gen8(int bus, int slot, int func) in intel_stolen_size_gen8() argument 137 intel_stolen_size_chv(int bus, int slot, int func) in intel_stolen_size_chv() argument 159 intel_stolen_size_gen9(int bus, int slot, int func) in intel_stolen_size_gen9() argument 175 vm_paddr_t (*base)(int bus, int slot, int func); 176 vm_paddr_t (*size)(int bus, int slot, int func); [all …]
|
| H A D | pci_bus.c | 68 return(pci_cfgregread(bus, slot, func, reg, bytes)); in legacy_pcib_read_config() 77 pci_cfgregwrite(bus, slot, func, reg, data, bytes); in legacy_pcib_write_config() 122 int error, func, slot; in legacy_pcib_map_msi() local 129 slot = legacy_get_pcislot(pcib); in legacy_pcib_map_msi() 131 if (slot == -1 || func == -1) in legacy_pcib_map_msi() 133 hostb = pci_find_bsf(0, slot, func); in legacy_pcib_map_msi() 135 slot, func)); in legacy_pcib_map_msi() 217 switch (slot) { in legacy_pcib_is_host_bridge() 380 int bus, slot, func; in legacy_pcib_identify() local 402 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in legacy_pcib_identify() [all …]
|
| /f-stack/freebsd/arm/versatile/ |
| H A D | versatile_pci.c | 162 int slot; in versatile_pci_attach() local 194 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in versatile_pci_attach() 202 if (slot == (PCI_SLOTMAX + 1)) { in versatile_pci_attach() 209 sc->pcib_slot = slot; in versatile_pci_attach() 210 device_printf(dev, "PCI core at slot #%d\n", slot); in versatile_pci_attach() 212 versatile_pci_core_write_4(PCI_CORE_SELFID, slot); in versatile_pci_attach() 218 versatile_pci_write_4((slot << 11) + PCIR_BAR(0), 0); in versatile_pci_attach() 253 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in versatile_pci_attach() 257 if (slot == sc->pcib_slot) in versatile_pci_attach() 444 if (sc->pcib_slot == slot) { in versatile_pci_read_config() [all …]
|
| /f-stack/freebsd/contrib/openzfs/etc/zfs/ |
| H A D | vdev_id.conf.sas_direct.example | 19 slot 1 7 A 20 slot 2 10 A 21 slot 3 3 A 22 slot 4 6 A 25 slot 1 4 26 slot 2 2 27 slot 3 1 28 slot 4 3
|
| /f-stack/freebsd/arm/annapurna/alpine/ |
| H A D | alpine_pci.c | 125 int bus, slot, func, maxfunc; in al_pcib_fixup() local 129 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in al_pcib_fixup() 132 hdrtype = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup() 141 vid = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup() 144 val = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup() 147 PCIB_WRITE_CONFIG(dev, bus, slot, func, in al_pcib_fixup() 150 val = PCIB_READ_CONFIG(dev, bus, slot, func, in al_pcib_fixup() 154 PCIB_WRITE_CONFIG(dev, bus, slot, func, in al_pcib_fixup()
|
| /f-stack/freebsd/arm/ti/ |
| H A D | ti_sdhci.c | 75 struct sdhci_slot slot; member 197 if (slot->version >= SDHCI_SPEC_300) in ti_sdhci_read_2() 292 if (slot->version >= SDHCI_SPEC_300) in ti_sdhci_write_2() 350 sdhci_generic_intr(&sc->slot); in ti_sdhci_intr() 357 struct sdhci_slot *slot; in ti_sdhci_update_ios() local 361 slot = device_get_ivars(reqdev); in ti_sdhci_update_ios() 362 ios = &slot->host.ios; in ti_sdhci_update_ios() 536 sc->slot.host.caps |= MMC_OCR_LOW_VOLTAGE; in ti_sdhci_attach() 623 sc->slot.max_clk = sc->baseclk_hz; in ti_sdhci_attach() 659 sdhci_init_slot(dev, &sc->slot, 0); in ti_sdhci_attach() [all …]
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_slab.c | 215 slot = 0; in ngx_slab_alloc_locked() 218 pool->stats[slot].reqs++; in ngx_slab_alloc_locked() 224 page = slots[slot].next; in ngx_slab_alloc_locked() 363 slots[slot].next = page; in ngx_slab_alloc_locked() 369 pool->stats[slot].used++; in ngx_slab_alloc_locked() 379 slots[slot].next = page; in ngx_slab_alloc_locked() 385 pool->stats[slot].used++; in ngx_slab_alloc_locked() 395 slots[slot].next = page; in ngx_slab_alloc_locked() 401 pool->stats[slot].used++; in ngx_slab_alloc_locked() 409 pool->stats[slot].fails++; in ngx_slab_alloc_locked() [all …]
|
| H A D | ngx_times.c | 26 static ngx_uint_t slot; variable 101 tp = &cached_time[slot]; in ngx_time_update() 109 if (slot == NGX_TIME_SLOTS - 1) { in ngx_time_update() 110 slot = 0; in ngx_time_update() 112 slot++; in ngx_time_update() 115 tp = &cached_time[slot]; in ngx_time_update() 123 p0 = &cached_http_time[slot][0]; in ngx_time_update() 239 tp = &cached_time[slot]; in ngx_time_sigsafe_update() 247 slot = 0; in ngx_time_sigsafe_update() 249 slot++; in ngx_time_sigsafe_update() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/pci/ |
| H A D | v3-v360epc-pci.txt | 56 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */ 57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */ 58 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */ 59 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */ 61 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */ 62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */ 63 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */ 64 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */ 66 0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */ 67 0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */ [all …]
|
| /f-stack/freebsd/arm/ti/cpsw/ |
| H A D | if_cpsw.c | 449 if (slot->mbuf) { in cpsw_dump_slot() 516 if (slot == NULL) in cpsw_add_slots() 536 if (slot->mbuf) in cpsw_free_slot() 542 if (slot->mbuf) { in cpsw_free_slot() 673 if (slot != NULL) in cpsw_init() 676 if (slot != NULL) in cpsw_init() 1644 last = slot; in cpsw_rx_dequeue() 1652 m = slot->mbuf; in cpsw_rx_dequeue() 1879 slot->dmamap, slot->mbuf, segs, &nsegs, BUS_DMA_NOWAIT); in cpswp_tx_enqueue() 1967 last = slot; in cpswp_tx_enqueue() [all …]
|
| /f-stack/freebsd/arm/nvidia/ |
| H A D | tegra_sdhci.c | 116 struct sdhci_slot slot; member 214 sdhci_generic_intr(&sc->slot); in tegra_sdhci_intr() 227 tegra_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in tegra_sdhci_get_card_present() argument 374 sc->slot.quirks = sc->quirks; in tegra_sdhci_attach() 375 sc->slot.max_clk = sc->max_clk; in tegra_sdhci_attach() 376 sc->slot.caps = sc->caps; in tegra_sdhci_attach() 384 rv = sdhci_init_slot(dev, &sc->slot, 0); in tegra_sdhci_attach() 389 sc->gpio = sdhci_fdt_gpio_setup(sc->dev, &sc->slot); in tegra_sdhci_attach() 394 sdhci_start_slot(&sc->slot); in tegra_sdhci_attach() 421 struct sdhci_slot *slot = &sc->slot; in tegra_sdhci_detach() local [all …]
|