| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.txt | 1 charger-manager bindings 5 - compatible : "charger-manager" 6 - <>-supply : for regulator consumer, named according to cm-regulator-name 7 - cm-chargers : name of chargers 8 - cm-fuel-gauge : name of battery fuel gauge 9 - subnode <regulator> : 10 - cm-regulator-name : name of charger regulator 11 - subnode <cable> : 12 - cm-cable-name : name of charger cable - one of USB, USB-HOST, 13 SDP, DCP, CDP, ACA, FAST-CHARGER, SLOW-CHARGER, WPT, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 18 const: charger-manager 20 cm-chargers: 21 description: name of chargers 22 $ref: /schemas/types.yaml#/definitions/string-array 24 cm-num-chargers: [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | charger-manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * during suspend-to-mem. 23 #include <linux/power/charger-manager.h> 30 const char *name; member 35 { "USB-HOST", EXTCON_USB_HOST }, 40 { "FAST-CHARGER", EXTCON_CHG_USB_FAST }, 41 { "SLOW-CHARGER", EXTCON_CHG_USB_SLOW }, 49 { "CHARGE-DOWNSTREAM", EXTCON_CHG_USB_CDP }, 78 /* About in-suspend (suspend-again) monitoring */ 92 * is_batt_present - See if the battery presents in place. [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | charger-manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * during suspend-to-mem. 23 #include <linux/power/charger-manager.h> 30 const char *name; member 35 { "USB-HOST", EXTCON_USB_HOST }, 40 { "FAST-CHARGER", EXTCON_CHG_USB_FAST }, 41 { "SLOW-CHARGER", EXTCON_CHG_USB_SLOW }, 49 { "CHARGE-DOWNSTREAM", EXTCON_CHG_USB_CDP }, 78 /* About in-suspend (suspend-again) monitoring */ 92 * is_batt_present - See if the battery presents in place. [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | clockid.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <subcmd/parse-options.h> 13 const char *name; member 18 { .name = n, .clockid = (c), } 20 #define CLOCKID_END { .name = NULL, } 70 struct record_opts *opts = (struct record_opts *)opt->value; in parse_clockid() 71 const struct clockid_map *cm; in parse_clockid() local 75 opts->use_clockid = 0; in parse_clockid() 84 if (opts->use_clockid) in parse_clockid() 85 return -1; in parse_clockid() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | clockid.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <subcmd/parse-options.h> 13 const char *name; member 18 { .name = n, .clockid = (c), } 20 #define CLOCKID_END { .name = NULL, } 70 struct record_opts *opts = (struct record_opts *)opt->value; in parse_clockid() 71 const struct clockid_map *cm; in parse_clockid() local 75 opts->use_clockid = 0; in parse_clockid() 84 if (opts->use_clockid) in parse_clockid() 85 return -1; in parse_clockid() [all …]
|
| /kernel/linux/linux-5.10/fs/dlm/ |
| D | config.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. 114 return sprintf(buf, "%s\n", cl->cl_cluster_name); in cluster_cluster_name_show() 124 strlcpy(cl->cl_cluster_name, buf, sizeof(cl->cl_cluster_name)); in cluster_cluster_name_store() 138 return -EPERM; in cluster_set() 155 #define CLUSTER_ATTR(name, check_cb) \ argument 156 static ssize_t cluster_##name##_store(struct config_item *item, \ 160 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 163 static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| D | mips-cm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 # error Please include asm/mips-cps.h rather than asm/mips-cm.h 18 /* The base address of the CM GCR block */ 21 /* The base address of the CM L2-only sync region */ 25 * __mips_cm_phys_base - retrieve the physical base address of the CM 32 * name mips_cm_phys_base (without underscores). 37 * mips_cm_is64 - determine CM register width 39 * The CM register width is determined by the version of the CM, with CM3 40 * introducing 64 bit GCRs and all prior CM versions having 32 bit GCRs. 42 * or vice-versa. This variable indicates the width of the memory accesses [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ |
| D | cmipci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for C-Media CMI8338 and 8738 PCI soundcards. 31 MODULE_DESCRIPTION("C-Media CMI8x38 PCI"); 33 MODULE_SUPPORTED_DEVICE("{{C-Media,CMI8738}," 34 "{C-Media,CMI8738B}," 35 "{C-Media,CMI8338A}," 36 "{C-Media,CMI8338B}}"); 42 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 45 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1}; 46 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/ |
| D | mips-cm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 # error Please include asm/mips-cps.h rather than asm/mips-cm.h 18 /* The base address of the CM GCR block */ 21 /* The base address of the CM L2-only sync region */ 25 * __mips_cm_phys_base - retrieve the physical base address of the CM 32 * name mips_cm_phys_base (without underscores). 37 * mips_cm_is64 - determine CM register width 39 * The CM register width is determined by the version of the CM, with CM3 40 * introducing 64 bit GCRs and all prior CM versions having 32 bit GCRs. 42 * or vice-versa. This variable indicates the width of the memory accesses [all …]
|
| /kernel/linux/linux-6.6/fs/dlm/ |
| D | config.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. 111 return sprintf(buf, "%s\n", cl->cl_cluster_name); in cluster_cluster_name_show() 121 strscpy(cl->cl_cluster_name, buf, sizeof(cl->cl_cluster_name)); in cluster_cluster_name_store() 135 return -EPERM; in cluster_set() 152 #define CLUSTER_ATTR(name, check_cb) \ argument 153 static ssize_t cluster_##name##_store(struct config_item *item, \ 157 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 160 static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ [all …]
|
| /kernel/linux/linux-6.6/sound/pci/ |
| D | cmipci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for C-Media CMI8338 and 8738 PCI soundcards. 31 MODULE_DESCRIPTION("C-Media CMI8x38 PCI"); 38 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 41 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1}; 42 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; 43 static bool soft_ac3[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1}; 49 MODULE_PARM_DESC(index, "Index value for C-Media PCI soundcard."); 51 MODULE_PARM_DESC(id, "ID string for C-Media PCI soundcard."); 53 MODULE_PARM_DESC(enable, "Enable C-Media PCI soundcard."); [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | vidioc-dbg-g-chip-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card 42 contact the linux-media mailing list 50 ``match.addr`` or ``match.name`` fields of a struct 53 the driver stores information about the selected chip in the ``name`` 61 the PCI or USB bus. Non-zero numbers identify specific parts of the 65 selects the nth sub-device. This allows you to enumerate over all 66 sub-devices. 68 On success, the ``name`` field will contain a chip name and the [all …]
|
| D | vidioc-g-audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 49 cannot be satisfied. However, this is a write-only ioctl, it does not 52 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}| 56 .. flat-table:: struct v4l2_audio 57 :header-rows: 0 58 :stub-columns: 0 61 * - __u32 62 - ``index`` [all …]
|
| D | vidioc-enumstd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_ENUMSTD - VIDIOC_SUBDEV_ENUMSTD - Enumerate supported video standards 50 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}| 52 .. flat-table:: struct v4l2_standard 53 :header-rows: 0 54 :stub-columns: 0 57 * - __u32 58 - ``index`` 59 - Number of the video standard, set by the application. [all …]
|
| D | vidioc-enumoutput.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_ENUMOUTPUT - Enumerate video outputs 42 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.5cm}| 46 .. flat-table:: struct v4l2_output 47 :header-rows: 0 48 :stub-columns: 0 51 * - __u32 52 - ``index`` 53 - Identifies the output, set by the application. [all …]
|
| D | vidioc-g-parm.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters 59 .. tabularcolumns:: |p{3.7cm}|p{3.5cm}|p{10.1cm}| 63 .. flat-table:: struct v4l2_streamparm 64 :header-rows: 0 65 :stub-columns: 0 68 * - __u32 69 - ``type`` 70 - The buffer (stream) type, same as struct [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-dbg-g-chip-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_DBG_G_CHIP_INFO - Identify the chips on a TV card 42 contact the linux-media mailing list 50 ``match.addr`` or ``match.name`` fields of a struct 53 the driver stores information about the selected chip in the ``name`` 61 the PCI or USB bus. Non-zero numbers identify specific parts of the 65 selects the nth sub-device. This allows you to enumerate over all 66 sub-devices. 68 On success, the ``name`` field will contain a chip name and the [all …]
|
| D | vidioc-g-audio.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_G_AUDIO - VIDIOC_S_AUDIO - Query or select the current audio input and its attributes 49 cannot be satisfied. However, this is a write-only ioctl, it does not 52 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 56 .. flat-table:: struct v4l2_audio 57 :header-rows: 0 58 :stub-columns: 0 61 * - __u32 62 - ``index`` [all …]
|
| D | vidioc-enumstd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_ENUMSTD - VIDIOC_SUBDEV_ENUMSTD - Enumerate supported video standards 50 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 52 .. flat-table:: struct v4l2_standard 53 :header-rows: 0 54 :stub-columns: 0 57 * - __u32 58 - ``index`` 59 - Number of the video standard, set by the application. [all …]
|
| D | vidioc-g-parm.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters 59 .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{7.0cm}| 63 .. flat-table:: struct v4l2_streamparm 64 :header-rows: 0 65 :stub-columns: 0 68 * - __u32 69 - ``type`` 70 - The buffer (stream) type, same as struct [all …]
|
| D | vidioc-enumoutput.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 VIDIOC_ENUMOUTPUT - Enumerate video outputs 42 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}| 46 .. flat-table:: struct v4l2_output 47 :header-rows: 0 48 :stub-columns: 0 51 * - __u32 52 - ``index`` 53 - Identifies the output, set by the application. [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
| D | ccu-sun6i-rtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 14 #include <linux/clk/sunxi-ng.h> 22 #include "ccu-sun6i-rtc.h" 59 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local 61 return ccu_gate_helper_enable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_enable() 66 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local 68 return ccu_gate_helper_disable(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_disable() 73 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local 75 return ccu_gate_helper_is_enabled(cm, DCXO_CTRL_CLK16M_RC_EN); in ccu_iosc_is_enabled() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/ |
| D | media-ioc-g-topology.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties 49 .. tabularcolumns:: |p{1.6cm}|p{3.4cm}|p{12.5cm}| 53 .. flat-table:: struct media_v2_topology 54 :header-rows: 0 55 :stub-columns: 0 58 * - __u64 59 - ``topology_version`` 60 - Version of the media graph topology. When the graph is created, [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/mediactl/ |
| D | media-ioc-g-topology.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 10 Name chapter 13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties 49 .. tabularcolumns:: |p{1.6cm}|p{3.4cm}|p{12.3cm}| 53 .. flat-table:: struct media_v2_topology 54 :header-rows: 0 55 :stub-columns: 0 58 * - __u64 59 - ``topology_version`` 60 - Version of the media graph topology. When the graph is created, [all …]
|