Home
last modified time | relevance | path

Searched refs:shell_device_lookup (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/subsys/shell/shell_device_filter/src/
Dmain.c36 zassert_equal_ptr(d0, shell_device_lookup(0, NULL)); in ZTEST()
37 zassert_equal_ptr(d1, shell_device_lookup(1, NULL)); in ZTEST()
38 zassert_equal_ptr(d2, shell_device_lookup(2, NULL)); in ZTEST()
39 zassert_equal_ptr(NULL, shell_device_lookup(3, NULL)); in ZTEST()
44 zassert_equal_ptr(d2, shell_device_lookup(0, "xx_")); in ZTEST()
45 zassert_equal_ptr(NULL, shell_device_lookup(1, "xx_")); in ZTEST()
/Zephyr-latest/drivers/usb_c/ppc/
Dshell.c109 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/usb_c/tcpc/
Dshell.c132 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/spi/
Dspi_shell.c29 const struct device *dev = shell_device_lookup(idx, "spi"); in device_name_get()
/Zephyr-latest/drivers/audio/
Dcodec_shell.c174 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/bbram/
Dbbram_shell.c178 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/watchdog/
Dwdt_shell.c166 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/rtc/
Drtc_shell.c222 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/counter/
Dcounter_timer_shell.c203 const struct device *dev = shell_device_lookup(idx, "timer"); in device_name_get()
/Zephyr-latest/subsys/input/
Dinput_utils.c260 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/eeprom/
Deeprom_shell.c219 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/i2c/
Di2c_shell.c341 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/sensor/
Dsensor_shell.c867 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get_for_attr()
922 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get_for_trigger()
934 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get_for_stream()
/Zephyr-latest/drivers/smbus/
Dsmbus_shell.c360 const struct device *dev = shell_device_lookup(idx, "smbus"); in device_name_get()
/Zephyr-latest/subsys/shell/
Dshell_utils.c533 const struct device *shell_device_lookup(size_t idx, in shell_device_lookup() function
/Zephyr-latest/drivers/regulator/
Dregulator_shell.c527 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/include/zephyr/shell/
Dshell.h131 const struct device *shell_device_lookup(size_t idx,
/Zephyr-latest/drivers/flash/
Dflash_shell.c741 const struct device *dev = shell_device_lookup(idx, NULL); in device_name_get()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_plic.c809 const struct device *dev = shell_device_lookup(idx, "interrupt-controller"); in device_name_get()
/Zephyr-latest/drivers/can/
Dcan_shell.c1034 const struct device *dev = shell_device_lookup(idx, NULL); in cmd_can_device_name_mode()