zephyr/drivers/flash
Andy Ross 32bb2395c2 timeout: Fix up API usage
Kernel timeouts have always been a 32 bit integer despite the
existence of generation macros, and existing code has been
inconsistent about using them.  Upcoming commits are going to make the
timeout arguments opaque, so fix things up to be rigorously correct.
Changes include:

+ Adding a K_TIMEOUT_EQ() macro for code that needs to compare timeout
  values for equality (e.g. with K_FOREVER or K_NO_WAIT).

+ Adding a k_msleep() synonym for k_sleep() which can continue to take
  integral arguments as k_sleep() moves away to timeout arguments.

+ Pervasively using the K_MSEC(), K_SECONDS(), et. al. macros to
  generate timeout arguments.

+ Removing the usage of K_NO_WAIT as the final argument to
  K_THREAD_DEFINE().  This is just a count of milliseconds and we need
  to use a zero.

This patch include no logic changes and should not affect generated
code at all.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-03-31 19:40:47 -04:00
..
CMakeLists.txt drivers: flash: add Nordic JEDEC QSPI NOR flash driver 2020-01-29 15:15:49 +01:00
flash_gecko.c drivers: silabs: Convert silabs drivers to new DT_INST macros 2020-03-26 05:26:23 -05:00
flash_handlers.c
flash_page_layout.c
flash_priv.h
flash_sam0.c drivers: atmel sam0: Convert atmel sam0 drivers to new DT_INST macros 2020-03-27 11:02:57 -05:00
flash_sam.c drivers: atmel sam: Convert atmel sam drivers to new DT_INST macros 2020-03-26 16:31:31 -05:00
flash_shell.c
flash_simulator.c
flash_stm32.c timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
flash_stm32.h drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32f0x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32f1x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32f3x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32f4x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32f7x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32g0x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32g4x.c drivers: flash: stm32g4: Fix erase on wrong bank 2020-03-24 14:25:47 -05:00
flash_stm32l4x.c drivers: flash: stm32: Update flash driver implementation 2020-01-28 15:30:12 -06:00
flash_stm32wbx.c drivers/flash: stm32: Fix faulty register access 2020-01-29 15:14:22 -06:00
Kconfig drivers: flash: add Nordic JEDEC QSPI NOR flash driver 2020-01-29 15:15:49 +01:00
Kconfig.gecko
Kconfig.mcux
Kconfig.nios2_qspi
Kconfig.nor
Kconfig.nordic_qspi_nor drivers: flash: add Nordic JEDEC QSPI NOR flash driver 2020-01-29 15:15:49 +01:00
Kconfig.nrf kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.rv32m1
Kconfig.sam drivers: flash: Kconfig.sam: Enable support to SAMV71 2020-03-10 14:43:36 +02:00
Kconfig.sam0 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.simulator
Kconfig.stm32 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.w25qxxdv
nrf_qspi_nor.c global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
soc_flash_mcux.c drivers: mcux: Convert MCUX drivers to new DT_INST macros 2020-03-26 03:40:09 -05:00
soc_flash_nios2_qspi.c
soc_flash_nrf.c drivers/flash: Fix missing ticker stop on timeout 2020-03-13 09:30:49 -05:00
soc_flash_rv32m1.c drivers: openisa: Convert openisa drivers to new DT_INST macros 2020-03-27 05:28:37 -05:00
spi_flash_w25qxxdv_defs.h
spi_flash_w25qxxdv.c drivers: flash: spi_flash_w25qxxdv: Convert to new DT_INST macros 2020-03-27 10:00:29 -05:00
spi_flash_w25qxxdv.h
spi_nor.c global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
spi_nor.h