Searched refs:aq_hw (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_phy.c | 12 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw) in aq_mdio_busy_wait() argument 17 err = readx_poll_timeout_atomic(hw_atl_mdio_busy_get, aq_hw, in aq_mdio_busy_wait() 26 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr) in aq_mdio_read_word() argument 28 u16 phy_addr = aq_hw->phy_id << 5 | mmd; in aq_mdio_read_word() 31 hw_atl_glb_mdio_iface4_set(aq_hw, (addr & HW_ATL_MDIO_ADDRESS_MSK) << in aq_mdio_read_word() 34 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 39 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 42 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 47 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 49 return (u16)hw_atl_glb_mdio_iface5_get(aq_hw); in aq_mdio_read_word() [all …]
|
| H A D | aq_phy.h | 20 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw); 22 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr); 24 void aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data); 26 u16 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address); 28 void aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data); 30 bool aq_phy_init_phy_id(struct aq_hw_s *aq_hw); 32 bool aq_phy_init(struct aq_hw_s *aq_hw); 34 void aq_phy_disable_ptp(struct aq_hw_s *aq_hw);
|
| H A D | aq_vec.c | 16 struct aq_hw_s *aq_hw; member 48 self->aq_hw, in aq_vec_poll() 60 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll() 81 self->aq_hw, in aq_vec_poll() 94 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll() 181 struct aq_hw_s *aq_hw) in aq_vec_init() argument 188 self->aq_hw = aq_hw; in aq_vec_init() 196 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init() 206 err = self->aq_hw_ops->hw_ring_rx_init(self->aq_hw, in aq_vec_init() 216 err = self->aq_hw_ops->hw_ring_rx_fill(self->aq_hw, in aq_vec_init() [all …]
|
| H A D | aq_hw_utils.c | 20 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() argument 26 reg_old = aq_hw_read_reg(aq_hw, addr); in aq_hw_write_reg_bit() 30 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit() 32 aq_hw_write_reg(aq_hw, addr, val); in aq_hw_write_reg_bit() 36 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() argument 38 return ((aq_hw_read_reg(aq_hw, addr) & msk) >> shift); in aq_hw_read_reg_bit()
|
| H A D | aq_drvinfo.c | 45 err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read() 54 err = aq_nic->aq_fw_ops->get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read() 56 err = aq_nic->aq_hw_ops->hw_get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
|
| H A D | aq_hw_utils.h | 31 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, 33 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift);
|
| H A D | aq_macsec.c | 322 struct aq_hw_s *hw = nic->aq_hw; in aq_set_txsc() 498 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_txsc() 551 struct aq_hw_s *hw = nic->aq_hw; in aq_update_txsa() 629 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_txsa() 695 struct aq_hw_s *hw = nic->aq_hw; in aq_set_rxsc() 796 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_rxsc() 866 struct aq_hw_s *hw = nic->aq_hw; in aq_update_rxsa() 959 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_rxsa() 1005 struct aq_hw_s *hw = nic->aq_hw; in aq_mdo_get_dev_stats() 1025 struct aq_hw_s *hw = nic->aq_hw; in aq_mdo_get_tx_sc_stats() [all …]
|
| H A D | aq_vec.h | 38 struct aq_hw_s *aq_hw);
|
| H A D | aq_nic.h | 132 struct aq_hw_s *aq_hw; member
|