Home
last modified time | relevance | path

Searched +full:function +full:- +full:off (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/
Dmsm8916-pins.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
8 blsp1_uart1_default: blsp1-uart1-default {
11 function = "blsp_uart1";
13 drive-strength = <16>;
14 bias-disable;
17 blsp1_uart1_sleep: blsp1-uart1-sleep {
19 function = "gpio";
21 drive-strength = <2>;
22 bias-pull-down;
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dgpio-cfg-helpers.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Samsung Platform - GPIO pin configuration helper definitions
24 unsigned int off, unsigned int config) in samsung_gpio_do_setcfg() argument
26 return (chip->config->set_config)(chip, off, config); in samsung_gpio_do_setcfg()
30 unsigned int off) in samsung_gpio_do_getcfg() argument
32 return (chip->config->get_config)(chip, off); in samsung_gpio_do_getcfg()
36 unsigned int off, samsung_gpio_pull_t pull) in samsung_gpio_do_setpull() argument
38 return (chip->config->set_pull)(chip, off, pull); in samsung_gpio_do_setpull()
42 unsigned int off) in samsung_gpio_do_getpull() argument
44 return chip->config->get_pull(chip, off); in samsung_gpio_do_getpull()
[all …]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/
Dposix_fs_func_test.c2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved.
61 printf("+-------------------------------------------+\n"); in PosixFsFuncTestSuiteTearDown()
68 * @tc.desc [C- SOFTWARE -0200]
70 LITE_TEST_CASE(PosixFsFuncTestSuite, testFsFopenFclose001, Function | MediumTest | Level1)
85 * @tc.desc [C- SOFTWARE -0200]
87 LITE_TEST_CASE(PosixFsFuncTestSuite, testFsFopenFclose002, Function | MediumTest | Level1)
102 * @tc.desc [C- SOFTWARE -0200]
104 LITE_TEST_CASE(PosixFsFuncTestSuite, testFsFopenFclose003, Function | MediumTest | Level1)
119 * @tc.desc [C- SOFTWARE -0200]
[all …]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
Dposix_fs_lseek_test.c2 * Copyright (c) 2023-2023 Huawei Device Co., Ltd. All rights reserved.
39 * @tc.desc [C- SOFTWARE -0200]
41 LITE_TEST_CASE(PosixFsFuncTestSuite, TestFsLseekOK001, Function | MediumTest | Level1)
43 off_t off; variable
50 off = lseek(fd, 0, SEEK_SET); /* 0, offset distance */
51 ICUNIT_ASSERT_NOT_EQUAL(off, POSIX_FS_IS_ERROR, off);
65 * @tc.desc [C- SOFTWARE -0200]
67 LITE_TEST_CASE(PosixFsFuncTestSuite, TestFsLseekOK002, Function | MediumTest | Level1)
69 off_t off; variable
76 off = lseek(fd, 0, SEEK_CUR); /* 0, offset distance */
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8mm-venice-gw7904.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/linux-event-codes.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/phy/phy-imx8-pcie.h>
17 compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm";
20 stdout-path = &uart2;
28 gpio-keys {
29 compatible = "gpio-keys";
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#definitions/uint32-array
32 function:
34 LED function. Use one of the LED_FUNCTION_* prefixed definitions
35 from the header include/dt-bindings/leds/common.h. If there is no
[all …]
/kernel/linux/linux-6.6/kernel/
Dreboot.c1 // SPDX-License-Identifier: GPL-2.0-only
23 * this indicates whether you can reboot with ctrl-alt-del: the default is yes
67 * emergency_restart - reboot the system
91 * register_reboot_notifier - Register function to be called at reboot time
92 * @nb: Info about notifier function to be called
94 * Registers a function with the list of functions
107 * unregister_reboot_notifier - Unregister previously registered reboot notifier
111 * notifier function.
113 * Returns zero on success, or %-ENOENT on failure.
134 return -ENOMEM; in devm_register_reboot_notifier()
[all …]
Dkallsyms.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * kallsyms.c: in-kernel printing of symbolic oopses and stack traces.
5 * Rewritten and vastly simplified by Rusty Russell for in-kernel
42 static unsigned int kallsyms_expand_symbol(unsigned int off, in kallsyms_expand_symbol() argument
50 data = &kallsyms_names[off]; in kallsyms_expand_symbol()
53 off++; in kallsyms_expand_symbol()
59 off++; in kallsyms_expand_symbol()
66 off += len; in kallsyms_expand_symbol()
75 len--; in kallsyms_expand_symbol()
83 maxlen--; in kallsyms_expand_symbol()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/
Dcommon.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jacek Anaszewski <jacek.anaszewski@gmail.com>
11 - Pavel Machek <pavel@ucw.cz>
25 led-sources:
30 $ref: /schemas/types.yaml#/definitions/uint32-array
32 function:
34 LED function. Use one of the LED_FUNCTION_* prefixed definitions
35 from the header include/dt-bindings/leds/common.h. If there is no
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-palmas.txt7 - compatible: It must be one of following:
8 - "ti,palmas-pinctrl" for Palma series of the pincontrol.
9 - "ti,tps65913-pinctrl" for Palma series device TPS65913.
10 - "ti,tps80036-pinctrl" for Palma series device TPS80036.
12 Please refer to pinctrl-bindings.txt in this directory for details of the
18 list of pins. This configuration can include the mux function to select on
19 those pin(s), and various pin configuration parameters, such as pull-up,
26 other words, a subnode that lists a mux function but no pin configuration
29 information about e.g. the mux function.
32 - ti,palmas-enable-dvfs1: Enable DVFS1. Configure pins for DVFS1 mode.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-palmas.txt7 - compatible: It must be one of following:
8 - "ti,palmas-pinctrl" for Palma series of the pincontrol.
9 - "ti,tps65913-pinctrl" for Palma series device TPS65913.
10 - "ti,tps80036-pinctrl" for Palma series device TPS80036.
12 Please refer to pinctrl-bindings.txt in this directory for details of the
18 list of pins. This configuration can include the mux function to select on
19 those pin(s), and various pin configuration parameters, such as pull-up,
26 other words, a subnode that lists a mux function but no pin configuration
29 information about e.g. the mux function.
32 - ti,palmas-enable-dvfs1: Enable DVFS1. Configure pins for DVFS1 mode.
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/microchip/
Dsparx5_pcb134_board.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
10 gpio-restart {
11 compatible = "gpio-restart";
17 compatible = "gpio-leds";
53 default-state = "off";
58 default-state = "off";
63 default-state = "off";
68 default-state = "off";
73 default-state = "off";
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
5 #include <linux/posix-clock.h>
39 CANT_DO_PINS = -1,
52 end = -2,
54 off, enumerator
62 "off", "in_A", "in_B", "out_A", "out_B"
66 led_end = -2,
83 {off, off, off, high, high, high, high},
84 {off, in_A, off, high, high, high, low},
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dlpc4357-myd-lpc4357.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * MYIR Tech MYD-LPC4357 Development Board with 800x480 7" TFT panel
5 * Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com>
8 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
17 compatible = "myir,myd-lpc4357", "nxp,lpc4357";
20 stdout-path = "serial3:115200n8";
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
31 pinctrl-0 = <&led_pins>;
[all …]
Darmada-xp-netgear-rn2120.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "armada-xp-mv78230.dtsi"
16 …compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arm…
19 stdout-path = "serial0:115200n8";
33 internal-regs {
41 clock-frequency = <400000>;
45 * MGT4012XB-O20, 8000RPM) near eSATA port */
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/lpc/
Dlpc4357-myd-lpc4357.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * MYIR Tech MYD-LPC4357 Development Board with 800x480 7" TFT panel
5 * Copyright (C) 2016-2018 Vladimir Zapolskiy <vz@mleia.com>
8 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
17 compatible = "myir,myd-lpc4357", "nxp,lpc4357";
20 stdout-path = "serial3:115200n8";
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
31 pinctrl-0 = <&led_pins>;
[all …]
/kernel/linux/linux-6.6/arch/parisc/net/
Dbpf_jit_comp64.c1 // SPDX-License-Identifier: GPL-2.0
3 * BPF JIT compiler for PA-RISC (64-bit)
10 * - check if bpf_jit_needs_zext() is needed (currently enabled)
11 * - implement arch_prepare_bpf_trampoline(), poke(), ...
39 * HPPA64 sp => +----------+ <= HPPA64 fp
42 * | ... | HPPA64 callee-saved registers
45 * +----------+ <= (BPF FP)
49 * | ... | Function call stack
51 * +----------+
58 #define EXIT_PTR_LOAD(reg) hppa64_ldd_im16(-FRAME_SIZE, HPPA_REG_SP, reg)
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: Kprobe dynamic event with function tracer
4 # requires: kprobe_events stack_trace_filter function:tracer
11 # kprobe on / ftrace off
16 ! grep "$FUNCTION_FORK <-" trace
19 echo function > current_tracer
23 grep "$FUNCTION_FORK <-" trace
25 # kprobe off / ftrace on
30 grep "$FUNCTION_FORK <-" trace
34 echo function > current_tracer
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_ftrace.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: Kprobe dynamic event with function tracer
4 # requires: kprobe_events stack_trace_filter function:tracer
11 # kprobe on / ftrace off
16 ! grep "$FUNCTION_FORK <-" trace
19 echo function > current_tracer
23 grep "$FUNCTION_FORK <-" trace
25 # kprobe off / ftrace on
30 grep "$FUNCTION_FORK <-" trace
34 echo function > current_tracer
[all …]
/kernel/linux/linux-6.6/arch/mips/net/
Dbpf_jit_comp64.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Just-In-Time compiler for eBPF bytecode on MIPS.
4 * Implementation of JIT functions for 64-bit CPUs.
18 #include <asm/cpu-features.h>
19 #include <asm/isa-rev.h>
24 /* MIPS t0-t3 are not available in the n64 ABI */
30 /* Stack is 16-byte aligned in n64 ABI */
33 /* Extra 64-bit eBPF registers used by JIT */
40 /* Callee-saved CPU registers that the JIT must preserve */
54 /* Caller-saved CPU registers available for JIT use */
[all …]
/kernel/linux/linux-5.10/include/drm/
Ddrm_panel.h17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
41 * struct drm_panel_funcs - perform operations on a given panel
43 * The .prepare() function is typically called before the display controller
50 * to call the .enable() function. This will typically enable the backlight to
52 * time or frames before the image is displayed. This function is responsible
57 * necessary to turn off the panel to avoid visual glitches. This is done in
58 * the .disable() function. Analogously to .enable() this typically involves
59 * turning off the backlight and waiting for some time to make sure no image
64 * the panel. This is the job of the .unprepare() function.
76 * This function is optional.
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * OMAP4430 MPUSS mainly consists of dual Cortex-A9 with per-CPU
17 * to the Cortex-A9 processor must be asserted by the external
24 * ----------------------------------------------
26 * ON(Inactive) OFF ON(Inactive)
27 * OFF OFF CSWR
28 * OFF OFF OSWR
29 * OFF OFF OFF(Device OFF *TBD)
30 * ----------------------------------------------
33 * and first to wake-up when MPUSS low power states are excercised
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * OMAP4430 MPUSS mainly consists of dual Cortex-A9 with per-CPU
17 * to the Cortex-A9 processor must be asserted by the external
24 * ----------------------------------------------
26 * ON(Inactive) OFF ON(Inactive)
27 * OFF OFF CSWR
28 * OFF OFF OSWR
29 * OFF OFF OFF(Device OFF *TBD)
30 * ----------------------------------------------
33 * and first to wake-up when MPUSS low power states are excercised
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/
Darmada-xp-netgear-rn2120.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "armada-xp-mv78230.dtsi"
16 …compatible = "netgear,readynas-2120", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,arm…
19 stdout-path = "serial0:115200n8";
33 internal-regs {
41 clock-frequency = <400000>;
45 * MGT4012XB-O20, 8000RPM) near eSATA port */
[all …]
/kernel/linux/linux-6.6/include/drm/
Ddrm_panel.h17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
44 * struct drm_panel_funcs - perform operations on a given panel
46 * The .prepare() function is typically called before the display controller
53 * to call the .enable() function. This will typically enable the backlight to
55 * time or frames before the image is displayed. This function is responsible
60 * necessary to turn off the panel to avoid visual glitches. This is done in
61 * the .disable() function. Analogously to .enable() this typically involves
62 * turning off the backlight and waiting for some time to make sure no image
67 * the panel. This is the job of the .unprepare() function.
79 * This function is optional.
[all …]

12345678910>>...44