| /kernel/linux/linux-4.19/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-y := 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 19 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
|
| D | dtx_diff | 34 Each DTx is processed by the dtc compiler to produce a sorted dts source 95 if ( ! ${DTC} -I fs ${dtx} ) ; then 106 if ( ! ${DTC} -I dtb ${dtx} ) ; then 117 | ${DTC} ${dtc_include} -I dts ) ; then 256 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH 266 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc" 268 if [ ! -x ${DTC} ] ; then 269 __DTC="dtc" 283 ERROR: unable to find a 'dtc' program 285 Preferred 'dtc' (built from Linux kernel source tree) was not found or [all …]
|
| D | Makefile.dtc | 1 # Makefile.dtc 9 dtc.c \ 17 DTC_GEN_SRCS = dtc-lexer.lex.c dtc-parser.tab.c
|
| /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 98 if ( ! ${DTC} -I fs ${dtx} ) ; then 109 if ( ! ${DTC} -I dtb ${dtx} ) ; then 120 | ${DTC} ${dtc_include} -I dts ) ; then 276 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH 286 DTC="${__KBUILD_OUTPUT}/scripts/dtc/dtc" 288 if [ ! -x ${DTC} ] ; then 289 __DTC="dtc" 303 ERROR: unable to find a 'dtc' program 305 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-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-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-4.19/mm/ |
| D | page-writeback.c | 131 struct dirty_throttle_control *gdtc; /* only set in memcg dtc's */ 168 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 170 return dtc->dom; in mdtc_valid() 173 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 175 return dtc->dom; in dtc_dom() 222 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument 227 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument 384 * @dtc: dirty_throttle_control of interest 386 * Calculate @dtc->thresh and ->bg_thresh considering 388 * must ensure that @dtc->avail is set before calling this function. The [all …]
|
| /kernel/linux/linux-4.19/drivers/dma/ |
| D | dmatest.c | 195 struct dmatest_chan *dtc; in is_threaded_test_run() local 197 list_for_each_entry(dtc, &info->channels, node) { in is_threaded_test_run() 200 list_for_each_entry(thread, &dtc->threads, node) { in is_threaded_test_run() 819 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument 825 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel() 835 dmaengine_terminate_all(dtc->chan); in dmatest_cleanup_channel() 837 kfree(dtc); in dmatest_cleanup_channel() 841 struct dmatest_chan *dtc, enum dma_transaction_type type) in dmatest_add_threads() argument 845 struct dma_chan *chan = dtc->chan; in dmatest_add_threads() 868 thread->chan = dtc->chan; in dmatest_add_threads() [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-4.19/drivers/gpu/host1x/ |
| D | syncpt.c | 338 * Dtc = (c - t) in host1x_syncpt_is_expired() 342 * A) .....c..t..f..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 343 * B) .....c.....f..t.. Dtf > Dtc expired in host1x_syncpt_is_expired() 344 * C) ..t..c.....f..... Dtf > Dtc expired (Dct very large) in host1x_syncpt_is_expired() 347 * Any case where t==c: always expired (for any f). Dtf >= Dtc (because Dtc==0) in host1x_syncpt_is_expired() 348 * Any case where t==f!=c: always wait. Dtf < Dtc (because Dtf==0, in host1x_syncpt_is_expired() 349 * Dtc!=0) in host1x_syncpt_is_expired() 353 * A) .....t..f..c..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 354 * A) .....f..c..t..... Dtf < Dtc need to wait in host1x_syncpt_is_expired() 355 * A) .....f..t..c..... Dtf > Dtc expired in host1x_syncpt_is_expired() [all …]
|
| /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-4.19/drivers/ide/ |
| D | cs5536.c | 47 DTC = 2, enumerator 96 u32 dtc; in cs5536_program_dtc() local 98 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc() 99 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 100 dtc |= tim << dshift; in cs5536_program_dtc() 101 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
|
| /kernel/linux/linux-4.19/drivers/ata/ |
| D | pata_cs5536.c | 63 DTC = 2, enumerator 124 u32 dtc; in cs5536_program_dtc() local 126 cs5536_read(pdev, DTC, &dtc); in cs5536_program_dtc() 127 dtc &= ~(IDE_DRV_MASK << dshift); in cs5536_program_dtc() 128 dtc |= tim << dshift; in cs5536_program_dtc() 129 cs5536_write(pdev, DTC, dtc); in cs5536_program_dtc()
|
| /kernel/linux/linux-5.10/scripts/ |
| D | Makefile.lib | 213 DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes 275 # DTC 277 DTC ?= $(objtree)/scripts/dtc/dtc 318 quiet_cmd_dtc = DTC $@ 319 cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 320 $(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \ 322 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 323 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 325 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE 326 $(call if_changed_dep,dtc) [all …]
|
| /kernel/linux/linux-4.19/scripts/ |
| D | Makefile.lib | 167 DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes 243 # DTC 245 DTC ?= $(objtree)/scripts/dtc/dtc 285 quiet_cmd_dtc = DTC $@ 286 cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ 287 $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ 288 $(DTC) -O dtb -o $@ -b 0 \ 290 -d $(depfile).dtc.tmp $(dtc-tmp) ; \ 291 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) 293 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE [all …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | Kconfig | 2 config DTC config 31 select DTC 40 select DTC
|
| /kernel/linux/linux-4.19/drivers/of/ |
| D | Kconfig | 2 config DTC config 31 select DTC 40 select DTC
|
| /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/linux-4.19/drivers/staging/pi433/Documentation/devicetree/ |
| D | pi433.txt | 55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
|
| /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'
|