Home
last modified time | relevance | path

Searched refs:aligned_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c996 u32 aligned_offset, aligned_len, *p; in set_eeprom() local
1002 aligned_offset = eeprom->offset & ~3; in set_eeprom()
1008 if (aligned_offset < start || in set_eeprom()
1009 aligned_offset + aligned_len > start + EEPROMPFSIZE) in set_eeprom()
1013 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
1019 err = eeprom_rd_phys(adapter, aligned_offset, (u32 *)buf); in set_eeprom()
1022 aligned_offset + aligned_len - 4, in set_eeprom()
1036 err = eeprom_wr_phys(adapter, aligned_offset, *p); in set_eeprom()
1037 aligned_offset += 4; in set_eeprom()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.c21 u64 aligned_offset = offset; in i40e_align_l2obj_base() local
24 aligned_offset += (I40E_HMC_L2OBJ_BASE_ALIGNMENT - in i40e_align_l2obj_base()
27 return aligned_offset; in i40e_align_l2obj_base()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2059 u32 aligned_offset, aligned_len; in set_eeprom() local
2067 aligned_offset = eeprom->offset & ~3; in set_eeprom()
2070 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom()
2074 err = t3_seeprom_read(adapter, aligned_offset, (__le32 *) buf); in set_eeprom()
2077 aligned_offset + aligned_len - 4, in set_eeprom()
2090 err = t3_seeprom_write(adapter, aligned_offset, *p); in set_eeprom()
2091 aligned_offset += 4; in set_eeprom()