Searched refs:slot (Results 26 - 50 of 354) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp151 bool attached = tctx->thr && tctx->thr->slot;
165 // to a new slot and allocate a new trace part.
169 // slot/trace mutexes that we hold here.
180 if (tctx->thr && !tctx->thr->slot) {
192 for (auto& slot : ctx->slots) {
193 slot.SetEpoch(kEpochZero);
194 slot.journal.Reset();
195 slot.thr = nullptr;
196 ctx->slot_queue.PushBack(&slot);
231 // error: expecting mutex 'slot
254 TidSlot* slot = nullptr; variable
296 TidSlot* slot = FindSlotAndLock(thr); local
320 TidSlot* slot = thr->slot; local
365 TidSlot* slot = thr->slot; variable
396 TidSlot* slot = &slots[i]; local
[all...]
/freebsd-current/sys/dev/sdhci/
H A Dsdhci_fdt_gpio.c47 struct sdhci_slot * slot; member in struct:sdhci_fdt_gpio
67 sdhci_handle_card_present(gpio->slot, sdhci_fdt_gpio_get_present(gpio));
83 * If the device is flagged as non-removable, set that slot option, and
87 gpio->slot->opt |= SDHCI_NON_REMOVABLE;
154 gpio->slot->quirks |= SDHCI_QUIRK_POLL_CARD_PRESENT;
196 sdhci_fdt_gpio_setup(device_t dev, struct sdhci_slot *slot) argument
203 gpio->slot = slot;
241 return (sdhci_generic_get_card_present(gpio->slot->bus,
242 gpio->slot));
[all...]
H A Dsdhci_acpi.c98 struct sdhci_slot slot; member in struct:sdhci_acpi_softc
109 sdhci_acpi_read_1(device_t dev, struct sdhci_slot *slot __unused,
120 sdhci_acpi_write_1(device_t dev, struct sdhci_slot *slot __unused,
131 sdhci_acpi_read_2(device_t dev, struct sdhci_slot *slot __unused,
142 sdhci_acpi_write_2(device_t dev, struct sdhci_slot *slot __unused,
153 sdhci_acpi_read_4(device_t dev, struct sdhci_slot *slot __unused,
164 sdhci_acpi_write_4(device_t dev, struct sdhci_slot *slot __unused,
175 sdhci_acpi_read_multi_4(device_t dev, struct sdhci_slot *slot __unused,
184 sdhci_acpi_write_multi_4(device_t dev, struct sdhci_slot *slot __unused,
193 sdhci_acpi_set_uhs_timing(device_t dev, struct sdhci_slot *slot) argument
[all...]
H A Dsdhci_xenon.c66 sdhci_xenon_read_1(device_t dev, struct sdhci_slot *slot __unused,
75 sdhci_xenon_write_1(device_t dev, struct sdhci_slot *slot __unused,
84 sdhci_xenon_read_2(device_t dev, struct sdhci_slot *slot __unused,
93 sdhci_xenon_write_2(device_t dev, struct sdhci_slot *slot __unused,
102 sdhci_xenon_read_4(device_t dev, struct sdhci_slot *slot __unused,
111 sdhci_xenon_write_4(device_t dev, struct sdhci_slot *slot __unused,
120 sdhci_xenon_read_multi_4(device_t dev, struct sdhci_slot *slot __unused,
129 sdhci_xenon_write_multi_4(device_t dev, struct sdhci_slot *slot __unused,
142 sdhci_generic_intr(sc->slot);
154 sdhci_xenon_set_uhs_timing(device_t brdev, struct sdhci_slot *slot) argument
328 struct sdhci_slot *slot; local
380 struct sdhci_slot *slot; local
[all...]
H A Dsdhci_fdt.c350 sdhci_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
354 return (bus_read_1(sc->mem_res[slot->num], off));
358 sdhci_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
363 bus_write_1(sc->mem_res[slot->num], off, val);
367 sdhci_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
371 return (bus_read_2(sc->mem_res[slot->num], off));
375 sdhci_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
380 bus_write_2(sc->mem_res[slot->num], off, val);
384 sdhci_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
389 val32 = bus_read_4(sc->mem_res[slot
397 sdhci_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
406 sdhci_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
415 sdhci_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
444 sdhci_fdt_set_clock(device_t dev, struct sdhci_slot *slot, int clock) argument
568 struct sdhci_slot *slot; local
[all...]
H A Dsdhci_fsl_fdt.c195 struct sdhci_slot slot; member in struct:sdhci_fsl_fdt_softc
316 fsl_sdhc_fdt_set_clock(struct sdhci_fsl_fdt_softc *sc, struct sdhci_slot *slot, argument
333 SDHCI_FSL_FDT_CLK_DIV(sc, sc->baseclk_hz, slot->clock, prescale, div);
342 (sc->slot.host.ios.timing == bus_timing_mmc_hs400 ||
362 slot->clock, sc->baseclk_hz / (prescale * div),
376 sdhci_fsl_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
403 sdhci_fsl_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
421 * eSDHC hardware manages only a single slot.
422 * Synthesize a slot interrupt status register for slot
433 sdhci_fsl_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
458 sdhci_fsl_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
468 sdhci_fsl_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) argument
506 sdhci_fsl_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument
549 sdhci_fsl_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
578 sdhci_fsl_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
603 struct sdhci_slot *slot; local
697 struct sdhci_slot *slot; local
762 sdhci_fsl_fdt_get_card_present(device_t dev, struct sdhci_slot *slot) argument
1049 struct sdhci_slot *slot = device_get_ivars(child); local
1068 struct sdhci_slot *slot = device_get_ivars(child); local
1090 sdhci_fsl_fdt_reset(device_t dev, struct sdhci_slot *slot, uint8_t mask) argument
1194 struct sdhci_slot *slot; local
1307 struct sdhci_slot *slot; local
1386 sdhci_fsl_enable_hs400_mode(device_t dev, struct sdhci_slot *slot, struct sdhci_fsl_fdt_softc *sc) argument
1468 sdhci_fsl_fdt_set_uhs_timing(device_t dev, struct sdhci_slot *slot) argument
[all...]
/freebsd-current/sys/i386/pci/
H A Dpci_cfgreg.c86 static uint32_t pci_docfgregread(int domain, int bus, int slot, int func,
89 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
90 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
93 unsigned slot, unsigned func, unsigned reg, unsigned bytes);
95 unsigned slot, unsigned func, unsigned reg, int data,
175 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) argument
177 if (domain == 0 && bus == 0 && (1 << slot & pcie_badslots) != 0)
178 return (pcireg_cfgread(bus, slot, func, reg, bytes));
185 return (pciereg_cfgread(region, bus, slot, func, reg,
190 return (pcireg_cfgread(bus, slot, fun
199 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) argument
220 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, int bytes) argument
249 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
299 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
325 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
521 int slot; local
600 pciereg_findaddr(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg) argument
650 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
682 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_cmd.c36 char *slot = NULL; local
56 /* Get the slot */
58 slot = ib_q->array_virt_addr + offset;
61 memcpy(slot, req, iu_len);
64 DBG_IO(" IU [ %d ] : %x\n", i, *((unsigned char *)(slot + i)));
/freebsd-current/contrib/mandoc/
H A Dmandoc_xr.c42 unsigned int slot; local
46 for (xr = ohash_first(xr_hash, &slot); xr != NULL;
47 xr = ohash_next(xr_hash, &slot))
70 unsigned int slot; local
92 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv);
93 if ((oxr = ohash_find(xr_hash, slot)) == NULL) {
94 ohash_insert(xr_hash, slot, xr);
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c82 #define BCM_SDHCI_SLOT_LEFT(slot) \
83 ((slot)->curcmd->data->len - (slot)->offset)
85 #define BCM_SDHCI_SEGSZ_LEFT(slot) \
87 rounddown(BCM_SDHCI_SLOT_LEFT(slot), BCM_SDHCI_BUFFER_SIZE))
184 static void bcm_sdhci_start_dma(struct sdhci_slot *slot);
453 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
462 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
483 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
491 bcm_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_ argument
500 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) argument
511 bcm_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument
557 bcm_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
565 bcm_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
576 struct sdhci_slot *slot; local
637 struct sdhci_slot *slot = &sc->sc_slot; local
650 struct sdhci_slot *slot = &sc->sc_slot; local
670 struct sdhci_slot *slot = &sc->sc_slot; local
723 bcm_sdhci_start_dma(struct sdhci_slot *slot) argument
752 bcm_sdhci_will_handle_transfer(device_t dev, struct sdhci_slot *slot) argument
786 bcm_sdhci_start_transfer(device_t dev, struct sdhci_slot *slot, uint32_t *intmask) argument
795 bcm_sdhci_finish_transfer(device_t dev, struct sdhci_slot *slot) argument
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read_disk_set_standard_lookup.c145 int slot; local
150 slot = id % cache->size;
151 if (cache->cache[slot].name != NULL) {
152 if (cache->cache[slot].id == id) {
154 if (cache->cache[slot].name == NO_NAME)
156 return (cache->cache[slot].name);
158 if (cache->cache[slot].name != NO_NAME)
159 free((void *)(uintptr_t)cache->cache[slot].name);
160 cache->cache[slot].name = NULL;
166 cache->cache[slot]
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dpci_ahci.c131 int slot; member in struct:ahci_ioreq
371 ahci_write_fis_sdb(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) argument
384 p->err_cfis[0] = slot;
389 *(uint32_t *)(fis + 4) = (1 << slot);
390 p->sact &= ~(1 << slot);
398 ahci_write_fis_d2h(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t tfd) argument
425 p->ci &= ~(1 << slot);
431 ahci_write_fis_d2h_ncq(struct ahci_port *p, int slot) argument
441 p->ci &= ~(1 << slot);
468 * slot, th
486 int slot; local
664 ahci_handle_rw(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t done) argument
751 ahci_handle_flush(struct ahci_port *p, int slot, uint8_t *cfis) argument
785 read_prdt(struct ahci_port *p, int slot, uint8_t *cfis, void *buf, unsigned int size) argument
814 ahci_handle_dsm_trim(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t done) argument
900 write_prdt(struct ahci_port *p, int slot, uint8_t *cfis, void *buf, unsigned int size) argument
941 ahci_handle_read_log(struct ahci_port *p, int slot, uint8_t *cfis) argument
982 handle_identify(struct ahci_port *p, int slot, uint8_t *cfis) argument
1127 handle_atapi_identify(struct ahci_port *p, int slot, uint8_t *cfis) argument
1140 atapi_inquiry(struct ahci_port *p, int slot, uint8_t *cfis) argument
1188 atapi_read_capacity(struct ahci_port *p, int slot, uint8_t *cfis) argument
1202 atapi_read_toc(struct ahci_port *p, int slot, uint8_t *cfis) argument
1384 atapi_report_luns(struct ahci_port *p, int slot, uint8_t *cfis) argument
1397 atapi_read(struct ahci_port *p, int slot, uint8_t *cfis, uint32_t done) argument
1450 atapi_request_sense(struct ahci_port *p, int slot, uint8_t *cfis) argument
1471 atapi_start_stop_unit(struct ahci_port *p, int slot, uint8_t *cfis) argument
1495 atapi_mode_sense(struct ahci_port *p, int slot, uint8_t *cfis) argument
1570 atapi_get_event_status_notification(struct ahci_port *p, int slot, uint8_t *cfis) argument
1604 handle_packet_cmd(struct ahci_port *p, int slot, uint8_t *cfis) argument
1669 ahci_handle_cmd(struct ahci_port *p, int slot, uint8_t *cfis) argument
1811 ahci_handle_slot(struct ahci_port *p, int slot) argument
1902 int slot, ncq, dsm; local
1976 int slot; local
[all...]
/freebsd-current/sbin/nvmecontrol/
H A Dfirmware.c58 uint32_t slot; member in struct:options
63 .slot = NONE,
72 OPT("slot", 's', arg_uint32, opt, slot,
99 slot_has_valid_firmware(int fd, int slot) argument
108 if (fw.revision[slot-1][0] != '\0')
201 activate_firmware(int fd, int slot, int activate_action) argument
208 pt.cmd.cdw10 = htole32((activate_action << 3) | slot);
243 if (opt.slot == 0) {
245 "0 is not a valid slot numbe
[all...]
/freebsd-current/sys/x86/pci/
H A Dpci_bus.c63 legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, argument
66 return(pci_cfgregread(0, bus, slot, func, reg, bytes));
72 legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func, argument
75 pci_cfgregwrite(0, bus, slot, func, reg, data, bytes);
120 int error, func, slot; local
127 slot = legacy_get_pcislot(pcib);
129 if (slot == -1 || func == -1)
131 hostb = pci_find_bsf(0, slot, func);
133 slot, func));
139 legacy_pcib_is_host_bridge(int bus, int slot, in argument
378 int bus, slot, func; local
[all...]
/freebsd-current/sys/powerpc/mpc85xx/
H A Dfsl_sata.c68 static void fsl_sata_execute_transaction(struct fsl_sata_slot *slot);
70 static void fsl_sata_end_transaction(struct fsl_sata_slot *slot, enum fsl_sata_err_type et);
157 #define FSL_SATA_CTP_BUS(ch, slot) \
158 ((ch->dma.work_bus + FSL_SATA_CT_OFFSET + (FSL_SATA_CT_SIZE * slot->slot)))
160 #define FSL_SATA_CTP(ch, slot) \
162 (FSL_SATA_CT_SIZE * slot->slot)))
163 #define FSL_SATA_CLP(ch, slot) \
165 (FSL_SATA_CL_SIZE * slot
232 uint8_t slot; /* Number of this slot */ member in struct:fsl_sata_slot
265 struct fsl_sata_slot slot[FSL_SATA_MAX_SLOTS]; member in struct:fsl_sata_channel
642 struct fsl_sata_slot *slot = &ch->slot[i]; local
663 struct fsl_sata_slot *slot = &ch->slot[i]; local
886 struct fsl_sata_slot *slot; local
942 struct fsl_sata_slot *slot = arg; local
987 fsl_sata_execute_transaction(struct fsl_sata_slot *slot) argument
1109 struct fsl_sata_slot *slot = &ch->slot[i]; local
1126 struct fsl_sata_slot *slot = arg; local
1174 fsl_sata_end_transaction(struct fsl_sata_slot *slot, enum fsl_sata_err_type et) argument
[all...]
/freebsd-current/sys/dev/mpr/
H A Dmpr_mapping.h39 * @slot: slot ID
47 uint16_t slot; member in struct:_map_phy_change
61 * @slot: slot ID
69 uint16_t slot; member in struct:_map_port_change
/freebsd-current/sys/x86/include/
H A Dpci_cfgreg.h61 u_int32_t pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes);
62 void pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, u_int32_t data, int bytes);
/freebsd-current/sys/arm/ti/
H A Dti_sdhci.c73 struct sdhci_slot slot; member in struct:ti_sdhci_softc
163 ti_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
171 ti_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
195 if (slot->version >= SDHCI_SPEC_300)
214 ti_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
238 ti_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
247 ti_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
277 ti_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
290 if (slot->version >= SDHCI_SPEC_300)
326 ti_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_ argument
335 ti_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
355 struct sdhci_slot *slot; local
399 ti_sdhci_get_card_present(device_t dev, struct sdhci_slot *slot) argument
[all...]
/freebsd-current/contrib/xz/src/xz/
H A Dutil.h54 /// is stored into an internal static buffer indicated by the slot argument.
60 extern const char *uint64_to_str(uint64_t value, uint32_t slot);
86 /// \param slot Which static buffer to use to hold the string.
96 bool always_also_bytes, uint32_t slot);
/freebsd-current/sys/security/mac/
H A Dmac_label.c50 * slot on first use, even if the policy is loaded after the label is
133 mac_label_get(struct label *l, int slot) argument
138 return (l->l_perpolicy[slot]);
142 mac_label_set(struct label *l, int slot, intptr_t v) argument
147 l->l_perpolicy[slot] = v;
/freebsd-current/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dlocate_led8 slot: Show disk slot number as reported by the enclosure.
9 encdev: Show /dev/sg* device associated with the enclosure disk slot.
10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
21 scripts='enc encdev slot fault_led locate_led'
42 slot)
46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"
H A Dfault_led8 slot: Show disk slot number as reported by the enclosure.
9 encdev: Show /dev/sg* device associated with the enclosure disk slot.
10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
21 scripts='enc encdev slot fault_led locate_led'
42 slot)
46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"
H A Dencdev8 slot: Show disk slot number as reported by the enclosure.
9 encdev: Show /dev/sg* device associated with the enclosure disk slot.
10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
21 scripts='enc encdev slot fault_led locate_led'
42 slot)
46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"
H A Dslot8 slot: Show disk slot number as reported by the enclosure.
9 encdev: Show /dev/sg* device associated with the enclosure disk slot.
10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
21 scripts='enc encdev slot fault_led locate_led'
42 slot)
46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"
H A Dses8 slot: Show disk slot number as reported by the enclosure.
9 encdev: Show /dev/sg* device associated with the enclosure disk slot.
10 fault_led: Show value of the disk enclosure slot fault LED.
11 locate_led: Show value of the disk enclosure slot locate LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
21 scripts='enc encdev slot fault_led locate_led'
42 slot)
46 val="$(cat """$VDEV_ENC_SYSFS_PATH/slot""" 2>/dev/null)"

Completed in 312 milliseconds

1234567891011>>