zephyr/include
Tomasz Bursztyka 55fdd1fd33 device: Provide generic API to handle synchronous calls in drivers
Introduce the device_sync_call_t object type and its API.

This object type allows one thread to perform synchronous calls into a
driver. Only one thread can do such calls per instance of the
device_sync_call_t object since it makes a global record of what type of
thread is waiting on it.

Based on an idea from Dmitriy Korovkin and Peter Mitsis, moving their
proposal to a more generic API provides the solution for all device
drivers that exposes synchronous API in an interrupt based
implementation.

Change-Id: I793fac76645396bf4eb6be38b5a130ac6bde8f73
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2016-02-05 20:24:57 -05:00
..
arch irq: removes priority parameter from IRQ_CONFIG macro 2016-02-05 20:24:57 -05:00
bluetooth
display
drivers hpet: move content of include/drivers/hpet.h into driver 2016-02-05 20:24:56 -05:00
microkernel
misc shell: prefix types with shell_ 2016-02-05 20:24:55 -05:00
net
toolchain arc: static IRQ handling 2016-02-05 20:24:56 -05:00
adc.h
aio_comparator.h
atomic.h
cache.h
clock_control.h
device.h device: Provide generic API to handle synchronous calls in drivers 2016-02-05 20:24:57 -05:00
gpio.h
i2c.h
init.h devices: _PASTE macro relocated from init.h to common.h 2016-02-05 20:24:56 -05:00
ipi.h
irq_offload.h irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
kernel_version.h
linker-defs.h
linker-tool-gcc.h
linker-tool.h
microkernel.h
nanokernel.h
pinmux.h
pwm.h
rtc.h
section_tags.h
sections.h
shared_irq.h
spi.h
sw_isr_table.h
sys_clock.h
sys_io.h
toolchain.h
uart.h uart: fix compilation error when interrupt is enabled 2016-02-05 20:24:57 -05:00
watchdog.h watchdog: rework watchdog timer driver and use sys_io function 2016-02-05 20:24:55 -05:00
zephyr.h