Home
last modified time | relevance | path

Searched refs:I2C_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.h293 #define I2C_PAGE_SIZE 0x100 macro
H A Dcxgb4_ethtool.c2077 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()
H A Dt4_hw.c10426 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()
10430 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1975 #define I2C_PAGE_SIZE 256 macro
2091 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()