Home
last modified time | relevance | path

Searched refs:aos_dev_ref_is_valid (Results 1 – 6 of 6) sorted by relevance

/AliOS-Things-master/components/drivers/peripheral/gpio/src/
A Dgpioc.c36 if (!ref || !aos_dev_ref_is_valid(ref)) in aos_gpioc_get_num_pins()
48 if (!ref || !aos_dev_ref_is_valid(ref) || !mode) in aos_gpioc_get_mode()
121 if (!ref || !aos_dev_ref_is_valid(ref)) in aos_gpioc_set_mode_irq()
273 if (!ref || !aos_dev_ref_is_valid(ref)) in aos_gpioc_get_value()
301 if (!ref || !aos_dev_ref_is_valid(ref) || val < 0) in aos_gpioc_set_value()
335 if (!ref || !aos_dev_ref_is_valid(ref)) in aos_gpioc_toggle()
/AliOS-Things-master/components/drivers/core/base/include/aos/
A Ddevice.h39 #define aos_dev_ref_is_valid(ref) (!!(ref)->dev) macro
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Dtty.c43 if (!ref || !aos_dev_ref_is_valid(ref) || !termios) in aos_tty_get_attr()
130 if (!ref || !aos_dev_ref_is_valid(ref) || !termios) in aos_tty_set_attr()
412 if (!ref || !aos_dev_ref_is_valid(ref) || (!buf && count > 0)) in aos_tty_read_fancy()
500 if (!ref || !aos_dev_ref_is_valid(ref) || (!buf && count > 0)) in aos_tty_write_fancy()
/AliOS-Things-master/components/drivers/core/base/src/
A Ddevice.c293 if (!ref || !aos_dev_ref_is_valid(ref)) in aos_dev_put()
/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c.c124 if (!ref || !aos_dev_ref_is_valid(ref) || !msgs || num_msgs == 0) in aos_i2c_transfer()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi.c131 if (!ref || !aos_dev_ref_is_valid(ref) || !msgs || num_msgs == 0) in aos_spi_transfer()

Completed in 9 milliseconds