| /kernel/linux/linux-6.6/Documentation/netlink/specs/ |
| D | devlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 10 - 12 name: sb-pool-type 14 - 16 - 19 attribute-sets: 20 - 22 name-prefix: devlink-attr- 24 - [all …]
|
| /kernel/linux/linux-6.6/Documentation/livepatch/ |
| D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
| /kernel/linux/linux-5.10/Documentation/livepatch/ |
| D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| D | gm200.c | 35 struct nvkm_device *device = init->base.subdev.device; in pmu_code() 36 struct nvkm_bios *bios = device->bios; in pmu_code() 55 struct nvkm_device *device = init->base.subdev.device; in pmu_data() 56 struct nvkm_bios *bios = device->bios; in pmu_data() 67 struct nvkm_device *device = init->base.subdev.device; in pmu_args() 76 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() 83 pmu_load(struct nv50_devinit *init, u8 type, bool post, in pmu_load() argument 86 struct nvkm_subdev *subdev = &init->base.subdev; in pmu_load() 87 struct nvkm_bios *bios = subdev->device->bios; in pmu_load() 92 return -EINVAL; in pmu_load() [all …]
|
| D | base.c | 32 if (init->func->mmio) in nvkm_devinit_mmio() 33 addr = init->func->mmio(init, addr); in nvkm_devinit_mmio() 40 return init->func->pll_set(init, type, khz); in nvkm_devinit_pll_set() 46 if (init->func->meminit) in nvkm_devinit_meminit() 47 init->func->meminit(init); in nvkm_devinit_meminit() 53 if (init && init->func->disable) in nvkm_devinit_disable() 54 init->func->disable(init); in nvkm_devinit_disable() 63 if (init && init->func->post) in nvkm_devinit_post() 64 ret = init->func->post(init, init->post); in nvkm_devinit_post() 75 init->post = true; in nvkm_devinit_fini() [all …]
|
| D | nv50.c | 37 struct nvkm_subdev *subdev = &init->subdev; in nv50_devinit_pll_set() 38 struct nvkm_device *device = subdev->device; in nv50_devinit_pll_set() 39 struct nvkm_bios *bios = device->bios; in nv50_devinit_pll_set() 53 return -EINVAL; in nv50_devinit_pll_set() 83 struct nvkm_device *device = init->subdev.device; in nv50_devinit_disable() 93 struct nvkm_subdev *subdev = &base->subdev; in nv50_devinit_preinit() 94 struct nvkm_device *device = subdev->device; in nv50_devinit_preinit() 98 * missing, assume it's a secondary gpu which requires post in nv50_devinit_preinit() 100 if (!base->post) { in nv50_devinit_preinit() 102 if (!device->disp) in nv50_devinit_preinit() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| D | gm200.c | 34 struct nvkm_device *device = init->base.subdev.device; in pmu_code() 35 struct nvkm_bios *bios = device->bios; in pmu_code() 54 struct nvkm_device *device = init->base.subdev.device; in pmu_data() 55 struct nvkm_bios *bios = device->bios; in pmu_data() 66 struct nvkm_device *device = init->base.subdev.device; in pmu_args() 75 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() 82 pmu_load(struct nv50_devinit *init, u8 type, bool post, in pmu_load() argument 85 struct nvkm_subdev *subdev = &init->base.subdev; in pmu_load() 86 struct nvkm_bios *bios = subdev->device->bios; in pmu_load() 90 return -EINVAL; in pmu_load() [all …]
|
| D | base.c | 32 if (init->func->mmio) in nvkm_devinit_mmio() 33 addr = init->func->mmio(init, addr); in nvkm_devinit_mmio() 40 return init->func->pll_set(init, type, khz); in nvkm_devinit_pll_set() 46 if (init->func->meminit) in nvkm_devinit_meminit() 47 init->func->meminit(init); in nvkm_devinit_meminit() 53 if (init && init->func->disable) in nvkm_devinit_disable() 54 return init->func->disable(init); in nvkm_devinit_disable() 62 if (init && init->func->post) in nvkm_devinit_post() 63 ret = init->func->post(init, init->post); in nvkm_devinit_post() 74 init->post = true; in nvkm_devinit_fini() [all …]
|
| D | nv50.c | 37 struct nvkm_subdev *subdev = &init->subdev; in nv50_devinit_pll_set() 38 struct nvkm_device *device = subdev->device; in nv50_devinit_pll_set() 39 struct nvkm_bios *bios = device->bios; in nv50_devinit_pll_set() 53 return -EINVAL; in nv50_devinit_pll_set() 83 struct nvkm_device *device = init->subdev.device; in nv50_devinit_disable() 96 struct nvkm_subdev *subdev = &base->subdev; in nv50_devinit_preinit() 97 struct nvkm_device *device = subdev->device; in nv50_devinit_preinit() 101 * missing, assume it's a secondary gpu which requires post in nv50_devinit_preinit() 103 if (!base->post) { in nv50_devinit_preinit() 106 base->post = true; in nv50_devinit_preinit() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/livepatch/ |
| D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/livepatch/ |
| D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
| D | cx25840-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <media/v4l2-common.h> 9 #include <media/drv-intf/cx25840.h> 11 #include "cx25840-core.h" 35 if (state->aud_input != CX25840_AUDIO_SERIAL) { in cx25840_set_audclk_freq() 39 * VID_PLL Integer = 0x0f, VID_PLL Post Divider = 0x04 in cx25840_set_audclk_freq() 40 * AUX_PLL Integer = 0x06, AUX PLL Post Divider = 0x10 in cx25840_set_audclk_freq() 47 * 432 MHz pre-postdivide in cx25840_set_audclk_freq() 53 * 196.6 MHz pre-postdivide in cx25840_set_audclk_freq() 61 * SA_MCLK_DIV = 0x10 = 384/384 * AUX_PLL post dvivider in cx25840_set_audclk_freq() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/cx25840/ |
| D | cx25840-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <media/v4l2-common.h> 9 #include <media/drv-intf/cx25840.h> 11 #include "cx25840-core.h" 35 if (state->aud_input != CX25840_AUDIO_SERIAL) { in cx25840_set_audclk_freq() 39 * VID_PLL Integer = 0x0f, VID_PLL Post Divider = 0x04 in cx25840_set_audclk_freq() 40 * AUX_PLL Integer = 0x06, AUX PLL Post Divider = 0x10 in cx25840_set_audclk_freq() 47 * 432 MHz pre-postdivide in cx25840_set_audclk_freq() 53 * 196.6 MHz pre-postdivide in cx25840_set_audclk_freq() 61 * SA_MCLK_DIV = 0x10 = 384/384 * AUX_PLL post dvivider in cx25840_set_audclk_freq() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | keystone-pll.txt | 1 Status: Unstable - ABI compatibility may be broken in the future 4 a divider and a post divider. The additional PLL IPs like ARMPLL, DDRPLL 11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 14 - #clock-cells : from common clock binding; shall be set to 0. 15 - compatible : shall be "ti,keystone,main-pll-clock" or "ti,keystone,pll-clock" 16 - clocks : parent clock phandle 17 - reg - pll control0 and pll multipler registers 18 - reg-names : control, multiplier and post-divider. The multiplier and 19 post-divider registers are applicable only for main pll clock 20 - fixed-postdiv : fixed post divider value. If absent, use clkod register bits [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | keystone-pll.txt | 1 Status: Unstable - ABI compatibility may be broken in the future 4 a divider and a post divider. The additional PLL IPs like ARMPLL, DDRPLL 11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 14 - #clock-cells : from common clock binding; shall be set to 0. 15 - compatible : shall be "ti,keystone,main-pll-clock" or "ti,keystone,pll-clock" 16 - clocks : parent clock phandle 17 - reg - pll control0 and pll multiplier registers 18 - reg-names : control, multiplier and post-divider. The multiplier and 19 post-divider registers are applicable only for main pll clock 20 - fixed-postdiv : fixed post divider value. If absent, use clkod register bits [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/qcom/ |
| D | clk-alpha-pll.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/clk-provider.h> 8 #include "clk-regmap.h" 57 * struct clk_alpha_pll - phase locked loop (PLL) 78 * struct clk_alpha_pll_postdiv - phase locked loop (PLL) post-divider 81 * @width: width of post-divider 82 * @post_div_shift: shift to differentiate between odd & even post-divider 83 * @post_div_table: table with PLL odd and even post-divider settings 84 * @num_post_div: Number of PLL post-divider settings
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-adc-ad4130 | 1 What: /sys/bus/iio/devices/iio:deviceX/in_voltage-voltage_filter_mode_available 3 Contact: linux-iio@vger.kernel.org 7 * "sinc4" - Sinc 4. Excellent noise performance. Long 10 * "sinc4+sinc1" - Sinc4 + averaging by 8. Low 1st conversion 13 * "sinc3" - Sinc3. Moderate 1st conversion time. 16 * "sinc3+rej60" - Sinc3 + 60Hz rejection. At a sampling 20 * "sinc3+sinc1" - Sinc3 + averaging by 8. Low 1st conversion 24 * "sinc3+pf1" - Sinc3 + Post Filter 1. 53dB rejection @ 27 * "sinc3+pf2" - Sinc3 + Post Filter 2. 70dB rejection @ 30 * "sinc3+pf3" - Sinc3 + Post Filter 3. 99dB rejection @ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
| D | devlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 21 "$@" | grep -q $DL_HANDLE 72 cmd_jq "devlink dev param show $DL_HANDLE name $name -j" \ 117 check_value max_macs post-set 16 32 118 check_value test1 post-set false Y 122 check_value max_macs post-reload 16 16 123 check_value test1 post-reload false N 133 size=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].size') 135 [ $size -eq 32768 ] 146 count=$(devlink region show $DL_HANDLE/$name -j | jq -e -r '.[][].snapshot | length') [all …]
|
| /kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/sem/smp/ |
| D | It_smp_los_sem_030.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 50 for (i = 0; i < TRandom() % 500; i++) { // Gets a random value of 0-500 in TaskF01() 56 for (i = 0; i < TRandom() % 500; i++) { // Gets a random value of 0-500 in TaskF01() 62 for (i = 0; i < TRandom() % 500; i++) { // Gets a random value of 0-500 in TaskF01() 100 …(g_ret1 == LOS_OK) && (g_ret2 == LOS_OK) && (g_ret3 == LOS_OK)) { // pend-post-del ///post-pend-del in Testcase() 102 (g_ret3 == LOS_OK)) { // del-pend-post//del-post-pend in Testcase() 103 …(g_ret1 == LOS_OK) && (g_ret2 == LOS_OK) && (g_ret3 == LOS_ERRNO_SEM_PENDED)) { // pend-delete-post in Testcase() 104 … ((g_ret1 == LOS_ERRNO_SEM_INVALID) && (g_ret2 == LOS_OK) && (g_ret3 == LOS_OK)) { // post-del-pend in Testcase() 109 ret = OS_TCB_FROM_TID(g_szId[j])->taskStatus; in Testcase()
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/matrox/ |
| D | matroxfb_misc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 unsigned int* in, unsigned int* feed, unsigned int* post); 13 unsigned int *post) in PLL_calcclock() argument 15 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/matrox/ |
| D | matroxfb_misc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 unsigned int* in, unsigned int* feed, unsigned int* post); 13 unsigned int *post) in PLL_calcclock() argument 15 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
| D | cx18-av-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-audio.c 11 #include "cx18-driver.h" 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 18 return -EINVAL; in set_audclk_freq() 31 * the NTSC Standards", Proceedings of the I-R-E, January 1954, pp 79-80 in set_audclk_freq() 34 * NTSC Standards", Proceedings of the I-R-E, January 1954, pp 81-83 in set_audclk_freq() 56 if (state->aud_input > CX18_AV_AUDIO_SERIAL2) { in set_audclk_freq() 60 * VID_PLL Integer = 0x0f, VID_PLL Post Divider = 0x04 in set_audclk_freq() 61 * AUX_PLL Integer = 0x0d, AUX PLL Post Divider = 0x20 in set_audclk_freq() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
| D | cx18-av-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-audio.c 11 #include "cx18-driver.h" 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 18 return -EINVAL; in set_audclk_freq() 31 * the NTSC Standards", Proceedings of the I-R-E, January 1954, pp 79-80 in set_audclk_freq() 34 * NTSC Standards", Proceedings of the I-R-E, January 1954, pp 81-83 in set_audclk_freq() 56 if (state->aud_input > CX18_AV_AUDIO_SERIAL2) { in set_audclk_freq() 60 * VID_PLL Integer = 0x0f, VID_PLL Post Divider = 0x04 in set_audclk_freq() 61 * AUX_PLL Integer = 0x0d, AUX PLL Post Divider = 0x20 in set_audclk_freq() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| D | post_act.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 38 if (!MLX5_CAP_FLOWTABLE_TYPE(priv->mdev, ignore_flow_level, table_type)) { in mlx5e_tc_post_act_init() 39 if (priv->mdev->coredev_type == MLX5_COREDEV_PF) in mlx5e_tc_post_act_init() 40 mlx5_core_dbg(priv->mdev, "firmware flow level support is missing\n"); in mlx5e_tc_post_act_init() 41 err = -EOPNOTSUPP; in mlx5e_tc_post_act_init() 47 err = -ENOMEM; in mlx5e_tc_post_act_init() 50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init() 51 if (IS_ERR(post_act->ft)) { in mlx5e_tc_post_act_init() 52 err = PTR_ERR(post_act->ft); in mlx5e_tc_post_act_init() 53 mlx5_core_warn(priv->mdev, "failed to create post action table, err: %d\n", err); in mlx5e_tc_post_act_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/qcom/ |
| D | clk-alpha-pll.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/clk-provider.h> 12 #include "clk-regmap.h" 75 * struct clk_alpha_pll - phase locked loop (PLL) 97 * struct clk_alpha_pll_postdiv - phase locked loop (PLL) post-divider 100 * @width: width of post-divider 101 * @post_div_shift: shift to differentiate between odd & even post-divider 102 * @post_div_table: table with PLL odd and even post-divider settings 103 * @num_post_div: Number of PLL post-divider settings
|