Home
last modified time | relevance | path

Searched refs:pch (Results 1 – 25 of 217) sorted by relevance

123456789

/external/u-boot/arch/x86/cpu/ivybridge/
Dlpc.c29 static int pch_enable_apic(struct udevice *pch) in pch_enable_apic() argument
35 dm_pci_write_config8(pch, ACPI_CNTL, 0x80); in pch_enable_apic()
71 static void pch_enable_serial_irqs(struct udevice *pch) in pch_enable_serial_irqs() argument
78 dm_pci_write_config8(pch, SERIRQ_CNTL, value); in pch_enable_serial_irqs()
80 dm_pci_write_config8(pch, SERIRQ_CNTL, value | (1 << 6)); in pch_enable_serial_irqs()
84 static int pch_pirq_init(struct udevice *pch) in pch_pirq_init() argument
88 if (fdtdec_get_byte_array(gd->fdt_blob, dev_of_offset(pch), in pch_pirq_init()
92 dm_pci_write_config8(pch, PIRQA_ROUT, *ptr++); in pch_pirq_init()
93 dm_pci_write_config8(pch, PIRQB_ROUT, *ptr++); in pch_pirq_init()
94 dm_pci_write_config8(pch, PIRQC_ROUT, *ptr++); in pch_pirq_init()
[all …]
/external/clang/test/PCH/
Dheadermap.m3 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
4 // RUN: %clang_cc1 -include-pch %t.h.pch %s
6 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t.h.pch %S/headermap.h
7 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
9 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
10 // RUN: %clang_cc1 -include-pch %t.h.pch %s
12 // RUN: %clang_cc1 -x objective-c -I%t.hmap -emit-pch -o %t.h.pch %S/headermap.h
13 // RUN: %clang_cc1 -include-pch %t.h.pch -I%t.hmap %s
Dverify_pch.m8 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
11 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
14 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c -fno-builtin -verify-pch %t.pch
18 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.2
20 // CHECK-STALE-DEP: file '{{.*}}.h' has been modified since the precompiled header '{{.*}}.pch' was…
23 // RUN: %clang_cc1 -isystem %t/usr/include -x objective-c-header -emit-pch -o %t.pch %t.h
24 // RUN: %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch
26 // RUN: not %clang_cc1 -isystem %t/usr/include -verify-pch %t.pch 2> %t.log.3
28 …-H: file '{{.*}}sys_header.h' has been modified since the precompiled header '{{.*}}.pch' was built
Darc.m2 // Test this without pch.
5 // Test with pch.
6 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -x objective-c-heade…
7 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-only …
9 // Test error when pch's -fobjc-arc state is different.
10 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -include-pch %t -fsyntax-only -emit-l…
11 // RUN: %clang_cc1 -emit-pch -fblocks -triple x86_64-apple-darwin11 -x objective-c-header -o %t %S/…
12 // RUN: not %clang_cc1 -fblocks -triple x86_64-apple-darwin11 -fobjc-arc -include-pch %t -fsyntax-o…
Dobjc_container.m1 // Test this without pch.
4 // Test with pch.
5 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_container.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
7 // RUN: %clang_cc1 -include-pch %t -ast-print %s | FileCheck -check-prefix=CHECK-PRINT %s
8 // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-IR %s
/external/clang/test/Modules/
Dignored_macros.m3 …dules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
4 …%t.modules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s -verify
10 …e-path=%t.modules -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
11 …ules -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch %s > %t.err 2>&1
19 …e-path=%t.modules -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
20 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
26 …ore-macro=IGNORED -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
27 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
33 …e-macro=IGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -emit-pch -o %t.pch -x objective-c…
34 …les -DIGNORED=1 -fmodules -fimplicit-module-maps -I %S/Inputs -include-pch %t.pch -fmodules-ignore…
Dva_list.m5 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
7 // Include the pch, as a sanity check.
9 // RUN: -fmodules-ignore-macro=PREFIX -I %S/Inputs/va_list -include-pch %t.pch \
12 // Repeat the previous emit-pch, but not we will have a global module index.
14 // emitted into the pch.
17 // RUN: -x objective-c-header %s -o %t.pch -emit-pch
19 // Include the pch, which now has __va_list_tag in it, which needs to be merged.
21 // RUN: -fmodules-ignore-macro=PREFIX -I %S/Inputs/va_list -include-pch %t.pch \
Dmacro-undef-through-pch.m3 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
4 // RUN: %S/Inputs/macro-undef-through-pch/foo.h -o %t.pch
6 // RUN: -I%S/Inputs/macro-undef-through-pch -emit-pch \
7 // RUN: -include-pch %t.pch %s
Dredecls.m2 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t1.pch -fmodules-cache-path=%t…
3 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -emit-pch -o %t2.pch -include-pch %t1.pch -f…
4 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps %s -fsyntax-only -include-pch %t2.pch -I %S/Inp…
Dresolution-change.m4 …ules-with-same-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -emit-pch -o %t-A.pch %s
7 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
10 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path1/A -include-pch %t-A.pch %s -fsyntax-onl…
13 …cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -include-pch %t-A.pch %s -fsyntax-onl…
14 …pendsOnA' in AST file '{{.*DependsOnA.*pcm}}' (imported by AST file '{{.*A.pch}}') is not defined …
17 …cache-path=%t -I %S/Inputs/modules-with-same-name/DependsOnA -include-pch %t-A.pch %s -fsyntax-onl…
21 …-name/DependsOnA -I %S/Inputs/modules-with-same-name/path2/A -include-pch %t-A.pch %s -fsyntax-onl…
Dpch-used.m3 // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodu…
4 // RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cac…
Dpch-module-macro.m2 …t-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x objective…
3 …-path=%t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs -include-pch %t.pch %s -verify
Dbuiltins.m6 // RUN: rm -rf %t.pch.cache
7 …UN: %clang_cc1 -fmodules-cache-path=%t.pch.cache -fmodules -fimplicit-module-maps -I %S/Inputs -em…
8 …: %clang_cc1 -fmodules-cache-path=%t.pch.cache -fmodules -fimplicit-module-maps -I %S/Inputs %s -i…
Dpreprocess.m3 …uts -I %S/Inputs/preprocess -x objective-c-header -emit-pch %S/Inputs/preprocess-prefix.h -o %t.pch
4 … -fmodules-cache-path=%t -I %S/Inputs -I %S/Inputs/preprocess -include-pch %t.pch -E %s | FileChec…
7 …s -I %S/Inputs/preprocess -x objective-c++-header -emit-pch %S/Inputs/preprocess-prefix.h -o %t.pch
8 …path=%t -I %S/Inputs -I %S/Inputs/preprocess -x objective-c++ -include-pch %t.pch -E %s | FileChec…
Dautolink.m2 …cc1 -emit-pch -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -o %t.pch -I %S/Inputs -x o…
3 …%t -fmodules -fimplicit-module-maps -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck %s
4 …%t -fmodules -fimplicit-module-maps -F %S/Inputs -I %S/Inputs -include-pch %t.pch %s | FileCheck -…
/external/u-boot/arch/x86/cpu/intel_common/
Dlpc.c19 static void enable_spi_prefetch(struct udevice *pch) in enable_spi_prefetch() argument
23 dm_pci_read_config8(pch, 0xdc, &reg8); in enable_spi_prefetch()
26 dm_pci_write_config8(pch, 0xdc, reg8); in enable_spi_prefetch()
29 static void enable_port80_on_lpc(struct udevice *pch) in enable_port80_on_lpc() argument
32 dm_pci_write_config32(pch, PCH_RCBA_BASE, RCB_BASE_ADDRESS | 1); in enable_port80_on_lpc()
44 struct udevice *pch = dev->parent; in lpc_common_early_init() local
59 dm_pci_write_config16(pch, LPC_IO_DEC, 0x0010); in lpc_common_early_init()
62 dm_pci_write_config16(pch, LPC_EN, KBC_LPC_EN | MC_LPC_EN | in lpc_common_early_init()
72 dm_pci_write_config32(pch, LPC_GENX_DEC(i), reg); in lpc_common_early_init()
75 enable_spi_prefetch(pch); in lpc_common_early_init()
[all …]
/external/python/cpython2/Python/
Ddynload_win.c135 char *pch; local
139 pch = import_name + 6;
141 while (*pch && pch[0] != '_' && pch[1] != 'd' && pch[2] != '.') {
143 while (*pch && *pch != '.') {
145 if (*pch >= '0' && *pch <= '9') {
146 pch++;
148 pch = NULL;
153 if (pch) {
/external/python/cpython3/Python/
Ddynload_win.c148 char *pch; local
161 pch = import_name + 6;
163 while (*pch && pch[0] != '_' && pch[1] != 'd' && pch[2] != '.') {
165 while (*pch && *pch != '.') {
167 if (*pch >= '0' && *pch <= '9') {
168 pch++;
170 pch = NULL;
175 if (pch) {
/external/curl/lib/
Dinet_pton.c104 const char *pch; in inet_pton4() local
106 pch = strchr(digits, ch); in inet_pton4()
107 if(pch) { in inet_pton4()
108 unsigned int val = *tp * 10 + (unsigned int)(pch - digits); in inet_pton4()
171 const char *pch; in inet_pton6() local
173 pch = strchr((xdigits = xdigits_l), ch); in inet_pton6()
174 if(!pch) in inet_pton6()
175 pch = strchr((xdigits = xdigits_u), ch); in inet_pton6()
176 if(pch != NULL) { in inet_pton6()
178 val |= (pch - xdigits); in inet_pton6()
/external/u-boot/board/intel/cougarcanyon2/
Dcougarcanyon2.c20 struct udevice *pch; in board_early_init_f() local
23 ret = uclass_first_device(UCLASS_PCH, &pch); in board_early_init_f()
26 if (!pch) in board_early_init_f()
30 dm_pci_write_config16(pch, LPC_IO_DEC, COMA_DEC_RANGE | COMB_DEC_RANGE); in board_early_init_f()
31 dm_pci_write_config16(pch, LPC_EN, KBC_LPC_EN | COMA_LPC_EN); in board_early_init_f()
32 dm_pci_write_config32(pch, LPC_GEN1_DEC, GEN_DEC_RANGE_256B | in board_early_init_f()
34 dm_pci_write_config32(pch, LPC_GEN2_DEC, GEN_DEC_RANGE_16B | in board_early_init_f()
/external/clang/test/Driver/
Dverify_pch.m1 // RUN: touch %t.pch
2 // RUN: %clang -### -verify-pch %t.pch 2> %t.log.1
4 // CHECK: -verify-pch
6 // Also ensure that the language setting is not affected by the .pch extension
9 // RUN: %clang -### -verify-pch -x objective-c %t.pch 2> %t.log.2
/external/clang/test/ARCMT/
Dmigrate-with-pch.m2 // RUN: %clang_cc1 -x objective-c %S/Common.h -emit-pch -o %t.pch
3 …c1 -arcmt-migrate -mt-migrate-directory %t %S/Inputs/test1.m.in -x objective-c -include-pch %t.pch
4 …cc1 -arcmt-migrate -mt-migrate-directory %t %S/Inputs/test2.m.in -x objective-c -include-pch %t.pch
Dobjcmt-with-pch.m.result3 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
4 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
6 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
Dobjcmt-with-pch.m3 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch
4 …iterals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch
6 …%clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch
/external/clang/test/CodeCompletion/
Dpch-and-module.m18 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_module…
19 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs…
23 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_module…
24 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs…

123456789