Home | History | Annotate | Download | only in pci

Lines Matching defs:aq_softc

1220 	struct aq_softc *txr_sc;
1246 struct aq_softc *rxr_sc;
1267 struct aq_softc *sc;
1272 struct aq_softc;
1274 int (*reset)(struct aq_softc *);
1275 int (*get_mac_addr)(struct aq_softc *);
1276 int (*set_mode)(struct aq_softc *, aq_hw_fw_mpi_state_t,
1278 int (*get_mode)(struct aq_softc *, aq_hw_fw_mpi_state_t *,
1280 int (*get_stats)(struct aq_softc *, aq_hw_stats_s_t *);
1282 int (*get_temperature)(struct aq_softc *, uint32_t *);
1318 struct aq_softc {
1445 static int aq_setup_msix(struct aq_softc *, struct pci_attach_args *);
1446 static int aq_setup_legacy(struct aq_softc *, struct pci_attach_args *,
1455 static void aq_send_common_locked(struct ifnet *, struct aq_softc *,
1464 static int aq_txrx_rings_alloc(struct aq_softc *);
1465 static void aq_txrx_rings_free(struct aq_softc *);
1466 static int aq_tx_pcq_alloc(struct aq_softc *, struct aq_txring *);
1467 static void aq_tx_pcq_free(struct aq_softc *, struct aq_txring *);
1469 static void aq_initmedia(struct aq_softc *);
1470 static void aq_enable_intr(struct aq_softc *, bool, bool);
1473 static void aq_unset_stopping_flags(struct aq_softc *);
1474 static void aq_set_stopping_flags(struct aq_softc *);
1486 static int aq_set_linkmode(struct aq_softc *, aq_link_speed_t, aq_link_fc_t,
1488 static int aq_get_linkmode(struct aq_softc *, aq_link_speed_t *, aq_link_fc_t *,
1491 static int aq1_fw_reboot(struct aq_softc *);
1492 static int aq1_fw_version_init(struct aq_softc *);
1493 static int aq_hw_init(struct aq_softc *);
1494 static int aq1_hw_init_ucp(struct aq_softc *);
1495 static int aq_hw_reset(struct aq_softc *);
1496 static int aq1_fw_downld_dwords(struct aq_softc *, uint32_t, uint32_t *,
1498 static int aq1_get_mac_addr(struct aq_softc *);
1499 static int aq_init_rss(struct aq_softc *);
1500 static int aq_set_capability(struct aq_softc *);
1502 static int fw1x_reset(struct aq_softc *);
1503 static int fw1x_set_mode(struct aq_softc *, aq_hw_fw_mpi_state_t,
1505 static int fw1x_get_mode(struct aq_softc *, aq_hw_fw_mpi_state_t *,
1507 static int fw1x_get_stats(struct aq_softc *, aq_hw_stats_s_t *);
1509 static int fw2x_reset(struct aq_softc *);
1510 static int fw2x_set_mode(struct aq_softc *, aq_hw_fw_mpi_state_t,
1512 static int fw2x_get_mode(struct aq_softc *, aq_hw_fw_mpi_state_t *,
1514 static int fw2x_get_stats(struct aq_softc *, aq_hw_stats_s_t *);
1516 static int fw2x_get_temperature(struct aq_softc *, uint32_t *);
1524 static int aq2_fw_reboot(struct aq_softc *);
1525 static int aq2_fw_reset(struct aq_softc *);
1526 static int aq2_get_mac_addr(struct aq_softc *);
1527 static int aq2_fw_set_mode(struct aq_softc *, aq_hw_fw_mpi_state_t,
1529 static int aq2_fw_get_mode(struct aq_softc *, aq_hw_fw_mpi_state_t *,
1531 static int aq2_init_filter(struct aq_softc *);
1532 static int aq2_filter_art_set(struct aq_softc *, uint32_t, uint32_t, uint32_t,
1534 static int aq2_fw_get_stats(struct aq_softc *, aq_hw_stats_s_t *);
1536 static int aq2_fw_get_temperature(struct aq_softc *, uint32_t *);
1572 CFATTACH_DECL3_NEW(aq, sizeof(struct aq_softc),
1710 struct aq_softc * const sc = device_private(self);
2024 struct aq_softc * const sc = device_private(self);
2110 aq_establish_intr(struct aq_softc *sc, int intno, kcpuset_t *affinity,
2145 aq_establish_msix_intr(struct aq_softc *sc)
2213 aq_setup_msix(struct aq_softc *sc, struct pci_attach_args *pa)
2248 aq_setup_legacy(struct aq_softc *sc, struct pci_attach_args *pa,
2278 aq1_global_software_reset(struct aq_softc *sc)
2294 aq1_mac_soft_reset_rbl(struct aq_softc *sc, aq_fw_bootloader_mode_t *mode)
2348 aq1_mac_soft_reset_flb(struct aq_softc *sc)
2435 aq1_mac_soft_reset(struct aq_softc *sc, aq_fw_bootloader_mode_t *mode)
2446 aq1_fw_read_version(struct aq_softc *sc)
2462 aq1_fw_reboot(struct aq_softc *sc)
2541 aq_hw_reset(struct aq_softc *sc)
2565 aq1_hw_init_ucp(struct aq_softc *sc)
2603 aq1_fw_version_init(struct aq_softc *sc)
2660 fw1x_reset(struct aq_softc *sc)
2702 fw1x_set_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t mode,
2726 fw1x_get_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t *modep,
2762 fw1x_get_stats(struct aq_softc *sc, aq_hw_stats_s_t *stats)
2781 fw2x_reset(struct aq_softc *sc)
2805 fw2x_set_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t mode,
2858 fw2x_get_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t *modep,
2902 toggle_mpi_ctrl_and_wait(struct aq_softc *sc, uint64_t mask,
2940 fw2x_get_stats(struct aq_softc *sc, aq_hw_stats_s_t *stats)
2972 fw2x_get_temperature(struct aq_softc *sc, uint32_t *temp)
3005 aq1_fw_downld_dwords(struct aq_softc *sc, uint32_t addr, uint32_t *p,
3051 aq1_get_mac_addr(struct aq_softc *sc)
3092 aq_set_mac_addr(struct aq_softc *sc, int index, uint8_t *enaddr)
3127 aq_set_capability(struct aq_softc *sc)
3193 aq_set_filter(struct aq_softc *sc)
3265 aq2_filter_art_set(struct aq_softc *sc, uint32_t idx,
3291 aq2_init_filter(struct aq_softc *sc)
3317 aq2_interface_buffer_read(struct aq_softc *sc, uint32_t reg0, uint32_t *data0,
3348 aq2_fw_reboot(struct aq_softc *sc)
3467 aq2_fw_wait_shared_ack(struct aq_softc *sc)
3480 aq2_fw_reset(struct aq_softc *sc)
3504 aq2_fw_set_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t mode,
3574 aq2_fw_get_mode(struct aq_softc *sc, aq_hw_fw_mpi_state_t *modep,
3626 aq2_fw_get_stats(struct aq_softc *sc, aq_hw_stats_s_t *stats)
3687 aq2_fw_get_temperature(struct aq_softc *sc, uint32_t *temp)
3709 aq2_get_mac_addr(struct aq_softc *sc)
3736 struct aq_softc * const sc = ifp->if_softc;
3790 struct aq_softc * const sc = ifp->if_softc;
3831 aq_initmedia(struct aq_softc *sc)
3872 aq_set_linkmode(struct aq_softc *sc, aq_link_speed_t speed, aq_link_fc_t fc,
3879 aq_get_linkmode(struct aq_softc *sc, aq_link_speed_t *speed, aq_link_fc_t *fc,
3895 aq_hw_init_tx_path(struct aq_softc *sc)
3922 aq_hw_init_rx_path(struct aq_softc *sc)
4023 aq_hw_interrupt_moderation_set(struct aq_softc *sc)
4130 aq_hw_qos_set(struct aq_softc *sc)
4229 aq_init_rss(struct aq_softc *sc)
4331 aq1_hw_l3_filter_set(struct aq_softc *sc)
4343 aq_set_vlan_filters(struct aq_softc *sc)
4418 aq_hw_init(struct aq_softc *sc)
4493 aq_update_link_status(struct aq_softc *sc)
4565 aq_update_statistics(struct aq_softc *sc)
4612 _alloc_dma(struct aq_softc *sc, bus_size_t size, bus_size_t *sizep,
4663 _free_dma(struct aq_softc *sc, bus_size_t *sizep, void **addrp,
4682 aq_txring_alloc(struct aq_softc *sc, struct aq_txring *txring)
4707 aq_txring_free(struct aq_softc *sc, struct aq_txring *txring)
4730 aq_rxring_alloc(struct aq_softc *sc, struct aq_rxring *rxring)
4754 aq_rxdrain(struct aq_softc *sc, struct aq_rxring *rxring)
4770 aq_rxring_free(struct aq_softc *sc, struct aq_rxring *rxring)
4790 aq_rxring_setmbuf(struct aq_softc *sc, struct aq_rxring *rxring, int idx,
4818 aq_rxring_reset_desc(struct aq_softc *sc, struct aq_rxring *rxring, int idx)
4849 aq_rxring_add(struct aq_softc *sc, struct aq_rxring *rxring, int idx)
4862 aq_txrx_rings_alloc(struct aq_softc *sc)
4894 aq_txrx_rings_free(struct aq_softc *sc)
4910 aq_tx_pcq_alloc(struct aq_softc *sc, struct aq_txring *txring)
4938 aq_tx_pcq_free(struct aq_softc *sc, struct aq_txring *txring)
4959 struct aq_softc *sc;
4978 aq_watchdog_check(struct aq_softc * const sc)
5012 struct aq_softc * const sc = ifp->if_softc;
5029 struct aq_softc * const sc = arg;
5054 aq_enable_intr(struct aq_softc *sc, bool link, bool txrx)
5076 struct aq_softc *sc = arg;
5106 struct aq_softc *sc = queue->sc;
5133 struct aq_softc * const sc = arg;
5152 aq_txring_reset(struct aq_softc *sc, struct aq_txring *txring, bool start)
5212 aq_rxring_reset(struct aq_softc *sc, struct aq_rxring *rxring, bool start)
5310 aq_encap_txring(struct aq_softc *sc, struct aq_txring *txring, struct mbuf *m)
5413 struct aq_softc * const sc = txring->txr_sc;
5470 struct aq_softc * const sc = rxring->rxr_sc;
5690 struct aq_softc * const sc = ifp->if_softc;
5700 struct aq_softc * const sc = ifp->if_softc;
5736 struct aq_softc * const sc = ifp->if_softc;
5750 struct aq_softc * const sc = ifp->if_softc;
5803 aq_send_common_locked(struct ifnet *ifp, struct aq_softc *sc,
5856 struct aq_softc * const sc = ifp->if_softc;
5867 aq_select_txqueue(struct aq_softc *sc, struct mbuf *m)
5875 struct aq_softc * const sc = ifp->if_softc;
5899 struct aq_softc * const sc = txring->txr_sc;
5910 aq_unset_stopping_flags(struct aq_softc *sc)
5933 aq_set_stopping_flags(struct aq_softc *sc)
5959 struct aq_softc * const sc = ifp->if_softc;
5974 struct aq_softc * const sc = ifp->if_softc;
6015 struct aq_softc * const sc = arg;
6056 struct aq_softc * const sc = ifp->if_softc;