Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files16
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- ab8500.h
- bq2415x_charger.h
- bq24190_charger.h
- bq24735-charger.h
- bq27xxx_battery.h
- charger-manager.h
- generic-adc-battery.h
- gpio-charger.h
- isp1704_charger.h
- jz4740-battery.h
- max17042_battery.h
- max8903_charger.h
- sbs-battery.h
- smartreflex.h
- smb347-charger.h
- twl4030_madc_battery.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/linux/power/generic-adc-battery.h
Text · 1,003 bytes/*
* Copyright (C) 2012, Anish Kumar <[email protected]>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef GENERIC_ADC_BATTERY_H
#define GENERIC_ADC_BATTERY_H
/**
* struct gab_platform_data - platform_data for generic adc iio battery driver.
* @battery_info: recommended structure to specify static power supply
* parameters
* @cal_charge: calculate charge level.
* @gpio_charge_finished: gpio for the charger.
* @gpio_inverted: Should be 1 if the GPIO is active low otherwise 0
* @jitter_delay: delay required after the interrupt to check battery
* status.Default set is 10ms.
*/
struct gab_platform_data {
struct power_supply_info battery_info;
int (*cal_charge)(long value);
int gpio_charge_finished;
bool gpio_inverted;
int jitter_delay;
};
#endif /* GENERIC_ADC_BATTERY_H */