Lines Matching refs:aligned_addr
435 u32 aligned_addr; in write_nic_memory() local
441 aligned_addr = addr & (~0x3); in write_nic_memory()
442 dif_len = addr - aligned_addr; in write_nic_memory()
446 aligned_addr); in write_nic_memory()
453 aligned_addr += 4; in write_nic_memory()
457 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in write_nic_memory()
459 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) in write_nic_memory()
464 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); in write_nic_memory()
473 u32 aligned_addr; in read_nic_memory() local
479 aligned_addr = addr & (~0x3); in read_nic_memory()
480 dif_len = addr - aligned_addr; in read_nic_memory()
484 aligned_addr); in read_nic_memory()
491 aligned_addr += 4; in read_nic_memory()
495 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); in read_nic_memory()
497 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) in read_nic_memory()
502 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); in read_nic_memory()