summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
ModeNameSize
-rw-r--r--Kconfig9988logstatsplain
-rw-r--r--Kconfig.arm8841logstatsplain
-rw-r--r--Kconfig.powerpc1652logstatsplain
-rw-r--r--Kconfig.x869232logstatsplain
-rw-r--r--Makefile5301logstatsplain
-rw-r--r--acpi-cpufreq.c25820logstatsplain
-rw-r--r--amd_freq_sensitivity.c4150logstatsplain
-rw-r--r--arm_big_little.c17056logstatsplain
-rw-r--r--arm_big_little.h1337logstatsplain
-rw-r--r--armada-37xx-cpufreq.c13945logstatsplain
-rw-r--r--armada-8k-cpufreq.c4793logstatsplain
-rw-r--r--bmips-cpufreq.c4438logstatsplain
-rw-r--r--brcmstb-avs-cpufreq.c19852logstatsplain
-rw-r--r--cppc_cpufreq.c12734logstatsplain
-rw-r--r--cpufreq-dt-platdev.c4958logstatsplain
-rw-r--r--cpufreq-dt.c9717logstatsplain
-rw-r--r--cpufreq-dt.h566logstatsplain
-rw-r--r--cpufreq-nforce2.c9202logstatsplain
-rw-r--r--cpufreq.c71495logstatsplain
-rw-r--r--cpufreq_conservative.c9339logstatsplain
-rw-r--r--cpufreq_governor.c16980logstatsplain
-rw-r--r--cpufreq_governor.h5724logstatsplain
-rw-r--r--cpufreq_governor_attr_set.c2348logstatsplain
-rw-r--r--cpufreq_ondemand.c13503logstatsplain
-rw-r--r--cpufreq_ondemand.h801logstatsplain
-rw-r--r--cpufreq_performance.c1548logstatsplain
-rw-r--r--cpufreq_powersave.c1416logstatsplain
-rw-r--r--cpufreq_stats.c6283logstatsplain
-rw-r--r--cpufreq_userspace.c4139logstatsplain
-rw-r--r--davinci-cpufreq.c4032logstatsplain
-rw-r--r--e_powersaver.c10965logstatsplain
-rw-r--r--elanfreq.c5838logstatsplain
-rw-r--r--freq_table.c9005logstatsplain
-rw-r--r--gx-suspmod.c14403logstatsplain
-rw-r--r--highbank-cpufreq.c2873logstatsplain
-rw-r--r--ia64-acpi-cpufreq.c7782logstatsplain
-rw-r--r--imx6q-cpufreq.c15005logstatsplain
-rw-r--r--intel_pstate.c69542logstatsplain
-rw-r--r--kirkwood-cpufreq.c5173logstatsplain
-rw-r--r--longhaul.c25913logstatsplain
-rw-r--r--longhaul.h8731logstatsplain
-rw-r--r--longrun.c8412logstatsplain
-rw-r--r--loongson1-cpufreq.c5676logstatsplain
-rw-r--r--loongson2_cpufreq.c4590logstatsplain
-rw-r--r--maple-cpufreq.c6803logstatsplain
-rw-r--r--mediatek-cpufreq.c15635logstatsplain
-rw-r--r--mvebu-cpufreq.c2704logstatsplain
-rw-r--r--omap-cpufreq.c5180logstatsplain
-rw-r--r--p4-clockmod.c7302logstatsplain
-rw-r--r--pasemi-cpufreq.c6772logstatsplain
-rw-r--r--pcc-cpufreq.c16084logstatsplain
-rw-r--r--pmac32-cpufreq.c18133logstatsplain
-rw-r--r--pmac64-cpufreq.c18078logstatsplain
-rw-r--r--powernow-k6.c8244logstatsplain
-rw-r--r--powernow-k7.c16239logstatsplain
-rw-r--r--powernow-k7.h798logstatsplain
-rw-r--r--powernow-k8.c31335logstatsplain
-rw-r--r--powernow-k8.h6757logstatsplain
-rw-r--r--powernv-cpufreq.c31256logstatsplain
-rw-r--r--ppc_cbe_cpufreq.c4057logstatsplain
-rw-r--r--ppc_cbe_cpufreq.h583logstatsplain
-rw-r--r--ppc_cbe_cpufreq_pervasive.c2928logstatsplain
-rw-r--r--ppc_cbe_cpufreq_pmi.c3344logstatsplain
-rw-r--r--pxa2xx-cpufreq.c9620logstatsplain
-rw-r--r--pxa3xx-cpufreq.c5780logstatsplain
-rw-r--r--qcom-cpufreq-hw.c8137logstatsplain
-rw-r--r--qcom-cpufreq-kryo.c6018logstatsplain
-rw-r--r--qoriq-cpufreq.c7760logstatsplain
-rw-r--r--s3c2410-cpufreq.c3723logstatsplain
-rw-r--r--s3c2412-cpufreq.c6028logstatsplain
-rw-r--r--s3c2416-cpufreq.c12511logstatsplain
-rw-r--r--s3c2440-cpufreq.c7233logstatsplain
-rw-r--r--s3c24xx-cpufreq-debugfs.c3877logstatsplain
-rw-r--r--s3c24xx-cpufreq.c16052logstatsplain
-rw-r--r--s3c64xx-cpufreq.c5507logstatsplain
-rw-r--r--s5pv210-cpufreq.c17625logstatsplain
-rw-r--r--sa1100-cpufreq.c7165logstatsplain
-rw-r--r--sa1110-cpufreq.c9190logstatsplain
-rw-r--r--sc520_freq.c3017logstatsplain
-rw-r--r--scmi-cpufreq.c6675logstatsplain
-rw-r--r--scpi-cpufreq.c5793logstatsplain
-rw-r--r--sfi-cpufreq.c3596logstatsplain
-rw-r--r--sh-cpufreq.c4866logstatsplain
-rw-r--r--sparc-us2e-cpufreq.c8934logstatsplain
-rw-r--r--sparc-us3-cpufreq.c5022logstatsplain
-rw-r--r--spear-cpufreq.c6026logstatsplain
-rw-r--r--speedstep-centrino.c14183logstatsplain
-rw-r--r--speedstep-ich.c9386logstatsplain
-rw-r--r--speedstep-lib.c11923logstatsplain
-rw-r--r--speedstep-lib.h1724logstatsplain
-rw-r--r--speedstep-smi.c9805logstatsplain
-rw-r--r--sti-cpufreq.c7266logstatsplain
-rw-r--r--tango-cpufreq.c927logstatsplain
-rw-r--r--tegra124-cpufreq.c4007logstatsplain
-rw-r--r--tegra186-cpufreq.c6775logstatsplain
-rw-r--r--tegra20-cpufreq.c6498logstatsplain
-rw-r--r--ti-cpufreq.c8161logstatsplain
-rw-r--r--unicore2-cpufreq.c1922logstatsplain
-rw-r--r--vexpress-spc-cpufreq.c1979logstatsplain
* ``info.vlen``: 0 * ``type``: the type with ``const`` qualifier No additional type data follow ``btf_type``. 2.2.11 BTF_KIND_RESTRICT ~~~~~~~~~~~~~~~~~~~~~~~~ ``struct btf_type`` encoding requirement: * ``name_off``: 0 * ``info.kind_flag``: 0 * ``info.kind``: BTF_KIND_RESTRICT * ``info.vlen``: 0 * ``type``: the type with ``restrict`` qualifier No additional type data follow ``btf_type``. 2.2.12 BTF_KIND_FUNC ~~~~~~~~~~~~~~~~~~~~ ``struct btf_type`` encoding requirement: * ``name_off``: offset to a valid C identifier * ``info.kind_flag``: 0 * ``info.kind``: BTF_KIND_FUNC * ``info.vlen``: 0 * ``type``: a BTF_KIND_FUNC_PROTO type No additional type data follow ``btf_type``. A BTF_KIND_FUNC defines not a type, but a subprogram (function) whose signature is defined by ``type``. The subprogram is thus an instance of that type. The BTF_KIND_FUNC may in turn be referenced by a func_info in the :ref:`BTF_Ext_Section` (ELF) or in the arguments to :ref:`BPF_Prog_Load` (ABI). 2.2.13 BTF_KIND_FUNC_PROTO ~~~~~~~~~~~~~~~~~~~~~~~~~~ ``struct btf_type`` encoding requirement: * ``name_off``: 0 * ``info.kind_flag``: 0 * ``info.kind``: BTF_KIND_FUNC_PROTO * ``info.vlen``: # of parameters * ``type``: the return type ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_param``.:: struct btf_param { __u32 name_off; __u32 type; }; If a BTF_KIND_FUNC_PROTO type is referred by a BTF_KIND_FUNC type, then ``btf_param.name_off`` must point to a valid C identifier except for the possible last argument representing the variable argument. The btf_param.type refers to parameter type. If the function has variable arguments, the last parameter is encoded with ``name_off = 0`` and ``type = 0``. 2.2.14 BTF_KIND_VAR ~~~~~~~~~~~~~~~~~~~ ``struct btf_type`` encoding requirement: * ``name_off``: offset to a valid C identifier * ``info.kind_flag``: 0 * ``info.kind``: BTF_KIND_VAR * ``info.vlen``: 0 * ``type``: the type of the variable ``btf_type`` is followed by a single ``struct btf_variable`` with the following data:: struct btf_var { __u32 linkage; }; ``struct btf_var`` encoding: * ``linkage``: currently only static variable 0, or globally allocated variable in ELF sections 1 Not all type of global variables are supported by LLVM at this point. The following is currently available: * static variables with or without section attributes * global variables with section attributes The latter is for future extraction of map key/value type id's from a map definition. 2.2.15 BTF_KIND_DATASEC ~~~~~~~~~~~~~~~~~~~~~~~ ``struct btf_type`` encoding requirement: * ``name_off``: offset to a valid name associated with a variable or one of .data/.bss/.rodata * ``info.kind_flag``: 0 * ``info.kind``: BTF_KIND_DATASEC * ``info.vlen``: # of variables * ``size``: total section size in bytes (0 at compilation time, patched to actual size by BPF loaders such as libbpf) ``btf_type`` is followed by ``info.vlen`` number of ``struct btf_var_secinfo``.:: struct btf_var_secinfo { __u32 type; __u32 offset; __u32 size; }; ``struct btf_var_secinfo`` encoding: * ``type``: the type of the BTF_KIND_VAR variable * ``offset``: the in-section offset of the variable * ``size``: the size of the variable in bytes 3. BTF Kernel API ***************** The following bpf syscall command involves BTF: * BPF_BTF_LOAD: load a blob of BTF data into kernel * BPF_MAP_CREATE: map creation with btf key and value type info. * BPF_PROG_LOAD: prog load with btf function and line info. * BPF_BTF_GET_FD_BY_ID: get a btf fd * BPF_OBJ_GET_INFO_BY_FD: btf, func_info, line_info and other btf related info are returned. The workflow typically looks like: :: Application: BPF_BTF_LOAD | v BPF_MAP_CREATE and BPF_PROG_LOAD | V ...... Introspection tool: ...... BPF_{PROG,MAP}_GET_NEXT_ID (get prog/map id's) | V BPF_{PROG,MAP}_GET_FD_BY_ID (get a prog/map fd) | V BPF_OBJ_GET_INFO_BY_FD (get bpf_prog_info/bpf_map_info with btf_id)