/openbmc/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | sp2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * DVB-S2 CI card (cimax2) with following copyrights: 20 struct i2c_client *client = s->client; in sp2_read_i2c() 21 struct i2c_adapter *adap = client->adapter; in sp2_read_i2c() 24 .addr = client->addr, in sp2_read_i2c() 29 .addr = client->addr, in sp2_read_i2c() 39 dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n", in sp2_read_i2c() 44 return -EIO; in sp2_read_i2c() 47 dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %02x\n", in sp2_read_i2c() 48 client->addr, reg, buf[0]); in sp2_read_i2c() [all …]
|
/openbmc/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://01.org/pm-graph 23 # git@github.com:intel/pm-graph 51 # ----------------- LIBRARIES -------------------- 73 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) 81 # ----------------- CLASSES -------------------- 85 # A global, single-instance container used to 107 cgtest = -1 125 epath = '/sys/kernel/tracing/events/power/' 126 pmdpath = '/sys/power/pm_debug_messages' [all …]
|
/openbmc/linux/drivers/net/ethernet/ |
H A D | fealnx.c | 2 Written 1998-2000 by Donald Becker. 17 http://www.scyld.com/network/pci-skeleton.html 22 - Add ethtool support 23 - Replace some MII-related magic numbers with constants 29 static int debug; /* 1-> print debug message */ 32 /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast). */ 35 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. */ 44 static int options[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; 45 static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 }; 48 /* Keep the ring sizes a power of two for compile efficiency. */ [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> 8 Copyright (c) 2005-2009 Michael Buesch <m@bues.ch> 11 Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> 17 driver Copyright(c) 2003 - 2004 Intel Corporation. 31 #include <linux/dma-mapping.h> 86 MODULE_PARM_DESC(hwpctl, "Enable hardware-side power control (default off)"); 373 if (!wl || !wl->current_dev) in b43_ratelimit() 375 if (b43_status(wl->current_dev) < B43_STAT_STARTED) in b43_ratelimit() 397 printk(KERN_INFO "b43-%s: %pV", in b43info() [all …]
|
H A D | phy_n.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (c) 2010-2011 Rafał Miłecki <zajec5@gmail.com> 96 enum nl80211_band band = b43_current_band(dev->wl); in b43_nphy_ipa() 97 return ((dev->phy.n->ipa2g_on && band == NL80211_BAND_2GHZ) || in b43_nphy_ipa() 98 (dev->phy.n->ipa5g_on && band == NL80211_BAND_5GHZ)); in b43_nphy_ipa() 101 /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RxCoreGetState */ 112 /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/ForceRFSeq */ 137 b43err(dev->wl, "RF sequence status timeout\n"); in b43_nphy_force_rf_sequence() 149 /* https://bcm-v4.sipsolutions.net/802.11/PHY/N/RFCtrlOverrideRev7 */ 154 struct b43_phy *phy = &dev->phy; in b43_nphy_rf_ctl_override_rev7() [all …]
|
/openbmc/linux/drivers/iio/addac/ |
H A D | ad74115.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/iio/buffer.h> 205 * Synchronize consecutive operations when doing a one-shot 387 [AD74115_ADC_RANGE_12V_BIPOLAR] = { -12000000, 12000000 }, 388 [AD74115_ADC_RANGE_2_5V_BIPOLAR] = { -2500000, 2500000 }, 389 [AD74115_ADC_RANGE_2_5V_NEG] = { -2500000, 0 }, 392 [AD74115_ADC_RANGE_104MV_BIPOLAR] = { -104000, 104000 }, 407 return -EINVAL; in _ad74115_find_tbl_index() 429 ad74115_format_reg_write(reg, val, st->reg_tx_buf); in ad74115_reg_write() 431 return spi_write(st->spi, st->reg_tx_buf, AD74115_FRAME_SIZE); in ad74115_reg_write() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2005 Martin Langer <martin-langer@gmx.de> 7 * Copyright (c) 2005-2008 Stefano Brivio <stefano.brivio@polimi.it> 14 * driver Copyright(c) 2003 - 2004 Intel Corporation. 27 #include <linux/dma-mapping.h> 157 if (!wl || !wl->current_dev) in b43legacy_ratelimit() 159 if (b43legacy_status(wl->current_dev) < B43legacy_STAT_STARTED) in b43legacy_ratelimit() 179 printk(KERN_INFO "b43legacy-%s: %pV", in b43legacyinfo() 180 (wl && wl->hw) ? wiphy_name(wl->hw->wiphy) : "wlan", &vaf); in b43legacyinfo() 198 printk(KERN_ERR "b43legacy-%s ERROR: %pV", in b43legacyerr() [all …]
|
/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 52 * [15:0] Two bit for each channel (channel 0 ~ 7). Each two bits are the buffer 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 99 /* Org Buffer Base for Luma (default 0) */ 101 /* Org Buffer Base for Chroma (default 4) */ [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 104 * This register can be used to configure the core after power-on or a change in 105 * mode of operation. This register mainly contains AHB system-related 126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl) 128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in 131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non- 133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non- 172 * This value is in terms of 32-bit words. 211 * - ... [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * DesignWare High-Definition Multimedia Interface (HDMI) driver 5 * Copyright (C) 2013-2015 Mentor Graphics Inc. 6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. 20 #include <linux/dma-mapping.h> 23 #include <media/cec-notifier.h> 25 #include <uapi/linux/media-bus-format.h> 38 #include "dw-hdmi-audio.h" 39 #include "dw-hdmi-cec.h" 40 #include "dw-hdmi.h" [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 on-line as fast as possible after a lock-up. There's both a watchdog 21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source. 51 bool "Update boot-enabled watchdog until userspace takes over" 77 bool "Enable watchdog hrtimer-based pretimeouts" 106 message is added to kernel log buffer. 130 the kernel log buffer and don't do any system changes. 228 tristate "Watchdog device controlled through GPIO-line" 233 controlled through GPIO-line. 358 module will be called mlx-wdt. [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | hardware.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on the document "PA-RISC 1.1 I/O Firmware Architecture 40 {HPHW_NPROC,0x101,0x4,0x01,"SilverFox Low (822, 922)"}, 43 {HPHW_NPROC,0x104,0x4,0x03,"SilverBullet Low (842, 948)"}, 60 {HPHW_NPROC,0x280,0x4,0x81,"Nova Low (817, 827, 957, 957LX)"}, 73 {HPHW_NPROC,0x312,0x4,0x81,"Strider-50 (715S/50)"}, 74 {HPHW_NPROC,0x313,0x4,0x81,"Strider-33 (715S/33)"}, 75 {HPHW_NPROC,0x314,0x4,0x81,"Trailways-50 (715T/50)"}, 76 {HPHW_NPROC,0x315,0x4,0x81,"Trailways-33 (715T/33)"}, 87 {HPHW_NPROC,0x482,0x4,0x81,"WB-80 (E35)"}, [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | parport_pc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Low-level parallel-port routines for 8255-based PC-style hardware. 12 * Cleaned up include files - Russell King <linux@arm.uk.linux.org> 13 * DMA support - Bert De Jonghe <bert@sophis.be> 17 * Updated probing logic - Adam Belay <ambx1@neo.rr.com> 38 * only in register addresses (eg because your registers are on 32-bit 43 * but rather will start at port->base_hi. 55 #include <linux/dma-mapping.h> 91 static struct superio_struct { /* For Super-IO chips autodetection */ 109 const struct parport_pc_private *priv = pb->physport->private_data; in frob_econtrol() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm.c | 108 #include "modules/power/power_helpers.h" 167 switch (link->dpcd_caps.dongle_type) { in get_subconnector_type() 186 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() 187 struct drm_connector *connector = &aconnector->base; in update_subconnector_property() 190 if (connector->connector_type != DRM_MODE_CONNECTOR_DisplayPort) in update_subconnector_property() 193 if (aconnector->dc_sink) in update_subconnector_property() 196 drm_object_property_set_value(&connector->base, in update_subconnector_property() 197 connector->dev->mode_config.dp_subconnector_property, in update_subconnector_property() 240 * struct amdgpu_device *adev - [in] desired amdgpu device 241 * int disp_idx - [in] which CRTC to get the counter from [all …]
|