Home
last modified time | relevance | path

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

/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c72 u32 twsi_ctrl_data; in atl1e_get_permanent_address() local
83 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address()
84 twsi_ctrl_data |= TWSI_CTRL_SW_LDSTART; in atl1e_get_permanent_address()
85 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1e_get_permanent_address()
88 twsi_ctrl_data = AT_READ_REG(hw, REG_TWSI_CTRL); in atl1e_get_permanent_address()
89 if ((twsi_ctrl_data & TWSI_CTRL_SW_LDSTART) == 0) in atl1e_get_permanent_address()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c87 u32 twsi_ctrl_data; in atl1c_get_permanent_address() local
119 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address()
120 twsi_ctrl_data |= TWSI_CTRL_SW_LDSTART; in atl1c_get_permanent_address()
121 AT_WRITE_REG(hw, REG_TWSI_CTRL, twsi_ctrl_data); in atl1c_get_permanent_address()
124 AT_READ_REG(hw, REG_TWSI_CTRL, &twsi_ctrl_data); in atl1c_get_permanent_address()
125 if ((twsi_ctrl_data & TWSI_CTRL_SW_LDSTART) == 0) in atl1c_get_permanent_address()