Lines Matching defs:retVal
2662 uint8 mh_mac[6],mh_mac_tmp[6],retVal;
2688 retVal=record_mac_address(mh_mac,&valu16);
2698 if((0==retVal)||(1==retVal))
2700 robo->ops->write_reg(robo, 0x4, (0x10+retVal*0x10), mh_mac_tmp, sizeof(mh_mac_tmp));
2701 robo->ops->write_reg(robo, 0x4, (0x18+retVal*0x10), &valu16, sizeof(valu16));
2703 else if((2==retVal)||(3==retVal))
2705 robo->ops->write_reg(robo, 0x4, (0x18+(retVal-2)*0x10), &valu16, sizeof(valu16));
2731 uint8 mh_mac[6],mh_mac_tmp[6],retVal;
2756 retVal=remove_mac_address(&mh_mac[0],&valu16);
2766 if((0==retVal)||(1==retVal))
2768 robo->ops->write_reg(robo, 0x4, (0x10+retVal*0x10), mh_mac_tmp, sizeof(mh_mac_tmp));
2769 robo->ops->write_reg(robo, 0x4, (0x18+retVal*0x10), &valu16, sizeof(valu16));