Searched refs:aligned_offset (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_ethtool.c | 1236 u32 aligned_offset, aligned_len, *p; in set_eeprom() local 1242 aligned_offset = eeprom->offset & ~3; in set_eeprom() 1248 if (aligned_offset < start || in set_eeprom() 1249 aligned_offset + aligned_len > start + EEPROMPFSIZE) in set_eeprom() 1253 if (aligned_offset != eeprom->offset || aligned_len != eeprom->len) { in set_eeprom() 1259 err = eeprom_rd_phys(adapter, aligned_offset, (u32 *)buf); in set_eeprom() 1262 aligned_offset + aligned_len - 4, in set_eeprom() 1276 err = eeprom_wr_phys(adapter, aligned_offset, *p); in set_eeprom() 1277 aligned_offset += 4; in set_eeprom()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_lan_hmc.c | 19 u64 aligned_offset = offset; in i40e_align_l2obj_base() local 22 aligned_offset += (I40E_HMC_L2OBJ_BASE_ALIGNMENT - in i40e_align_l2obj_base() 25 return aligned_offset; in i40e_align_l2obj_base()
|
| /linux/drivers/gpu/ |
| H A D | buddy.c | 1093 u64 aligned_offset = round_down(unaligned_offset, min_block_size); in __alloc_contig_aligned_retry() local 1095 return __gpu_buddy_alloc_range(mm, aligned_offset, size, NULL, blocks); in __alloc_contig_aligned_retry()
|