/freebsd/sys/dev/sdhci/ |
H A D | sdhci.c | 81 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off)) argument 82 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off)) argument 83 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off)) argument 84 #define RD_MULTI_4(slot, off, ptr, count) \ argument 87 #define WR1(slot, off, val) SDHCI_WRITE_1((slot)->bus, (slot), (off), (val)) argument 88 #define WR2(slot, off, val) SDHCI_WRITE_2((slot)->bus, (slot), (off), (val)) argument 89 #define WR4(slot, off, val) SDHCI_WRITE_4((slot)->bus, (slot), (off), (val)) argument 90 #define WR_MULTI_4(slot, off, ptr, count) \ argument 190 slot_printf(const struct sdhci_slot *slot, const char * fmt, ...) in slot_printf() 210 slot_sprintf(const struct sdhci_slot *slot, struct sbuf *s, in slot_sprintf() [all …]
|
H A D | sdhci_xenon_fdt.c | 67 sdhci_xenon_fdt_get_card_present(device_t dev, struct sdhci_slot *slot) in sdhci_xenon_fdt_get_card_present() 91 sdhci_xenon_fdt_parse(device_t dev, struct sdhci_slot *slot) in sdhci_xenon_fdt_parse() 119 struct sdhci_slot *slot; in sdhci_xenon_fdt_attach() local
|
H A D | sdhci_fsl_fdt.c | 195 struct sdhci_slot slot; member 316 fsl_sdhc_fdt_set_clock(struct sdhci_fsl_fdt_softc *sc, struct sdhci_slot *slot, in fsl_sdhc_fdt_set_clock() 376 sdhci_fsl_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_1() 403 sdhci_fsl_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_2() 433 sdhci_fsl_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fsl_fdt_read_4() 458 sdhci_fsl_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_read_multi_4() 468 sdhci_fsl_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_write_1() 506 sdhci_fsl_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_write_2() 549 sdhci_fsl_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fsl_fdt_write_4() 578 sdhci_fsl_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, in sdhci_fsl_fdt_write_multi_4() [all …]
|
H A D | fsl_sdhci.c | 83 struct sdhci_slot slot; member 204 fsl_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_1() 258 fsl_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_2() 315 fsl_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in fsl_sdhci_read_4() 368 fsl_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in fsl_sdhci_read_multi_4() 377 fsl_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) in fsl_sdhci_write_1() 420 fsl_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) in fsl_sdhci_write_2() 499 fsl_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) in fsl_sdhci_write_4() 512 fsl_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in fsl_sdhci_write_multi_4() 761 fsl_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in fsl_sdhci_get_card_present()
|
H A D | sdhci_fdt.c | 350 sdhci_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fdt_read_1() 358 sdhci_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fdt_write_1() 367 sdhci_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fdt_read_2() 375 sdhci_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fdt_write_2() 384 sdhci_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in sdhci_fdt_read_4() 397 sdhci_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in sdhci_fdt_write_4() 406 sdhci_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, in sdhci_fdt_read_multi_4() 415 sdhci_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, in sdhci_fdt_write_multi_4() 444 sdhci_fdt_set_clock(device_t dev, struct sdhci_slot *slot, int clock) in sdhci_fdt_set_clock() 568 struct sdhci_slot *slot; in sdhci_fdt_attach() local
|
/freebsd/sys/sys/ |
H A D | osd.h | 75 #define osd_thread_deregister(slot) \ argument 77 #define osd_thread_set(td, slot, value) \ argument 79 #define osd_thread_set_reserved(td, slot, rsv, value) \ argument 81 #define osd_thread_get(td, slot) \ argument 83 #define osd_thread_get_unlocked(td, slot) \ argument 85 #define osd_thread_del(td, slot) do { \ argument 96 #define osd_jail_deregister(slot) \ argument 98 #define osd_jail_set(pr, slot, value) \ argument 100 #define osd_jail_set_reserved(pr, slot, rsv, value) \ argument 102 #define osd_jail_get(pr, slot) \ argument [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhci.c | 82 #define BCM_SDHCI_SLOT_LEFT(slot) \ argument 85 #define BCM_SDHCI_SEGSZ_LEFT(slot) \ argument 453 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_1() 462 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_2() 483 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhci_read_4() 491 bcm_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_read_multi_4() 500 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_1() 511 bcm_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_2() 557 bcm_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_4() 565 bcm_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhci_write_multi_4() [all …]
|
H A D | bcm2835_sdhost.c | 294 bcm_sdhost_print_regs(struct bcm_sdhost_softc *sc, struct sdhci_slot *slot, in bcm_sdhost_print_regs() 341 bcm_sdhost_reset(device_t dev, struct sdhci_slot *slot) in bcm_sdhost_reset() 557 struct sdhci_slot *slot = &sc->sc_slot; in bcm_sdhost_intr() local 655 bcm_sdhost_get_card_present(device_t dev, struct sdhci_slot *slot) in bcm_sdhost_get_card_present() 664 bcm_sdhost_command(device_t dev, struct sdhci_slot *slot, uint16_t val) in bcm_sdhost_command() 810 bcm_sdhost_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhost_read_1() 864 bcm_sdhost_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhost_read_2() 922 bcm_sdhost_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in bcm_sdhost_read_4() 1005 bcm_sdhost_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in bcm_sdhost_read_multi_4() 1033 bcm_sdhost_write_1(device_t dev, struct sdhci_slot *slot, in bcm_sdhost_write_1() [all …]
|
/freebsd/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 101 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() 125 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() 151 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, in pci_cfgregwrite() 180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable() 206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread() 232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite() 259 int slot; in pcie_init_badslots() local 313 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument 329 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgread() 361 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgwrite()
|
/freebsd/sys/x86/pci/ |
H A D | pci_early_quirks.c | 70 intel_stolen_base_gen3(int domain, int bus, int slot, int func) in intel_stolen_base_gen3() argument 81 intel_stolen_base_gen11(int domain, int bus, int slot, int func) in intel_stolen_base_gen11() argument 94 intel_stolen_size_gen3(int domain, int bus, int slot, int func) in intel_stolen_size_gen3() argument 134 intel_stolen_size_gen6(int domain, int bus, int slot, int func) in intel_stolen_size_gen6() argument 145 intel_stolen_size_gen8(int domain, int bus, int slot, int func) in intel_stolen_size_gen8() argument 156 intel_stolen_size_chv(int domain,int bus,int slot,int func) intel_stolen_size_chv() argument 178 intel_stolen_size_gen9(int domain,int bus,int slot,int func) intel_stolen_size_gen9() argument 283 const int slot = 2; intel_graphics_stolen() local [all...] |
/freebsd/sys/kern/ |
H A D | kern_osd.c | 150 osd_deregister(u_int type, u_int slot) in osd_deregister() 185 osd_set(u_int type, struct osd *osd, u_int slot, void *value) in osd_set() 192 osd_reserve(u_int slot) in osd_reserve() 202 osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv, in osd_set_reserved() 281 osd_get_unlocked(u_int type, struct osd *osd, u_int slot) in osd_get_unlocked() 299 osd_get(u_int type, struct osd *osd, u_int slot) in osd_get() 314 osd_del(u_int type, struct osd *osd, u_int slot) in osd_del() 324 do_osd_del(u_int type, struct osd *osd, u_int slot, int list_locked) in do_osd_del()
|
H A D | subr_pctrie.c | 101 pctrie_keybarr(struct pctrie_node *node, uint64_t index, int *slot) in pctrie_keybarr() 117 int slot; in pctrie_node_put() local 231 int slot; in pctrie_addnode() local 292 int slot; in pctrie_insert_lookup_compound() local 496 int slot; in _pctrie_lookup() local 542 int slot; in _pctrie_iter_lookup_node() local 692 int slot; in pctrie_lookup_ge_node() local 793 int slot; in pctrie_iter_lookup_ge() local 883 int slot; in pctrie_lookup_le_node() local 950 int slot; in pctrie_iter_lookup_le() local [all …]
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_sdhci.c | 114 struct sdhci_slot slot; member 126 tegra_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_1() 135 tegra_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_2() 144 tegra_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in tegra_sdhci_read_4() 158 tegra_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_read_multi_4() 168 tegra_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_1() 178 tegra_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_2() 188 tegra_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_4() 198 tegra_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in tegra_sdhci_write_multi_4() 225 tegra_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) in tegra_sdhci_get_card_present() [all …]
|
/freebsd/sys/dev/evdev/ |
H A D | evdev_mt.c | 110 int slot, slots; in evdev_mt_init() local 169 evdev_mt_send_slot(struct evdev_dev *evdev, int slot, in evdev_mt_send_slot() 194 evdev_mt_push_slot(struct evdev_dev *evdev, int slot, in evdev_mt_push_slot() 318 int i, j, m, n, dx, dy, slot, num_touches; in evdev_mt_match_frame() local 372 union evdev_mt_slot *slot; in evdev_mt_send_frame() local 453 int slot, size = 0; in evdev_mt_replay_events() local 481 evdev_mt_set_last_slot(struct evdev_dev *evdev, int slot) in evdev_mt_set_last_slot() 492 evdev_mt_get_value(struct evdev_dev *evdev, int slot, int16_t code) in evdev_mt_get_value() 502 evdev_mt_set_value(struct evdev_dev *evdev, int slot, int16_t code, in evdev_mt_set_value() 522 int slot; in evdev_mt_id_to_slot() local [all …]
|
/freebsd/sys/i386/pci/ |
H A D | pci_cfgreg.c | 175 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_docfgregread() 199 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() 220 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, in pci_cfgregwrite() 249 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) in pci_cfgenable() 299 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) in pcireg_cfgread() 325 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) in pcireg_cfgwrite() 521 int slot; in pcie_init_badslots() local 592 #define PCIE_PADDR(base, reg, bus, slot, func) \ argument 600 pciereg_findaddr(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_findaddr() 650 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, in pciereg_cfgread() [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_sdhci.c | 73 struct sdhci_slot slot; member 163 ti_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_1() 171 ti_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_2() 214 ti_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) in ti_sdhci_read_4() 238 ti_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_read_multi_4() 247 ti_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_1() 277 ti_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_2() 326 ti_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_4() 335 ti_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, in ti_sdhci_write_multi_4() 355 struct sdhci_slot *slot; in ti_sdhci_update_ios() local [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | dbdma.c | 117 dbdma_get_cmd_status(dbdma_channel_t *chan, int slot) in dbdma_get_cmd_status() 130 dbdma_clear_cmd_status(dbdma_channel_t *chan, int slot) in dbdma_clear_cmd_status() 137 dbdma_get_residuals(dbdma_channel_t *chan, int slot) in dbdma_get_residuals() 207 dbdma_set_current_cmd(dbdma_channel_t *chan, int slot) in dbdma_set_current_cmd() 278 dbdma_insert_command(dbdma_channel_t *chan, int slot, int command, int stream, in dbdma_insert_command() 315 dbdma_insert_stop(dbdma_channel_t *chan, int slot) in dbdma_insert_stop() 323 dbdma_insert_nop(dbdma_channel_t *chan, int slot) in dbdma_insert_nop() 331 dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot) in dbdma_insert_branch()
|
H A D | uninorthpci.c | 177 uninorth_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, in uninorth_read_config() 208 uninorth_write_config(device_t dev, u_int bus, u_int slot, u_int func, in uninorth_write_config() 235 uninorth_enable_config(struct uninorth_softc *sc, u_int bus, u_int slot, in uninorth_enable_config()
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_bytelock.h | 82 ck_bytelock_write_lock(struct ck_bytelock *bytelock, unsigned int slot) in ck_bytelock_write_lock() 128 ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) in ck_bytelock_read_lock() 183 ck_bytelock_read_unlock(struct ck_bytelock *bytelock, unsigned int slot) in ck_bytelock_read_unlock()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_ahci.c | 132 int slot; member 374 ahci_write_fis_sdb(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_sdb() 401 ahci_write_fis_d2h(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) in ahci_write_fis_d2h() 434 ahci_write_fis_d2h_ncq(struct ahci_port *p, int slot) in ahci_write_fis_d2h_ncq() 489 int slot; in ahci_port_stop() local 667 ahci_handle_rw(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t done) in ahci_handle_rw() 754 ahci_handle_flush(struct ahci_port *p, int slot, uint8_t *cfis) in ahci_handle_flush() 788 read_prdt(struct ahci_port *p, int slot, uint8_t *cfis, void *buf, in read_prdt() 818 ahci_handle_dsm_trim(struct ahci_port *p, int slot, uint8_t *cfis) in ahci_handle_dsm_trim() 862 ahci_handle_next_trim(struct ahci_port *p, int slot, uint8_t *cfis, in ahci_handle_next_trim() [all …]
|
/freebsd/sys/dev/pci/ |
H A D | pcib_support.c | 58 uint8_t bus, slot, func; in pcib_get_id() local 75 pcib_decode_rid(device_t pcib, uint16_t rid, int *bus, int *slot, in pcib_decode_rid()
|
/freebsd/sys/arm64/acpica/ |
H A D | pci_cfgreg.c | 43 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) in pci_cfgregread() 55 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, in pci_cfgregwrite()
|
/freebsd/sys/amd64/vmm/io/ |
H A D | ppt.c | 122 int bus, slot, func; in ppt_probe() local 202 ppt_find(struct vm *vm, int bus, int slot, int func, struct pptdev **pptp) in ppt_find() 399 ppt_assign_device(struct vm *vm, int bus, int slot, int func) in ppt_assign_device() 422 ppt_unassign_device(struct vm *vm, int bus, int slot, int func) in ppt_unassign_device() 450 int bus, slot, func; in ppt_unassign_all() local 484 ppt_map_mmio(struct vm *vm, int bus, int slot, int func, in ppt_map_mmio() 517 ppt_unmap_mmio(struct vm *vm, int bus, int slot, int func, in ppt_unmap_mmio() 571 ppt_setup_msi(struct vm *vm, int bus, int slot, int func, in ppt_setup_msi() 664 ppt_setup_msix(struct vm *vm, int bus, int slot, int func, in ppt_setup_msix() 775 ppt_disable_msix(struct vm *vm, int bus, int slot, int func) in ppt_disable_msix()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.cpp | 193 for (auto& slot : ctx->slots) { in DoResetImpl() local 234 for (auto& slot : ctx->slots) { in DoReset() local 247 for (auto& slot : ctx->slots) slot.mtx.Unlock(); in DoReset() local 255 TidSlot* slot = nullptr; in FindSlotAndLock() local 297 TidSlot* slot = FindSlotAndLock(thr); in SlotAttachAndLock() local 321 TidSlot* slot = thr->slot; in SlotDetachImpl() local 366 TidSlot* slot = thr->slot; in SlotLock() local 397 TidSlot* slot = &slots[i]; local 813 for (auto& slot : ctx->slots) slot.mtx.Lock(); in ForkBefore() local 846 for (auto& slot : ctx->slots) slot.mtx.Unlock(); in ForkAfter() local
|
/freebsd/sys/dev/netmap/ |
H A D | if_re_netmap.h | 97 struct netmap_slot *slot = &ring->slot[nm_i]; in re_netmap_txsync() local 238 struct netmap_slot *slot = &ring->slot[nm_i]; in re_netmap_rxsync() local 291 struct netmap_slot *slot; in re_netmap_tx_init() local 319 struct netmap_slot *slot = netmap_reset(na, NR_RX, 0, 0); in re_netmap_rx_init() local
|