write result of call chipphyrd with phyaddr and reg given into tmp
call chipphywr with phyaddr, reg and tmp given