Home
last modified time | relevance | path

Searched refs:mtd_list (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sfc/
Dmtd.c83 list_add_tail(&part->node, &efx->mtd_list); in efx_mtd_add()
104 if (list_empty(&efx->mtd_list)) in efx_mtd_remove()
107 parts = list_first_entry(&efx->mtd_list, struct efx_mtd_partition, in efx_mtd_remove()
110 list_for_each_entry_safe(part, next, &efx->mtd_list, node) in efx_mtd_remove()
122 list_for_each_entry(part, &efx->mtd_list, node) in efx_mtd_rename()
Dnet_driver.h1015 struct list_head mtd_list; member
Defx.c3015 INIT_LIST_HEAD(&efx->mtd_list); in efx_init_struct()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dmtd.c83 list_add_tail(&part->node, &efx->mtd_list); in ef4_mtd_add()
104 if (list_empty(&efx->mtd_list)) in ef4_mtd_remove()
107 parts = list_first_entry(&efx->mtd_list, struct ef4_mtd_partition, in ef4_mtd_remove()
110 list_for_each_entry_safe(part, next, &efx->mtd_list, node) in ef4_mtd_remove()
122 list_for_each_entry(part, &efx->mtd_list, node) in ef4_mtd_rename()
Dnet_driver.h842 struct list_head mtd_list; member
Defx.c2648 INIT_LIST_HEAD(&efx->mtd_list); in ef4_init_struct()
/Linux-v4.19/drivers/mtd/maps/
Dphysmap_of_core.c160 struct mtd_info **mtd_list = NULL; in of_flash_probe() local
200 mtd_list = kcalloc(count, sizeof(*mtd_list), GFP_KERNEL); in of_flash_probe()
201 if (!mtd_list) in of_flash_probe()
288 mtd_list[i] = info->list[i].mtd; in of_flash_probe()
308 info->cmtd = mtd_concat_create(mtd_list, info->list_size, in of_flash_probe()
328 kfree(mtd_list); in of_flash_probe()
333 kfree(mtd_list); in of_flash_probe()