Searched refs:frame_val (Results 1 – 1 of 1) sorted by relevance
1118 u32 frame_val; in __tg3_readphy() local1132 frame_val = ((phy_addr << MI_COM_PHY_ADDR_SHIFT) & in __tg3_readphy()1134 frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & in __tg3_readphy()1136 frame_val |= (MI_COM_CMD_READ | MI_COM_START); in __tg3_readphy()1138 tw32_f(MAC_MI_COM, frame_val); in __tg3_readphy()1143 frame_val = tr32(MAC_MI_COM); in __tg3_readphy()1145 if ((frame_val & MI_COM_BUSY) == 0) { in __tg3_readphy()1147 frame_val = tr32(MAC_MI_COM); in __tg3_readphy()1155 *val = frame_val & MI_COM_DATA_MASK; in __tg3_readphy()1177 u32 frame_val; in __tg3_writephy() local[all …]