Searched refs:dif_len (Results 1 – 2 of 2) sorted by relevance
437 u32 dif_len; in write_nic_memory() local442 dif_len = addr - aligned_addr; in write_nic_memory()443 if (dif_len) { in write_nic_memory()447 for (i = dif_len; i < 4; i++, buf++) in write_nic_memory()452 len -= dif_len; in write_nic_memory()463 dif_len = len - aligned_len; in write_nic_memory()465 for (i = 0; i < dif_len; i++, buf++) in write_nic_memory()475 u32 dif_len; in read_nic_memory() local480 dif_len = addr - aligned_addr; in read_nic_memory()481 if (dif_len) { in read_nic_memory()[all …]
435 u32 dif_len = reg - aligned_addr; in _ipw_write_reg8() local439 _ipw_write8(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg8()446 u32 dif_len = (reg - aligned_addr) & (~0x1ul); in _ipw_write_reg16() local450 _ipw_write16(priv, IPW_INDIRECT_DATA + dif_len, value); in _ipw_write_reg16()482 u32 dif_len = addr - aligned_addr; in _ipw_read_indirect() local492 if (unlikely(dif_len)) { in _ipw_read_indirect()495 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--) in _ipw_read_indirect()519 u32 dif_len = addr - aligned_addr; in _ipw_write_indirect() local529 if (unlikely(dif_len)) { in _ipw_write_indirect()532 for (i = dif_len; ((i < 4) && (num > 0)); i++, num--, buf++) in _ipw_write_indirect()