/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A 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 …]
|
/openbmc/linux/tools/perf/util/ |
H A 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 …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A 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 …]
|
H A D | mips-cps.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 #define CPS_ACCESSOR_A(unit, off, name) \ argument 18 static inline void *addr_##unit##_##name(void) \ 23 #define CPS_ACCESSOR_R(unit, sz, name) \ argument 24 static inline uint##sz##_t read_##unit##_##name(void) \ 30 return __raw_readl(addr_##unit##_##name()); \ 34 return __raw_readq(addr_##unit##_##name()); \ 36 val64 = __raw_readl(addr_##unit##_##name() + 4); \ 38 val64 |= __raw_readl(addr_##unit##_##name()); \ 46 #define CPS_ACCESSOR_W(unit, sz, name) \ argument [all …]
|
/openbmc/linux/fs/dlm/ |
H A 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | vidioc-enuminput.rst | 1 .. 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 …]
|
H A D | vidioc-dbg-g-register.rst | 1 .. 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 …]
|
H A D | vidioc-g-tuner.rst | 1 .. 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 …]
|
/openbmc/linux/sound/pci/ |
H A 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 …]
|
/openbmc/linux/drivers/clk/sunxi-ng/ |
H A 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A 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 …]
|
H A D | media-ioc-enum-entities.rst | 1 .. 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 …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-sbc-t3517.dts | 1 // 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 …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-cmedia.c | 1 // 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libsmi/libsmi/ |
H A D | libsmi-fix-the-test-dump-files.patch | 10 Upstream-Status: Pending 12 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 13 --- 14 test/dumps/cm/MAU-MIB | 8 ++++---- 15 test/dumps/cm/RMON2-MIB | 6 +++--- 16 test/dumps/sming/IF-MIB | 22 +++++++++++++--------- 17 test/dumps/sming/MAU-MIB | 19 +++++++++++-------- 18 test/dumps/sming/RMON2-MIB | 40 ++++++++++++++++++++++++---------------- 19 test/dumps/sming/SNMPv2-MIB | 11 +++++++---- 20 6 files changed, 62 insertions(+), 44 deletions(-) [all …]
|
/openbmc/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-ioc-adap-g-caps.rst | 1 .. 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 …]
|
H A D | cec-ioc-adap-g-conn-info.rst | 1 .. 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 …]
|
/openbmc/linux/include/linux/power/ |
H A D | charger-manager.h | 1 /* 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 …]
|
/openbmc/linux/drivers/rapidio/ |
H A D | rio_cm.c | 1 // 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, 246 is_msg_capable(dev->src_ops, dev->dst_ops) 252 spin_lock_bh(&ch->lock); in riocm_cmp() 253 ret = (ch->state == cmp); in riocm_cmp() [all …]
|