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

1234567891011>>

/freebsd-10-stable/sys/dev/sdhci/
H A Dsdhci.c73 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off))
74 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off))
75 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off))
76 #define RD_MULTI_4(slot, of
165 slot_printf(const struct sdhci_slot *slot, const char * fmt, ...) argument
180 sdhci_dumpregs(struct sdhci_slot *slot) argument
216 sdhci_reset(struct sdhci_slot *slot, uint8_t mask) argument
276 sdhci_tuning_intmask(const struct sdhci_slot *slot) argument
291 sdhci_init(struct sdhci_slot *slot) argument
314 sdhci_set_clock(struct sdhci_slot *slot, uint32_t clock) argument
414 sdhci_set_power(struct sdhci_slot *slot, u_char power) argument
469 sdhci_read_block_pio(struct sdhci_slot *slot) argument
512 sdhci_write_block_pio(struct sdhci_slot *slot) argument
552 sdhci_transfer_pio(struct sdhci_slot *slot) argument
576 struct sdhci_slot *slot = arg; local
613 sdhci_handle_card_present_locked(struct sdhci_slot *slot, bool is_present) argument
638 sdhci_handle_card_present(struct sdhci_slot *slot, bool is_present) argument
649 struct sdhci_slot *slot = arg; local
658 sdhci_dma_alloc(struct sdhci_slot *slot) argument
723 sdhci_dma_free(struct sdhci_slot *slot) argument
732 sdhci_init_slot(device_t dev, struct sdhci_slot *slot, int num) argument
1047 sdhci_start_slot(struct sdhci_slot *slot) argument
1054 sdhci_cleanup_slot(struct sdhci_slot *slot) argument
1088 sdhci_generic_suspend(struct sdhci_slot *slot) argument
1106 sdhci_generic_resume(struct sdhci_slot *slot) argument
1117 sdhci_generic_min_freq(device_t brdev __unused, struct sdhci_slot *slot) argument
1127 sdhci_generic_get_card_present(device_t brdev __unused, struct sdhci_slot *slot) argument
1137 sdhci_generic_set_uhs_timing(device_t brdev __unused, struct sdhci_slot *slot) argument
1174 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1216 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1271 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1342 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1374 sdhci_exec_tuning(struct sdhci_slot *slot, bool reset) argument
1457 struct sdhci_slot *slot = arg; local
1463 sdhci_req_done(struct sdhci_slot *slot) argument
1479 struct sdhci_slot *slot; local
1489 struct sdhci_slot *slot = arg; local
1503 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
1802 sdhci_start(struct sdhci_slot *slot) argument
1837 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1867 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1879 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1895 struct sdhci_slot *slot = device_get_ivars(reqdev); local
1907 sdhci_cmd_irq(struct sdhci_slot *slot, uint32_t intmask) argument
1927 sdhci_data_irq(struct sdhci_slot *slot, uint32_t intmask) argument
2041 sdhci_acmd_irq(struct sdhci_slot *slot, uint16_t acmd_err) argument
2055 sdhci_generic_intr(struct sdhci_slot *slot) argument
2138 const struct sdhci_slot *slot = device_get_ivars(child); local
2225 struct sdhci_slot *slot = device_get_ivars(child); local
[all...]
H A Dsdhci_fdt.c76 sdhci_fdt_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
80 return (bus_read_1(sc->mem_res[slot->num], off));
84 sdhci_fdt_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
89 bus_write_1(sc->mem_res[slot->num], off, val);
93 sdhci_fdt_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
97 return (bus_read_2(sc->mem_res[slot->num], off));
101 sdhci_fdt_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
106 bus_write_2(sc->mem_res[slot->num], off, val);
110 sdhci_fdt_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
114 return (bus_read_4(sc->mem_res[slot
118 sdhci_fdt_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
127 sdhci_fdt_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
136 sdhci_fdt_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t *data, bus_size_t count) argument
193 struct sdhci_slot *slot; local
[all...]
/freebsd-10-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-10-stable/sys/ia64/include/
H A Dpci_cfgreg.h34 uint32_t pci_cfgregread(int bus, int slot, int func, int reg, int len);
35 void pci_cfgregwrite(int bus, int slot, int func, int reg, uint32_t data,
/freebsd-10-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);
118 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument
123 (bus != 0 || !(1 << slot & pcie_badslots)))
124 return (pciereg_cfgread(bus, slot, func, reg, bytes));
126 return (pcireg_cfgread(bus, slot, func, reg, bytes));
133 pci_cfgregread(int bus, int slot, in argument
161 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
181 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
207 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
233 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
260 int slot; local
315 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
346 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-10-stable/contrib/openpam/lib/libpam/
H A Dpam_set_item.c63 void **slot, *tmp; local
69 slot = &pamh->item[item_type];
74 if (*slot != NULL)
87 if (*slot != NULL)
88 osize = strlen(*slot) + 1;
101 if (*slot != NULL) {
102 memset(*slot, 0xd0, osize);
103 FREE(*slot);
112 *slot = tmp;
/freebsd-10-stable/sys/mips/atheros/
H A Dar71xx_fixup.h34 u_int bus, u_int slot, u_int func, long int flash_addr, int size);
/freebsd-10-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-10-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-10-stable/contrib/xz/src/xz/
H A Dutil.c148 check_thousand_sep(uint32_t slot) argument
151 bufs[slot][0] = '\0';
152 snprintf(bufs[slot], sizeof(bufs[slot]), "%'u", 1U);
153 thousand = bufs[slot][0] == '1' ? WORKS : BROKEN;
161 uint64_to_str(uint64_t value, uint32_t slot) argument
163 assert(slot < ARRAY_SIZE(bufs));
165 check_thousand_sep(slot);
168 snprintf(bufs[slot], sizeof(bufs[slot]), "
177 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-10-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-10-stable/sys/kern/
H A Dkern_osd.c78 static void do_osd_del(u_int type, struct osd *osd, u_int slot,
104 * destructor, because NULL destructor means unused slot.
111 * First, we try to find unused slot.
115 OSD_DEBUG("Unused slot found (type=%u, slot=%u).",
121 * If no unused slot was found, allocate one.
137 OSD_DEBUG("New slot allocated (type=%u, slot=%u).",
152 osd_deregister(u_int type, u_int slot) argument
157 KASSERT(slot >
200 osd_set(u_int type, struct osd *osd, u_int slot, void *value) argument
207 osd_reserve(u_int slot) argument
217 osd_set_reserved(u_int type, struct osd *osd, u_int slot, void *rsv, void *value) argument
295 osd_get(u_int type, struct osd *osd, u_int slot) argument
318 osd_del(u_int type, struct osd *osd, u_int slot) argument
328 do_osd_del(u_int type, struct osd *osd, u_int slot, int list_locked) argument
[all...]
H A Dsubr_pctrie.c120 int slot; local
125 for (slot = 0; slot < PCTRIE_COUNT; slot++)
126 KASSERT(node->pn_child[slot] == NULL,
203 int slot; local
205 slot = pctrie_slot(index, clev);
206 node->pn_child[slot] = (void *)((uintptr_t)val | PCTRIE_ISLEAF);
210 * Returns the slot where two keys differ.
250 int slot; local
297 int slot; local
367 int slot; local
398 int slot, tos; local
509 int slot, tos; local
618 int i, slot; local
[all...]
/freebsd-10-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_sdhci.c315 bcm_sdhci_read_1(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
324 bcm_sdhci_read_2(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
341 bcm_sdhci_read_4(device_t dev, struct sdhci_slot *slot, bus_size_t off) argument
349 bcm_sdhci_read_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
358 bcm_sdhci_write_1(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint8_t val) argument
368 bcm_sdhci_write_2(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint16_t val) argument
388 bcm_sdhci_write_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, uint32_t val) argument
395 bcm_sdhci_write_multi_4(device_t dev, struct sdhci_slot *slot, bus_size_t off, argument
406 struct sdhci_slot *slot; local
410 slot
460 struct sdhci_slot *slot = &sc->sc_slot; local
542 bcm_sdhci_read_dma(device_t dev, struct sdhci_slot *slot) argument
571 bcm_sdhci_write_dma(device_t dev, struct sdhci_slot *slot) argument
600 bcm_sdhci_will_handle_transfer(device_t dev, struct sdhci_slot *slot) argument
619 bcm_sdhci_start_transfer(device_t dev, struct sdhci_slot *slot, uint32_t *intmask) argument
631 bcm_sdhci_finish_transfer(device_t dev, struct sdhci_slot *slot) argument
[all...]
/freebsd-10-stable/sys/ia64/pci/
H A Dpci_cfgreg.c36 pci_sal_address(int dom, int bus, int slot, int func, int reg) argument
42 slot >= 0 && slot <= 31 && func >= 0 && func <= 7 &&
45 ((u_long)slot << 11) | ((u_long)func << 8) | (u_long)reg;
67 pci_cfgregread(int bus, int slot, int func, int reg, int len) argument
73 addr = pci_sal_address(bus >> 8, bus & 0xff, slot, func, reg);
88 pci_cfgregwrite(int bus, int slot, int func, int reg, uint32_t data, int len) argument
94 addr = pci_sal_address(bus >> 8, bus & 0xff, slot, func, reg);
/freebsd-10-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-10-stable/sys/i386/pci/
H A Dpci_cfgreg.c93 static uint32_t pci_docfgregread(int bus, int slot, int func, int reg,
95 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes);
96 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes);
100 static int pciereg_cfgread(int bus, unsigned slot, unsigned func,
102 static void pciereg_cfgwrite(int bus, unsigned slot, unsigned func,
210 pci_docfgregread(int bus, int slot, int func, int reg, int bytes) argument
215 (bus != 0 || !(1 << slot & pcie_badslots)))
216 return (pciereg_cfgread(bus, slot, func, reg, bytes));
218 return (pcireg_cfgread(bus, slot, func, reg, bytes));
225 pci_cfgregread(int bus, int slot, in argument
245 pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes) argument
262 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument
345 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument
371 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument
533 int i, slot; local
621 pciereg_findaddr(int bus, unsigned slot, unsigned func, unsigned reg) argument
668 pciereg_cfgread(int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
701 pciereg_cfgwrite(int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-10-stable/sys/ia64/ia64/
H A Demulate.c44 int slot; local
49 slot = ((tf->tf_special.psr & IA64_PSR_RI) == IA64_PSR_RI_0) ? 0 :
51 if (slot == 1 && bundle.b_templ[slot] == 'L')
52 slot++;
54 i = bundle.b_inst + slot;
/freebsd-10-stable/sys/dev/ata/
H A Data-dma.c165 bzero(ch->dma.slot, sizeof(struct ata_dmaslot) * ATA_DMA_SLOTS);
167 struct ata_dmaslot *slot = &ch->dma.slot[i]; local
172 0, NULL, NULL, &slot->sg_tag)) {
177 if (bus_dmamem_alloc(slot->sg_tag, (void **)&slot->sg, BUS_DMA_WAITOK,
178 &slot->sg_map)) {
183 if (bus_dmamap_load(slot->sg_tag, slot->sg_map, slot
221 struct ata_dmaslot *slot = &ch->dma.slot[i]; local
[all...]
/freebsd-10-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
339 int slot; local
458 int slot; local
489 int slot, tos; local
600 int slot, tos; local
709 int i, slot; local
800 int slot; local
[all...]
/freebsd-10-stable/sys/dev/pci/
H A Dpcib_support.c60 uint8_t bus, slot, func; local
63 slot = pci_get_slot(dev);
66 return (PCI_RID(bus, slot, func));
/freebsd-10-stable/contrib/gcc/
H A Dgenconstants.c41 print_md_constant (void **slot, void *info) argument
43 struct md_constant *def = (struct md_constant *) *slot;
/freebsd-10-stable/sys/arm/versatile/
H A Dversatile_pci.c161 int slot; local
190 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
191 vendordev_id = versatile_pci_read_4((slot << 11) + PCIR_DEVVENDOR);
192 class_id = versatile_pci_read_4((slot << 11) + PCIR_REVID);
198 if (slot == (PCI_SLOTMAX + 1)) {
205 sc->pcib_slot = slot;
206 device_printf(dev, "PCI core at slot #%d\n", slot);
406 versatile_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) argument
457 versatile_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) argument
[all...]

Completed in 289 milliseconds

1234567891011>>