Searched refs:sync_ackd (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_ioc_ct.c470 uint32_t sync_ackd = bfa_ioc_ct_get_sync_ackd(r32); bfa_ioc_ct_sync_complete() local
473 if (sync_ackd == 0) bfa_ioc_ct_sync_complete()
478 * has reinitialized the ASIC (reset sync_ackd bits) bfa_ioc_ct_sync_complete()
482 tmp_ackd = sync_ackd; bfa_ioc_ct_sync_complete()
484 !(sync_ackd & bfa_ioc_ct_sync_pos(ioc))) bfa_ioc_ct_sync_complete()
485 sync_ackd |= bfa_ioc_ct_sync_pos(ioc); bfa_ioc_ct_sync_complete()
487 if (sync_reqd == sync_ackd) { bfa_ioc_ct_sync_complete()
497 * this IOC was waiting for hw sem, the sync_ackd bit for bfa_ioc_ct_sync_complete()
500 if (tmp_ackd != sync_ackd) bfa_ioc_ct_sync_complete()
501 writel((r32 | sync_ackd), ioc->ioc_regs.ioc_fail_sync); bfa_ioc_ct_sync_complete()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc_ct.c547 u32 sync_ackd = bfa_ioc_ct_get_sync_ackd(r32); bfa_ioc_ct_sync_complete() local
550 if (sync_ackd == 0) bfa_ioc_ct_sync_complete()
555 * has reinitialized the ASIC (reset sync_ackd bits) bfa_ioc_ct_sync_complete()
559 tmp_ackd = sync_ackd; bfa_ioc_ct_sync_complete()
561 !(sync_ackd & bfa_ioc_ct_sync_pos(ioc))) bfa_ioc_ct_sync_complete()
562 sync_ackd |= bfa_ioc_ct_sync_pos(ioc); bfa_ioc_ct_sync_complete()
564 if (sync_reqd == sync_ackd) { bfa_ioc_ct_sync_complete()
574 * this IOC was waiting for hw sem, the sync_ackd bit for bfa_ioc_ct_sync_complete()
577 if (tmp_ackd != sync_ackd) bfa_ioc_ct_sync_complete()
578 writel((r32 | sync_ackd), ioc->ioc_regs.ioc_fail_sync); bfa_ioc_ct_sync_complete()

Completed in 66 milliseconds