Home
last modified time | relevance | path

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

/titanic_50/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c174 uint32_t frame_val; in tg3_readphy() local
181 frame_val = ((PHY_ADDR << MI_COM_PHY_ADDR_SHIFT) & in tg3_readphy()
183 frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & in tg3_readphy()
185 frame_val |= (MI_COM_CMD_READ | MI_COM_START); in tg3_readphy()
187 tw32_carefully(MAC_MI_COM, frame_val); in tg3_readphy()
192 frame_val = tr32(MAC_MI_COM); in tg3_readphy()
194 if ((frame_val & MI_COM_BUSY) == 0) { in tg3_readphy()
196 frame_val = tr32(MAC_MI_COM); in tg3_readphy()
203 *val = frame_val & MI_COM_DATA_MASK; in tg3_readphy()
214 uint32_t frame_val; in tg3_writephy() local
[all …]