Searched refs:ipath_flash (Results 1 – 3 of 3) sorted by relevance
676 static u8 flash_csum(struct ipath_flash *ifp, int adjust) in flash_csum()687 if (len > sizeof(struct ipath_flash)) in flash_csum()688 len = sizeof(struct ipath_flash); in flash_csum()709 struct ipath_flash *ifp; in ipath_get_eeprom_info()751 len = sizeof(struct ipath_flash); in ipath_get_eeprom_info()767 ifp = (struct ipath_flash *)buf; in ipath_get_eeprom_info()868 struct ipath_flash *ifp; in ipath_update_eeprom_log()894 len = sizeof(struct ipath_flash); in ipath_update_eeprom_log()917 ifp = (struct ipath_flash *)buf; in ipath_update_eeprom_log()945 hi_water = offsetof(struct ipath_flash, in ipath_update_eeprom_log()[all …]
143 if (pos >= sizeof(struct ipath_flash)) { in flash_read()148 if (count > sizeof(struct ipath_flash) - pos) in flash_read()149 count = sizeof(struct ipath_flash) - pos; in flash_read()194 if (count != sizeof(struct ipath_flash)) { in flash_write()
571 struct ipath_flash { struct