Searched refs:slot (Results 76 - 100 of 354) sorted by relevance

1234567891011>>

/freebsd-current/sys/powerpc/powermac/
H A Duninorthpci.c177 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, argument
189 if (uninorth_enable_config(sc, bus, slot, func, reg) != 0) {
208 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
218 if (uninorth_enable_config(sc, bus, slot, func, reg)) {
235 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, argument
242 if (sc->sc_skipslot == slot)
256 if (slot < 11)
259 cfgval = (1 << slot) | (func << 8) | (reg & 0xfc);
261 cfgval = (bus << 16) | (slot << 11) | (func << 8) |
/freebsd-current/contrib/xz/src/xz/
H A Dcoder.h107 extern void coder_add_block_filters(const char *str, size_t slot);
/freebsd-current/sys/powerpc/aim/
H A Dmoea64_native.c316 volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
341 volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
412 volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
475 volatile struct lpte *pt = moea64_pteg_table + pvo->pvo_pte.slot;
770 /* Start at a random slot */
823 uintptr_t slot; local
828 slot = moea64_insert_to_pteg_native(insertpt, pvo->pvo_pte.slot,
830 if (slot != -1) {
831 pvo->pvo_pte.slot
907 moea64_vpn_from_pte(uint64_t ptehi, uintptr_t slot) argument
[all...]
/freebsd-current/sys/arm/mv/
H A Dmv_pci.c732 mv_pcib_init_bar(struct mv_pcib_softc *sc, int bus, int slot, int func, argument
744 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, ~0, 4);
745 bar = mv_pcib_read_config(sc->sc_dev, bus, slot, func, reg, 4);
758 bus, slot, func, reg, bar, addr);
760 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4);
762 mv_pcib_write_config(sc->sc_dev, bus, slot, func, reg + 4,
769 mv_pcib_init_bridge(struct mv_pcib_softc *sc, int bus, int slot, int func) argument
781 mv_pcib_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEL_1,
783 mv_pcib_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEH_1,
785 mv_pcib_write_config(sc->sc_dev, bus, slot, fun
816 int slot, func, maxfunc, error; local
869 mv_pcib_init_all_bars(struct mv_pcib_softc *sc, int bus, int slot, int func, int hdrtype) argument
1122 mv_pcib_hw_cfgread(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
1157 mv_pcib_hw_cfgwrite(struct mv_pcib_softc *sc, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
1198 mv_pcib_root_slot(device_t dev, u_int bus, u_int slot, u_int func) argument
1216 mv_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
1230 mv_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t val, int bytes) argument
[all...]
/freebsd-current/sys/dev/sound/pci/
H A Dhdsp-pcm.c88 /* ADAT slot bitmap depends on sample rate. */
103 /* Map HDSP 9632 ports to slot bitmap. */
113 /* Map HDSP 9652 ports to slot bitmap, no quad speed. */
138 /* Ends of slot rows are followed by a slot which is not in the set. */
148 for (uint32_t slot = 1; slot != 0; slot <<= 1) {
149 if ((slots & slot) && n > 0)
152 slots &= ~slot;
268 uint32_t slot, slots; local
373 uint32_t slot, slots; local
462 unsigned int slot; local
507 unsigned int slot; local
636 uint32_t slot, slots; local
[all...]
H A Dhdspe-pcm.c256 unsigned int slot, end_slot; local
265 /* Get slot range of the physical port. */
266 slot =
268 end_slot = slot +
271 /* Treat first slot as left channel. */
273 for (; slot < end_slot; slot++) {
274 hdspe_hw_mixer(ch, slot, slot, volume);
357 unsigned int slot, end_slo local
446 int slot; local
492 int slot; local
[all...]
/freebsd-current/sys/amd64/vmm/io/
H A Dppt.c122 int bus, slot, func; local
128 slot = pci_get_slot(dev);
138 else if (vmm_is_pptdev(bus, slot, func))
199 ppt_find(struct vm *vm, int bus, int slot, int func, struct pptdev **pptp) argument
210 if (bus == b && slot == s && func == f)
380 ppt_assign_device(struct vm *vm, int bus, int slot, int func) argument
386 error = ppt_find(NULL, bus, slot, func, &ppt);
399 ppt_unassign_device(struct vm *vm, int bus, int slot, int func) argument
404 error = ppt_find(vm, bus, slot, func, &ppt);
423 int bus, slot, fun local
457 ppt_map_mmio(struct vm *vm, int bus, int slot, int func, vm_paddr_t gpa, size_t len, vm_paddr_t hpa) argument
490 ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func, vm_paddr_t gpa, size_t len) argument
544 ppt_setup_msi(struct vm *vm, int bus, int slot, int func, uint64_t addr, uint64_t msg, int numvec) argument
637 ppt_setup_msix(struct vm *vm, int bus, int slot, int func, int idx, uint64_t addr, uint64_t msg, uint32_t vector_control) argument
748 ppt_disable_msix(struct vm *vm, int bus, int slot, int func) argument
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dradix-tree.h66 #define radix_tree_for_each_slot(slot, root, iter, start) \
68 radix_tree_iter_find(root, iter, &(slot)); (iter)->index++)
/freebsd-current/sys/xen/
H A Dhvm.h78 #define HVM_CALLBACK_PCI_INTX(slot, pin) \
80 | (((slot) & HVM_CB_PCI_INTX_SLOT_MASK) << HVM_CB_PCI_INTX_SLOT_SHIFT) \
/freebsd-current/sys/dev/pci/
H A Dpci_host_generic.h46 #define PCIE_ADDR_OFFSET(bus, slot, func, reg) \
48 (((slot) & PCIE_SLOT_MASK) << PCIE_SLOT_SHIFT) | \
/freebsd-current/sys/arm/ti/cpsw/
H A Dif_cpsw.c373 #define cpsw_cpdma_bd_paddr(sc, slot) \
374 BUS_SPACE_PHYSADDR(sc->mem_res, slot->bd_offset)
375 #define cpsw_cpdma_read_bd(sc, slot, val) \
376 bus_read_region_4(sc->mem_res, slot->bd_offset, (uint32_t *) val, 4)
377 #define cpsw_cpdma_write_bd(sc, slot, val) \
378 bus_write_region_4(sc->mem_res, slot->bd_offset, (uint32_t *) val, 4)
379 #define cpsw_cpdma_write_bd_next(sc, slot, next_slot) \
380 cpsw_write_4(sc, slot->bd_offset, cpsw_cpdma_bd_paddr(sc, next_slot))
381 #define cpsw_cpdma_write_bd_flags(sc, slot, val) \
382 bus_write_2(sc->mem_res, slot
419 cpsw_dump_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) argument
460 struct cpsw_slot *slot; local
485 struct cpsw_slot *slot; local
502 struct cpsw_slot *slot; local
525 cpsw_free_slot(struct cpsw_softc *sc, struct cpsw_slot *slot) argument
600 struct cpsw_slot *slot; local
1612 struct cpsw_slot *last, *slot; local
1739 struct cpsw_slot *first_new_slot, *last_old_slot, *next, *slot; local
1850 struct cpsw_slot *first_new_slot, *last, *last_old_slot, *next, *slot; local
1994 struct cpsw_slot *slot, *last_removed_slot = NULL; local
[all...]
/freebsd-current/sys/dev/ahci/
H A Dahci.c67 static void ahci_execute_transaction(struct ahci_slot *slot);
69 static void ahci_end_transaction(struct ahci_slot *slot, enum ahci_err_type et);
1182 bzero(ch->slot, sizeof(ch->slot));
1184 struct ahci_slot *slot = &ch->slot[i]; local
1186 slot->ch = ch;
1187 slot->slot = i;
1188 slot
1206 struct ahci_slot *slot = &ch->slot[i]; local
1582 struct ahci_slot *slot; local
1632 struct ahci_slot *slot = arg; local
1661 ahci_execute_transaction(struct ahci_slot *slot) argument
1839 struct ahci_slot *slot = &ch->slot[i]; local
1856 struct ahci_slot *slot = arg; local
1934 ahci_end_transaction(struct ahci_slot *slot, enum ahci_err_type et) argument
[all...]
/freebsd-current/sys/powerpc/pseries/
H A Dmmu_phyp.c302 phyp_pft_hcall(H_READ, 0, pvo->pvo_pte.slot, 0, 0, &pte.pte_hi,
349 err = phyp_pft_hcall(H_CLEAR_MOD, 0, pvo->pvo_pte.slot, 0, 0,
356 err = phyp_pft_hcall(H_CLEAR_REF, 0, pvo->pvo_pte.slot, 0, 0,
379 err = phyp_pft_hcall(H_REMOVE, H_AVPN, pvo->pvo_pte.slot,
396 uint64_t slot, junk, k; local
400 /* Start at a random slot */
404 slot = ptegbase + (i + j) % 8;
405 phyp_pft_hcall(H_READ, 0, slot, 0, 0, &pt.pte_hi,
412 k = slot;
439 pvo->pvo_pte.slot
[all...]
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhost.c35 * pin 48-53 - card slot
41 * driving card slot with mmc:
56 * driving card slot with sdhost:
294 bcm_sdhost_print_regs(struct bcm_sdhost_softc *sc, struct sdhci_slot *slot, argument
299 printf("%s: sc=%p slot=%p\n",
300 __func__, sc, slot);
341 bcm_sdhost_reset(device_t dev, struct sdhci_slot *slot) argument
470 sc->slot->timeout_clk = ...;
557 struct sdhci_slot *slot = &sc->sc_slot; local
593 "sdhci_int_status=%08x\n", __func__, hstst, slot
655 bcm_sdhost_get_card_present(device_t dev, struct sdhci_slot *slot) argument
664 bcm_sdhost_command(device_t dev, struct sdhci_slot *slot, uint16_t val) argument
810 bcm_sdhost_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
864 bcm_sdhost_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
922 bcm_sdhost_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
1005 bcm_sdhost_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
1033 bcm_sdhost_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) argument
1084 bcm_sdhost_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument
1150 bcm_sdhost_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
1213 bcm_sdhost_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
[all...]
/freebsd-current/sys/net/
H A Dnetmap_user.h47 * ring->slot[i] gives us the i-th slot (we can access
125 /* read the offset field in a ring's slot */
126 #define NETMAP_ROFFSET(ring, slot) \
127 ((slot)->ptr & (ring)->offset_mask)
129 /* update the offset field in a ring's slot */
130 #define NETMAP_WOFFSET(ring, slot, offset) \
131 do { (slot)->ptr = ((slot)->ptr & ~(ring)->offset_mask) | \
134 /* obtain the start of the buffer pointed to by a ring's slot, takin
252 struct netmap_slot *slot; member in struct:nm_pkthdr
1112 struct netmap_slot *slot; local
[all...]
/freebsd-current/contrib/mandoc/
H A Dtag.c67 unsigned int slot; local
71 entry = ohash_first(&tag_data, &slot);
75 entry = ohash_next(&tag_data, &slot);
92 unsigned int slot; local
133 slot = ohash_qlookupi(&tag_data, s, &se);
134 entry = ohash_find(&tag_data, slot);
144 ohash_insert(&tag_data, slot, entry);
/freebsd-current/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c469 struct thread_data *slot; local
471 slot = data;
472 slot->threadfn(slot->data);
483 struct thread_data *slot; local
490 slot = &thread_slots[thread_data_slot];
491 slot->data = data;
492 slot->threadfn = threadfn;
499 if (kproc_create(kthread_wrapper, (void*)slot, &newp, 0, 0,
/freebsd-current/sys/dev/sdhci/
H A Dsdhci.h425 int sdhci_init_slot(device_t dev, struct sdhci_slot *slot, int num);
426 void sdhci_start_slot(struct sdhci_slot *slot);
428 void sdhci_finish_data(struct sdhci_slot *slot);
429 int sdhci_cleanup_slot(struct sdhci_slot *slot);
430 int sdhci_generic_suspend(struct sdhci_slot *slot);
431 int sdhci_generic_resume(struct sdhci_slot *slot);
432 void sdhci_generic_reset(device_t brdev, struct sdhci_slot *slot, uint8_t mask);
442 void sdhci_generic_intr(struct sdhci_slot *slot);
443 uint32_t sdhci_generic_min_freq(device_t brdev, struct sdhci_slot *slot);
444 bool sdhci_generic_get_card_present(device_t brdev, struct sdhci_slot *slot);
[all...]
/freebsd-current/lib/libvmmapi/aarch64/
H A Dvmmapi_machdep.c103 int bus, int slot, int func)
111 vmsi.slot = slot;
102 vm_raise_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg, int bus, int slot, int func) argument
/freebsd-current/sys/contrib/ck/src/
H A Dck_hs.c473 * If no eligible slot has been found yet, continue probe
588 const void **first, *object, **slot, *entry; local
603 slot = ck_hs_map_probe(hs, map, &n_probes, &first, h, entry, &object,
611 ck_pr_store_ptr(slot, CK_HS_TOMBSTONE);
650 const void **slot, **first, *object, *insert; local
655 slot = ck_hs_map_probe(hs, map, &n_probes, &first, h, key, &object,
667 ck_pr_store_ptr(slot, CK_HS_TOMBSTONE);
669 ck_pr_store_ptr(slot, insert);
695 const void **slot, **first, *object, *delta, *insert; local
702 slot
765 const void **slot, **first, *object, *insert; local
821 const void **slot, **first, *object, *insert; local
907 const void **slot, **first, *object; local
[all...]
/freebsd-current/sys/contrib/vchiq/interface/vchi/message_drivers/
H A Dmessage.h74 // Message receive slot information
83 uint8_t *addr; // base address of slot
84 uint32_t len; // length of slot in bytes
88 int active; // is this slot in the hardware dma fifo?
89 uint32_t msgs_parsed; // count how many messages are in this slot
129 RX_MSG_SLOTINFO_T *slot; // points to whichever slot contains this message member in struct:rx_message_info
141 uint16_t slot_delta; // whether this message indicated slot delta
143 RX_MSG_SLOTINFO_T *slot; // slot thi member in struct:__anon10731::__anon10732
[all...]
/freebsd-current/tools/tools/pirtool/
H A Dpirtable.h58 uint8_t slot; /* physical slot number on bus, member in struct:__anon6393
59 * slot 0 if motherboard */
/freebsd-current/sys/dev/acpica/
H A Dacpi_pxm.c267 int domain, i, slot; local
352 slot = num_mem;
372 slot = i;
374 for (i = num_mem; i > slot; i--)
376 mem_info[slot].start = base;
377 mem_info[slot].end = base + length;
378 mem_info[slot].domain = domain;
474 int i, j, slot; local
493 /* Insert the new domain at slot 'j'. */
494 slot
[all...]
/freebsd-current/sys/dev/sound/macio/
H A Daoa.c64 u_int slot; /* current slot */ member in struct:aoa_dma
83 i, /* slot */
176 /* One slot per block plus branch to 0 plus STOP. */
217 return (dma->slot * dma->blksz);
237 /* One slot per block, plus branch to 0 plus STOP. */
269 dma->slot = 0;
270 dbdma_set_current_cmd(dma->channel, dma->slot);
327 while (dbdma_get_cmd_status(dma->channel, dma->slot)) {
328 dbdma_clear_cmd_status(dma->channel, dma->slot);
[all...]
/freebsd-current/sys/x86/include/
H A Dlegacyvar.h50 uint32_t legacy_pcib_read_config(device_t dev, u_int bus, u_int slot,
54 void legacy_pcib_write_config(device_t dev, u_int bus, u_int slot,

Completed in 380 milliseconds

1234567891011>>