Home
last modified time | relevance | path

Searched refs:I2C_PAGE_SIZE (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.h293 #define I2C_PAGE_SIZE 0x100 macro
H A 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()
H A Dt4_hw.c10456 if (len > I2C_PAGE_SIZE) in t4_i2c_rd()
10460 if (offset < I2C_PAGE_SIZE && offset + len > I2C_PAGE_SIZE) in t4_i2c_rd()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.h293 #define I2C_PAGE_SIZE 0x100 macro
H A Dcxgb4_ethtool.c2080 if (offset + len <= I2C_PAGE_SIZE) in cxgb4_get_module_eeprom()
2085 if (offset <= I2C_PAGE_SIZE) { in cxgb4_get_module_eeprom()
2087 len = I2C_PAGE_SIZE - offset; in cxgb4_get_module_eeprom()
2092 offset = I2C_PAGE_SIZE; in cxgb4_get_module_eeprom()
H A 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 36 milliseconds