Lines Matching defs:retVal
1660 uint8 mh_mac[6],mh_mac_tmp[6],retVal;
1686 retVal=record_mac_address(mh_mac,&valu16);
1695 if((0==retVal)||(1==retVal))
1697 robo->ops->write_reg(robo, 0x4, (0x10+retVal*0x10), mh_mac_tmp, sizeof(mh_mac_tmp));
1698 robo->ops->write_reg(robo, 0x4, (0x18+retVal*0x10), &valu16, sizeof(valu16));
1700 else if((2==retVal)||(3==retVal))
1702 robo->ops->write_reg(robo, 0x4, (0x18+(retVal-2)*0x10), &valu16, sizeof(valu16));
1728 uint8 mh_mac[6],mh_mac_tmp[6],retVal;
1753 retVal=remove_mac_address(&mh_mac[0],&valu16);
1763 if((0==retVal)||(1==retVal))
1765 robo->ops->write_reg(robo, 0x4, (0x10+retVal*0x10), mh_mac_tmp, sizeof(mh_mac_tmp));
1766 robo->ops->write_reg(robo, 0x4, (0x18+retVal*0x10), &valu16, sizeof(valu16));