Searched +full:eoc +full:- +full:level (Results 1 – 11 of 11) sorted by relevance
/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 …]
|
/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 | 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 …]
|
/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 73 * @eoc: End of Charge Level in percent: 10% ~ 45% by 5% step 76 * @restart: Restart Level in mV: 100, 150, 200, and -1 for disable. 79 * @timeout: Full Timeout in hours: 5, 6, 7, and -1 for disable. 95 int eoc; member
|
/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) 29 NOTE: To actually get the debug-print output on the console, you may 32 Documentation/admin-guide/kernel-parameters.rst. 39 :#> head -n7 /proc/dynamic_debug/control [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|