Searched refs:slot (Results 1 - 25 of 425) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/sdhci/
H A Dsdhci.c72 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off))
73 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off))
74 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off))
75 #define RD_MULTI_4(slot, of
164 slot_printf(const struct sdhci_slot *slot, const char * fmt, ...) argument
179 sdhci_dumpregs(struct sdhci_slot *slot) argument
215 sdhci_reset(struct sdhci_slot *slot, uint8_t mask) argument
275 sdhci_tuning_intmask(const struct sdhci_slot *slot) argument
290 sdhci_init(struct sdhci_slot *slot) argument
313 sdhci_set_clock(struct sdhci_slot *slot, uint32_t clock) argument
413 sdhci_set_power(struct sdhci_slot *slot, u_char power) argument
468 sdhci_read_block_pio(struct sdhci_slot *slot) argument
511 sdhci_write_block_pio(struct sdhci_slot *slot) argument
551 sdhci_transfer_pio(struct sdhci_slot *slot) argument
575 struct sdhci_slot *slot = arg; local
612 sdhci_handle_card_present_locked(struct sdhci_slot *slot, bool is_present) argument
637 sdhci_handle_card_present(struct sdhci_slot *slot, bool is_present) argument
648 struct sdhci_slot *slot = arg; local
657 sdhci_dma_alloc(struct sdhci_slot *slot) argument
722 sdhci_dma_free(struct sdhci_slot *slot) argument
731 sdhci_init_slot(device_t dev, struct sdhci_slot *slot, int num) argument
1046 sdhci_start_slot(struct sdhci_slot *slot) argument
1053 sdhci_cleanup_slot(struct sdhci_slot *slot) argument
1087 sdhci_generic_suspend(struct sdhci_slot *slot) argument
1105 sdhci_generic_resume(struct sdhci_slot *slot) argument
1116 sdhci_generic_min_freq(device_t brdev __unused, struct sdhci_slot *slot) argument
1126 sdhci_generic_get_card_present(device_t brdev __unused, struct sdhci_slot *slot) argument
1136 sdhci_generic_set_uhs_timing(device_t brdev __unused, struct sdhci_slot *slot) argument
1173 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1215 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1270 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1341 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1373 sdhci_exec_tuning(struct sdhci_slot *slot, bool reset) argument
1456 struct sdhci_slot *slot = arg; local
1462 sdhci_req_done(struct sdhci_slot *slot) argument
1478 struct sdhci_slot *slot; local
1488 struct sdhci_slot *slot = arg; local
1502 sdhci_set_transfer_mode(struct sdhci_slot *slot, const struct mmc_data *data) argument
1525 sdhci_start_command(struct sdhci_slot *slot, struct mmc_command *cmd) argument
1632 sdhci_finish_command(struct sdhci_slot *slot) argument
1682 sdhci_start_data(struct sdhci_slot *slot, const struct mmc_data *data) argument
1762 sdhci_finish_data(struct sdhci_slot *slot) argument
1803 sdhci_start(struct sdhci_slot *slot) argument
1839 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1869 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1881 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1897 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1909 sdhci_cmd_irq(struct sdhci_slot *slot, uint32_t intmask) argument
1929 sdhci_data_irq(struct sdhci_slot *slot, uint32_t intmask) argument
2043 sdhci_acmd_irq(struct sdhci_slot *slot, uint16_t acmd_err) argument
2057 sdhci_generic_intr(struct sdhci_slot *slot) argument
2140 const struct sdhci_slot *slot = device_get_ivars(child); local
2227 struct sdhci_slot *slot = device_get_ivars(child); local
[all...]
H A Dsdhci_fdt_gpio.h52 * can't trigger interrupts on both edges, it configures the slot to use polling
57 struct sdhci_fdt_gpio *sdhci_fdt_gpio_setup(device_t dev, struct sdhci_slot *slot);
/freebsd-11-stable/sys/sys/
H A Dosd.h59 void osd_deregister(u_int type, u_int slot);
61 int osd_set(u_int type, struct osd *osd, u_int slot, void *value);
62 void **osd_reserve(u_int slot);
63 int osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv,
66 void *osd_get(u_int type, struct osd *osd, u_int slot);
67 void osd_del(u_int type, struct osd *osd, u_int slot);
74 #define osd_thread_deregister(slot) \
75 osd_deregister(OSD_THREAD, (slot))
76 #define osd_thread_set(td, slot, value) \
77 osd_set(OSD_THREAD, &(td)->td_osd, (slot), (valu
[all...]
/freebsd-11-stable/contrib/openpam/lib/libpam/
H A Dpam_set_item.c63 void **slot; local
67 slot = &pamh->item[item_type];
72 if (*slot != NULL && item != NULL)
85 if (*slot != NULL)
86 osize = strlen(*slot) + 1;
99 if (*slot != NULL) {
100 memset(*slot, 0xd0, osize);
101 FREE(*slot);
104 if ((*slot = malloc(nsize)) == NULL)
106 memcpy(*slot, ite
[all...]
/freebsd-11-stable/sys/amd64/pci/
H A Dpci_cfgreg.c51 static uint32_t pci_docfgregread(int bus, int slot, int func, int reg,
53 static int pciereg_cfgread(int bus, unsigned slot, unsigned func,
55 static void pciereg_cfgwrite(int bus, unsigned slot, unsigned func,
57 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
58 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
117 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument
122 (bus != 0 || !(1 << slot & pcie_badslots)))
123 return (pciereg_cfgread(bus, slot, func, reg, bytes));
125 return (pcireg_cfgread(bus, slot, func, reg, bytes));
132 pci_cfgregread(int bus, int slot, in argument
160 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
259 int slot; local
314 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
345 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_fixup.h34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);
H A Dar71xx_fixup.c75 ar71xx_pci_slot_create_eeprom_firmware(device_t dev, u_int bus, u_int slot, argument
103 device_get_name(dev), device_get_unit(dev), bus, slot, func);
116 ar71xx_pci_slot_fixup(device_t dev, u_int bus, u_int slot, u_int func)
123 * Check whether the given slot has a hint to poke.
127 __func__, device_get_nameunit(dev), bus, slot, func);
130 bus, slot, func);
135 bus, slot, func);
146 flash_addr, bus, slot, func);
147 ar71xx_pci_fixup(dev, bus, slot, func, flash_addr, size);
148 ar71xx_pci_slot_create_eeprom_firmware(dev, bus, slot, fun
[all...]
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dzeus.c143 u_int i, slot; local
146 slot = TLB_DAR_SLOT(TLB_DAR_FTLB, i);
147 data = ldxa(slot, ASI_DTLB_DATA_ACCESS_REG);
148 tag = ldxa(slot, ASI_DTLB_TAG_READ_REG);
151 stxa_sync(slot, ASI_DTLB_DATA_ACCESS_REG, 0);
152 data = ldxa(slot, ASI_ITLB_DATA_ACCESS_REG);
153 tag = ldxa(slot, ASI_ITLB_TAG_READ_REG);
156 stxa_sync(slot, ASI_ITLB_DATA_ACCESS_REG, 0);
159 slot = TLB_DAR_SLOT(TLB_DAR_STLB, i);
160 data = ldxa(slot, ASI_DTLB_DATA_ACCESS_RE
[all...]
H A Dcheetah.c238 u_int i, slot; local
245 slot = TLB_DAR_SLOT(TLB_DAR_T16, i);
247 (void)ldxa(slot, ASI_DTLB_DATA_ACCESS_REG);
248 data = ldxa(slot, ASI_DTLB_DATA_ACCESS_REG);
250 tag = ldxa(slot, ASI_DTLB_TAG_READ_REG);
253 stxa_sync(slot, ASI_DTLB_DATA_ACCESS_REG, 0);
255 (void)ldxa(slot, ASI_ITLB_DATA_ACCESS_REG);
256 data = ldxa(slot, ASI_ITLB_DATA_ACCESS_REG);
258 tag = ldxa(slot, ASI_ITLB_TAG_READ_REG);
261 stxa_sync(slot, ASI_ITLB_DATA_ACCESS_RE
[all...]
H A Dspitfire.c149 u_int slot; local
152 slot = TLB_DAR_SLOT(TLB_DAR_T32, i);
153 if ((ldxa(slot, ASI_DTLB_DATA_ACCESS_REG) & TD_L) == 0)
154 stxa_sync(slot, ASI_DTLB_DATA_ACCESS_REG, 0);
155 if ((ldxa(slot, ASI_ITLB_DATA_ACCESS_REG) & TD_L) == 0)
156 stxa_sync(slot, ASI_ITLB_DATA_ACCESS_REG, 0);
169 u_int slot; local
172 slot = TLB_DAR_SLOT(TLB_DAR_T32, i);
173 data = ldxa(slot, ASI_DTLB_DATA_ACCESS_REG);
174 tag = ldxa(slot, ASI_DTLB_TAG_READ_RE
[all...]
/freebsd-11-stable/sys/contrib/ck/include/
H A Dck_bytelock.h82 ck_bytelock_write_lock(struct ck_bytelock *bytelock, unsigned int slot) argument
88 while (ck_pr_cas_uint(&bytelock->owner, 0, slot) == false)
92 if (slot <= sizeof bytelock->readers)
93 ck_pr_store_8(&bytelock->readers[slot - 1], false);
128 ck_bytelock_read_lock(struct ck_bytelock *bytelock, unsigned int slot) argument
131 if (ck_pr_load_uint(&bytelock->owner) == slot) {
132 ck_pr_store_8(&bytelock->readers[slot - 1], true);
139 if (slot > sizeof bytelock->readers) {
155 slot -= 1;
158 ck_pr_fas_8(&bytelock->readers[slot], tru
183 ck_bytelock_read_unlock(struct ck_bytelock *bytelock, unsigned int slot) argument
[all...]
/freebsd-11-stable/sys/amd64/vmm/io/
H A Dppt.h33 int ppt_map_mmio(struct vm *vm, int bus, int slot, int func,
35 int ppt_setup_msi(struct vm *vm, int vcpu, int bus, int slot, int func,
37 int ppt_setup_msix(struct vm *vm, int vcpu, int bus, int slot, int func,
52 int ppt_assign_device(struct vm *vm, int bus, int slot, int func);
53 int ppt_unassign_device(struct vm *vm, int bus, int slot, int func);
/freebsd-11-stable/contrib/xz/src/xz/
H A Dutil.c156 check_thousand_sep(uint32_t slot) argument
159 bufs[slot][0] = '\0';
161 snprintf(bufs[slot], sizeof(bufs[slot]), "%'u", 1U);
163 thousand = bufs[slot][0] == '1' ? WORKS : BROKEN;
171 uint64_to_str(uint64_t value, uint32_t slot) argument
173 assert(slot < ARRAY_SIZE(bufs));
175 check_thousand_sep(slot);
178 snprintf(bufs[slot], sizeof(bufs[slot]), "
187 uint64_to_nicestr(uint64_t value, enum nicestr_unit unit_min, enum nicestr_unit unit_max, bool always_also_bytes, uint32_t slot) argument
[all...]
/freebsd-11-stable/contrib/lua/src/
H A Dlvm.h53 ** return 1 with 'slot' pointing to 't[k]' (final result). Otherwise,
54 ** return 0 (meaning it will have to check metamethod) with 'slot'
58 #define luaV_fastget(L,t,k,slot,f) \
60 ? (slot = NULL, 0) /* not a table; 'slot' is NULL and result is 0 */ \
61 : (slot = f(hvalue(t), k), /* else, do raw access */ \
62 !ttisnil(slot))) /* result not nil? */
67 #define luaV_gettable(L,t,k,v) { const TValue *slot; \
68 if (luaV_fastget(L,t,k,slot,luaH_get)) { setobj2s(L, v, slot); } \
[all...]
/freebsd-11-stable/sys/dev/evdev/
H A Devdev_mt.c73 int32_t slot, slots; local
81 for (slot = 0; slot < slots; slot++) {
84 * report counter (0) as it brokes free slot detection in
87 evdev->ev_mt->ev_mt_slots[slot] = (struct evdev_mt_slot) {
112 evdev_set_last_mt_slot(struct evdev_dev *evdev, int32_t slot) argument
115 evdev->ev_mt->ev_mt_slots[slot].ev_report = evdev->ev_report_count;
116 evdev->ev_mt->ev_mt_last_reported_slot = slot;
120 evdev_get_mt_value(struct evdev_dev *evdev, int32_t slot, int16_ argument
128 evdev_set_mt_value(struct evdev_dev *evdev, int32_t slot, int16_t code, int32_t value) argument
139 int32_t tr_id, slot, free_slot = -1; local
271 int32_t slot; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dks_p11.c68 struct p11_slot *slot; member in struct:p11_module
96 struct p11_slot *slot; member in struct:p11_rsa
144 ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session);
150 p11_put_session(p11rsa->p, p11rsa->slot, session);
156 p11_put_session(p11rsa->p, p11rsa->slot, session);
182 ret = p11_get_session(NULL, p11rsa->p, p11rsa->slot, NULL, &session);
188 p11_put_session(p11rsa->p, p11rsa->slot, session);
194 p11_put_session(p11rsa->p, p11rsa->slot, session);
239 struct p11_slot *slot,
245 ret = P11FUNC(p, GetMechanismList, (slot
237 p11_mech_info(hx509_context context, struct p11_module *p, struct p11_slot *slot, int num) argument
301 p11_init_slot(hx509_context context, struct p11_module *p, hx509_lock lock, CK_SLOT_ID id, int num, struct p11_slot *slot) argument
368 p11_get_session(hx509_context context, struct p11_module *p, struct p11_slot *slot, hx509_lock lock, CK_SESSION_HANDLE *psession) argument
478 p11_put_session(struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session) argument
490 iterate_entries(hx509_context context, struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session, CK_ATTRIBUTE *search_data, int num_search_data, CK_ATTRIBUTE *query, int num_query, int (*func)(hx509_context, struct p11_module *, struct p11_slot *, CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, void *, CK_ATTRIBUTE *, int), void *ptr) argument
566 getattr_bn(struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, unsigned int type) argument
600 collect_private_key(hx509_context context, struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, void *ptr, CK_ATTRIBUTE *query, int num_query) argument
676 collect_cert(hx509_context context, struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, void *ptr, CK_ATTRIBUTE *query, int num_query) argument
736 p11_list_keys(hx509_context context, struct p11_module *p, struct p11_slot *slot, CK_SESSION_HANDLE session, hx509_lock lock, hx509_certs *certs) argument
[all...]
/freebsd-11-stable/sys/kern/
H A Dkern_osd.c77 static void do_osd_del(u_int type, struct osd *osd, u_int slot,
103 * destructor, because NULL destructor means unused slot.
110 * First, we try to find unused slot.
114 OSD_DEBUG("Unused slot found (type=%u, slot=%u).",
120 * If no unused slot was found, allocate one.
136 OSD_DEBUG("New slot allocated (type=%u, slot=%u).",
151 osd_deregister(u_int type, u_int slot) argument
156 KASSERT(slot >
199 osd_set(u_int type, struct osd *osd, u_int slot, void *value) argument
206 osd_reserve(u_int slot) argument
216 osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv, void *value) argument
294 osd_get(u_int type, struct osd *osd, u_int slot) argument
317 osd_del(u_int type, struct osd *osd, u_int slot) argument
327 do_osd_del(u_int type, struct osd *osd, u_int slot, int list_locked) argument
[all...]
H A Dsubr_pctrie.c108 int slot; local
113 for (slot = 0; slot < PCTRIE_COUNT; slot++)
114 KASSERT(node->pn_child[slot] == NULL,
191 int slot; local
193 slot = pctrie_slot(index, clev);
194 node->pn_child[slot] = (void *)((uintptr_t)val | PCTRIE_ISLEAF);
198 * Returns the slot where two keys differ.
238 int slot; local
285 int slot; local
355 int slot; local
386 int slot, tos; local
497 int slot, tos; local
606 int i, slot; local
[all...]
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c325 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
334 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
351 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
359 bcm_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
368 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) argument
378 bcm_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument
398 bcm_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
405 bcm_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
416 struct sdhci_slot *slot; local
420 slot
470 struct sdhci_slot *slot = &sc->sc_slot; local
552 bcm_sdhci_read_dma(device_t dev, struct sdhci_slot *slot) argument
581 bcm_sdhci_write_dma(device_t dev, struct sdhci_slot *slot) argument
610 bcm_sdhci_will_handle_transfer(device_t dev, struct sdhci_slot *slot) argument
629 bcm_sdhci_start_transfer(device_t dev, struct sdhci_slot *slot, uint32_t *intmask) argument
641 bcm_sdhci_finish_transfer(device_t dev, struct sdhci_slot *slot) argument
[all...]
/freebsd-11-stable/sys/arm64/acpica/
H A Dpci_cfgreg.c47 pci_cfgregread(int bus, int slot, int func, int reg, int bytes) argument
59 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
/freebsd-11-stable/sys/powerpc/include/
H A Ddbdma.h90 void dbdma_set_current_cmd(dbdma_channel_t *chan, int slot);
119 uint16_t dbdma_get_cmd_status(dbdma_channel_t *chan, int slot);
120 uint16_t dbdma_get_residuals(dbdma_channel_t *chan, int slot);
122 void dbdma_clear_cmd_status(dbdma_channel_t *chan, int slot);
140 void dbdma_insert_command(dbdma_channel_t *chan, int slot, int command,
144 void dbdma_insert_stop(dbdma_channel_t *chan, int slot);
145 void dbdma_insert_nop(dbdma_channel_t *chan, int slot);
146 void dbdma_insert_branch(dbdma_channel_t *chan, int slot, int to_slot);
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c91 static uint32_t pci_docfgregread(int bus, int slot, int func, int reg,
93 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
94 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
96 static int pciereg_cfgread(int bus, unsigned slot, unsigned func,
98 static void pciereg_cfgwrite(int bus, unsigned slot, unsigned func,
200 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument
205 (bus != 0 || !(1 << slot & pcie_badslots)))
206 return (pciereg_cfgread(bus, slot, func, reg, bytes));
208 return (pcireg_cfgread(bus, slot, func, reg, bytes));
215 pci_cfgregread(int bus, int slot, in argument
235 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
252 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
335 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
361 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
522 int i, slot; local
609 pciereg_findaddr(int bus, unsigned slot, unsigned func, unsigned reg) argument
656 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
689 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_radix.c203 int slot; local
205 slot = vm_radix_slot(index, clev);
206 rnode->rn_child[slot] = (void *)((uintptr_t)page | VM_RADIX_ISLEAF);
210 * Returns the slot where two keys differ.
249 int slot; local
253 for (slot = 0; rnode->rn_count != 0; slot++) {
254 if (rnode->rn_child[slot] == NULL)
256 if (!vm_radix_isleaf(rnode->rn_child[slot]))
257 vm_radix_reclaim_allnodes_int(rnode->rn_child[slot]);
272 int slot; local
337 int slot; local
420 int slot; local
451 int slot, tos; local
562 int slot, tos; local
671 int i, slot; local
745 int slot; local
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-dma.c164 bzero(ch->dma.slot, sizeof(struct ata_dmaslot) * ATA_DMA_SLOTS);
166 struct ata_dmaslot *slot = &ch->dma.slot[i]; local
171 0, NULL, NULL, &slot->sg_tag)) {
176 if (bus_dmamem_alloc(slot->sg_tag, (void **)&slot->sg, BUS_DMA_WAITOK,
177 &slot->sg_map)) {
182 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot
220 struct ata_dmaslot *slot = &ch->dma.slot[i]; local
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpcib_support.c60 uint8_t bus, slot, func; local
66 slot = pci_get_slot(dev);
69 *id = (PCI_RID(bus, slot, func));
74 pcib_decode_rid(device_t pcib, uint16_t rid, int *bus, int *slot, argument
79 *slot = PCI_RID2SLOT(rid);

Completed in 434 milliseconds

1234567891011>>