Searched refs:aq_dev (Results 1 – 8 of 8) sorted by relevance
| /freebsd/sys/dev/aq/ |
| H A D | aq_irq.c | 58 aq_update_hw_stats(struct aq_dev *aq_dev) in aq_update_hw_stats() argument 60 struct aq_hw *hw = &aq_dev->hw; in aq_update_hw_stats() 68 aq_dev->curr_stats._N_ += stats._N_ - aq_dev->last_stats._N_; \ in aq_update_hw_stats() 70 if (aq_dev->linkup) { in aq_update_hw_stats() 99 aq_dev->curr_stats.brc = aq_dev->curr_stats.ubrc + in aq_update_hw_stats() 100 aq_dev->curr_stats.mbrc + aq_dev->curr_stats.bbrc; in aq_update_hw_stats() 105 aq_dev->curr_stats.btc = aq_dev->curr_stats.ubtc + in aq_update_hw_stats() 106 aq_dev->curr_stats.mbtc + aq_dev->curr_stats.bbtc; in aq_update_hw_stats() 112 memcpy(&aq_dev->last_stats, &stats, sizeof(stats)); in aq_update_hw_stats() 126 aq_thermal_report_shutdown(struct aq_dev *aq_dev) in aq_thermal_report_shutdown() argument [all …]
|
| H A D | aq_media.c | 74 aq_mediastatus_update(struct aq_dev *aq_dev, uint32_t link_speed, in aq_mediastatus_update() argument 77 struct aq_hw *hw = &aq_dev->hw; in aq_mediastatus_update() 80 aq_dev->media_active = 0; in aq_mediastatus_update() 82 aq_dev->media_active |= IFM_ETH_RXPAUSE; in aq_mediastatus_update() 84 aq_dev->media_active |= IFM_ETH_TXPAUSE; in aq_mediastatus_update() 89 aq_dev->media_active |= i < nitems(aq_media_types) ? in aq_mediastatus_update() 93 aq_dev->media_active |= IFM_AUTO; in aq_mediastatus_update() 99 struct aq_dev *aq_dev = iflib_get_softc(if_getsoftc(ifp)); in aq_mediastatus() local 104 if (aq_dev->linkup) in aq_mediastatus() 107 ifmr->ifm_active |= aq_dev->media_active; in aq_mediastatus() [all …]
|
| H A D | aq_ring.c | 226 struct aq_dev *aq_dev = arg; in aq_ring_rx_refill() local 234 ring = aq_dev->rx_rings[iru->iru_qsidx]; in aq_ring_rx_refill() 251 struct aq_dev *aq_dev = arg; in aq_isc_rxd_flush() local 252 struct aq_ring *ring = aq_dev->rx_rings[rxqid]; in aq_isc_rxd_flush() 255 reg_rx_dma_desc_tail_ptr_set(&aq_dev->hw, pidx, ring->index); in aq_isc_rxd_flush() 262 struct aq_dev *aq_dev = arg; in aq_isc_rxd_available() local 263 struct aq_ring *ring = aq_dev->rx_rings[rxqid]; in aq_isc_rxd_available() 271 trace_aq_rx_descr(&aq_dev->hw, ring->index, i, in aq_isc_rxd_available() 320 struct aq_dev *aq_dev = arg; in aq_isc_rxd_pkt_get() local 321 struct aq_ring *ring = aq_dev->rx_rings[ri->iri_qsidx]; in aq_isc_rxd_pkt_get() [all …]
|
| H A D | aq_device.h | 95 struct aq_dev { struct 157 int aq_update_hw_stats(struct aq_dev *aq_dev); argument 158 void aq_initmedia(struct aq_dev *aq_dev); 161 void aq_mediastatus_update(struct aq_dev *aq_dev, uint32_t link_speed, const struct aq_hw_fc_info *…
|
| H A D | aq_main.c | 188 static int aq_hw_capabilities(struct aq_dev *softc); 189 static void aq_add_stats_sysctls(struct aq_dev *softc); 199 static bool aq_is_vlan_promisc_required(struct aq_dev *softc); 200 static void aq_update_vlan_filters(struct aq_dev *softc); 220 "aq", aq_methods, sizeof(struct aq_dev), 277 "aq_if", aq_if_methods, sizeof(struct aq_dev) 334 struct aq_dev *softc; in aq_if_attach_pre() 371 softc->hw.aq_dev = softc; in aq_if_attach_pre() 476 struct aq_dev *softc; in aq_if_attach_post() 527 struct aq_dev *softc; in aq_if_detach() [all …]
|
| H A D | aq_dbg.h | 119 #define AQ_DBG_SOFTC(_hw) ((struct aq_dev *)(_hw)->aq_dev) 122 const struct aq_dev *_sc = AQ_DBG_SOFTC(_hw); \ 129 const struct aq_dev *_sc = AQ_DBG_SOFTC(_hw); \
|
| H A D | aq_ring.h | 144 struct aq_dev; 147 struct aq_dev *dev;
|
| H A D | aq_hw.h | 172 void *aq_dev; member
|