Searched refs:frame_val (Results 1 – 1 of 1) sorted by relevance
182 uint32_t frame_val; in tg3_readphy() local189 frame_val = ((PHY_ADDR << MI_COM_PHY_ADDR_SHIFT) & in tg3_readphy()191 frame_val |= ((reg << MI_COM_REG_ADDR_SHIFT) & in tg3_readphy()193 frame_val |= (MI_COM_CMD_READ | MI_COM_START); in tg3_readphy()195 tw32_carefully(MAC_MI_COM, frame_val); in tg3_readphy()200 frame_val = tr32(MAC_MI_COM); in tg3_readphy()202 if ((frame_val & MI_COM_BUSY) == 0) { in tg3_readphy()204 frame_val = tr32(MAC_MI_COM); in tg3_readphy()211 *val = frame_val & MI_COM_DATA_MASK; in tg3_readphy()222 uint32_t frame_val; in tg3_writephy() local[all …]