| /kernel/linux/linux-6.6/scripts/dtc/ |
| D | update-dtc-source.sh | 3 # Simple script to update the version of DTC carried by the Linux kernel 5 # This script assumes that the dtc and the linux git trees are in the 6 # same directory. After building dtc in the dtc directory, it copies the 7 # source files and generated source file(s) into the scripts/dtc directory 12 # $ ./scripts/dtc/update-dtc-source.sh 14 # The script will change into the dtc tree, build and test dtc, copy the 16 # message will need to be modified to reflect the version of DTC being 24 # - The dtc "make check" target needs to return a failure 25 # * Extract the version number from the dtc repo for the commit message 26 # * Build dtc in the kernel tree [all …]
|
| D | Makefile | 2 # scripts/dtc makefile 5 hostprogs-always-$(CONFIG_DTC) += dtc fdtoverlay 6 hostprogs-always-$(CHECK_DT_BINDING) += dtc 8 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ 10 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o 27 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
|
| D | dtx_diff | 37 Each DTx is processed by the dtc compiler to produce a sorted dts source 94 if ( ! ${DTC} -I fs ${dtx} ) ; then 105 if ( ! ${DTC} -I dtb ${dtx} ) ; then 116 | ${DTC} ${dtc_include} -I dts ) ; then 272 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH 282 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc" 284 if [ ! -x ${DTC} ] ; then 285 __DTC="dtc" 299 ERROR: unable to find a 'dtc' program 301 Preferred 'dtc' (built from Linux kernel source tree) was not found or [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | update-dtc-source.sh | 3 # Simple script to update the version of DTC carried by the Linux kernel 5 # This script assumes that the dtc and the linux git trees are in the 6 # same directory. After building dtc in the dtc directory, it copies the 7 # source files and generated source file(s) into the scripts/dtc directory 12 # $ ./scripts/dtc/update-dtc-source.sh 14 # The script will change into the dtc tree, build and test dtc, copy the 16 # message will need to be modified to reflect the version of DTC being 24 # - The dtc "make check" target needs to return a failure 25 # * Extract the version number from the dtc repo for the commit message 26 # * Build dtc in the kernel tree [all …]
|
| D | Makefile | 2 # scripts/dtc makefile 4 hostprogs-always-$(CONFIG_DTC) += dtc 5 hostprogs-always-$(CHECK_DT_BINDING) += dtc 7 dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ 9 dtc-objs += dtc-lexer.lex.o dtc-parser.tab.o 16 $(error dtc needs libyaml for DT schema validation support. \ 21 dtc-objs += yamltree.o 33 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
|
| D | dtx_diff | 37 Each DTx is processed by the dtc compiler to produce a sorted dts source 94 if ( ! ${DTC} -I fs ${dtx} ) ; then 105 if ( ! ${DTC} -I dtb ${dtx} ) ; then 116 | ${DTC} ${dtc_include} -I dts ) ; then 272 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH 282 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc" 284 if [ ! -x ${DTC} ] ; then 285 __DTC="dtc" 299 ERROR: unable to find a 'dtc' program 301 Preferred 'dtc' (built from Linux kernel source tree) was not found or [all …]
|
| /kernel/linux/linux-5.10/drivers/perf/ |
| D | arm-cmn.c | 86 /* The DTC node is where the magic happens */ 90 /* DTC counters are paired in 64-bit registers on a 16-byte stride. Yuck */ 116 * Even in the worst case a DTC counter can't wrap in fewer than 2^42 cycles, 202 int dtc; member 243 struct arm_cmn_dtc *dtc; member 657 writel_relaxed(0, cmn->dtc[0].base + CMN_DT_PMCR); in arm_cmn_set_state() 666 cmn->dtc[0].base + CMN_DT_PMCR); in arm_cmn_clear_state() 698 static u64 arm_cmn_read_cc(struct arm_cmn_dtc *dtc) in arm_cmn_read_cc() argument 700 u64 val = readq_relaxed(dtc->base + CMN_DT_PMCCNTR); in arm_cmn_read_cc() 702 writeq_relaxed(CMN_CC_INIT, dtc->base + CMN_DT_PMCCNTR); in arm_cmn_read_cc() [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | dmatest.c | 247 struct dmatest_chan *dtc; in is_threaded_test_run() local 249 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_run() 252 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_run() 263 struct dmatest_chan *dtc; in is_threaded_test_pending() local 265 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_pending() 268 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_pending() 934 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument 940 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel() 950 dmaengine_terminate_sync(dtc->chan); in dmatest_cleanup_channel() 952 kfree(dtc); in dmatest_cleanup_channel() [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | dmatest.c | 248 struct dmatest_chan *dtc; in is_threaded_test_run() local 250 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_run() 253 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_run() 264 struct dmatest_chan *dtc; in is_threaded_test_pending() local 266 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_pending() 269 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_pending() 932 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument 938 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel() 948 dmaengine_terminate_sync(dtc->chan); in dmatest_cleanup_channel() 950 kfree(dtc); in dmatest_cleanup_channel() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | page-writeback.c | 127 struct dirty_throttle_control *gdtc; /* only set in memcg dtc's */ 164 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 166 return dtc->dom; in mdtc_valid() 169 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 171 return dtc->dom; in dtc_dom() 218 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 223 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 368 * @dtc: dirty_throttle_control of interest 370 * Calculate @dtc->thresh and ->bg_thresh considering 372 * must ensure that @dtc->avail is set before calling this function. The [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | page-writeback.c | 127 struct dirty_throttle_control *gdtc; /* only set in memcg dtc's */ 164 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 166 return dtc->dom; in mdtc_valid() 169 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 171 return dtc->dom; in dtc_dom() 218 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 223 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 380 * @dtc: dirty_throttle_control of interest 382 * Calculate @dtc->thresh and ->bg_thresh considering 384 * must ensure that @dtc->avail is set before calling this function. The [all …]
|
| /kernel/linux/linux-6.6/drivers/perf/ |
| D | arm-cmn.c | 119 /* The DTC node is where the magic happens */ 123 /* DTC counters are paired in 64-bit registers on a 16-byte stride. Yuck */ 149 * Even in the worst case a DTC counter can't wrap in fewer than 2^42 cycles, 282 s8 dtc; member 345 struct arm_cmn_dtc *dtc; member 523 s8 dtc = xp[x].dtc; in arm_cmn_map_show() local 525 if (dtc < 0) in arm_cmn_map_show() 526 seq_puts(s, " DTC ?? |"); in arm_cmn_map_show() 528 seq_printf(s, " DTC %d |", dtc); in arm_cmn_map_show() 582 /* @i is the DTC number, @idx is the counter index on that DTC */ [all …]
|
| /kernel/linux/linux-5.10/drivers/ide/ |
| D | cs5536.c | 35 DTC = 2, enumerator 84 u32 dtc; in cs5536_program_dtc() local 86 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc() 87 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 88 dtc |= tim << dshift; in cs5536_program_dtc() 89 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | pata_cs5536.c | 51 DTC = 2, enumerator 112 u32 dtc; in cs5536_program_dtc() local 114 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc() 115 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 116 dtc |= tim << dshift; in cs5536_program_dtc() 117 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
|
| /kernel/linux/linux-5.10/drivers/gpu/host1x/ |
| D | syncpt.c | 327 * Dtc = (c - t) in host1x_syncpt_is_expired() 331 * A) .....c..t..f..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 332 * B) .....c.....f..t.. Dtf > Dtc expired in host1x_syncpt_is_expired() 333 * C) ..t..c.....f..... Dtf > Dtc expired (Dct very large) in host1x_syncpt_is_expired() 336 * Any case where t==c: always expired (for any f). Dtf >= Dtc (because Dtc==0) in host1x_syncpt_is_expired() 337 * Any case where t==f!=c: always wait. Dtf < Dtc (because Dtf==0, in host1x_syncpt_is_expired() 338 * Dtc!=0) in host1x_syncpt_is_expired() 342 * A) .....t..f..c..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 343 * A) .....f..c..t..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 344 * A) .....f..t..c..... Dtf > Dtc expired in host1x_syncpt_is_expired() [all …]
|
| /kernel/linux/linux-6.6/drivers/ata/ |
| D | pata_cs5536.c | 51 DTC = 2, enumerator 112 u32 dtc; in cs5536_program_dtc() local 114 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc() 115 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 116 dtc |= tim << dshift; in cs5536_program_dtc() 117 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
|
| /kernel/linux/linux-6.6/drivers/of/ |
| D | Kconfig | 2 config DTC config 34 this file with scripts/dtc/of_unittest_expect to reduce the 43 select DTC 52 select DTC
|
| /kernel/linux/linux-5.10/scripts/ |
| D | Makefile.lib | 215 DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes 277 # DTC 279 DTC ?= $(objtree)/scripts/dtc/dtc 320 quiet_cmd_dtc = DTC $@ 321 cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 322 $(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \ 324 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 325 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 327 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE 328 $(call if_changed_dep,dtc) [all …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | Kconfig | 2 config DTC config 31 select DTC 40 select DTC
|
| /kernel/linux/linux-6.6/scripts/ |
| D | Makefile.lib | 245 DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes 340 # DTC 342 DTC ?= $(objtree)/scripts/dtc/dtc 391 quiet_cmd_dtc = DTC $@ 392 cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 393 $(DTC) -o $@ -b 0 \ 395 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 396 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 403 cmd_fdtoverlay = $(objtree)/scripts/dtc/fdtoverlay -o $@ -i $(filter %.dtb %.dtbo, $^) 422 $(obj)/%.dtb: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/perf/ |
| D | arm,cmn.yaml | 30 description: One interrupt for each DTC domain implemented must 53 /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | others.patch | 700 quiet_cmd_dtc = DTC $@ 701 -cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 702 - $(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \ 703 +cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ 704 + $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 705 + $(DTC) -O dtb -o $@ -b 0 \ 707 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 708 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 709 diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c 711 --- a/scripts/dtc/checks.c [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/perf/ |
| D | arm,cmn.yaml | 33 description: One interrupt for each DTC domain implemented must 65 /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */
|
| /kernel/linux/linux-6.6/drivers/staging/pi433/Documentation/devicetree/ |
| D | pi433.txt | 55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dtso'
|
| /kernel/linux/linux-5.10/drivers/staging/pi433/Documentation/devicetree/ |
| D | pi433.txt | 55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
|