| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | lp8727_charger.txt | 4 - compatible: "ti,lp8727" 5 - reg: I2C slave address 27h 8 - interrupts: interrupt specifier (see interrupt binding[0]) 9 - debounce-ms: interrupt debounce time. (u32) 12 - charger-type: "ac" or "usb" (string) 13 - eoc-level: value of 'enum lp8727_eoc_level' (u8) 14 - charging-current: value of 'enum lp8727_ichg' (u8) 16 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 25 interrupt-parent = <&gpio5>; /* base = 128 */ 28 debounce-ms = <300>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| 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 …]
|
| D | pm2301_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <linux/mfd/abx500/ab8500-bm.h> 109 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) { in set_lpn_pin() 110 gpio_set_value(pm2->lpn_pin, 1); in set_lpn_pin() 117 if (!pm2->ac.charger_connected && gpio_is_valid(pm2->lpn_pin)) in clear_lpn_pin() 118 gpio_set_value(pm2->lpn_pin, 0); in clear_lpn_pin() 126 pm_runtime_get_sync(pm2->dev); in pm2xxx_reg_read() 128 ret = i2c_smbus_read_i2c_block_data(pm2->config.pm2xxx_i2c, reg, in pm2xxx_reg_read() 131 dev_err(pm2->dev, "Error reading register at 0x%x\n", reg); in pm2xxx_reg_read() 135 pm_runtime_put_sync(pm2->dev); in pm2xxx_reg_read() [all …]
|
| D | abx500_chargalg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 32 #include <linux/mfd/abx500/ab8500-bm.h> 38 /* End-of-charge criteria counter */ 177 * struct abx500_charge_curr_maximization - Charger maximization parameters 188 * @level: tells in how many steps the charging current has been 198 u8 level; member 208 * struct abx500_chargalg - abx500 Charging algorithm device information 211 * @eoc_cnt: counter used to determine end-of_charge 223 * @curr_status: Current step status for over-current protection [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/ |
| 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
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| 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
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/realtek/ |
| 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 …]
|
| /kernel/linux/linux-6.6/scripts/ |
| 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 …]
|
| /kernel/linux/linux-5.10/scripts/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| 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 118 * struct twl4030_madc_request - madc request packet for channel conversion 153 * struct twl4030_madc_data - a container for madc info 158 * @use_second_irq: IRQ selection (main or co-processor) 182 req.method = madc->use_second_irq ? TWL4030_MADC_SW2 : TWL4030_MADC_SW1; in twl4030_madc_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/cisco/ |
| 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 }; 261 …"If non-zero, the driver will keep looping through the authentication options until an association… [all …]
|