Searched refs:ax_local (Results 1 – 3 of 3) sorted by relevance
39 static int ax88796c_soft_reset(struct ax88796c_device *ax_local) in ax88796c_soft_reset() argument44 lockdep_assert_held(&ax_local->spi_lock); in ax88796c_soft_reset()46 AX_WRITE(&ax_local->ax_spi, PSR_RESET, P0_PSR); in ax88796c_soft_reset()47 AX_WRITE(&ax_local->ax_spi, PSR_RESET_CLR, P0_PSR); in ax88796c_soft_reset()52 &ax_local->ax_spi, P0_PSR); in ax88796c_soft_reset()56 temp = AX_READ(&ax_local->ax_spi, P4_SPICR); in ax88796c_soft_reset()57 if (ax_local->priv_flags & AX_CAP_COMP) { in ax88796c_soft_reset()58 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset()60 ax_local->ax_spi.comp = 1; in ax88796c_soft_reset()62 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset()[all …]
32 struct ax88796c_device *ax_local = to_ax88796c_device(ndev); in ax88796c_get_msglevel() local34 return ax_local->msg_enable; in ax88796c_get_msglevel()39 struct ax88796c_device *ax_local = to_ax88796c_device(ndev); in ax88796c_set_msglevel() local41 ax_local->msg_enable = level; in ax88796c_set_msglevel()47 struct ax88796c_device *ax_local = to_ax88796c_device(ndev); in ax88796c_get_pauseparam() local49 pause->tx_pause = !!(ax_local->flowctrl & AX_FC_TX); in ax88796c_get_pauseparam()50 pause->rx_pause = !!(ax_local->flowctrl & AX_FC_RX); in ax88796c_get_pauseparam()51 pause->autoneg = (ax_local->flowctrl & AX_FC_ANEG) ? in ax88796c_get_pauseparam()59 struct ax88796c_device *ax_local = to_ax88796c_device(ndev); in ax88796c_set_pauseparam() local67 ax_local->flowctrl = fc; in ax88796c_set_pauseparam()[all …]
19 bool ax88796c_check_power(const struct ax88796c_device *ax_local);20 bool ax88796c_check_power_and_wake(struct ax88796c_device *ax_local);21 void ax88796c_set_power_saving(struct ax88796c_device *ax_local, u8 ps_level);