nuttx/drivers/power
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
activity_governor.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
activity_governor.h Remove some headers from emtpy sections. 2019-11-09 09:19:51 -06:00
battery_charger.c tools/nxstyle.c: Eliminate false positive 'Invalid character after asterisk in comment block'. 2019-11-09 12:10:43 -06:00
battery_gauge.c tools/nxstyle.c: Eliminate false positive 'Invalid character after asterisk in comment block'. 2019-11-09 12:10:43 -06:00
bq2425x.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00
bq2425x.h Battery Charger: Add BQ24250 driver 2015-09-20 09:47:00 -06:00
bq2429x.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00
greedy_governor.c drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
greedy_governor.h Remove some headers from emtpy sections. 2019-11-09 09:19:51 -06:00
Kconfig drivers/power: Fix PM build failure with CONFIG_PM_GOVERNOR_MEMORY==1 2019-12-10 07:34:59 -06:00
Make.defs drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
max1704x.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00
mcp73871.c drivers/power/mcp73871.c: Fix MCP73871 driver to register correctly as a battery charger. The first element of a 'struct battery_charger_dev_s' should be a pointer to operations structure. 2019-01-05 11:49:18 -06:00
motor.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00
pm_activity.c drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
pm_changestate.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
pm_checkstate.c drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
pm_initialize.c drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
pm_register.c drivers/power/pm_register.c: Fix an error found in build testing. 2018-08-27 16:13:07 -06:00
pm_unregister.c drivers/pm: PM: Decrease the power state in the reverse order. Since the child driver need power off before parent driver. 2018-08-27 13:22:11 -06:00
pm.h drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes. 2019-11-09 09:09:33 -06:00
powerled.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00
smps.c drivers/power: Run tools/nxstyle against all .c and .h files in this directory. 2019-10-28 18:28:41 -06:00