Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/bfa/
Dbfad_debugfs.c196 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro
215 if ((offset + (len<<2)) > BFA_REG_ADDRMSK(&bfa->ioc)) in bfad_reg_offset_check()
288 addr &= BFA_REG_ADDRMSK(ioc); in bfad_debugfs_write_regrd()
342 addr &= BFA_REG_ADDRMSK(ioc); /* offset only 17 bit and word align */ in bfad_debugfs_write_regwr()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c257 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro
279 if (offset + (len << 2) > BFA_REG_ADDRMSK(ioc)) in bna_reg_offset_check()
344 addr &= BFA_REG_ADDRMSK(ioc); in bnad_debugfs_write_regrd()
395 addr &= BFA_REG_ADDRMSK(ioc); /* offset only 17 bit and word align */ in bnad_debugfs_write_regwr()