Searched refs:spi_flash_dev_name (Results 1 – 2 of 2) sorted by relevance
/nrf52832-nimble/rt-thread/components/drivers/spi/ |
H A D | spi_flash_sfud.c | 312 rt_spi_flash_device_t rt_sfud_flash_probe(const char *spi_flash_dev_name, const char *spi_dev_name)… in rt_sfud_flash_probe() argument 325 RT_ASSERT(spi_flash_dev_name); in rt_sfud_flash_probe() 330 spi_flash_dev_name_bak = (char *) rt_malloc(rt_strlen(spi_flash_dev_name) + 1); in rt_sfud_flash_probe() 336 rt_mutex_init(&(rtt_dev->lock), spi_flash_dev_name, RT_IPC_FLAG_FIFO); in rt_sfud_flash_probe() 341 rt_strncpy(spi_flash_dev_name_bak, spi_flash_dev_name, rt_strlen(spi_flash_dev_name)); in rt_sfud_flash_probe() 344 spi_flash_dev_name_bak[rt_strlen(spi_flash_dev_name)] = '\0'; in rt_sfud_flash_probe() 410 …rt_device_register(&(rtt_dev->flash_device), spi_flash_dev_name, RT_DEVICE_FLAG_RDWR | RT_DEVICE_F… in rt_sfud_flash_probe() 412 … DEBUG_TRACE("Probe SPI flash %s by SPI device %s success.\n",spi_flash_dev_name, spi_dev_name); in rt_sfud_flash_probe()
|
H A D | spi_flash_sfud.h | 27 rt_spi_flash_device_t rt_sfud_flash_probe(const char *spi_flash_dev_name, const char *spi_dev_name);
|