Home
last modified time | relevance | path

Searched refs:slot (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/dragonfly/sys/dev/disk/sdhci/
H A Dsdhci.c70 #define RD1(slot, off) SDHCI_READ_1((slot)->bus, (slot), (off)) argument
71 #define RD2(slot, off) SDHCI_READ_2((slot)->bus, (slot), (off)) argument
72 #define RD4(slot, off) SDHCI_READ_4((slot)->bus, (slot), (off)) argument
75 #define WR1(slot, off, val) SDHCI_WRITE_1((slot)->bus, (slot), (off), (val)) argument
76 #define WR2(slot, off, val) SDHCI_WRITE_2((slot)->bus, (slot), (off), (val)) argument
77 #define WR4(slot, off, val) SDHCI_WRITE_4((slot)->bus, (slot), (off), (val)) argument
247 WR4(slot, SDHCI_INT_ENABLE, slot->intmask); in sdhci_init()
290 slot->timeout_clk = slot->clock / 1000; in sdhci_set_clock()
505 device_set_ivars(slot->dev, slot); in sdhci_card_task()
714 slot->host.f_min = SDHCI_MIN_FREQ(slot->bus, slot); in sdhci_init_slot()
[all …]
H A Dsdhci_pci.c159 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_read_1()
170 bus_barrier(sc->mem_res[slot->num], 0, 0xFF, in sdhci_pci_write_1()
388 slot->quirks = sc->quirks; in sdhci_pci_attach()
390 if (sdhci_init_slot(dev, slot, i) != 0) { in sdhci_pci_attach()
391 memset(slot, 0, sizeof(*slot)); in sdhci_pci_attach()
406 struct sdhci_slot *slot = &sc->slots[i]; in sdhci_pci_attach() local
408 sdhci_start_slot(slot); in sdhci_pci_attach()
426 struct sdhci_slot *slot = &sc->slots[i]; in sdhci_pci_detach() local
428 sdhci_cleanup_slot(slot); in sdhci_pci_detach()
479 struct sdhci_slot *slot = &sc->slots[i]; in sdhci_pci_intr() local
[all …]
/dragonfly/sys/bus/pci/x86_64/
H A Dpci_cfgreg.c133 (bus != 0 || !(1 << slot & pcie_badslots))) in pci_docfgregread()
171 (bus != 0 || !(1 << slot & pcie_badslots))) in pci_cfgregwrite()
188 slot <= PCI_SLOTMAX && in pci_cfgenable()
291 int slot; in pcie_cfgregopen() local
293 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in pcie_cfgregopen()
296 val1 = pcireg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen()
300 val2 = pciereg_cfgread(0, slot, 0, 0, 4); in pcie_cfgregopen()
302 pcie_badslots |= (1 << slot); in pcie_cfgregopen()
308 #define PCIE_VADDR(base, reg, bus, slot, func) \ argument
311 (((slot) & 0x1f) << 15) | \
[all …]
H A Dpci_bus.c65 return(pci_cfgregread(bus, slot, func, reg, bytes)); in legacy_pcib_read_config()
74 pci_cfgregwrite(bus, slot, func, reg, data, bytes); in legacy_pcib_write_config()
111 legacy_pcib_is_host_bridge(int bus, int slot, int func, in legacy_pcib_is_host_bridge() argument
176 pxb[0] = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_is_host_bridge()
178 pxb[1] = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_is_host_bridge()
180 pxb[2] = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_is_host_bridge()
186 switch (slot) { in legacy_pcib_is_host_bridge()
327 int bus, slot, func; in legacy_pcib_identify() local
349 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in legacy_pcib_identify()
376 id = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify()
[all …]
/dragonfly/sys/dev/misc/evdev/
H A Devdev_mt.c114 int slot, slots; in evdev_mt_init() local
143 for (slot = 0; slot < slots; slot++) in evdev_mt_init()
206 if (!type_a && (slot < 0 || slot > MAXIMAL_MT_SLOT(evdev))) in evdev_mt_push_slot()
387 for (slot = pt; slot < pt + size; slot++) { in evdev_mt_send_frame()
391 evdev_mt_send_slot(evdev, slot->id, slot); in evdev_mt_send_frame()
492 KKASSERT(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_set_last_slot()
503 KKASSERT(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_get_value()
514 KKASSERT(slot >= 0 && slot <= MAXIMAL_MT_SLOT(evdev)); in evdev_mt_set_value()
529 int slot; in evdev_mt_id_to_slot() local
542 return (slot); in evdev_mt_id_to_slot()
[all …]
/dragonfly/sys/dev/drm/amd/lib/
H A Dchash.c206 while (cur.slot != iter.slot) { in chash_table_check()
209 iter.slot, hash, cur.slot); in chash_table_check()
225 BUG_ON(src.table == dst.table && src.slot == dst.slot); in chash_iter_relocate()
230 dst.table->keys32[dst.slot] = src.table->keys32[src.slot]; in chash_iter_relocate()
232 dst.table->keys64[dst.slot] = src.table->keys64[src.slot]; in chash_iter_relocate()
245 CHASH_SUB(dst.table, src.slot, dst.slot); in chash_iter_relocate()
292 while (first_redundant.slot != iter->slot) { in chash_table_find()
342 while (new_iter.slot != iter->slot && in chash_table_find()
346 if (new_iter.slot != iter->slot) in chash_table_find()
366 iter->slot = first_redundant.slot; in chash_table_find()
[all …]
/dragonfly/contrib/binutils-2.34/libctf/
H A Dctf-hash.c159 ctf_helem_t **slot; in ctf_hashtab_insert() local
163 if (!slot) in ctf_hashtab_insert()
169 if (!*slot) in ctf_hashtab_insert()
172 if (!*slot) in ctf_hashtab_insert()
182 (*slot)->key = key; in ctf_hashtab_insert()
184 return *slot; in ctf_hashtab_insert()
190 ctf_helem_t *slot; in ctf_dynhash_insert() local
195 if (!slot) in ctf_dynhash_insert()
224 ctf_helem_t **slot; in ctf_dynhash_lookup() local
228 if (slot) in ctf_dynhash_lookup()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dgodump.c128 void **slot; in go_define() local
437 gcc_assert (slot != NULL && *slot == NULL); in go_define()
445 *slot = mhval; in go_define()
463 void **slot; in go_undef() local
604 void **slot; in go_format_type() local
685 void **slot; in go_format_type() local
779 void **slot; in go_format_type() local
969 void **slot; in go_output_typedef() local
998 *slot = mhval; in go_output_typedef()
1148 void **slot; in keyword_hash_init() local
[all …]
H A Dipa-utils.c366 void **slot; in cgraph_node_set_add() local
370 if (*slot) in cgraph_node_set_add()
395 if (slot == NULL || !*slot) in cgraph_node_set_remove()
416 *slot = NULL; in cgraph_node_set_remove()
426 void **slot; in cgraph_node_set_find() local
430 if (slot == NULL || !*slot) in cgraph_node_set_find()
495 void **slot; in varpool_node_set_add() local
499 if (*slot) in varpool_node_set_add()
524 if (slot == NULL || !*slot) in varpool_node_set_remove()
555 void **slot; in varpool_node_set_find() local
[all …]
H A Dplugin.c128 void **slot; in add_new_plugin() local
169 if (*slot) in add_new_plugin()
171 plugin = (struct plugin_name_args *) *slot; in add_new_plugin()
182 *slot = plugin; in add_new_plugin()
196 void **slot; in parse_plugin_arg_opt() local
332 void **slot; in get_named_event_id() local
342 gcc_assert (*slot == HTAB_EMPTY_ENTRY); in get_named_event_id()
343 *slot = &plugin_event_name[i]; in get_named_event_id()
347 if (slot == NULL) in get_named_event_id()
349 if (*slot != HTAB_EMPTY_ENTRY) in get_named_event_id()
[all …]
H A Dggc-common.c71 (*r->cb) (*slot); in ggc_htab_delete()
328 if (*slot != NULL) in gt_pch_note_object()
336 (*slot)->obj = obj; in gt_pch_note_object()
343 (*slot)->type = type; in gt_pch_note_object()
925 if (*slot) in loc_descriptor()
926 return *slot; in loc_descriptor()
931 return *slot; in loc_descriptor()
941 PTR *slot; in ggc_record_overhead() local
949 gcc_assert (!*slot); in ggc_record_overhead()
950 *slot = p; in ggc_record_overhead()
[all …]
H A Dlto-streamer.c328 struct tree_hash_entry **slot; in lto_orig_address_map() local
332 slot in lto_orig_address_map()
334 gcc_assert (!*slot); in lto_orig_address_map()
336 **slot = ent; in lto_orig_address_map()
347 struct tree_hash_entry **slot; in lto_orig_address_get() local
350 slot in lto_orig_address_get()
352 return (slot ? (*slot)->value : 0); in lto_orig_address_get()
362 struct tree_hash_entry **slot; in lto_orig_address_remove() local
365 slot in lto_orig_address_remove()
367 gcc_assert (slot); in lto_orig_address_remove()
[all …]
H A Dlto-symtab.c138 void **slot; in lto_symtab_register_decl() local
165 new_entry->next = (lto_symtab_entry_t) *slot; in lto_symtab_register_decl()
166 *slot = new_entry; in lto_symtab_register_decl()
176 void **slot; in lto_symtab_get() local
181 return slot ? (lto_symtab_entry_t) *slot : NULL; in lto_symtab_get()
432 lto_symtab_resolve_symbols (void **slot) in lto_symtab_resolve_symbols() argument
538 prevailing = (lto_symtab_entry_t) *slot; in lto_symtab_merge_decls_2()
585 lto_symtab_resolve_symbols (slot); in lto_symtab_merge_decls_1()
588 for (prevailing = (lto_symtab_entry_t) *slot; in lto_symtab_merge_decls_1()
612 prevailing = (lto_symtab_entry_t) *slot; in lto_symtab_merge_decls_1()
[all …]
/dragonfly/contrib/xz/src/xz/
H A Dutil.c156 check_thousand_sep(uint32_t slot) in check_thousand_sep() argument
159 bufs[slot][0] = '\0'; in check_thousand_sep()
161 snprintf(bufs[slot], sizeof(bufs[slot]), "%'u", 1U); in check_thousand_sep()
175 check_thousand_sep(slot); in uint64_to_str()
178 snprintf(bufs[slot], sizeof(bufs[slot]), "%'" PRIu64, value); in uint64_to_str()
180 snprintf(bufs[slot], sizeof(bufs[slot]), "%" PRIu64, value); in uint64_to_str()
182 return bufs[slot]; in uint64_to_str()
189 uint32_t slot) in uint64_to_nicestr() argument
195 check_thousand_sep(slot); in uint64_to_nicestr()
198 char *pos = bufs[slot]; in uint64_to_nicestr()
[all …]
/dragonfly/sys/dev/drm/amd/include/linux/
H A Dchash.h258 int slot; member
278 (iter).slot = (s)
288 (iter).slot = ((iter).slot + 1) & (iter).table->size_mask; \
293 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); in chash_iter_is_valid()
299 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); in chash_iter_is_empty()
306 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); in chash_iter_set_valid()
312 BUG_ON((unsigned)iter.slot >= (1 << iter.table->bits)); in chash_iter_set_invalid()
325 return iter.table->keys32[iter.slot]; in chash_iter_key32()
331 return iter.table->keys64[iter.slot]; in chash_iter_key64()
337 iter.table->keys32[iter.slot] : iter.table->keys64[iter.slot]; in chash_iter_key()
[all …]
/dragonfly/contrib/openpam/lib/libpam/
H A Dpam_set_item.c63 void **slot; in pam_set_item() local
67 slot = &pamh->item[item_type]; in pam_set_item()
72 if (*slot != NULL && item != NULL) in pam_set_item()
85 if (*slot != NULL) in pam_set_item()
86 osize = strlen(*slot) + 1; in pam_set_item()
99 if (*slot != NULL) { in pam_set_item()
100 memset(*slot, 0xd0, osize); in pam_set_item()
101 FREE(*slot); in pam_set_item()
104 if ((*slot = malloc(nsize)) == NULL) in pam_set_item()
106 memcpy(*slot, item, nsize); in pam_set_item()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Drtl-chkp.c41 rtx *slot; in chkp_get_rtl_bounds() local
46 slot = chkp_rtx_bounds_map->get (node); in chkp_get_rtl_bounds()
47 return slot ? *slot : NULL_RTX; in chkp_get_rtl_bounds()
86 if (!slot in chkp_split_slot()
87 || GET_CODE (slot) != PARALLEL) in chkp_split_slot()
89 *slot_val = slot; in chkp_split_slot()
96 for (i = 0; i < XVECLEN (slot, 0); i++) in chkp_split_slot()
98 rtx elem = XVECEXP (slot, 0, i); in chkp_split_slot()
114 *slot_val = slot; in chkp_split_slot()
229 emit_move_insn (ptr, slot); in chkp_emit_bounds_store()
[all …]
H A Dgodump.c135 void **slot; in go_define() local
444 gcc_assert (slot != NULL && *slot == NULL); in go_define()
452 *slot = mhval; in go_define()
470 void **slot; in go_undef() local
613 void **slot; in go_append_decl_name() local
727 void **slot; in go_format_type() local
831 void **slot; in go_format_type() local
1140 void **slot; in go_output_typedef() local
1165 *slot = mhval; in go_output_typedef()
1341 void **slot; in keyword_hash_init() local
[all …]
H A Dlto-section-in.c305 renaming_slot_free (void *slot) in renaming_slot_free() argument
329 void **slot; in lto_record_renamed_decl() local
334 if (*slot == NULL) in lto_record_renamed_decl()
339 *slot = new_slot; in lto_record_renamed_decl()
360 if (slot) in lto_get_decl_name_mapping()
361 return slot->old_name; in lto_get_decl_name_mapping()
398 lto_in_decl_state **slot; in lto_get_function_in_decl_state() local
402 return slot? *slot : NULL; in lto_get_function_in_decl_state()
423 lto_in_decl_state **slot; in lto_free_function_in_decl_state_for_node() local
429 slot in lto_free_function_in_decl_state_for_node()
[all …]
H A Dplugin.c172 void **slot; in add_new_plugin() local
230 if (*slot) in add_new_plugin()
243 *slot = plugin; in add_new_plugin()
257 void **slot; in parse_plugin_arg_opt() local
373 if (slot == NULL) in register_plugin_info()
390 const char ***slot; in get_named_event_id() local
400 gcc_assert (*slot == HTAB_EMPTY_ENTRY); in get_named_event_id()
401 *slot = &plugin_event_name[i]; in get_named_event_id()
405 if (slot == NULL) in get_named_event_id()
407 if (*slot != HTAB_EMPTY_ENTRY) in get_named_event_id()
[all …]
H A Doptabs-libfuncs.c86 if (!slot) in convert_optab_libfunc()
96 if (!slot) in convert_optab_libfunc()
121 if (!slot) in optab_libfunc()
131 if (!slot) in optab_libfunc()
761 decl = *slot; in init_one_libfunc()
767 *slot = decl; in init_one_libfunc()
783 gcc_assert (slot); in set_user_assembler_libfunc()
784 decl = (tree) *slot; in set_user_assembler_libfunc()
808 if (*slot == NULL) in set_optab_libfunc()
810 (*slot)->op = op; in set_optab_libfunc()
[all …]
/dragonfly/contrib/file/magic/Magdir/
H A Dluks52 # key slot 1
54 >>208 use luks-slot
55 # key slot 2
57 >>256 use luks-slot
58 # key slot 3
61 # key slot 4
64 # key slot 5
67 # key slot 6
70 # key slot 7
73 # key slot 8
[all …]
/dragonfly/sys/dev/misc/ecc/
H A Decc_amd8000.c121 int bus, slot, poll = 0; in ecc_amd8000_attach() local
127 slot = pci_get_slot(dev); in ecc_amd8000_attach()
134 draminfo = pcib_read_config(dev, bus, slot, 2, 0x90, 4); in ecc_amd8000_attach()
135 eccinfo = pcib_read_config(dev, bus, slot, 3, 0x44, 4); in ecc_amd8000_attach()
167 v32 = pcib_read_config(dev, bus, slot, 3, 0x4C, 4); in ecc_amd8000_attach()
169 pcib_write_config(dev, bus, slot, 3, 0x4C, v32, 4); in ecc_amd8000_attach()
182 int bus, slot; in ecc_amd8000_callout() local
185 slot = pci_get_slot(dev); in ecc_amd8000_callout()
191 v32 = pcib_read_config(dev, bus, slot, 3, 0x4C, 4); in ecc_amd8000_callout()
193 addr = pcib_read_config(dev, bus, slot, 3, 0x50, 4); in ecc_amd8000_callout()
[all …]
/dragonfly/usr.bin/dsynth/
H A Dnuma.c53 setNumaDomain(int slot) in setNumaDomain() argument
94 if (slot < 0) { in setNumaDomain()
118 slot = slot % NumaSetSize; in setNumaDomain()
119 slot *= count; in setNumaDomain()
120 slot %= hcores; in setNumaDomain()
123 CPU_SET(slot + i, &cpuset); in setNumaDomain()
124 CPU_SET(slot + hcores + i, &cpuset); in setNumaDomain()
/dragonfly/sys/vfs/ufs/
H A Dufs_dirhash.c211 slot = WRAPINCR(slot, dh->dh_hlen); in ufsdirhash_build()
292 int i, slot; in ufsdirhash_lookup() local
351 slot = i; in ufsdirhash_lookup()
357 slot = WRAPINCR(slot, dh->dh_hlen)) { in ufsdirhash_lookup()
549 int slot; in ufsdirhash_add() local
572 slot = WRAPINCR(slot, dh->dh_hlen); in ufsdirhash_add()
590 int slot; in ufsdirhash_remove() local
620 int slot; in ufsdirhash_move() local
849 int slot; in ufsdirhash_findslot() local
856 slot = WRAPINCR(slot, dh->dh_hlen); in ufsdirhash_findslot()
[all …]

12345678910>>...19