| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/ |
| H A D | intel_guc_ct.c | 3 // SPDX-License-Identifier: MIT 5 * Copyright © 2016-2019 Intel Corporation 40 * intel_guc_ct_init_early - Initialize CT state without requiring device access 41 * @ct: pointer to CT struct 43 void intel_guc_ct_init_early(struct intel_guc_ct *ct) in intel_guc_ct_init_early() argument 45 spin_lock_init(&ct->requests.lock); in intel_guc_ct_init_early() 46 INIT_LIST_HEAD(&ct->requests.pending); in intel_guc_ct_init_early() 47 INIT_LIST_HEAD(&ct->requests.incoming); in intel_guc_ct_init_early() 48 INIT_WORK(&ct->requests.worker, ct_incoming_request_worker_func); in intel_guc_ct_init_early() 51 static inline struct intel_guc *ct_to_guc(struct intel_guc_ct *ct) in ct_to_guc() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/ |
| H A D | ParallelSnippetGenerator.cpp | 1 //===-- ParallelSnippetGenerator.cpp ----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 58 // This issue is even more important for high-latency instructions because 97 return; // no memory operands. in instantiateMemoryOperands() 122 // Assign registers to variables in a round-robin manner. This is simple but in generateSnippetUsingStaticRenaming() 123 // ensures that the most register-constrained variable does not get starved. in generateSnippetUsingStaticRenaming() 161 CodeTemplate CT; in generateCodeTemplates() local 162 CT.ScratchSpacePointerInReg = in generateCodeTemplates() 169 CT.Info = "instruction is parallel, repeating a random one."; in generateCodeTemplates() [all …]
|
| H A D | SerialSnippetGenerator.cpp | 1 //===-- SerialSnippetGenerator.cpp ------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 49 if (OtherOpcode == Instr->Description.getOpcode()) in computeAliasingInstructions() 63 if (Instr->hasAliasingRegistersThrough(OtherInstr, ForbiddenRegisters)) in computeAliasingInstructions() 103 CodeTemplate CT; in appendCodeTemplates() local 104 CT.Execution = ExecutionModeBit; in appendCodeTemplates() 105 CT.Info = std::string(ExecutionClassDescription); in appendCodeTemplates() 106 CT.Instructions.push_back(std::move(Variant)); in appendCodeTemplates() 107 CodeTemplates.push_back(std::move(CT)); in appendCodeTemplates() [all …]
|
| /netbsd-src/sys/dev/cardbus/ |
| H A D | cardbusvar.h | 19 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 45 * int (*cardbus_space_alloc)(cardbus_chipset_tag_t ct, rbus_tag_t rb, 51 * int (*cardbus_space_free)(cardbus_chipset_tag_t ct, rbus_tag_t rb, 57 * void *(*cardbus_intr_establish)(cardbus_chipset_tag_t ct, int irq, 60 * void (*cardbus_intr_disestablish)(cardbus_chipset_tag_t ct, void *ih); 61 * int (*cardbus_ctrl)(cardbus_chipset_tag_t ct, int command); 62 * int (*cardbus_power)(cardbus_chipset_tag_t ct, int voltage); 64 * pcitag_t (*cardbus_make_tag)(cardbus_chipset_tag_t ct, 66 * pcireg_t (*cardbus_conf_read)(cardbus_chipset_tag_t ct, 68 * void (*cardbus_conf_write)(cardbus_chipset_tag_t ct, [all …]
|
| H A D | cardbus.c | 19 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 112 sc->sc_dev = self; in cardbusattach() 114 sc->sc_bus = cba->cba_bus; in cardbusattach() 115 sc->sc_cacheline = cba->cba_cacheline; in cardbusattach() 116 sc->sc_max_lattimer = MIN(0xf8, cba->cba_max_lattimer); in cardbusattach() 119 aprint_normal(": bus %d", sc->sc_bus); in cardbusattach() 122 sc->sc_cacheline, sc->sc_max_lattimer); in cardbusattach() 125 sc->sc_iot = cba->cba_iot; /* CardBus I/O space tag */ in cardbusattach() 126 sc->sc_memt = cba->cba_memt; /* CardBus MEM space tag */ in cardbusattach() 127 sc->sc_dmat = cba->cba_dmat; /* DMA tag */ in cardbusattach() [all …]
|
| H A D | if_tlp_cardbus.c | 3 /*- 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 34 * CardBus bus front-end for the Digital Semiconductor ``Tulip'' (21x4x) 94 /* CardBus-specific goo. */ 187 for (tcp = tlp_cardbus_products; tcp->tcp_chip != TULIP_CHIP_INVALID; in tlp_cardbus_lookup() 189 if (PCI_VENDOR(ca->ca_id) == tcp->tcp_vendor && in tlp_cardbus_lookup() 190 PCI_PRODUCT(ca->ca_id) == tcp->tcp_product) in tlp_cardbus_lookup() 201 for (; tpq->tpq_func != NULL; tpq++) { in tlp_cardbus_get_quirks() 202 if (tpq->tpq_oui[0] == enaddr[0] && in tlp_cardbus_get_quirks() 203 tpq->tpq_oui[1] == enaddr[1] && in tlp_cardbus_get_quirks() [all …]
|
| H A D | siisata_cardbus.c | 19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 45 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 113 for (scp = siisata_cardbus_products; scp->scp_ports > 0; scp++) { in siisata_cardbus_lookup() 114 if (PCI_VENDOR(ca->ca_id) == scp->scp_vendor && in siisata_cardbus_lookup() 115 PCI_PRODUCT(ca->ca_id) == scp->scp_product) in siisata_cardbus_lookup() 137 struct siisata_softc *sc = &csc->si_sc; in siisata_cardbus_attach() 138 cardbus_devfunc_t ct = ca->ca_ct; in siisata_cardbus_attach() local 139 cardbus_chipset_tag_t cc = ct->ct_cc; in siisata_cardbus_attach() 140 cardbus_function_tag_t cf = ct->ct_cf; in siisata_cardbus_attach() 150 sc->sc_atac.atac_dev = self; in siisata_cardbus_attach() [all …]
|
| H A D | if_malo_cardbus.c | 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 75 if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_MARVELL) { in malo_cardbus_match() 76 switch (PCI_PRODUCT(ca->ca_id)) { in malo_cardbus_match() 93 struct malo_softc *sc = &csc->sc_malo; in malo_cardbus_attach() 95 cardbus_devfunc_t ct = ca->ca_ct; in malo_cardbus_attach() local 100 pci_devinfo(ca->ca_id, ca->ca_class, 0, devinfo, sizeof(devinfo)); in malo_cardbus_attach() 103 sc->sc_dev = self; in malo_cardbus_attach() 104 sc->sc_dmat = ca->ca_dmat; in malo_cardbus_attach() 105 csc->sc_ct = ct; in malo_cardbus_attach() 106 csc->sc_tag = ca->ca_tag; in malo_cardbus_attach() [all …]
|
| H A D | if_ral_cardbus.c | 4 /*- 14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 22 * CardBus front-end for the Ralink RT2560/RT2561/RT2561S/RT2661 driver. 110 if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_RALINK) { in ral_cardbus_match() 111 switch (PCI_PRODUCT(ca->ca_id)) { in ral_cardbus_match() 129 struct rt2560_softc *sc = &csc->sc_sc; in ral_cardbus_attach() 131 cardbus_devfunc_t ct = ca->ca_ct; in ral_cardbus_attach() local 136 pci_devinfo(ca->ca_id, ca->ca_class, 0, devinfo, sizeof(devinfo)); in ral_cardbus_attach() 137 revision = PCI_REVISION(ca->ca_class); in ral_cardbus_attach() 140 csc->sc_opns = in ral_cardbus_attach() [all …]
|
| H A D | if_re_cardbus.c | 21 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 34 * Netgear GA-511 (8169S) 35 * Buffalo LPC-CB-CLGT 91 /* CardBus-specific goo. */ 115 for (t = re_cardbus_devs; t->rtk_name != NULL; t++) { in re_cardbus_lookup() 116 if (PCI_VENDOR(ca->ca_id) == t->rtk_vid && in re_cardbus_lookup() 117 PCI_PRODUCT(ca->ca_id) == t->rtk_did) { in re_cardbus_lookup() 140 struct rtk_softc *sc = &csc->sc_rtk; in re_cardbus_attach() 142 cardbus_devfunc_t ct = ca->ca_ct; in re_cardbus_attach() local 146 sc->sc_dev = self; in re_cardbus_attach() [all …]
|
| H A D | if_rtw_cardbus.c | 3 /*- 20 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL David 30 /*- 50 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 61 * Cardbus front-end for the Realtek RTL8180 802.11 MAC/BBP driver. 63 * TBD factor with atw, tlp Cardbus front-ends? 113 /* CardBus-specific goo. */ 153 "DWL-610 D-Link Air 802.11b (RTL8180 MAC/BBP)" }, 163 for (rcp = rtw_cardbus_products; rcp->rcp_product_name != NULL; rcp++) { in rtw_cardbus_lookup() 164 if (PCI_VENDOR(ca->ca_id) == rcp->rcp_vendor && in rtw_cardbus_lookup() [all …]
|
| H A D | if_fxp_cardbus.c | 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 33 * CardBus front-end for the Intel i82557 family of Ethernet chips. 87 cardbus_devfunc_t ct; member 108 if (PCI_VENDOR(ca->ca_id) == PCI_VENDOR_INTEL && in fxp_cardbus_match() 109 PCI_PRODUCT(ca->ca_id) == PCI_PRODUCT_INTEL_8255X) in fxp_cardbus_match() 119 struct fxp_softc *sc = &csc->sc; in fxp_cardbus_attach() 126 sc->sc_dev = self; in fxp_cardbus_attach() 127 csc->ct = ca->ca_ct; in fxp_cardbus_attach() 128 csc->tag = ca->ca_tag; in fxp_cardbus_attach() 133 if (Cardbus_mapreg_map(csc->ct, PCI_BAR1, in fxp_cardbus_attach() [all …]
|
| /netbsd-src/games/hack/ |
| H A D | hack.makemon.c | 12 * - Redistributions of source code must retain the above copyright notice, 15 * - Redistributions in binary form must reproduce the above copyright 19 * - Neither the name of the Stichting Centrum voor Wiskunde en 27 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 54 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 86 int tmp, ct; in makemon() local 94 if (strchr(fut_geno, ptr->mlet)) in makemon() 97 ct = CMNUM - strlen(fut_geno); in makemon() 99 ct++; /* make only 1 minotaur */ in makemon() 101 ct++; in makemon() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/validator/ |
| H A D | val_nsec3.c | 2 * validator/val_nsec3.c - validator NSEC3 denial of existence functions. 26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 72 #define MAX_NSEC3_ERRORS -1 75 * This function we get from ldns-compat or from base system 81 * This function we get from ldns-compat or from base system 89 * Contains the ce and the next-closer (nc) proof. 128 rrset->entry.data; in rrset_get_count() 130 return d->count; in rrset_get_count() 138 rrset->entry.data; in nsec3_unknown_flags() 139 log_assert(d && r < (int)d->count); in nsec3_unknown_flags() [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/kuser/ |
| H A D | kswitch.c | 4 * Copyright (c) 2008 - 2010 Kungliga Tekniska Högskolan 26 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 37 #include "heimtools-commands.h" 67 if (opt->cache_string && opt->principal_string) in kswitch() 69 N_("Both --cache and --principal given, choose one", "")); in kswitch() 71 if (opt->interactive_flag) { in kswitch() 76 rtbl_t ct; in kswitch() local 78 ct = rtbl_create(); in kswitch() 80 rtbl_add_column_by_id(ct, 0, "#", 0); in kswitch() 81 rtbl_add_column_by_id(ct, 1, "Principal", 0); in kswitch() [all …]
|
| H A D | klist.c | 4 * Copyright (c) 1997-2008 Kungliga Tekniska Högskolan 28 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 40 #include "heimtools-commands.h" 78 print_cred(krb5_context context, krb5_creds *cred, rtbl_t ct, int do_flags) in print_cred() argument 87 if(cred->times.starttime) in print_cred() 88 rtbl_add_column_entry(ct, COL_ISSUED, in print_cred() 89 printable_time(cred->times.starttime)); in print_cred() 91 rtbl_add_column_entry(ct, COL_ISSUED, in print_cred() 92 printable_time(cred->times.authtime)); in print_cred() 94 if(cred->times.endtime > sec) in print_cred() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | z8536reg.h | 3 /*- 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 38 * Internal registers are read-writable, except where noted. 45 #define MICR_CTVIS 0x04 /* CT vector includes status */ 48 #define MICR_NV 0x20 /* No Vector (NV) */ 54 #define MCCR_CT1GT2 0x01 /* CT 1 /OUTPUT gates CT 2 */ 55 #define MCCR_CT1TR2 0x02 /* CT 1 /OUTPUT triggers CT 2 */ 56 #define MCCR_CT1CT2 0x03 /* CT 1 /OUTPUT is CT 2's COUNT */ 97 #define Z8536_CTCSR1 0x0A /* CT 1 Command and Status */ 98 #define Z8536_CTCSR2 0x0B /* CT 2 Command and Status */ [all …]
|
| H A D | isp_target.c | 1 -/* $NetBSD: isp_target.c,v 1.38 2024/09/08 09:36:50 rillig Exp $ */ 2 /*- 3 * Copyright (c) 1997-2008 by Matthew Jacob 19 * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE 113 * (Accept Target IO) type- sometimes with enough info to stop the command at 120 * cards that 'auto-replenish' the f/w's ATIO count, but this is the basic 141 * code- we have no synchronization primitives in the common code. 215 len = at7iop->at_ta_len & 0xfffff; in isp_target_notify() 216 if (len > (QENTRY_LEN - in isp_target_notify() 842 ct7_entry_t *ct = (ct7_entry_t *) storage; isp_target_async() local 849 ct2_entry_t *ct = (ct2_entry_t *) storage; isp_target_async() local 855 ct_entry_t *ct = (ct_entry_t *) storage; isp_target_async() local 1410 isp_handle_ctio(ispsoftc_t * isp,ct_entry_t * ct) isp_handle_ctio() argument 1560 isp_handle_ctio2(ispsoftc_t * isp,ct2_entry_t * ct) isp_handle_ctio2() argument 1715 isp_handle_ctio7(ispsoftc_t * isp,ct7_entry_t * ct) isp_handle_ctio7() argument [all...] |
| /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/ |
| H A D | ct.h.in | 2 * {- join("\n * ", @autowarntext) -} 4 * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. 12 {- 14 -} 43 {- 46 -} 50 CT_LOG_ENTRY_TYPE_NOT_SET = -1, 56 SCT_VERSION_NOT_SET = -1, 77 * CT policy evaluation context functions * 118 /* Gets the CT logs that are trusted sources of SCTs */ [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A D | ct.h | 2 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. 32 CT_LOG_ENTRY_TYPE_NOT_SET = -1, 38 SCT_VERSION_NOT_SET = -1, 62 * CT policy evaluation context functions * 95 /* Gets the CT logs that are trusted sources of SCTs */ 128 * Creates a new SCT from some base64-encoded strings. 205 * For CT v1, this will be either NID_sha256WithRSAEncryption or 212 * For CT v1, this should be either NID_sha256WithRSAEncryption or 276 * Pretty-prints an |sct| to |out|. 278 * If |logs| is not NULL, it will be used to lookup the CT log that the SCT came [all …]
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/ |
| H A D | gsstool.c | 8 * Portions Copyright (c) 2009 - 2010 Apple Inc. All rights reserved. 28 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE 49 #include <gss-commands.h> 81 rtbl_t ct; in mechanisms() local 90 ct = rtbl_create(); in mechanisms() 91 if (ct == NULL) in mechanisms() 94 rtbl_set_separator(ct, " "); in mechanisms() 95 rtbl_add_column(ct, COL_OID, 0); in mechanisms() 96 rtbl_add_column(ct, COL_NAME, 0); in mechanisms() 97 rtbl_add_column(ct, COL_DESC, 0); in mechanisms() [all …]
|
| /netbsd-src/lib/libm/complex/ |
| H A D | casin.c | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 44 double complex ca, ct, zz, z2; in __weak_alias() local 69 z2.r = (x - y) * (x + y); in __weak_alias() 80 ct.r = z2.r * ca.r - z2.i * ca.i; in __weak_alias() 81 ct.i = z2.r * ca.i + z2.i * ca.r; in __weak_alias() 82 ca.r = ct.r; in __weak_alias() 83 ca.i = ct.i; in __weak_alias() 91 ct.r *= b; in __weak_alias() 92 ct.i *= b; in __weak_alias() [all …]
|
| H A D | casinl.c | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 44 long double complex ca, ct, zz, z2; in __weak_alias() local 69 z2.r = (x - y) * (x + y); in __weak_alias() 80 ct.r = z2.r * ca.r - z2.i * ca.i; in __weak_alias() 81 ct.i = z2.r * ca.i + z2.i * ca.r; in __weak_alias() 82 ca.r = ct.r; in __weak_alias() 83 ca.i = ct.i; in __weak_alias() 91 ct.r *= b; in __weak_alias() 92 ct.i *= b; in __weak_alias() [all …]
|
| H A D | casinf.c | 3 /*- 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 44 float complex ca, ct, zz, z2; in __weak_alias() local 69 z2.r = (x - y) * (x + y); in __weak_alias() 80 ct.r = z2.r * ca.r - z2.i * ca.i; in __weak_alias() 81 ct.i = z2.r * ca.i + z2.i * ca.r; in __weak_alias() 82 ca.r = ct.r; in __weak_alias() 83 ca.i = ct.i; in __weak_alias() 91 ct.r *= b; in __weak_alias() 92 ct.i *= b; in __weak_alias() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 1 //===--- SemaExceptionSpec.cpp - C++ Exception Specifications ---*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 29 if (const PointerType *PtrTy = T->getAs<PointerType>()) in GetUnderlyingFunction() 30 T = PtrTy->getPointeeType(); in GetUnderlyingFunction() 31 else if (const ReferenceType *RefTy = T->getAs<ReferenceType>()) in GetUnderlyingFunction() 32 T = RefTy->getPointeeType(); in GetUnderlyingFunction() 33 else if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>()) in GetUnderlyingFunction() 34 T = MPTy->getPointeeType(); in GetUnderlyingFunction() [all …]
|