Searched refs:aligned_addr (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/rts5208/ |
H A D | rtsx_chip.c | 1658 u16 aligned_addr = addr - offset; rtsx_write_cfg_seq() local 1703 retval = rtsx_write_cfg_dw(chip, func, aligned_addr + i * 4, rtsx_write_cfg_seq() 1724 u16 aligned_addr = addr - offset; rtsx_read_cfg_seq() local 1742 retval = rtsx_read_cfg_dw(chip, func, aligned_addr + i * 4, rtsx_read_cfg_seq()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.c | 450 u32 aligned_addr; write_nic_memory() local 456 aligned_addr = addr & (~0x3); write_nic_memory() 457 dif_len = addr - aligned_addr; write_nic_memory() 459 /* Start reading at aligned_addr + dif_len */ write_nic_memory() 461 aligned_addr); write_nic_memory() 468 aligned_addr += 4; write_nic_memory() 472 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); write_nic_memory() 474 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) write_nic_memory() 479 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); write_nic_memory() 488 u32 aligned_addr; read_nic_memory() local 494 aligned_addr = addr & (~0x3); read_nic_memory() 495 dif_len = addr - aligned_addr; read_nic_memory() 497 /* Start reading at aligned_addr + dif_len */ read_nic_memory() 499 aligned_addr); read_nic_memory() 506 aligned_addr += 4; read_nic_memory() 510 write_register(dev, IPW_REG_AUTOINCREMENT_ADDRESS, aligned_addr); read_nic_memory() 512 for (i = 0; i < aligned_len; i += 4, buf += 4, aligned_addr += 4) read_nic_memory() 517 write_register(dev, IPW_REG_INDIRECT_ACCESS_ADDRESS, aligned_addr); read_nic_memory()
|
H A D | ipw2200.c | 448 u32 aligned_addr = reg & IPW_INDIRECT_ADDR_MASK; /* dword align */ _ipw_write_reg8() local 449 u32 dif_len = reg - aligned_addr; _ipw_write_reg8() 452 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_write_reg8() 459 u32 aligned_addr = reg & IPW_INDIRECT_ADDR_MASK; /* dword align */ _ipw_write_reg16() local 460 u32 dif_len = (reg - aligned_addr) & (~0x1ul); _ipw_write_reg16() 463 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_write_reg16() 495 u32 aligned_addr = addr & IPW_INDIRECT_ADDR_MASK; /* dword align */ _ipw_read_indirect() local 496 u32 dif_len = addr - aligned_addr; _ipw_read_indirect() 507 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_read_indirect() 508 /* Start reading at aligned_addr + dif_len */ _ipw_read_indirect() 511 aligned_addr += 4; _ipw_read_indirect() 515 _ipw_write32(priv, IPW_AUTOINC_ADDR, aligned_addr); _ipw_read_indirect() 516 for (; num >= 4; buf += 4, aligned_addr += 4, num -= 4) _ipw_read_indirect() 521 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_read_indirect() 532 u32 aligned_addr = addr & IPW_INDIRECT_ADDR_MASK; /* dword align */ _ipw_write_indirect() local 533 u32 dif_len = addr - aligned_addr; _ipw_write_indirect() 544 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_write_indirect() 545 /* Start writing at aligned_addr + dif_len */ _ipw_write_indirect() 548 aligned_addr += 4; _ipw_write_indirect() 552 _ipw_write32(priv, IPW_AUTOINC_ADDR, aligned_addr); _ipw_write_indirect() 553 for (; num >= 4; buf += 4, aligned_addr += 4, num -= 4) _ipw_write_indirect() 558 _ipw_write32(priv, IPW_INDIRECT_ADDR, aligned_addr); _ipw_write_indirect()
|
Completed in 222 milliseconds