Searched refs:readvalue (Results 1 – 2 of 2) sorted by relevance
143 u32 readvalue; in spider_net_read_phy() local145 readvalue = ((u32)mii_id << 21) | ((u32)reg << 16); in spider_net_read_phy()146 spider_net_write_reg(card, SPIDER_NET_GPCROPCMD, readvalue); in spider_net_read_phy()153 readvalue = spider_net_read_reg(card, SPIDER_NET_GPCROPCMD); in spider_net_read_phy()154 } while (readvalue & SPIDER_NET_GPREXEC); in spider_net_read_phy()156 readvalue &= SPIDER_NET_GPRDAT_MASK; in spider_net_read_phy()158 return readvalue; in spider_net_read_phy()
202 int readvalue = fgetc(serialfile); in wait_for_serial() local204 switch (readvalue) { in wait_for_serial()220 fprintf(stderr, "Unexpected %d on %s serial\n", readvalue, side); in wait_for_serial()