Searched refs:I2C_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
293 #define I2C_PAGE_SIZE 0x100 macro
2077 if (offset + len <= I2C_PAGE_SIZE) in cxgb4_get_module_eeprom()2082 if (offset <= I2C_PAGE_SIZE) { in cxgb4_get_module_eeprom()2084 len = I2C_PAGE_SIZE - offset; in cxgb4_get_module_eeprom()2089 offset = I2C_PAGE_SIZE; in cxgb4_get_module_eeprom()
10425 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()10429 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()
1975 #define I2C_PAGE_SIZE 256 macro2091 if (*offset < I2C_PAGE_SIZE) in mlx4_sfp_eeprom_params_set()2095 *offset -= I2C_PAGE_SIZE; in mlx4_sfp_eeprom_params_set()2104 if (*offset < I2C_PAGE_SIZE) in mlx4_qsfp_eeprom_params_set()2107 *page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()2174 if (offset < I2C_PAGE_SIZE && offset + size > I2C_PAGE_SIZE) in mlx4_get_module_info()2178 size -= offset + size - I2C_PAGE_SIZE; in mlx4_get_module_info()