Searched refs:flash_limit (Results 1 – 13 of 13) sorted by relevance
26 uint32_t flash_limit = 0; in is_range_valid() local29 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()32 if (offset > flash_limit) { in is_range_valid()
87 uint32_t flash_limit = 0; in is_range_valid() local90 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()93 if (offset > flash_limit) { in is_range_valid()
100 uint32_t flash_limit = 0; in is_range_valid() local103 flash_limit = QSPI_FLASH_TOTAL_SIZE - 1; in is_range_valid()105 return (offset > flash_limit) ? (false) : (true) ; in is_range_valid()
88 uint32_t flash_limit = 0; in is_range_valid() local91 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()94 if (offset > flash_limit) { in is_range_valid()
81 uint32_t flash_limit = 0; in is_range_valid() local84 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()87 if (offset > flash_limit) { in is_range_valid()
83 uint32_t flash_limit = 0; in is_range_valid() local86 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()89 if (offset > flash_limit) { in is_range_valid()
101 uint32_t flash_limit = 0; in is_range_valid() local104 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()107 if (offset > flash_limit) { in is_range_valid()
101 uint32_t flash_limit = 0; in is_range_valid() local104 flash_limit = FLASH_TOTAL_SIZE - 1; in is_range_valid()106 return (offset > flash_limit) ? (false) : (true) ; in is_range_valid()
82 uint32_t flash_limit = 0; in is_range_valid() local85 flash_limit = (flash_dev->data->sector_count * flash_dev->data->sector_size) in is_range_valid()88 if (offset > flash_limit) { in is_range_valid()
109 uint32_t flash_limit = 0; in is_range_valid() local112 flash_limit = OSPI_FLASH_TOTAL_SIZE - 1; in is_range_valid()114 return (offset > flash_limit) ? (false) : (true) ; in is_range_valid()
109 uint32_t flash_limit = 0; in is_range_valid() local112 flash_limit = FLASH_TOTAL_SIZE - 1; in is_range_valid()114 return (offset > flash_limit) ? (false) : (true) ; in is_range_valid()
457 uint32_t flash_limit = FLASH_TOTAL_SIZE - 1; in is_range_valid() local459 return (offset > flash_limit) ? (kStatus_Fail) : (kStatus_Success) ; in is_range_valid()