Lines Matching refs:page_num
1981 u8 page_num; member
2058 cable_info->page_num = 0; in mlx4_get_module_id()
2086 static void mlx4_sfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset) in mlx4_sfp_eeprom_params_set() argument
2089 *page_num = 0; in mlx4_sfp_eeprom_params_set()
2098 static void mlx4_qsfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset) in mlx4_qsfp_eeprom_params_set() argument
2105 *page_num = 0; in mlx4_qsfp_eeprom_params_set()
2107 *page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()
2109 *offset -= *page_num * I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()
2131 u8 module_id, i2c_addr, page_num; in mlx4_get_module_info() local
2143 mlx4_sfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info()
2148 mlx4_qsfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info()
2182 cable_info->page_num = page_num; in mlx4_get_module_info()