Home
last modified time | relevance | path

Searched full:dtc (Results 1 – 25 of 84) sorted by relevance

1234

/Linux-v5.15/scripts/dtc/
Dupdate-dtc-source.sh3 # 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 …]
DMakefile2 # 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
23 $(error dtc needs libyaml for DT schema validation support. \
28 dtc-objs += yamltree.o
40 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
Ddtx_diff37 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 …]
Dversion_gen.h1 #define DTC_VERSION "DTC 1.6.0-g183df9e9"
D.gitignore2 /dtc
/Linux-v5.15/drivers/perf/
Darm-cmn.c86 /* 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 …]
/Linux-v5.15/drivers/dma/
Ddmatest.c248 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()
935 static void dmatest_cleanup_channel(struct dmatest_chan *dtc) in dmatest_cleanup_channel() argument
941 list_for_each_entry_safe(thread, _thread, &dtc->threads, node) { in dmatest_cleanup_channel()
951 dmaengine_terminate_sync(dtc->chan); in dmatest_cleanup_channel()
953 kfree(dtc); in dmatest_cleanup_channel()
[all …]
Ddma-jz4780.c102 * @dtc: transfer count (number of blocks of the transfer size specified in DCM
110 uint32_t dtc; member
349 desc->dtc = len >> jzchan->transfer_shift; in jz4780_dma_setup_hwdesc()
386 * The upper 8 bits of the DTC field in the descriptor in jz4780_dma_prep_slave_sg()
390 desc->desc[i].dtc |= in jz4780_dma_prep_slave_sg()
436 * The upper 8 bits of the DTC field in the descriptor must be in jz4780_dma_prep_dma_cyclic()
442 desc->desc[i].dtc |= in jz4780_dma_prep_dma_cyclic()
473 desc->desc[0].dtc = len >> jzchan->transfer_shift; in jz4780_dma_prep_dma_memcpy()
540 jzchan->desc->desc[jzchan->curr_hwdesc].dtc); in jz4780_dma_begin()
624 count += desc->desc[i].dtc & GENMASK(23, 0); in jz4780_dma_desc_residue()
/Linux-v5.15/mm/
Dpage-writeback.c126 struct dirty_throttle_control *gdtc; /* only set in memcg dtc's */
163 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument
165 return dtc->dom; in mdtc_valid()
168 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument
170 return dtc->dom; in dtc_dom()
217 static bool mdtc_valid(struct dirty_throttle_control *dtc) in mdtc_valid() argument
222 static struct wb_domain *dtc_dom(struct dirty_throttle_control *dtc) in dtc_dom() argument
379 * @dtc: dirty_throttle_control of interest
381 * Calculate @dtc->thresh and ->bg_thresh considering
383 * must ensure that @dtc->avail is set before calling this function. The
[all …]
/Linux-v5.15/drivers/ata/
Dpata_cs5536.c51 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()
/Linux-v5.15/scripts/
DMakefile.lib222 DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes
305 # DTC
307 DTC ?= $(objtree)/scripts/dtc/dtc
350 quiet_cmd_dtc = DTC $@
351 cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
352 $(DTC) -o $@ -b 0 \
354 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
355 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
357 $(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE
358 $(call if_changed_dep,dtc)
[all …]
/Linux-v5.15/drivers/of/
DKconfig2 config DTC config
31 select DTC
40 select DTC
/Linux-v5.15/Documentation/devicetree/bindings/perf/
Darm,cmn.yaml29 description: One interrupt for each DTC domain implemented must
52 /* 4x2 mesh with one DTC, and CFG node at 0,1,1,0 */
/Linux-v5.15/drivers/staging/pi433/Documentation/devicetree/
Dpi433.txt55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
/Linux-v5.15/drivers/of/unittest-data/
Doverlay_common.dtsi8 * Do not add anything that would result in dtc creating node "/__fixups__".
9 * dtc will create nodes "/__symbols__" and "/__local_fixups__".
/Linux-v5.15/Documentation/admin-guide/perf/
Darm-cmn.rst13 global counters implemented by the main controller (DTC), which provides
34 * The cycle counter is treated as a synthetic event belonging to the DTC
/Linux-v5.15/arch/powerpc/boot/
Dwrapper15 # -s tree.dts specify device-tree source file (needs dtc installed)
61 dtc=scripts/dtc/dtc
187 $dtc -O dtb -o "$dtb" -b 0 "$dts"
/Linux-v5.15/lib/
Dfdt_empty_tree.c2 #include "../scripts/dtc/libfdt/fdt_empty_tree.c"
Dfdt_ro.c2 #include "../scripts/dtc/libfdt/fdt_ro.c"
Dfdt_rw.c2 #include "../scripts/dtc/libfdt/fdt_rw.c"
Dfdt_sw.c2 #include "../scripts/dtc/libfdt/fdt_sw.c"
Dfdt_wip.c2 #include "../scripts/dtc/libfdt/fdt_wip.c"
Dfdt.c2 #include "../scripts/dtc/libfdt/fdt.c"
Dfdt_addresses.c2 #include "../scripts/dtc/libfdt/fdt_addresses.c"
Dfdt_strerror.c2 #include "../scripts/dtc/libfdt/fdt_strerror.c"

1234