get_flash_name_index() function
Parses the optional '.index' portion of a flash bank identifier.
unsigned get_flash_name_index(const char *name); Arguments
name
The desired driver name, passed by the user.
Return value
The parsed index request, or 0 if not present. If the name provides a suffix but it does not parse as an unsigned integer, the routine returns ~0U. This will prevent further matching.
Functions calling get_flash_name_index()
Functions called by get_flash_name_index()
get_flash_name_index()
strrchr() all items filtered out
Data read by get_flash_name_index()
get_flash_name_index()