[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
include
/
linux
/
mfd
/
abx500
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 ab8500-bm.h
14,081 B
SET
[ EDIT ]
|
[ DEL ]
📄 ab8500-codec.h
1,098 B
SET
[ EDIT ]
|
[ DEL ]
📄 ab8500-gpadc.h
2,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 ab8500-sysctrl.h
11,651 B
SET
[ EDIT ]
|
[ DEL ]
📄 ab8500.h
17,279 B
SET
[ EDIT ]
|
[ DEL ]
📄 ux500_chargalg.h
1,380 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ux500_chargalg.h
/* * Copyright (C) ST-Ericsson SA 2012 * Author: Johan Gardsmark <johan.gardsmark@stericsson.com> for ST-Ericsson. * License terms: GNU General Public License (GPL), version 2 */ #ifndef _UX500_CHARGALG_H #define _UX500_CHARGALG_H #include <linux/power_supply.h> /* * Valid only for supplies of type: * - POWER_SUPPLY_TYPE_MAINS, * - POWER_SUPPLY_TYPE_USB, * because only them store as drv_data pointer to struct ux500_charger. */ #define psy_to_ux500_charger(x) power_supply_get_drvdata(psy) /* Forward declaration */ struct ux500_charger; struct ux500_charger_ops { int (*enable) (struct ux500_charger *, int, int, int); int (*check_enable) (struct ux500_charger *, int, int); int (*kick_wd) (struct ux500_charger *); int (*update_curr) (struct ux500_charger *, int); }; /** * struct ux500_charger - power supply ux500 charger sub class * @psy power supply base class * @ops ux500 charger operations * @max_out_volt maximum output charger voltage in mV * @max_out_curr maximum output charger current in mA * @enabled indicates if this charger is used or not * @external external charger unit (pm2xxx) */ struct ux500_charger { struct power_supply *psy; struct ux500_charger_ops ops; int max_out_volt; int max_out_curr; int wdt_refresh; bool enabled; bool external; }; extern struct blocking_notifier_head charger_notifier_list; #endif