rt-thread/components/drivers
GuEe-GUI f9b632d52d [DM/MISC] Add error no for ptr
When the driver request a API gets RT_NULL which return value is ptr,
they could not know why get a RT_NULL.

some API return RT_NULL, is not error internal maybe, it just not
supported for this platform, but the driver still could work ok,
the API can return (RT_NULL + -RT_EEMPTY) to driver.

on the other hand, the driver can do more behaviors by error no.
When the API return the -RT_EBUSY, driver can wait for a moment and retry.
When the API return the -RT_ENOSYS, driver can try the next mode or request's name.

Signed-off-by: GuEe-GUI <wusongjie@rt-thread.com>
2024-09-11 14:34:13 +08:00
..
audio 修复audio_pipe中函数在开启POSIX IPC时与 POSIX PIPE冲突问题 2024-09-06 23:18:09 -04:00
can [device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
clk [components][drivers]fix some uninitialize err (#8806) 2024-04-16 21:58:13 +08:00
core Fixup platform not free device in OFW 2024-09-03 19:49:47 -04:00
cputime [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
graphic [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
hwcrypto [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
hwtimer [compoents][hwtimer]Add a user control interface 2024-07-19 11:51:39 +08:00
i2c [device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
include [DM/MISC] Add error no for ptr 2024-09-11 14:34:13 +08:00
ipc feat: add ISR safe completion API 2024-08-19 10:39:15 +08:00
ktime [ktime] quality: remove recursion on hrtimer (#9110) 2024-06-28 00:22:06 +08:00
misc Fix potential return value discrepancy when writing to urandom 2024-07-18 10:05:05 +08:00
mtd [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
ofw fix initrd scan err 2024-07-04 00:34:01 +08:00
pci [DM/Feature] Basic PCI/PCIe (Peripheral Component Interconnect Express) bus 2024-09-06 17:45:03 -04:00
phy [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
pic [components][ktime]support period ktime timeout and multiple ktimer_hrtimer (#8972) 2024-06-23 22:08:54 +08:00
pin [device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
pinctrl [component][drivers]add pinctrl/pin-irqchip (#8383) 2024-02-29 22:27:27 +08:00
pm [compoents][pm]The device is registered and uninstalled by linked list 2024-07-19 11:51:39 +08:00
rtc [device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
sdio [components][drivers][sdio][sd] Fix wrong max data rate calculation logic 2024-08-12 16:23:17 +08:00
sensor [components][sensor]增加电源检测类型 2024-09-10 19:54:03 -04:00
serial [smart/tty] skip configure of rt_serial on tty open (#9152) 2024-07-09 13:28:24 +08:00
spi [components][SPI][spi-bit-ops]修复可能的异常操作 2024-07-12 17:48:17 +08:00
touch [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
usb fix(cherryusb): fix build error 2024-09-02 21:27:47 +08:00
virtio [driver][virtio]fix virtio net rx error (#9170) 2024-07-13 22:16:03 +08:00
watchdog [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
wlan [components] [drivers ] [Kconfig] 整理 components/drivers 的 Kconfig (#9054) 2024-06-16 15:43:27 +08:00
Kconfig [DM/Feature] Basic PCI/PCIe (Peripheral Component Interconnect Express) bus 2024-09-06 17:45:03 -04:00
SConscript Re-normalizing the repo 2013-01-08 22:40:58 +08:00