Searched refs:I2C_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
1955 #define I2C_PAGE_SIZE 256 macro2071 if (*offset < I2C_PAGE_SIZE) in mlx4_sfp_eeprom_params_set()2075 *offset -= I2C_PAGE_SIZE; in mlx4_sfp_eeprom_params_set()2084 if (*offset < I2C_PAGE_SIZE) in mlx4_qsfp_eeprom_params_set()2087 *page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()2154 if (offset < I2C_PAGE_SIZE && offset + size > I2C_PAGE_SIZE) in mlx4_get_module_info()2158 size -= offset + size - I2C_PAGE_SIZE; in mlx4_get_module_info()
293 #define I2C_PAGE_SIZE 0x100 macro
2085 if (offset + len <= I2C_PAGE_SIZE) in cxgb4_get_module_eeprom()2090 if (offset <= I2C_PAGE_SIZE) { in cxgb4_get_module_eeprom()2092 len = I2C_PAGE_SIZE - offset; in cxgb4_get_module_eeprom()2097 offset = I2C_PAGE_SIZE; in cxgb4_get_module_eeprom()
10426 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()10430 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()