Searched refs:erase_list (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/mtd/spi-nor/ |
D | core.c | 1292 static void spi_nor_destroy_erase_cmd_list(struct list_head *erase_list) in spi_nor_destroy_erase_cmd_list() argument 1296 list_for_each_entry_safe(cmd, next, erase_list, list) { in spi_nor_destroy_erase_cmd_list() 1316 struct list_head *erase_list, in spi_nor_init_erase_cmd_list() argument 1346 list_add_tail(&cmd->list, erase_list); in spi_nor_init_erase_cmd_list() 1367 spi_nor_destroy_erase_cmd_list(erase_list); in spi_nor_init_erase_cmd_list() 1384 LIST_HEAD(erase_list); in spi_nor_erase_multi_sectors() 1388 ret = spi_nor_init_erase_cmd_list(nor, &erase_list, addr, len); in spi_nor_erase_multi_sectors() 1392 list_for_each_entry_safe(cmd, next, &erase_list, list) { in spi_nor_erase_multi_sectors() 1420 spi_nor_destroy_erase_cmd_list(&erase_list); in spi_nor_erase_multi_sectors()
|