Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 1862) sorted by relevance

12345678910>>...75

/freebsd-13-stable/sys/ofed/drivers/infiniband/core/
HDib_packer.c64 void ib_pack(const struct ib_field *desc, in ib_pack() argument
72 if (desc[i].size_bits <= 32) { in ib_pack()
78 shift = 32 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
79 if (desc[i].struct_size_bytes) in ib_pack()
80 val = value_read(desc[i].struct_offset_bytes, in ib_pack()
81 desc[i].struct_size_bytes, in ib_pack()
86 mask = cpu_to_be32(((1ull << desc[i].size_bits) - 1) << shift); in ib_pack()
87 addr = (__be32 *) buf + desc[i].offset_words; in ib_pack()
89 } else if (desc[i].size_bits <= 64) { in ib_pack()
95 shift = 64 - desc[i].offset_bits - desc[i].size_bits; in ib_pack()
[all …]
/freebsd-13-stable/sys/dev/usb/
HDusb_parse.c79 uint8_t *desc; in usb_desc_foreach() local
88 desc = (uint8_t *)_desc; in usb_desc_foreach()
91 if (desc == NULL) in usb_desc_foreach()
92 desc = start; in usb_desc_foreach()
94 desc = desc + desc[0]; in usb_desc_foreach()
97 if ((desc < start) || (desc >= end)) in usb_desc_foreach()
101 desc_next = desc + desc[0]; in usb_desc_foreach()
106 if (desc[0] < 3) in usb_desc_foreach()
110 return ((struct usb_descriptor *)desc); in usb_desc_foreach()
132 id = (struct usb_interface_descriptor *)ps->desc; in usb_idesc_foreach()
[all …]
/freebsd-13-stable/sbin/etherswitchcfg/
HDifmedia.c403 struct ifmedia_description *desc; member
407 struct ifmedia_description *desc; member
411 struct ifmedia_description *desc; member
479 struct ifmedia_description *desc; in get_media_subtype() local
484 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_media_subtype()
485 desc->ifmt_string != NULL; desc++, ttos++) in get_media_subtype()
486 if (type == desc->ifmt_word) in get_media_subtype()
488 if (desc->ifmt_string == NULL) in get_media_subtype()
491 for (i = 0; ttos->subtypes[i].desc != NULL; i++) { in get_media_subtype()
492 rval = lookup_media_word(ttos->subtypes[i].desc, val); in get_media_subtype()
[all …]
/freebsd-13-stable/lib/libifconfig/
HDlibifconfig_media.c130 lookup_media_desc(const struct ifmedia_description *desc, const char *name) in lookup_media_desc() argument
133 for (; desc->ifmt_string != NULL; ++desc) in lookup_media_desc()
134 if (strcasecmp(desc->ifmt_string, name) == 0) in lookup_media_desc()
135 return (desc); in lookup_media_desc()
141 const struct ifmedia_description *desc; member
146 const struct ifmedia_description *desc; member
151 const struct ifmedia_description *desc; member
221 const struct ifmedia_description *desc; in get_toptype_ttos() local
224 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in get_toptype_ttos()
225 desc->ifmt_string != NULL; desc++, ttos++) { in get_toptype_ttos()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/module/icp/core/
HDkcf_prov_tabs.c303 kcf_provider_desc_t *desc; in kcf_alloc_provider_desc() local
307 desc = kmem_zalloc(sizeof (kcf_provider_desc_t), KM_SLEEP); in kcf_alloc_provider_desc()
321 desc->pd_description = kmem_alloc(CRYPTO_PROVIDER_DESCR_MAX_LEN + 1, in kcf_alloc_provider_desc()
323 (void) memset(desc->pd_description, ' ', in kcf_alloc_provider_desc()
325 desc->pd_description[CRYPTO_PROVIDER_DESCR_MAX_LEN] = '\0'; in kcf_alloc_provider_desc()
333 desc->pd_ops_vector = kmem_zalloc(sizeof (crypto_ops_t), KM_SLEEP); in kcf_alloc_provider_desc()
336 allocate_ops_v1(src_ops, desc->pd_ops_vector, &mech_list_count); in kcf_alloc_provider_desc()
338 allocate_ops_v2(src_ops, desc->pd_ops_vector); in kcf_alloc_provider_desc()
340 allocate_ops_v3(src_ops, desc->pd_ops_vector); in kcf_alloc_provider_desc()
343 desc->pd_mech_list_count = mech_list_count; in kcf_alloc_provider_desc()
[all …]
/freebsd-13-stable/sys/riscv/riscv/
HDidentcpu.c149 parse_ext_s(struct cpu_desc *desc, char *isa, int idx, int len) in parse_ext_s() argument
155 desc->smode_extensions |= flag; \ in parse_ext_s()
181 parse_ext_x(struct cpu_desc *desc __unused, char *isa, int idx, int len) in parse_ext_x()
195 parse_ext_z(struct cpu_desc *desc __unused, char *isa, int idx, int len) in parse_ext_z()
234 parse_riscv_isa(struct cpu_desc *desc, char *isa, int len) in parse_riscv_isa() argument
255 desc->isa_extensions |= HWCAP_ISA_BIT(isa[i]); in parse_riscv_isa()
259 desc->isa_extensions |= HWCAP_ISA_G; in parse_riscv_isa()
277 i = parse_ext_s(desc, isa, i, len); in parse_riscv_isa()
284 i = parse_ext_x(desc, isa, i, len); in parse_riscv_isa()
290 i = parse_ext_z(desc, isa, i, len); in parse_riscv_isa()
[all …]
/freebsd-13-stable/sys/dev/bhnd/nvram/
HDnvram_map35 desc "Available 2.4GHz Antennas"
40 desc "Available 5GHz Antennas"
46 desc "Antenna 0 Gain"
52 desc "Antenna 1 Gain"
58 desc "Antenna 2 Gain"
64 desc "Antenna 3 Gain"
71 desc "Available TX Chains"
79 desc "Available RX Chains"
87 desc "Antenna Diversity Switch Type"
95 #desc <variable description>
[all …]
/freebsd-13-stable/sys/dev/ismt/
HDismt.c164 struct ismt_desc *desc; member
230 struct ismt_desc *desc; in ismt_alloc_desc() local
236 desc = &sc->desc[sc->head++]; in ismt_alloc_desc()
240 memset(desc, 0, sizeof(*desc)); in ismt_alloc_desc()
242 return (desc); in ismt_alloc_desc()
246 ismt_submit(struct ismt_softc *sc, struct ismt_desc *desc, uint8_t slave, in ismt_submit() argument
251 desc->control |= ISMT_DESC_FAIR; in ismt_submit()
253 desc->control |= ISMT_DESC_INT; in ismt_submit()
255 desc->tgtaddr_rw = ISMT_DESC_ADDR_RW(slave, is_read); in ismt_submit()
256 desc->dptr_low = (sc->dma_buffer_bus_addr & 0xFFFFFFFFLL); in ismt_submit()
[all …]
/freebsd-13-stable/lib/libusb/
HDlibusb10_desc.c52 struct libusb_device_descriptor *desc) in libusb_get_device_descriptor() argument
57 if ((dev == NULL) || (desc == NULL)) in libusb_get_device_descriptor()
63 desc->bLength = pdesc->bLength; in libusb_get_device_descriptor()
64 desc->bDescriptorType = pdesc->bDescriptorType; in libusb_get_device_descriptor()
65 desc->bcdUSB = pdesc->bcdUSB; in libusb_get_device_descriptor()
66 desc->bDeviceClass = pdesc->bDeviceClass; in libusb_get_device_descriptor()
67 desc->bDeviceSubClass = pdesc->bDeviceSubClass; in libusb_get_device_descriptor()
68 desc->bDeviceProtocol = pdesc->bDeviceProtocol; in libusb_get_device_descriptor()
69 desc->bMaxPacketSize0 = pdesc->bMaxPacketSize0; in libusb_get_device_descriptor()
70 desc->idVendor = pdesc->idVendor; in libusb_get_device_descriptor()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/module/icp/spi/
HDkcf_spi.c292 kcf_provider_desc_t *desc; in crypto_unregister_provider() local
296 if ((desc = kcf_prov_tab_lookup((crypto_provider_id_t)handle)) == NULL) in crypto_unregister_provider()
299 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()
304 if (desc->pd_state >= KCF_PROV_DISABLED) { in crypto_unregister_provider()
305 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()
307 KCF_PROV_REFRELE(desc); in crypto_unregister_provider()
311 saved_state = desc->pd_state; in crypto_unregister_provider()
312 desc->pd_state = KCF_PROV_REMOVED; in crypto_unregister_provider()
319 cv_broadcast(&desc->pd_resume_cv); in crypto_unregister_provider()
322 if (desc->pd_prov_type == CRYPTO_SW_PROVIDER) { in crypto_unregister_provider()
[all …]
/freebsd-13-stable/contrib/tcsh/
HDed.defns.c1127 xfree((ptr_t)(intptr_t)FuncNames[i].desc); in editinit()
1133 f->desc = CSAVS(3, 1, "Move back a character"); in editinit()
1138 f->desc = CSAVS(3, 2, "Delete the character behind cursor"); in editinit()
1143 f->desc = CSAVS(3, 3, in editinit()
1149 f->desc = CSAVS(3, 4, in editinit()
1155 f->desc = CSAVS(3, 5, "Move to beginning of current word"); in editinit()
1160 f->desc = CSAVS(3, 6, "Move to beginning of line"); in editinit()
1165 f->desc = CSAVS(3, 7, in editinit()
1171 f->desc = CSAVS(3, 8, in editinit()
1177 f->desc = CSAVS(3, 9, "Vi change to end of line"); in editinit()
[all …]
/freebsd-13-stable/sys/dev/sound/pcm/
HDfeeder_chain.c54 struct pcm_feederdesc desc; /* feeder descriptor */ member
143 struct pcm_feederdesc *desc; in feeder_build_format() local
146 desc = &(cdesc->desc); in feeder_build_format()
147 desc->type = FEEDER_FORMAT; in feeder_build_format()
148 desc->in = 0; in feeder_build_format()
149 desc->out = 0; in feeder_build_format()
150 desc->flags = 0; in feeder_build_format()
152 fc = feeder_getclass(desc); in feeder_build_format()
159 desc->in = cdesc->current.afmt; in feeder_build_format()
160 desc->out = cdesc->target.afmt; in feeder_build_format()
[all …]
/freebsd-13-stable/sys/dev/ixl/
HDi40e_common.c324 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq() argument
327 struct i40e_aq_desc *aq_desc = (struct i40e_aq_desc *)desc; in i40e_debug_aq()
333 if (!effective_mask || !desc) in i40e_debug_aq()
419 struct i40e_aq_desc desc; in i40e_aq_queue_shutdown() local
421 (struct i40e_aqc_queue_shutdown *)&desc.params.raw; in i40e_aq_queue_shutdown()
424 i40e_fill_default_direct_cmd_desc(&desc, in i40e_aq_queue_shutdown()
429 status = i40e_asq_send_command(hw, &desc, NULL, 0, NULL); in i40e_aq_queue_shutdown()
451 struct i40e_aq_desc desc; in i40e_aq_get_set_rss_lut() local
453 (struct i40e_aqc_get_set_rss_lut *)&desc.params.raw; in i40e_aq_get_set_rss_lut()
456 i40e_fill_default_direct_cmd_desc(&desc, in i40e_aq_get_set_rss_lut()
[all …]
/freebsd-13-stable/sys/net/
HDif_media.c437 const struct ifmedia_description *desc; in ifmedia_printword() local
442 for (desc = ifm_type_descriptions, ttos = ifmedia_types_to_subtypes; in ifmedia_printword()
443 desc->ifmt_string != NULL; desc++, ttos++) in ifmedia_printword()
444 if (IFM_TYPE(ifmw) == desc->ifmt_word) in ifmedia_printword()
446 if (desc->ifmt_string == NULL) { in ifmedia_printword()
450 printf("%s", desc->ifmt_string); in ifmedia_printword()
453 for (desc = ttos->modes; desc && desc->ifmt_string != NULL; desc++) in ifmedia_printword()
454 if (IFM_MODE(ifmw) == desc->ifmt_word) { in ifmedia_printword()
455 if (desc->ifmt_string != NULL) in ifmedia_printword()
456 printf(" mode %s", desc->ifmt_string); in ifmedia_printword()
[all …]
/freebsd-13-stable/sys/crypto/ccp/
HDccp_hardware.c214 void *desc; in ccp_hw_attach_queue() local
218 desc = NULL; in ccp_hw_attach_queue()
259 error = bus_dmamem_alloc(qp->ring_desc_tag, &desc, in ccp_hw_attach_queue()
264 error = bus_dmamap_load(qp->ring_desc_tag, qp->ring_desc_map, desc, in ccp_hw_attach_queue()
269 qp->desc_ring = desc; in ccp_hw_attach_queue()
306 if (desc != NULL) in ccp_hw_attach_queue()
307 bus_dmamem_free(qp->ring_desc_tag, desc, in ccp_hw_attach_queue()
455 ccp_intr_handle_error(struct ccp_queue *qp, const struct ccp_desc *desc) in ccp_intr_handle_error() argument
490 idx = desc - qp->desc_ring; in ccp_intr_handle_error()
492 (const void *)desc, " "); in ccp_intr_handle_error()
[all …]
/freebsd-13-stable/contrib/netbsd-tests/fs/common/
HDh_fsmacros.h106 #define ATF_TC_FSADD(fs,type,func,desc) \ argument
110 atf_tc_set_md_var(tc, "descr", type " test for " desc); \
159 #define ATF_TC_FSAPPLY_NOZFS(func,desc) \ argument
160 ATF_TC_FSADD(ext2fs,MOUNT_EXT2FS,func,desc) \
161 ATF_TC_FSADD(ffs,MOUNT_FFS,func,desc) \
162 ATF_TC_FSADD(ffslog,MOUNT_FFS,func,desc) \
163 ATF_TC_FSADD(lfs,MOUNT_LFS,func,desc) \
164 ATF_TC_FSADD(msdosfs,MOUNT_MSDOS,func,desc) \
165 ATF_TC_FSADD(nfs,MOUNT_NFS,func,desc) \
166 ATF_TC_FSADD(puffs,MOUNT_PUFFS,func,desc) \
[all …]
/freebsd-13-stable/sys/dev/altera/softdma/
HDsoftdma.c297 softdma_process_tx(struct softdma_channel *chan, struct softdma_desc *desc) in softdma_process_tx() argument
313 if (desc->control & CONTROL_GEN_SOP) in softdma_process_tx()
320 addr = desc->src_addr; in softdma_process_tx()
321 len = desc->len; in softdma_process_tx()
345 (desc->control & CONTROL_GEN_EOP) != 0) in softdma_process_tx()
371 (desc->control & CONTROL_GEN_EOP) != 0) in softdma_process_tx()
389 return (desc->len); in softdma_process_tx()
393 softdma_process_rx(struct softdma_channel *chan, struct softdma_desc *desc) in softdma_process_rx() argument
417 len = desc->len; in softdma_process_rx()
450 *(uint32_t *)(desc->dst_addr + dst_offs) = data; in softdma_process_rx()
[all …]
/freebsd-13-stable/sys/dev/sec/
HDsec.c80 static int sec_enqueue_desc(struct sec_softc *sc, struct sec_desc *desc,
83 static int sec_make_pointer(struct sec_softc *sc, struct sec_desc *desc,
86 struct sec_desc *desc, u_int n, bus_addr_t data, bus_size_t dsize);
93 struct sec_desc *desc, const struct crypto_session_params *csp,
96 struct sec_desc *desc, const struct crypto_session_params *csp,
104 const struct crypto_session_params *csp, struct sec_desc *desc,
113 const struct crypto_session_params *csp, struct sec_desc *desc,
165 sec_get_pointer_data(struct sec_desc *desc, u_int n) in sec_get_pointer_data() argument
168 return (desc->sd_ptr_dmem[n].dma_vaddr); in sec_get_pointer_data()
516 struct sec_desc *desc; in sec_primary_intr() local
[all …]
/freebsd-13-stable/usr.sbin/makefs/cd9660/
HDcd9660_debug.c367 struct iso_primary_descriptor *desc = in debug_dump_to_xml_volume_descriptor() local
397 debug_dump_integer("type", desc->type, 711); in debug_dump_to_xml_volume_descriptor()
398 debug_dump_to_xml_padded_hex_output("id", desc->id, in debug_dump_to_xml_volume_descriptor()
400 debug_dump_integer("version", (u_char *)desc->version, 711); in debug_dump_to_xml_volume_descriptor()
402 desc->system_id, ISODCL(9, 40)); in debug_dump_to_xml_volume_descriptor()
404 desc->volume_id, ISODCL(41, 72)); in debug_dump_to_xml_volume_descriptor()
406 (u_char *)desc->volume_space_size, 733); in debug_dump_to_xml_volume_descriptor()
408 (u_char *)desc->volume_set_size, 733); in debug_dump_to_xml_volume_descriptor()
410 (u_char *)desc->volume_sequence_number, 723); in debug_dump_to_xml_volume_descriptor()
412 (u_char *)desc->logical_block_size, 723); in debug_dump_to_xml_volume_descriptor()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDllvm-pdbutil.cpp158 cl::desc("<input PDB files>"),
161 cl::opt<bool> Native("native", cl::desc("Use native PDB reader instead of DIA"),
165 ShowClassHierarchy("hierarchy", cl::desc("Show lexical and class parents"),
169 cl::desc("Don't show any SymIndexId fields (overrides -hierarchy)"),
174 cl::desc("When dumping a SymIndexId, dump the full details of the "
178 static cl::opt<bool> Enums("enums", cl::desc("Dump enum types"),
180 static cl::opt<bool> Pointers("pointers", cl::desc("Dump enum types"),
182 static cl::opt<bool> UDTs("udts", cl::desc("Dump udt types"),
185 cl::desc("Dump compiland information"),
188 cl::desc("Dump function signature information"),
[all …]
/freebsd-13-stable/sys/dev/qat/
HDqat_hw17.c324 qat_hw17_crypto_setup_cipher_ctrl(struct qat_crypto_desc *desc, in qat_hw17_crypto_setup_cipher_ctrl() argument
331 desc->qcd_cipher_blk_sz = HW_AES_BLK_SZ; in qat_hw17_crypto_setup_cipher_ctrl()
332 desc->qcd_cipher_offset = cd_blk_offset; in qat_hw17_crypto_setup_cipher_ctrl()
334 cipher_cd_ctrl->cipher_state_sz = desc->qcd_cipher_blk_sz >> 3; in qat_hw17_crypto_setup_cipher_ctrl()
344 qat_hw17_crypto_setup_cipher_cdesc(const struct qat_crypto_desc *desc, in qat_hw17_crypto_setup_cipher_cdesc() argument
351 qat_crypto_load_cipher_session(desc, qs); in qat_hw17_crypto_setup_cipher_cdesc()
360 qat_hw17_crypto_setup_auth_ctrl(struct qat_crypto_desc *desc, in qat_hw17_crypto_setup_auth_ctrl() argument
368 (void)qat_crypto_load_auth_session(desc, qs, &hash_def); in qat_hw17_crypto_setup_auth_ctrl()
387 desc->qcd_auth_sz = auth_cd_ctrl->final_sz; in qat_hw17_crypto_setup_auth_ctrl()
388 desc->qcd_auth_offset = cd_blk_offset; in qat_hw17_crypto_setup_auth_ctrl()
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/opt/
HDoptdriver.cpp70 static cl::list<const PassInfo *, bool, PassNameParser> PassList(cl::desc(
75 cl::desc(
86 cl::desc(
90 cl::desc("Alias for -passes"));
93 cl::desc("Print available passes that can be "
97 cl::desc("<input bitcode file>"),
102 cl::desc("Override output filename"),
105 static cl::opt<bool> Force("f", cl::desc("Enable binary output on terminals"));
108 cl::desc("Do not write result bitcode file"),
112 cl::desc("Write output as LLVM assembly"));
[all …]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
HDMCTargetOptionsCommandFlags.cpp63 "mc-relax-all", cl::desc("When used with filetype=obj, relax all fixups " in MCOPT_EXP()
69 cl::desc( in MCOPT_EXP()
74 static cl::opt<bool> FDPIC("fdpic", cl::desc("Use the FDPIC ABI")); in MCOPT_EXP()
77 static cl::opt<int> DwarfVersion("dwarf-version", cl::desc("Dwarf version"), in MCOPT_EXP()
83 cl::desc("Generate debugging info in the 64-bit DWARF format")); in MCOPT_EXP()
87 "emit-dwarf-unwind", cl::desc("Whether to emit DWARF EH frame entries."), in MCOPT_EXP()
101 cl::desc( in MCOPT_EXP()
109 cl::desc("Emit internal instruction representation to assembly file")); in MCOPT_EXP()
113 cl::desc("Treat warnings as errors")); in MCOPT_EXP()
116 static cl::opt<bool> NoWarn("no-warn", cl::desc("Suppress all warnings")); in MCOPT_EXP()
[all …]
/freebsd-13-stable/sys/dev/puc/
HDpuc_pci.c88 puc_pci_match(device_t dev, const struct puc_cfg *desc) in puc_pci_match() argument
98 while (desc->vendor != 0xffff) { in puc_pci_match()
99 if (desc->vendor == vendor && desc->device == device) { in puc_pci_match()
101 if (desc->subvendor == subvendor && in puc_pci_match()
102 desc->subdevice == subdevice) in puc_pci_match()
103 return (desc); in puc_pci_match()
105 if (desc->subvendor == 0xffff) in puc_pci_match()
106 return (desc); in puc_pci_match()
108 desc++; in puc_pci_match()
118 const struct puc_cfg *desc; in puc_pci_probe() local
[all …]
/freebsd-13-stable/tools/regression/sockets/unix_cmsg/
HDunix_cmsg.c75 const char *desc; member
81 .desc = "All tests"
85 .desc = "Sending, receiving cmsgcred"
89 .desc = "Receiving sockcred (listening socket)"
93 .desc = "Receiving sockcred (accepted socket)"
97 .desc = "Sending cmsgcred, receiving sockcred"
101 .desc = "Sending, receiving timeval"
105 .desc = "Sending, receiving bintime"
114 .desc = "Check cmsghdr.cmsg_len"
119 .desc = "Check LOCAL_PEERCRED socket option"
[all …]

12345678910>>...75