Searched refs:aligned_offset (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 996 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/ |
D | i40e_lan_hmc.c | 21 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/ |
D | cxgb3_main.c | 2059 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()
|