/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | ti,lp8727.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 25 debounce-ms: 34 charger-type: 36 - ac 37 - usb 39 eoc-level: [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | max8998_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 5 // Copyright (C) 2009-2010 Samsung Electronics 15 #include <linux/mfd/max8998-private.h> 35 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_battery_get_property() 45 val->intval = 0; in max8998_battery_get_property() 47 val->intval = 1; in max8998_battery_get_property() 55 val->intval = 1; in max8998_battery_get_property() 57 val->intval = 0; in max8998_battery_get_property() 66 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in max8998_battery_get_property() [all …]
|
H A D | ab8500_chargalg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 34 #include "ab8500-bm.h" 35 #include "ab8500-chargalg.h" 40 /* End-of-charge criteria counter */ 169 * struct ab8500_charge_curr_maximization - Charger maximization parameters 178 * @level: tells in how many steps the charging current has been 187 u8 level; member 197 * struct ab8500_chargalg - ab8500 Charging algorithm device information 200 * @eoc_cnt: counter used to determine end-of_charge [all …]
|
H A D | lp8727_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 105 mutex_lock(&pchg->xfer_lock); in lp8727_read_bytes() 106 ret = i2c_smbus_read_i2c_block_data(pchg->client, reg, len, data); in lp8727_read_bytes() 107 mutex_unlock(&pchg->xfer_lock); in lp8727_read_bytes() 109 return (ret != len) ? -EIO : 0; in lp8727_read_bytes() 121 mutex_lock(&pchg->xfer_lock); in lp8727_write_byte() 122 ret = i2c_smbus_write_byte_data(pchg->client, reg, data); in lp8727_write_byte() 123 mutex_unlock(&pchg->xfer_lock); in lp8727_write_byte() 181 struct lp8727_platform_data *pdata = pchg->pdata; in lp8727_id_detection() 188 pchg->chg_param = pdata ? pdata->ac : NULL; in lp8727_id_detection() [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | max8998.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8998.h - Voltage regulator driver for the Maxim 8998 5 * Copyright (C) 2009-2010 Samsung Electrnoics 46 * max8998_regulator_data - regulator data 49 * @reg_node: DT node of regulator (unused on non-DT platforms) 58 * struct max8998_board - packages regulator init data 76 * @eoc: End of Charge Level in percent: 10% ~ 45% by 5% step 79 * @restart: Restart Level in mV: 100, 150, 200, and -1 for disable. 82 * @timeout: Full Timeout in hours: 5, 6, 7, and -1 for disable. 101 int eoc; member
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | dynamic-debug-howto.rst | 9 debug-print code to obtain additional kernel information. 22 - source filename 23 - function name 24 - line number (including ranges of line numbers) 25 - module name 26 - format string 27 - class name (as known/declared by each module) 34 :#> head -n7 /proc/dynamic_debug/control 43 The 3rd space-delimited column shows the current flags, preceded by 55 :#> ddcmd '-p; module main func run* +p' [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | tlan.c | 8 * (C) 1997-1998 Caldera, Inc. 10 * (C) 1999-2001 Torben Mathiasen 21 * Level One, LXT901 and LXT970 Data Sheets 39 #include <linux/dma-mapping.h> 63 MODULE_PARM_DESC(aui, "ThunderLAN use AUI port(s) (0-1)"); 65 "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)"); 85 "10BaseT-HD", "10BaseT-FD", "100baseTx-HD", 86 "100BaseTx-FD", "100BaseT4", NULL 97 { "Compaq Integrated NetFlex-3/P", TLAN_ADAPTER_NONE, 0x83 }, 98 { "Compaq NetFlex-3/P", [all …]
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | atp.c | 6 Written 1993-2000 by Donald Becker. 16 National Security Agency. Copyright 1994-2000 retained by the original 17 author, Donald Becker. The timer-based reset code was supplied in 1995 37 /* The user-configurable values. 58 This file is a device driver for the RealTek (aka AT-Lan-Tec) pocket 59 ethernet adapter. This is a common low-cost OEM pocket ethernet 64 Vincent Bono of AT-Lan-Tec. Ever try to figure out how a complicated 66 description is written based on guesses and writing lots of special-purpose 84 The station address is stored in a standard bit-serial EEPROM which must be 87 using it.) Unlike built-in devices, a pocket adapter can temporarily lose [all …]
|
/openbmc/linux/scripts/ |
H A D | asn1_compiler.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 119 /* EOC goes first */ 166 "EOC", 229 [DIRECTIVE_ENCODING_CONTROL] = "ENCODING-CONTROL", 255 [DIRECTIVE_MINUS_INFINITY] = "MINUS-INFINITY", 265 [DIRECTIVE_PLUS_INFINITY] = "PLUS-INFINITY", 270 [DIRECTIVE_RELATIVE_OID] = "RELATIVE-OID", 325 clen = (dlen < token->size) ? dlen : token->size; in directive_compare() 327 //debug("cmp(%s,%s) = ", token->content, dir); in directive_compare() 329 val = memcmp(token->content, dir, clen); in directive_compare() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | s526.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 26 * [0] - I/O port base address 63 #define S526_DIO_CTRL_GRP2_NEG BIT(8) /* irq on DIO[4-7] neg/pos edge */ 68 #define S526_INT_CNTR(x) BIT(3 + (3 - ((x) & 0x3))) 133 /* Control/Status - R = readable, W = writeable, C = write 1 to clear */ 179 outw((val >> 16) & 0xffff, dev->iobase + S526_GPCT_MSB_REG(chan)); in s526_gpct_write() 180 outw(val & 0xffff, dev->iobase + S526_GPCT_LSB_REG(chan)); in s526_gpct_write() 189 val = inw(dev->iobase + S526_GPCT_LSB_REG(chan)) & 0xffff; in s526_gpct_read() 190 val |= (inw(dev->iobase + S526_GPCT_MSB_REG(chan)) & 0xff) << 16; in s526_gpct_read() [all …]
|
H A D | ni_pcimio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for NI PCI-MIO E series cards 5 * COMEDI - Linux Control and Measurement Device Interface 6 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 11 * Description: National Instruments PCI-MIO-E series and M series (all boards) 15 * Devices: [National Instruments] PCI-MIO-16XE-50 (ni_pcimio), 16 * PCI-MIO-16XE-10, PXI-6030E, PCI-MIO-16E-1, PCI-MIO-16E-4, PCI-6014, 17 * PCI-6040E, PXI-6040E, PCI-6030E, PCI-6031E, PCI-6032E, PCI-6033E, 18 * PCI-6071E, PCI-6023E, PCI-6024E, PCI-6025E, PXI-6025E, PCI-6034E, 19 * PCI-6035E, PCI-6052E, PCI-6110, PCI-6111, PCI-6220, PXI-6220, [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | twl4030-madc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * TWL4030 MADC module driver-This driver monitors the real time 6 * battery type, battery level etc. 8 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 9 * J Keerthy <j-keerthy@ti.com> 11 * Based on twl4030-madc.c 119 * struct twl4030_madc_request - madc request packet for channel conversion 154 * struct twl4030_madc_data - a container for madc info 159 * @use_second_irq: IRQ selection (main or co-processor) 183 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() [all …]
|
/openbmc/linux/drivers/block/ |
H A D | floppy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * 02.12.91 - Changed to static variables to indicate need for reset 29 * call "floppy-on" directly, but have to set a special timer interrupt 34 * 28.02.92 - made track-buffering routines, based on the routines written 39 * Automatic floppy-detection and formatting written by Werner Almesberger 41 * the floppy-change signal detection. 45 * 1992/7/22 -- Hennus Bergman: Added better error reporting, fixed 49 * 1992/9/17: Added DMA allocation & DMA functions. -- hhb. 56 * modeled after the freeware MS-DOS program fdformat/88 V1.8 by 65 * 1993/4/29 -- Linus -- cleaned up the timer handling in the kernel, and [all …]
|
/openbmc/linux/drivers/net/wireless/cisco/ |
H A D | airo.c | 93 /* Include Wireless Extension definition and check version - Jean II */ 146 "LostSync-MaxRetry", 147 "LostSync-MissedBeacons", 148 "LostSync-ArlExceeded", 149 "LostSync-Deauth", 150 "LostSync-Disassoced", 151 "LostSync-TsfTiming", 203 "LostSync-HostReq", 213 (char*)-1 }; 260 …"If non-zero, the driver will keep looping through the authentication options until an association… [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/ |
H A D | python3-manifest.json | 14 # - If a user wants to add a new package all that has to be done is: 15 # Modify the python3-manifest.json file, and add the required file(s) to the FILES list, 20 # which at the moment is on python3-misc. 22 # "files": ["${libdir}/python${PYTHON_MAJMIN}/lib-dynload/webbrowser.py"], 28 # We run $ bitbake python3 -c create_manifest and the resulting manifest 44 # - Upgrade both the native and target Python packages to a new version 45 # - Run the create_manifest task for the target Python package as its shown below: 47 # $ bitbake python3 -c create_manifest 60 # the others, for example sha3*.so should likely be on ${PN}-crypt. 62 # this will populate the other module's rdepends fields, with ${PN}-crypt and you should be [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 109 /* Include PCI Device IDs for both PF4 and PF0-3 so our PCI probe() routine is 126 #define FW4_CFNAME "cxgb4/t4-config.txt" 127 #define FW5_CFNAME "cxgb4/t5-config.txt" 128 #define FW6_CFNAME "cxgb4/t6-config.txt" 144 * order MSI-X, MSI, legacy INTx interrupts. This parameter determines which 154 MODULE_PARM_DESC(msi, "whether to use INTx (0), MSI (1) or MSI-X (2)"); 158 * offset by 2 bytes in order to have the IP headers line up on 4-byte [all …]
|