Lines Matching refs:be_adapter
114 static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q)
122 static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q,
138 static void be_intr_set(struct be_adapter *adapter, bool enable)
157 static void be_rxq_notify(struct be_adapter *adapter, u16 qid, u16 posted)
167 static void be_txq_notify(struct be_adapter *adapter, u16 qid, u16 posted)
177 static void be_eq_notify(struct be_adapter *adapter, u16 qid,
195 void be_cq_notify(struct be_adapter *adapter, u16 qid, bool arm, u16 num_popped)
211 struct be_adapter *adapter = netdev_priv(netdev);
237 void netdev_stats_update(struct be_adapter *adapter)
308 void be_link_status_update(struct be_adapter *adapter, bool link_up)
329 static void be_rx_eqd_update(struct be_adapter *adapter)
384 static void be_tx_rate_update(struct be_adapter *adapter)
405 static void be_tx_stats_update(struct be_adapter *adapter,
493 static int make_tx_wrbs(struct be_adapter *adapter,
566 struct be_adapter *adapter = netdev_priv(netdev);
605 struct be_adapter *adapter = netdev_priv(netdev);
625 static int be_vid_config(struct be_adapter *adapter, bool vf, u32 vf_num)
658 struct be_adapter *adapter = netdev_priv(netdev);
671 struct be_adapter *adapter = netdev_priv(netdev);
684 struct be_adapter *adapter = netdev_priv(netdev);
699 struct be_adapter *adapter = netdev_priv(netdev);
729 struct be_adapter *adapter = netdev_priv(netdev);
759 struct be_adapter *adapter = netdev_priv(netdev);
779 struct be_adapter *adapter = netdev_priv(netdev);
807 struct be_adapter *adapter = netdev_priv(netdev);
828 static void be_rx_rate_update(struct be_adapter *adapter)
850 static void be_rx_stats_update(struct be_adapter *adapter,
881 get_rx_page_info(struct be_adapter *adapter, u16 frag_idx)
900 static void be_rx_compl_discard(struct be_adapter *adapter,
922 static void skb_fill_rx_data(struct be_adapter *adapter,
1005 static void be_rx_compl_process(struct be_adapter *adapter,
1058 static void be_rx_compl_process_gro(struct be_adapter *adapter,
1138 static struct be_eth_rx_compl *be_rx_compl_get(struct be_adapter *adapter)
1174 static void be_post_rx_frags(struct be_adapter *adapter)
1248 static void be_tx_compl_process(struct be_adapter *adapter, u16 last_index)
1293 static int event_handle(struct be_adapter *adapter,
1316 static void be_eq_clean(struct be_adapter *adapter,
1331 static void be_rx_q_clean(struct be_adapter *adapter)
1356 static void be_tx_compl_clean(struct be_adapter *adapter)
1399 static void be_mcc_queues_destroy(struct be_adapter *adapter)
1415 static int be_mcc_queues_create(struct be_adapter *adapter)
1450 static void be_tx_queues_destroy(struct be_adapter *adapter)
1473 static int be_tx_queues_create(struct be_adapter *adapter)
1524 static void be_rx_queues_destroy(struct be_adapter *adapter)
1554 static int be_rx_queues_create(struct be_adapter *adapter)
1616 static inline int be_evt_bit_get(struct be_adapter *adapter, u32 eq_id)
1623 struct be_adapter *adapter = dev;
1639 struct be_adapter *adapter = dev;
1648 struct be_adapter *adapter = dev;
1655 static inline bool do_gro(struct be_adapter *adapter,
1670 struct be_adapter *adapter =
1671 container_of(rx_eq, struct be_adapter, rx_eq);
1711 struct be_adapter *adapter =
1712 container_of(tx_eq, struct be_adapter, tx_eq);
1753 void be_detect_dump_ue(struct be_adapter *adapter)
1794 struct be_adapter *adapter =
1795 container_of(work, struct be_adapter, work.work);
1816 static void be_msix_disable(struct be_adapter *adapter)
1824 static void be_msix_enable(struct be_adapter *adapter)
1837 static void be_sriov_enable(struct be_adapter *adapter)
1850 static void be_sriov_disable(struct be_adapter *adapter)
1860 static inline int be_msix_vec_get(struct be_adapter *adapter, u32 eq_id)
1866 static int be_request_irq(struct be_adapter *adapter,
1878 static void be_free_irq(struct be_adapter *adapter, struct be_eq_obj *eq_obj)
1884 static int be_msix_register(struct be_adapter *adapter)
1908 static int be_irq_register(struct be_adapter *adapter)
1936 static void be_irq_unregister(struct be_adapter *adapter)
1958 struct be_adapter *adapter = netdev_priv(netdev);
1996 struct be_adapter *adapter = netdev_priv(netdev);
2049 static int be_setup_wol(struct be_adapter *adapter, bool enable)
2087 static int be_setup(struct be_adapter *adapter)
2164 static int be_clear(struct be_adapter *adapter)
2182 static bool be_flash_redboot(struct be_adapter *adapter,
2209 static int be_flash_data(struct be_adapter *adapter,
2323 int be_load_fw(struct be_adapter *adapter, u8 *func)
2409 struct be_adapter *adapter = netdev_priv(netdev);
2440 static void be_unmap_pci_bars(struct be_adapter *adapter)
2450 static int be_map_pci_bars(struct be_adapter *adapter)
2496 static void be_ctrl_cleanup(struct be_adapter *adapter)
2512 static int be_ctrl_init(struct be_adapter *adapter)
2564 static void be_stats_cleanup(struct be_adapter *adapter)
2574 static int be_stats_init(struct be_adapter *adapter)
2589 struct be_adapter *adapter = pci_get_drvdata(pdev);
2613 static int be_get_config(struct be_adapter *adapter)
2655 struct be_adapter *adapter;
2668 netdev = alloc_etherdev(sizeof(struct be_adapter));
2774 struct be_adapter *adapter = pci_get_drvdata(pdev);
2798 struct be_adapter *adapter = pci_get_drvdata(pdev);
2833 struct be_adapter *adapter = pci_get_drvdata(pdev);
2849 struct be_adapter *adapter = pci_get_drvdata(pdev);
2875 struct be_adapter *adapter = pci_get_drvdata(pdev);
2900 struct be_adapter *adapter = pci_get_drvdata(pdev);