Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.h293 #define I2C_PAGE_SIZE 0x100 macro
Dcxgb4_ethtool.c2063 if (offset + len <= I2C_PAGE_SIZE) in cxgb4_get_module_eeprom()
2068 if (offset <= I2C_PAGE_SIZE) { in cxgb4_get_module_eeprom()
2070 len = I2C_PAGE_SIZE - offset; in cxgb4_get_module_eeprom()
2075 offset = I2C_PAGE_SIZE; in cxgb4_get_module_eeprom()
Dt4_hw.c10454 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()
10458 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()
/kernel/linux/linux-5.10/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()