Home
last modified time | relevance | path

Searched refs:frame_val (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/broadcom/
Dtg3.c1119 u32 frame_val; in __tg3_readphy() local
1133 frame_val = ((phy_addr << MI_COM_PHY_ADDR_SHIFT) & in __tg3_readphy()
1135 frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & in __tg3_readphy()
1137 frame_val |= (MI_COM_CMD_READ | MI_COM_START); in __tg3_readphy()
1139 tw32_f(MAC_MI_COM, frame_val); in __tg3_readphy()
1144 frame_val = tr32(MAC_MI_COM); in __tg3_readphy()
1146 if ((frame_val & MI_COM_BUSY) == 0) { in __tg3_readphy()
1148 frame_val = tr32(MAC_MI_COM); in __tg3_readphy()
1156 *val = frame_val & MI_COM_DATA_MASK; in __tg3_readphy()
1178 u32 frame_val; in __tg3_writephy() local
[all …]