Home
last modified time | relevance | path

Searched +full:cm +full:- +full:name (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dcharger-manager.yaml1 # 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 …]
/linux-6.12.1/drivers/power/supply/
Dcharger-manager.c1 // 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 …]
/linux-6.12.1/tools/perf/util/
Dclockid.c1 // 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 …]
/linux-6.12.1/arch/mips/include/asm/
Dmips-cm.h1 /* 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
36 * mips_cm_l2sync_phys_base - retrieve the physical base address of the CM
37 * L2-sync region
40 * L2-cache only region. It provides a default implementation which reads the
42 * behind the CM GCR base address. It may be overridden by platforms which
49 * mips_cm_is64 - determine CM register width
[all …]
Dmips-cps.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 #define CPS_ACCESSOR_A(unit, off, name) \ argument
19 static inline void *addr_##unit##_##name(void) \
24 #define CPS_ACCESSOR_R(unit, sz, name) \ argument
25 static inline uint##sz##_t read_##unit##_##name(void) \
31 return __raw_readl(addr_##unit##_##name()); \
35 return __raw_readq(addr_##unit##_##name()); \
37 val64 = __raw_readl(addr_##unit##_##name() + 4); \
39 val64 |= __raw_readl(addr_##unit##_##name()); \
47 #define CPS_ACCESSOR_W(unit, sz, name) \ argument
[all …]
/linux-6.12.1/fs/dlm/
Dconfig.c1 // 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.
119 return sprintf(buf, "%s\n", cl->cl_cluster_name); in cluster_cluster_name_show()
129 strscpy(cl->cl_cluster_name, buf, sizeof(cl->cl_cluster_name)); in cluster_cluster_name_store()
143 return -EPERM; in cluster_set()
160 #define CLUSTER_ATTR(name, check_cb) \ argument
161 static ssize_t cluster_##name##_store(struct config_item *item, \
165 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \
168 static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \
[all …]
/linux-6.12.1/sound/pci/
Dcmipci.c1 // 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 …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dvidioc-dbg-g-chip-info.rst1 .. 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 …]
Dvidioc-g-audio.rst1 .. 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 …]
Dvidioc-enumstd.rst1 .. 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 …]
Dvidioc-enumoutput.rst1 .. 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 …]
Dvidioc-g-parm.rst1 .. 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 …]
Dvidioc-enuminput.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_ENUMINPUT - Enumerate video inputs
41 .. tabularcolumns:: |p{3.0cm}|p{3.5cm}|p{10.8cm}|
45 .. flat-table:: struct v4l2_input
46 :header-rows: 0
47 :stub-columns: 0
50 * - __u32
51 - ``index``
52 - Identifies the input, set by the application.
[all …]
Dvidioc-dbg-g-register.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_DBG_G_REGISTER - VIDIOC_DBG_S_REGISTER - Read or write hardware registers
55 ``match.type`` and ``match.addr`` or ``match.name`` fields select a chip
60 ``match.addr`` or ``match.name`` and ``reg`` fields, and call
66 selects the nth non-sub-device chip on the TV card. The number zero
72 selects the nth sub-device.
83 We recommended the v4l2-dbg utility over calling these ioctls directly.
84 It is available from the LinuxTV v4l-dvb repository; see
88 .. tabularcolumns:: |p{3.5cm}|p{3.5cm}|p{3.5cm}|p{6.6cm}|
[all …]
Dvidioc-g-tuner.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 VIDIOC_G_TUNER - VIDIOC_S_TUNER - Get or set tuner attributes
52 Since this is a write-only ioctl, it does not return the actually
62 .. tabularcolumns:: |p{1.3cm}|p{3.0cm}|p{7.0cm}|p{5.8cm}|
68 .. flat-table:: struct v4l2_tuner
69 :header-rows: 0
70 :stub-columns: 0
72 * - __u32
73 - ``index``
[all …]
/linux-6.12.1/drivers/clk/sunxi-ng/
Dccu-sun6i-rtc.c1 // 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 …]
/linux-6.12.1/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-g-topology.rst1 .. 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 …]
Dmedia-ioc-enum-entities.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 MEDIA_IOC_ENUM_ENTITIES - Enumerate entities and their properties
40 .. _media-ent-id-flag-next:
47 Entity IDs can be non-contiguous. Applications must *not* try to
53 .. tabularcolumns:: |p{1.5cm}|p{1.7cm}|p{1.6cm}|p{1.5cm}|p{10.6cm}|
55 .. flat-table:: struct media_entity_desc
56 :header-rows: 0
57 :stub-columns: 0
60 * - __u32
[all …]
/linux-6.12.1/drivers/hid/
Dhid-cmedia.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include "hid-ids.h"
26 /* Fixed report descriptor of HS-100B audio chip
91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev() argument
93 input_report_switch(cm->input_dev, SW_HEADPHONE_INSERT, value); in hp_ev()
94 input_sync(cm->input_dev); in hp_ev()
100 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_raw_event() local
108 hp_ev(hid, cm, 0); in cmhid_raw_event()
112 hp_ev(hid, cm, 1); in cmhid_raw_event()
123 struct input_dev *input_dev = hidinput->input; in cmhid_input_configured()
[all …]
/linux-6.12.1/drivers/rapidio/
Drio_cm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * rio_cm - RapidIO Channelized Messaging Driver
5 * Copyright 2013-2016 Integrated Device Technology, Inc.
12 #include <linux/dma-mapping.h>
180 struct cm_dev *cmdev; /* associated CM device object */
203 struct cm_dev *cm; member
226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev,
237 .name = DRV_NAME,
248 is_msg_capable(dev->src_ops, dev->dst_ops)
254 spin_lock_bh(&ch->lock); in riocm_cmp()
[all …]
/linux-6.12.1/arch/arm/boot/dts/ti/omap/
Domap3-sbc-t3517.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Suppport for CompuLab SBC-T3517 with CM-T3517
6 #include "omap3-cm-t3517.dts"
7 #include "omap3-sb-t35.dtsi"
10 model = "CompuLab SBC-T3517 with CM-T3517";
11 compatible = "compulab,omap3-sbc-t3517", "compulab,omap3-cm-t3517", "ti,am3517", "ti,omap3";
18 /* Only one GPMC smsc9220 on SBC-T3517, CM-T3517 uses am35x Ethernet */
19 vddvario: regulator-vddvario-sb-t35 {
20 compatible = "regulator-fixed";
21 regulator-name = "vddvario";
[all …]
/linux-6.12.1/Documentation/userspace-api/media/cec/
Dcec-ioc-adap-g-caps.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 Name chapter
13 CEC_ADAP_G_CAPS - Query device capabilities
38 .. tabularcolumns:: |p{1.2cm}|p{2.5cm}|p{13.6cm}|
42 .. flat-table:: struct cec_caps
43 :header-rows: 0
44 :stub-columns: 0
47 * - char
48 - ``driver[32]``
49 - The name of the cec adapter driver.
[all …]
Dcec-ioc-adap-g-log-addrs.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
12 Name chapter
15 CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses
55 values (CEC version 2.0, no vendor ID and an empty OSD name).
59 addresses have been claimed. If the file descriptor is in non-blocking mode then it will
62 A :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` event is sent when the
70 .. tabularcolumns:: |p{1.0cm}|p{8.0cm}|p{8.0cm}|
74 .. flat-table:: struct cec_log_addrs
75 :header-rows: 0
76 :stub-columns: 0
[all …]
Dcec-ioc-adap-g-conn-info.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Name chapter
16 CEC_ADAP_G_CONNECTOR_INFO - Query HDMI connector information
42 .. tabularcolumns:: |p{1.0cm}|p{4.4cm}|p{2.5cm}|p{9.2cm}|
46 .. flat-table:: struct cec_connector_info
47 :header-rows: 0
48 :stub-columns: 0
51 * - __u32
52 - ``type``
53 - The type of connector this adapter is associated with.
[all …]
/linux-6.12.1/include/linux/power/
Dcharger-manager.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 * monitor charging even in the context of suspend-to-RAM with
42 * @extcon_name: the name of extcon device.
43 * @name: the name of the cable connector
54 * @cm: the Charger Manager representing the battery.
58 const char *name; member
62 /* The charger-manager use Extcon framework */
72 * Set min/max current of regulator to protect over-current issue
78 struct charger_manager *cm; member
83 * @regulator_name: the name of regulator for using charger.
[all …]

12345678910>>...14