Searched refs:dif_len (Results 1 – 2 of 2) sorted by relevance
424 u32 dif_len; in write_nic_memory() local429 dif_len = addr - aligned_addr; in write_nic_memory()430 if (dif_len) { in write_nic_memory()434 for (i = dif_len; i < 4; i++, buf++) in write_nic_memory()439 len -= dif_len; in write_nic_memory()450 dif_len = len - aligned_len; in write_nic_memory()452 for (i = 0; i < dif_len; i++, buf++) in write_nic_memory()462 u32 dif_len; in read_nic_memory() local467 dif_len = addr - aligned_addr; in read_nic_memory()468 if (dif_len) { in read_nic_memory()[all …]
422 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8() local426 _ipw_write8(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg8()433 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16() local437 _ipw_write16(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg16()469 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect() local479 if (unlikely(dif_len)) { in _ipw_read_indirect()482 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--) in _ipw_read_indirect()506 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect() local516 if (unlikely(dif_len)) { in _ipw_write_indirect()519 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--, buf++) in _ipw_write_indirect()