Home
last modified time | relevance | path

Searched refs:dev (Results 1 – 25 of 50) sorted by relevance

12

/scripts/gdb/linux/
Ddevice.py23 def dev_name(dev): argument
24 dev_init_name = dev['init_name']
27 return dev['kobj']['name'].string()
84 def device_for_each_child(dev): argument
85 for kn in klist_for_each(dev['p']['klist_children']):
90 def _show_device(dev, level=0, recursive=False): argument
91 gdb.write('{}dev {}:\t{}\n'.format('\t' * level, dev_name(dev), dev))
93 for child in device_for_each_child(dev):
107 for dev in bus_for_each_device(bus):
108 _show_device(dev, level=1)
[all …]
Dgenpd.py24 def rtpm_status_str(dev): argument
25 if dev['power']['runtime_error']:
27 if dev['power']['disable_depth']:
35 return _RPM_STATUS_LOOKUP[dev['power']['runtime_status']]
68 dev = pm_data['dev']
69 kobj_path = kobject_get_path(dev['kobj'])
70 gdb.write(' %-50s %s\n' % (kobj_path, rtpm_status_str(dev)))
Dtimerlist.py114 dev = td['evtdev']
122 if dev == 0:
126 text += "{}\n".format(dev['name'])
127 text += " max_delta_ns: {}\n".format(dev['max_delta_ns'])
128 text += " min_delta_ns: {}\n".format(dev['min_delta_ns'])
129 text += " mult: {}\n".format(dev['mult'])
130 text += " shift: {}\n".format(dev['shift'])
131 text += " mode: {}\n".format(dev['state_use_accessors'])
132 text += " next_event: {} nsecs\n".format(dev['next_event'])
134 text += " set_next_event: {}\n".format(dev['set_next_event'])
[all …]
/scripts/coccinelle/misc/
Dirqf_oneshot.cocci19 expression dev, irq, thread_fn;
31 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
41 expression dev, irq, thread_fn, flags, e;
53 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, flags, ...);
57 expression dev, irq, thread_fn, flags;
71 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn,
83 expression dev, irq;
89 *devm_request_threaded_irq@p(dev, irq, NULL, ...)
94 expression dev, irq;
100 devm_request_threaded_irq@p(dev, irq, NULL, ...)
/scripts/
DMakefile.compiler13 $(if $(shell command -v -- $(c)gcc 2>/dev/null), $(c))))
27 if ($(1)) >/dev/null 2>&1; \
36 $(CC) $(KBUILD_CFLAGS) $(1) -c -x assembler /dev/null -o "$$TMP",$(1),$(2))
47 $(1) -Werror $(2) $(3) -c -x c /dev/null -o "$$TMP",$(3),$(4))
58 $(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n)
63 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wn…
Das-version.sh48 set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o /dev/null 2>/dev/null)
Dcheck_extable.sh10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null
134 objdump -hj .debug_info ${obj} 2> /dev/null > /dev/null ||
Dsetlocalversion65 if head=$(git rev-parse --verify HEAD 2>/dev/null); then
106 if git config --get svn-remote.svn.url >/dev/null; then
117 git --no-optional-locks status -uno --porcelain 2>/dev/null ||
128 if hgid=$(hg id 2>/dev/null); then
152 if rev=$(LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'); then
Dcc-can-link.sh4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
Ddecode_stacktrace.sh13 if type llvm-cxxfilt >/dev/null 2>&1 ; then
15 elif type c++filt >/dev/null 2>&1 ; then
60 declare -A cache 2>/dev/null
82 …release=$(gdb -ex 'print init_uts_ns.name.release' -ex 'quit' -quiet -batch "$vmlinux" 2>/dev/null…
138 …local base_addr=$(nm "$objfile" 2>/dev/null | awk '$3 == "'$name'" && ($2 == "t" || $2 == "T") {pr…
164 local code=$(${ADDR2LINE} -i -e "$objfile" "$address" 2>/dev/null)
Dextract-vmlinux18 readelf -h $1 > /dev/null 2>&1 || return 1
33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
Dextract-ikconfig22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null
36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
DKconfig.include16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)")
28 …; trap "rm -rf .tmp_$$$$" EXIT; $(CC) -Werror $(CLANG_FLAGS) $(1) -c -x c /dev/null -o .tmp_$$$$/t…
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -)
69 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
DMakefile6 CRYPTO_LIBS = $(shell pkg-config --libs libcrypto 2> /dev/null || echo -lcrypto)
7 CRYPTO_CFLAGS = $(shell pkg-config --cflags libcrypto 2> /dev/null)
Dgcc-x86_32-has-stack-protector.sh4 …X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
Dgcc-x86_64-has-stack-protector.sh4 … -S -x c -c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
Dxen-hypercalls.sh8 eval $CPP $LINUXINCLUDE -dD -imacros "$i" -x c /dev/null
Dgen_ksymdeps.sh13 ksyms=$($NM $1 2>/dev/null | sed -n 's/.*__ksym_marker_\(.*\)/\1/p' | tr A-Z a-z)
Dcoccicheck22 $SPATCH --help | grep "\-\-jobs" > /dev/null && USE_JOBS="yes"
51 echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null
177 kill ${SPATCH_PID[$i]} 2>/dev/null
/scripts/coccinelle/free/
Dput_device.cocci22 ... when != put_device(&id->dev)
25 when != if (id) { ... put_device(&id->dev) ... }
27 when != e1 = (T)(&id->dev)
28 when != e1 = get_device(&id->dev)
33 | (T2)dev_get_drvdata(&id->dev)
35 | &id->dev
/scripts/coccinelle/api/
Ddevice_attr_show.cocci20 identifier show, dev, attr, buf;
24 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
32 identifier show, dev, attr, buf;
35 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
/scripts/genksyms/
DMakefile17 cmd_bison_no_warn = $(YACC) --version >/dev/null; \
18 $(cmd_bison) 2>/dev/null
/scripts/dtc/
Ddtx_diff149 git_root=`git rev-parse --show-toplevel 2>/dev/null`
192 if diff --color /dev/null /dev/null 2>/dev/null ; then
214 git_root=`git rev-parse --show-toplevel 2>/dev/null`
286 if grep -q "^CONFIG_DTC=y" ${__KBUILD_OUTPUT}/.config 2>/dev/null; then
294 if ( ! which ${__DTC} >/dev/null ) ; then
/scripts/gcc-plugins/
Dgen-random-seed.sh5 SEED=`od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n'`
/scripts/package/
Dmkdebian93 revision=$(cat .version 2>/dev/null||echo 1)
117 buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || hostname)}
127 elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != …

12