MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / sdio_free_cis

Function sdio_free_cis

components/drivers/sdio/dev_sdio.c:649–664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647
648
649void sdio_free_cis(struct rt_sdio_function *func)
650{
651 struct rt_sdio_function_tuple *tuple, *tmp;
652 struct rt_mmcsd_card *card = func->card;
653
654 tuple = func->tuples;
655
656 while (tuple && ((tuple != card->sdio_function[0]->tuples) || (!func->num)))
657 {
658 tmp = tuple;
659 tuple = tuple->next;
660 rt_free(tmp);
661 }
662
663 func->tuples = RT_NULL;
664}
665
666static rt_int32_t sdio_read_fbr(struct rt_sdio_function *func)
667{

Callers 2

sdio_initialize_functionFunction · 0.85
sdio_init_cardFunction · 0.85

Calls 1

rt_freeFunction · 0.85

Tested by

no test coverage detected