Searched refs:BFA_REG_ADDRMSK (Results 1 – 2 of 2) sorted by relevance
196 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro215 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()
257 #define BFA_REG_ADDRMSK(__ioc) (BFA_REG_ADDRSZ(__ioc) - 1) macro279 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()