eventdev: move inline APIs into separate structure