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

/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_debugfs.c199 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro
218 if ((offset + (len<<2)) > BFA_REG_ADDRMSK(&bfa->ioc)) bfad_reg_offset_check()
290 addr &= BFA_REG_ADDRMSK(ioc); bfad_debugfs_write_regrd()
344 addr &= BFA_REG_ADDRMSK(ioc); /* offset only 17 bit and word align */ bfad_debugfs_write_regwr()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c260 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro
282 if ((offset + (len<<2)) > BFA_REG_ADDRMSK(ioc)) bna_reg_offset_check()
353 addr &= BFA_REG_ADDRMSK(ioc); bnad_debugfs_write_regrd()
410 addr &= BFA_REG_ADDRMSK(ioc); /* offset only 17 bit and word align */ bnad_debugfs_write_regwr()

Completed in 48 milliseconds