/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/ |
H A D | hw_factory.c | 57 struct hw_factory *factory, in dal_hw_factory_init() argument 66 dal_hw_factory_dce60_init(factory); in dal_hw_factory_init() 72 dal_hw_factory_dce80_init(factory); in dal_hw_factory_init() 76 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 81 dal_hw_factory_dce110_init(factory); in dal_hw_factory_init() 85 dal_hw_factory_dce120_init(factory); in dal_hw_factory_init() 89 dal_hw_factory_dcn10_init(factory); in dal_hw_factory_init() 92 dal_hw_factory_dcn20_init(factory); in dal_hw_factory_init() 96 dal_hw_factory_dcn21_init(factory); in dal_hw_factory_init() 105 dal_hw_factory_dcn30_init(factory); in dal_hw_factory_init() [all …]
|
H A D | gpio_service.c | 74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 321 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 322 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 325 *pin = service->factory.funcs->get_ddc_pin(gpio); in dal_gpio_service_open() 326 service->factory.funcs->define_ddc_registers(*pin, en); in dal_gpio_service_open() 329 *pin = service->factory.funcs->get_generic_pin(gpio); in dal_gpio_service_open() 330 service->factory.funcs->define_generic_registers(*pin, en); in dal_gpio_service_open() 333 *pin = service->factory.funcs->get_hpd_pin(gpio); in dal_gpio_service_open() 334 service->factory in dal_gpio_service_open() [all...] |
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | BlockCounter.cpp | 53 static inline CountMap::Factory& GetFactory(void *F) { in GetFactory() 54 return *static_cast<CountMap::Factory*>(F); in GetFactory() 64 BlockCounter::Factory::Factory(llvm::BumpPtrAllocator& Alloc) { in Factory() function in BlockCounter::Factory 65 F = new CountMap::Factory(Alloc); in Factory() 68 BlockCounter::Factory::~Factory() { in ~Factory() 69 delete static_cast<CountMap::Factory*>(F); in ~Factory() 73 BlockCounter::Factory::IncrementCount(BlockCounter BC, in IncrementCount() 82 BlockCounter::Factory::GetEmptyCounter() { in GetEmptyCounter()
|
H A D | RangeConstraintManager.cpp | 112 RangeSet::ContainerType RangeSet::Factory::EmptySet{}; 114 RangeSet RangeSet::Factory::add(RangeSet LHS, RangeSet RHS) { in add() 122 RangeSet RangeSet::Factory::add(RangeSet Original, Range Element) { in add() 134 RangeSet RangeSet::Factory::add(RangeSet Original, const llvm::APSInt &Point) { in add() 138 RangeSet RangeSet::Factory::unite(RangeSet LHS, RangeSet RHS) { in unite() 143 RangeSet RangeSet::Factory::unite(RangeSet Original, Range R) { in unite() 150 RangeSet RangeSet::Factory::unite(RangeSet Original, llvm::APSInt Point) { in unite() 154 RangeSet RangeSet::Factory::unite(RangeSet Original, llvm::APSInt From, in unite() 166 RangeSet::ContainerType RangeSet::Factory::unite(const ContainerType &LHS, in unite() 318 RangeSet RangeSet::Factory::getRangeSet(Range From) { in getRangeSet() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dce110/ |
H A D | hw_factory_dce110.c | 162 * Initialize HW factory function pointers and pin info 165 * struct hw_factory *factory - [out] struct of function pointers 167 void dal_hw_factory_dce110_init(struct hw_factory *factory) in dal_hw_factory_dce110_init() argument 170 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce110_init() 171 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce110_init() 172 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce110_init() 173 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce110_init() 174 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce110_init() 175 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce110_init() 176 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce110_init() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dce120/ |
H A D | hw_factory_dce120.c | 180 * Initialize HW factory function pointers and pin info 183 * struct hw_factory *factory - [out] struct of function pointers 185 void dal_hw_factory_dce120_init(struct hw_factory *factory) in dal_hw_factory_dce120_init() argument 188 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce120_init() 189 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce120_init() 190 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce120_init() 191 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce120_init() 192 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce120_init() 193 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce120_init() 194 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce120_init() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn10/ |
H A D | hw_factory_dcn10.c | 213 * Initialize HW factory function pointers and pin info 216 * struct hw_factory *factory - [out] struct of function pointers 218 void dal_hw_factory_dcn10_init(struct hw_factory *factory) in dal_hw_factory_dcn10_init() argument 221 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn10_init() 222 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn10_init() 223 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dcn10_init() 224 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn10_init() 225 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dcn10_init() 226 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn10_init() 227 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dcn10_init() [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | ImmutableMap.h | 78 /// should use a Factory object to create maps instead of directly 83 class Factory { 84 typename TreeTy::Factory F; 88 Factory(bool canonicalize = true) : Canonicalize(canonicalize) {} in Canonicalize() 90 Factory(BumpPtrAllocator &Alloc, bool canonicalize = true) 93 Factory(const Factory &) = delete; 94 Factory &operator=(const Factory &) = delete; 109 typename TreeTy::Factory *getTreeFactory() const { in getTreeFactory() 110 return const_cast<typename TreeTy::Factory *>(&F); in getTreeFactory() 212 using FactoryTy = typename TreeTy::Factory; [all …]
|
H A D | ImmutableSet.h | 48 using Factory = ImutAVLFactory<ImutInfo>; variable 209 Factory *factory; 225 // Internal methods (node manipulation; used by Factory). 231 ImutAVLTree(Factory *f, ImutAVLTree* l, ImutAVLTree* r, value_type_ref v, in ImutAVLTree() 233 : factory(f), left(l), right(r), height(height), IsMutable(true), in ImutAVLTree() 255 // methods of a factory object (see below). When a tree 338 factory->Cache[factory->maskCacheIndex(computeDigest())] = next; in destroy() 344 factory->freeNodes.push_back(this); in destroy() 355 // Immutable AVL-Tree Factory class. 968 /// should use a Factory object to create sets instead of directly [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dce60/ |
H A D | hw_factory_dce60.c | 163 struct hw_factory *factory) in dal_hw_factory_dce60_init() argument 165 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce60_init() 166 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce60_init() 167 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce60_init() 168 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce60_init() 169 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce60_init() 170 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce60_init() 171 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce60_init() 172 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce60_init() 174 factory->funcs = &funcs; in dal_hw_factory_dce60_init()
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dce80/ |
H A D | hw_factory_dce80.c | 163 struct hw_factory *factory) in dal_hw_factory_dce80_init() argument 165 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dce80_init() 166 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dce80_init() 167 factory->number_of_pins[GPIO_ID_GENERIC] = 7; in dal_hw_factory_dce80_init() 168 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dce80_init() 169 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 31; in dal_hw_factory_dce80_init() 170 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dce80_init() 171 factory->number_of_pins[GPIO_ID_SYNC] = 2; in dal_hw_factory_dce80_init() 172 factory->number_of_pins[GPIO_ID_GSL] = 4; in dal_hw_factory_dce80_init() 174 factory->funcs = &funcs; in dal_hw_factory_dce80_init()
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn21/ |
H A D | hw_factory_dcn21.c | 221 * Initialize HW factory function pointers and pin info 224 * struct hw_factory *factory - [out] struct of function pointers 226 void dal_hw_factory_dcn21_init(struct hw_factory *factory) in dal_hw_factory_dcn21_init() argument 229 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn21_init() 230 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn21_init() 231 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn21_init() 232 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn21_init() 233 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn21_init() 234 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn21_init() 235 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn21_init() [all …]
|
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ProgramStateTrait.h | 51 /// Declares a factory for objects of type \p Type in the program state 52 /// manager. The type must provide a ::Factory sub-class. Commonly used for 91 /// Declares an immutable map type \p Name and registers the factory 115 /// Declares an immutable set type \p Name and registers the factory 138 /// Declares an immutable list of type \p Name and registers the factory 151 using context_type = typename data_type::Factory &; 183 return *((typename data_type::Factory *) p); 187 return new typename data_type::Factory(Alloc); 191 delete (typename data_type::Factory *) Ctx; 199 using context_type = typename data_type::Factory &; [all …]
|
H A D | BlockCounter.h | 40 class Factory { 43 Factory(llvm::BumpPtrAllocator& Alloc); 44 ~Factory(); 52 friend class Factory; variable
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn315/ |
H A D | hw_factory_dcn315.c | 242 * Initialize HW factory function pointers and pin info 245 * struct hw_factory *factory - [out] struct of function pointers 247 void dal_hw_factory_dcn315_init(struct hw_factory *factory) in dal_hw_factory_dcn315_init() argument 250 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn315_init() 251 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn315_init() 252 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn315_init() 253 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn315_init() 254 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn315_init() 255 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn315_init() 256 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn315_init() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn20/ |
H A D | hw_factory_dcn20.c | 242 * Initialize HW factory function pointers and pin info 245 * struct hw_factory *factory - [out] struct of function pointers 247 void dal_hw_factory_dcn20_init(struct hw_factory *factory) in dal_hw_factory_dcn20_init() argument 250 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn20_init() 251 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn20_init() 252 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn20_init() 253 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn20_init() 254 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn20_init() 255 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn20_init() 256 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn20_init() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn30/ |
H A D | hw_factory_dcn30.c | 252 * Initialize HW factory function pointers and pin info 255 * struct hw_factory *factory - [out] struct of function pointers 257 void dal_hw_factory_dcn30_init(struct hw_factory *factory) in dal_hw_factory_dcn30_init() argument 260 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn30_init() 261 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn30_init() 262 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn30_init() 263 factory->number_of_pins[GPIO_ID_HPD] = 6; in dal_hw_factory_dcn30_init() 264 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn30_init() 265 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn30_init() 266 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn30_init() [all …]
|
/openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/dcn32/ |
H A D | hw_factory_dcn32.c | 254 * Initialize HW factory function pointers and pin info 257 * struct hw_factory *factory - [out] struct of function pointers 259 void dal_hw_factory_dcn32_init(struct hw_factory *factory) in dal_hw_factory_dcn32_init() argument 261 factory->number_of_pins[GPIO_ID_DDC_DATA] = 8; in dal_hw_factory_dcn32_init() 262 factory->number_of_pins[GPIO_ID_DDC_CLOCK] = 8; in dal_hw_factory_dcn32_init() 263 factory->number_of_pins[GPIO_ID_GENERIC] = 4; in dal_hw_factory_dcn32_init() 264 factory->number_of_pins[GPIO_ID_HPD] = 5; in dal_hw_factory_dcn32_init() 265 factory->number_of_pins[GPIO_ID_GPIO_PAD] = 28; in dal_hw_factory_dcn32_init() 266 factory->number_of_pins[GPIO_ID_VIP_PAD] = 0; in dal_hw_factory_dcn32_init() 267 factory->number_of_pins[GPIO_ID_SYNC] = 0; in dal_hw_factory_dcn32_init() [all …]
|
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/ |
H A D | ResultFactory.pm | 21 TAP::Parser::ResultFactory - Factory for creating TAP::Parser output objects 27 my $factory = TAP::Parser::ResultFactory->new; 28 my $result = $factory->make_result( $token ); 40 This is a simple factory class which returns a L<TAP::Parser::Result> subclass 51 Creates a new factory class. 52 I<Note:> You currently don't need to instantiate a factory in order to use it. 87 # register with the factory: 140 The factory itself is never instantiated (this I<may> change in the future).
|
/openbsd-src/usr.sbin/ldomctl/ |
H A D | ldomctl.8 | 115 A system using factory defaults has a single "factory-default" configuration: 118 factory-default [current] 123 # mkdir factory-default 124 # cd factory-default 127 # cp -R factory-default openbsd 142 factory-default [current]
|
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
H A D | BodyFarm.h | 1 //== BodyFarm.h - Factory for conjuring up fake bodies -------------*- C++ -*-// 9 // BodyFarm is a factory for creating faux implementations for functions/methods 34 /// Factory method for creating bodies for ordinary functions. 37 /// Factory method for creating bodies for Objective-C properties.
|
/openbsd-src/share/zoneinfo/datfiles/ |
H A D | factory | 1 # $OpenBSD: factory,v 1.14 2025/01/19 22:03:27 millert Exp $ 2 # tzdb data for noncommittal factory settings 12 # TZ="Factory" was added to TZDB in 1989, and in 2016 its abbreviation 16 # TZ="Factory" is a valid timezone, so tzalloc("Factory") succeeds, whereas 18 # Also, a downstream distributor could modify Factory to be a 23 Zone Factory 0 - -00
|
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
H A D | results.t | 27 my $factory = TAP::Parser::ResultFactory->new; 53 can_ok $factory, 'make_result'; 54 eval { $factory->make_result( { type => 'no_such_type' } ) }; 60 can_ok $factory, 'class_for'; 61 can_ok $factory, 'register_type'; 73 my $r = eval { $factory->make_result( { type => 'my_type' } ) }; 274 ok my $result = $factory->make_result( $instantiated->{data} ),
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | InlineAdvisor.h | 299 PluginInlineAdvisorAnalysis(AdvisorFactory Factory) : Factory(Factory) { in PluginInlineAdvisorAnalysis() argument 301 assert(Factory != nullptr && in PluginInlineAdvisorAnalysis() 302 "The plugin advisor factory should not be a null pointer."); in PluginInlineAdvisorAnalysis() 306 AdvisorFactory Factory; member 309 Result run(Module &M, ModuleAnalysisManager &MAM) { return {Factory}; } in run() 310 Result getResult() { return {Factory}; } in getResult() 313 AdvisorFactory Factory;
|
/openbsd-src/gnu/usr.bin/perl/dist/threads-shared/t/ |
H A D | cond.t | 110 # Make sure a lock factory gives out fresh locks each time 122 ok(1,1,"lock factory: locking all locks"); 127 ok(2,1,"lock factory: locked all locks"); 129 ok(3,1,"lock factory: child: locking all locks"); 134 ok(4,1,"lock factory: child: locked all locks");
|