Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.h293 #define I2C_PAGE_SIZE 0x100 macro
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()
Dt4_hw.c10425 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()
10429 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
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()