H A D | declarations.cc | 17 std::vector<T> EnsureNonempty(std::vector<T> list, const std::string& name, in EnsureNonempty() argument 20 ReportError("there is no ", kind, " named ", name); in EnsureNonempty() 26 T EnsureUnique(const std::vector<T>& list, const Name& name, const char* kind) { in EnsureUnique() argument 28 ReportError("there is no ", kind, " named ", name); in EnsureUnique() 31 ReportError("ambiguous reference to ", kind, " ", name); in EnsureUnique() 37 void CheckAlreadyDeclared(const std::string& name, const char* new_type) { in CheckAlreadyDeclared() argument 39 FilterDeclarables<T>(Declarations::TryLookupShallow(QualifiedName(name))); in CheckAlreadyDeclared() 42 ReportError("cannot redeclare ", name, " (type ", *new_type, scope, ")"); in CheckAlreadyDeclared() 49 const QualifiedName& name) { in LookupGlobalScope() 51 GlobalContext::GetDefaultNamespace()->Lookup(name); in LookupGlobalScope() 48 LookupGlobalScope( const QualifiedName& name) LookupGlobalScope() argument 54 s << "cannot find \\"" << name << "\\" in global scope"; LookupGlobalScope() local 60 LookupTypeAlias(const QualifiedName& name) LookupTypeAlias() argument 66 LookupType(const QualifiedName& name) LookupType() argument 70 LookupType(const Identifier* name) LookupType() argument 79 TryLookupType( const QualifiedName& name) TryLookupType() argument 86 LookupGlobalType(const QualifiedName& name) LookupGlobalType() argument 107 LookupValue(const QualifiedName& name) LookupValue() argument 111 TryLookupMacro(const std::string& name, const TypeVector& types) TryLookupMacro() argument 123 TryLookupBuiltin( const QualifiedName& name) TryLookupBuiltin() argument 130 LookupGeneric( const std::string& name) LookupGeneric() argument 137 LookupUniqueGeneric(const QualifiedName& name) LookupUniqueGeneric() argument 142 LookupUniqueGenericType(const QualifiedName& name) LookupUniqueGenericType() argument 147 LookupGlobalUniqueGenericType( const std::string& name) LookupGlobalUniqueGenericType() argument 154 TryLookupGenericType( const QualifiedName& name) TryLookupGenericType() argument 161 DeclareNamespace(const std::string& name) DeclareNamespace() argument 165 DeclareType(const Identifier* name, const Type* type) DeclareType() argument 171 PredeclareTypeAlias(const Identifier* name, TypeDeclaration* type, bool redeclaration) PredeclareTypeAlias() argument 192 CreateExternMacro( std::string name, std::string external_assembler_name, Signature signature) CreateExternMacro() argument 200 DeclareMacro( const std::string& name, bool accessible_from_csa, base::Optional<std::string> external_assembler_name, const Signature& signature, base::Optional<Statement*> body, base::Optional<std::string> op, bool is_user_defined) DeclareMacro() argument 232 CreateMethod(AggregateType* container_type, const std::string& name, Signature signature, Statement* body) CreateMethod() argument 243 CreateIntrinsic(const std::string& name, const Signature& signature) CreateIntrinsic() argument 250 DeclareIntrinsic(const std::string& name, const Signature& signature) DeclareIntrinsic() argument 267 DeclareBuiltin(const std::string& name, Builtin::Kind kind, const Signature& signature, base::Optional<Statement*> body) DeclareBuiltin() argument 276 DeclareRuntimeFunction( const std::string& name, const Signature& signature) DeclareRuntimeFunction() argument 283 DeclareExternConstant(Identifier* name, const Type* type, std::string value) DeclareExternConstant() argument 291 DeclareNamespaceConstant(Identifier* name, const Type* type, Expression* body) DeclareNamespaceConstant() argument 303 DeclareGenericCallable( const std::string& name, GenericCallableDeclaration* ast_node) DeclareGenericCallable() argument 309 DeclareGenericType( const std::string& name, GenericTypeDeclaration* ast_node) DeclareGenericType() argument 315 GetGeneratedCallableName( const std::string& name, const TypeVector& specialized_types) GetGeneratedCallableName() argument 324 DeclareOperator(const std::string& name, Macro* m) DeclareOperator() argument [all...] |
H A D | clk.h | 67 #define imx_clk_cpu(name, parent_name, div, mux, pll, step) \ 68 to_clk(imx_clk_hw_cpu(name, parent_name, div, mux, pll, step)) 70 #define clk_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ 72 to_clk(clk_hw_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ 75 #define imx_clk_pllv3(type, name, parent_name, base, div_mask) \ 76 to_clk(imx_clk_hw_pllv3(type, name, parent_name, base, div_mask)) 78 #define imx_clk_pfd(name, parent_name, reg, idx) \ 79 to_clk(imx_clk_hw_pfd(name, parent_name, reg, idx)) 81 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ 82 to_clk(imx_clk_hw_gate_exclusive(name, paren 252 imx_clk_hw_pll14xx(const char *name, const char *parent_name, void __iomem *base, const struct imx_pll14xx_clk *pll_clk) imx_clk_hw_pll14xx() argument 259 imx_clk_hw_fixed(const char *name, int rate) imx_clk_hw_fixed() argument 264 imx_clk_hw_mux_ldb(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents) imx_clk_hw_mux_ldb() argument 273 imx_clk_hw_fixed_factor(const char *name, const char *parent, unsigned int mult, unsigned int div) imx_clk_hw_fixed_factor() argument 280 imx_clk_hw_divider(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 width) imx_clk_hw_divider() argument 289 imx_clk_hw_divider_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 width, unsigned long flags) imx_clk_hw_divider_flags() argument 298 imx_clk_hw_divider2(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 width) imx_clk_hw_divider2() argument 306 imx_clk_divider2_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 width, unsigned long flags) imx_clk_divider2_flags() argument 315 imx_clk_hw_gate_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned long flags) imx_clk_hw_gate_flags() argument 322 imx_clk_hw_gate(const char *name, const char *parent, void __iomem *reg, u8 shift) imx_clk_hw_gate() argument 329 imx_dev_clk_hw_gate(struct device *dev, const char *name, const char *parent, void __iomem *reg, u8 shift) imx_dev_clk_hw_gate() argument 336 imx_clk_hw_gate_dis(const char *name, const char *parent, void __iomem *reg, u8 shift) imx_clk_hw_gate_dis() argument 343 imx_clk_hw_gate_dis_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned long flags) imx_clk_hw_gate_dis_flags() argument 350 imx_clk_hw_gate2(const char *name, const char *parent, void __iomem *reg, u8 shift) imx_clk_hw_gate2() argument 357 imx_clk_hw_gate2_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned long flags) imx_clk_hw_gate2_flags() argument 364 imx_clk_hw_gate2_shared(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned int *share_count) imx_clk_hw_gate2_shared() argument 372 imx_clk_hw_gate2_shared2(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned int *share_count) imx_clk_hw_gate2_shared2() argument 381 imx_dev_clk_hw_gate_shared(struct device *dev, const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned int *share_count) imx_dev_clk_hw_gate_shared() argument 392 imx_clk_gate2_cgr(const char *name, const char *parent, void __iomem *reg, u8 shift, u8 cgr_val) imx_clk_gate2_cgr() argument 399 imx_clk_hw_gate3(const char *name, const char *parent, void __iomem *reg, u8 shift) imx_clk_hw_gate3() argument 407 imx_clk_hw_gate3_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned long flags) imx_clk_hw_gate3_flags() argument 419 imx_clk_hw_gate4(const char *name, const char *parent, void __iomem *reg, u8 shift) imx_clk_hw_gate4() argument 427 imx_clk_hw_gate4_flags(const char *name, const char *parent, void __iomem *reg, u8 shift, unsigned long flags) imx_clk_hw_gate4_flags() argument 439 imx_clk_hw_mux(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents) imx_clk_hw_mux() argument 448 imx_dev_clk_hw_mux(struct device *dev, const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents) imx_dev_clk_hw_mux() argument 457 imx_clk_mux2(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents) imx_clk_mux2() argument 466 imx_clk_hw_mux2(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents) imx_clk_hw_mux2() argument 477 imx_clk_mux_flags(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents, unsigned long flags) imx_clk_mux_flags() argument 487 imx_clk_hw_mux2_flags(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents, unsigned long flags) imx_clk_hw_mux2_flags() argument 497 imx_clk_mux2_flags(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents, unsigned long flags) imx_clk_mux2_flags() argument 507 imx_clk_hw_mux_flags(const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents, unsigned long flags) imx_clk_hw_mux_flags() argument 519 imx_dev_clk_hw_mux_flags(struct device *dev, const char *name, void __iomem *reg, u8 shift, u8 width, const char * const *parents, int num_parents, unsigned long flags) imx_dev_clk_hw_mux_flags() argument [all...] |