Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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
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
Ddtx_diff37 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 …]
Dversion_gen.h1 #define DTC_VERSION "DTC 1.6.0-gcbca977e"
D.gitignore2 dtc
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
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 …]
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()
/kernel/linux/linux-5.10/mm/
Dpage-writeback.c127 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-5.10/drivers/ide/
Dcs5536.c35 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/
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()
/kernel/linux/linux-5.10/drivers/gpu/host1x/
Dsyncpt.c327 * 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-5.10/scripts/
DMakefile.lib215 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/
DKconfig2 config DTC config
31 select DTC
40 select DTC
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/perf/
Darm,cmn.yaml30 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/
Dothers.patch709 quiet_cmd_dtc = DTC $@
710 -cmd_dtc = $(HOSTCC) -E $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
711 - $(DTC) -O $(patsubst .%,%,$(suffix $@)) -o $@ -b 0 \
712 +cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
713 + $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
714 + $(DTC) -O dtb -o $@ -b 0 \
716 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
717 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
718 diff --git a/scripts/dtc/checks.c b/scripts/dtc/checks.c
720 --- a/scripts/dtc/checks.c
[all …]
/kernel/linux/linux-5.10/drivers/staging/pi433/Documentation/devicetree/
Dpi433.txt55 'linux/scripts/dtc/dtc -@ -I dts -O dtb -o pi433.dtbo pi433-overlay.dts'
/kernel/linux/linux-5.10/drivers/of/unittest-data/
Doverlay_base.dts10 * Do not add anything that would result in dtc creating node "/__fixups__".
11 * dtc will create nodes "/__symbols__" and "/__local_fixups__".
/kernel/linux/linux-5.10/
DOAT.xml66 <filteritem type="filepath" name="scripts/dtc/include-prefixes/arm/bcm4708.dtsi" desc="shield"/>
110 … <filteritem type="filepath" name="scripts/dtc/include-prefixes/arm/bcm5301x.dtsi" desc="shield"/>
111 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/sprd/sharkl64.dtsi" desc="shi…
135 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm/bcm53340-ubnt-unifi-switch8.dts…
157 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/arm/juno-clocks.dtsi" desc="s…
205 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/arm/juno-motherboard.dtsi" de…
226 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/arm/juno-r1.dts" desc="shield…
227 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/dt-bindings/net/mscc-phy-vsc8531.h"…
249 …<filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/arm/juno-r2.dts" desc="shield…
273 … <filteritem type="filepath" name="scripts/dtc/include-prefixes/arm64/arm/juno.dts" desc="shield"/>
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/lib/
Dfdt_ro.c2 #include "../scripts/dtc/libfdt/fdt_ro.c"
Dfdt_addresses.c2 #include "../scripts/dtc/libfdt/fdt_addresses.c"
Dfdt_sw.c2 #include "../scripts/dtc/libfdt/fdt_sw.c"
Dfdt_wip.c2 #include "../scripts/dtc/libfdt/fdt_wip.c"
Dfdt_strerror.c2 #include "../scripts/dtc/libfdt/fdt_strerror.c"

1234