Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c59 u32 twsi_ctrl_data; in atl1e_get_permanent_address() local
70 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address()
71 twsi_ctrl_data |= TWSI_CTRL_SW_LDSTART; in atl1e_get_permanent_address()
72 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1e_get_permanent_address()
75 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address()
76 if ((twsi_ctrl_data & TWSI_CTRL_SW_LDSTART) == 0) in atl1e_get_permanent_address()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c74 u32 twsi_ctrl_data; in atl1c_get_permanent_address() local
106 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address()
107 twsi_ctrl_data |= TWSI_CTRL_SW_LDSTART; in atl1c_get_permanent_address()
108 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1c_get_permanent_address()
111 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address()
112 if ((twsi_ctrl_data & TWSI_CTRL_SW_LDSTART) == 0) in atl1c_get_permanent_address()