Lines Matching refs:dif_len
424 u32 dif_len; in write_nic_memory() local
429 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() local
467 dif_len = addr - aligned_addr; in read_nic_memory()
468 if (dif_len) { in read_nic_memory()
472 for (i = dif_len; i < 4; i++, buf++) in read_nic_memory()
477 len -= dif_len; in read_nic_memory()
488 dif_len = len - aligned_len; in read_nic_memory()
490 for (i = 0; i < dif_len; i++, buf++) in read_nic_memory()