/openbmc/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen4.c | 49 static int gen4_poll_link(struct intel_ntb_dev *ndev) in gen4_poll_link() 71 static int gen4_link_is_up(struct intel_ntb_dev *ndev) in gen4_link_is_up() 76 static int gen4_init_isr(struct intel_ntb_dev *ndev) in gen4_init_isr() 96 static int gen4_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen4_setup_b2b_mw() 127 static int gen4_init_ntb(struct intel_ntb_dev *ndev) in gen4_init_ntb() 183 int gen4_init_dev(struct intel_ntb_dev *ndev) in gen4_init_dev() 222 struct intel_ntb_dev *ndev; in ndev_ntb4_debugfs_read() local 340 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_set_trans() local 434 struct intel_ntb_dev *ndev; in intel_ntb4_link_enable() local 497 struct intel_ntb_dev *ndev; in intel_ntb4_link_disable() local [all …]
|
H A D | ntb_hw_gen3.c | 93 static int gen3_poll_link(struct intel_ntb_dev *ndev) in gen3_poll_link() 115 static int gen3_init_isr(struct intel_ntb_dev *ndev) in gen3_init_isr() 173 static int gen3_init_ntb(struct intel_ntb_dev *ndev) in gen3_init_ntb() 226 int gen3_init_dev(struct intel_ntb_dev *ndev) in gen3_init_dev() 258 struct intel_ntb_dev *ndev; in ndev_ntb3_debugfs_read() local 421 struct intel_ntb_dev *ndev; in intel_ntb3_link_enable() local 446 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans() local 539 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_addr() local 567 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_set() local 585 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_db_read() local [all …]
|
/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_main.c | 109 static int nitrox_load_fw(struct nitrox_device *ndev) in nitrox_load_fw() 234 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist() 261 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_devlist() 271 struct nitrox_device *ndev = NULL, *iter; in nitrox_get_first_device() local 290 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device() 317 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init() 332 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup() 342 static int nitrox_bist_check(struct nitrox_device *ndev) in nitrox_bist_check() 367 static int nitrox_pf_hw_init(struct nitrox_device *ndev) in nitrox_pf_hw_init() 412 struct nitrox_device *ndev; in nitrox_probe() local [all …]
|
H A D | nitrox_mbx.c | 35 struct nitrox_device *ndev; member 39 static inline u64 pf2vf_read_mbox(struct nitrox_device *ndev, int ring) in pf2vf_read_mbox() 47 static inline void pf2vf_write_mbox(struct nitrox_device *ndev, u64 value, in pf2vf_write_mbox() 56 static void pf2vf_send_response(struct nitrox_device *ndev, in pf2vf_send_response() 107 struct nitrox_device *ndev = pf2vf_resp->ndev; in pf2vf_resp_handler() local 122 void nitrox_pf2vf_mbox_handler(struct nitrox_device *ndev) in nitrox_pf2vf_mbox_handler() 179 int nitrox_mbox_init(struct nitrox_device *ndev) in nitrox_mbox_init() 207 void nitrox_mbox_cleanup(struct nitrox_device *ndev) in nitrox_mbox_cleanup()
|
H A D | nitrox_debugfs.c | 11 struct nitrox_device *ndev = s->private; in firmware_show() local 22 struct nitrox_device *ndev = s->private; in device_show() local 39 struct nitrox_device *ndev = s->private; in stats_show() local 54 void nitrox_debugfs_exit(struct nitrox_device *ndev) in nitrox_debugfs_exit() 60 void nitrox_debugfs_init(struct nitrox_device *ndev) in nitrox_debugfs_init()
|
H A D | nitrox_sriov.c | 81 static void nitrox_pf_cleanup(struct nitrox_device *ndev) in nitrox_pf_cleanup() 97 static int nitrox_pf_reinit(struct nitrox_device *ndev) in nitrox_pf_reinit() 126 static void nitrox_sriov_cleanup(struct nitrox_device *ndev) in nitrox_sriov_cleanup() 133 static int nitrox_sriov_init(struct nitrox_device *ndev) in nitrox_sriov_init() 155 struct nitrox_device *ndev = pci_get_drvdata(pdev); in nitrox_sriov_enable() local 203 struct nitrox_device *ndev = pci_get_drvdata(pdev); in nitrox_sriov_disable() local
|
/openbmc/linux/drivers/net/ |
H A D | ntb_netdev.c | 75 struct net_device *ndev; member 85 struct net_device *ndev = data; in ntb_netdev_event_handler() local 102 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() local 179 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() local 208 struct net_device *ndev) in ntb_netdev_start_xmit() 233 struct net_device *ndev = dev->ndev; in ntb_netdev_tx_timer() local 247 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open() 283 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close() 362 static void ntb_get_drvinfo(struct net_device *ndev, in ntb_get_drvinfo() 404 struct net_device *ndev; in ntb_netdev_probe() local [all …]
|
/openbmc/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_main.c | 130 static void ax88796c_set_mac_addr(struct net_device *ndev) in ax88796c_set_mac_addr() 403 struct net_device *ndev = ax_local->ndev; in ax88796c_skb_return() local 446 struct net_device *ndev = ax_local->ndev; in ax88796c_rx_fixup() local 494 static int ax88796c_receive(struct net_device *ndev) in ax88796c_receive() 550 struct net_device *ndev = ax_local->ndev; in ax88796c_process_isr() local 588 struct net_device *ndev; in ax88796c_interrupt() local 773 struct net_device *ndev = ax_local->ndev; in ax88796c_set_csums() local 795 ax88796c_open(struct net_device *ndev) in ax88796c_open() 879 ax88796c_close(struct net_device *ndev) in ax88796c_close() 970 struct net_device *ndev; in ax88796c_probe() local [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 141 u32 cpsw_get_msglevel(struct net_device *ndev) in cpsw_get_msglevel() 275 void cpsw_get_ethtool_stats(struct net_device *ndev, in cpsw_get_ethtool_stats() 307 void cpsw_get_pauseparam(struct net_device *ndev, in cpsw_get_pauseparam() 342 int cpsw_get_regs_len(struct net_device *ndev) in cpsw_get_regs_len() 361 int cpsw_ethtool_op_begin(struct net_device *ndev) in cpsw_ethtool_op_begin() 398 int cpsw_get_link_ksettings(struct net_device *ndev, in cpsw_get_link_ksettings() 412 int cpsw_set_link_ksettings(struct net_device *ndev, in cpsw_set_link_ksettings() 449 int cpsw_nway_reset(struct net_device *ndev) in cpsw_nway_reset() 586 struct net_device *ndev; in cpsw_fail() local 658 void cpsw_get_ringparam(struct net_device *ndev, in cpsw_get_ringparam() [all …]
|
H A D | am65-cpsw-qos.c | 166 static void am65_cpsw_admin_to_oper(struct net_device *ndev) in am65_cpsw_admin_to_oper() 214 static void am65_cpsw_est_update_state(struct net_device *ndev) in am65_cpsw_est_update_state() 272 static int am65_cpsw_est_calc_cmd_num(struct net_device *ndev, in am65_cpsw_est_calc_cmd_num() 301 static int am65_cpsw_est_check_scheds(struct net_device *ndev, in am65_cpsw_est_check_scheds() 364 static int am65_cpsw_timer_set(struct net_device *ndev, in am65_cpsw_timer_set() 378 static void am65_cpsw_timer_stop(struct net_device *ndev) in am65_cpsw_timer_stop() 425 static void am65_cpsw_stop_est(struct net_device *ndev) in am65_cpsw_stop_est() 431 static void am65_cpsw_purge_est(struct net_device *ndev) in am65_cpsw_purge_est() 444 static int am65_cpsw_configure_taprio(struct net_device *ndev, in am65_cpsw_configure_taprio() 816 void am65_cpsw_qos_link_down(struct net_device *ndev) in am65_cpsw_qos_link_down() [all …]
|
/openbmc/linux/drivers/net/ethernet/socionext/ |
H A D | sni_ave.c | 273 struct net_device *ndev; member 494 struct net_device *ndev = bus->priv; in ave_mdiobus_read() local 523 struct net_device *ndev = bus->priv; in ave_mdiobus_write() local 820 struct net_device *ndev; in ave_napi_poll_rx() local 840 struct net_device *ndev; in ave_napi_poll_tx() local 1165 static int ave_init(struct net_device *ndev) in ave_init() 1251 static void ave_uninit(struct net_device *ndev) in ave_uninit() 1266 static int ave_open(struct net_device *ndev) in ave_open() 1354 static int ave_stop(struct net_device *ndev) in ave_stop() 1563 struct net_device *ndev; in ave_probe() local [all …]
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_ethtool.c | 364 qlge_get_ethtool_stats(struct net_device *ndev, in qlge_get_ethtool_stats() 413 static void qlge_get_drvinfo(struct net_device *ndev, in qlge_get_drvinfo() 463 static int qlge_set_phys_id(struct net_device *ndev, in qlge_set_phys_id() 572 static void qlge_self_test(struct net_device *ndev, in qlge_self_test() 602 static int qlge_get_regs_len(struct net_device *ndev) in qlge_get_regs_len() 612 static void qlge_get_regs(struct net_device *ndev, in qlge_get_regs() 624 static int qlge_get_coalesce(struct net_device *ndev, in qlge_get_coalesce() 650 static int qlge_set_coalesce(struct net_device *ndev, in qlge_set_coalesce() 683 static void qlge_get_pauseparam(struct net_device *ndev, in qlge_get_pauseparam() 695 static int qlge_set_pauseparam(struct net_device *ndev, in qlge_set_pauseparam() [all …]
|
/openbmc/linux/drivers/nfc/st-nci/ |
H A D | core.c | 19 static int st_nci_init(struct nci_dev *ndev) in st_nci_init() 30 static int st_nci_open(struct nci_dev *ndev) in st_nci_open() 45 static int st_nci_close(struct nci_dev *ndev) in st_nci_close() 59 static int st_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in st_nci_send() 71 static __u32 st_nci_get_rfprotocol(struct nci_dev *ndev, in st_nci_get_rfprotocol() 78 static int st_nci_prop_rsp_packet(struct nci_dev *ndev, in st_nci_prop_rsp_packet() 163 void st_nci_remove(struct nci_dev *ndev) in st_nci_remove()
|
H A D | se.c | 113 static u8 st_nci_se_get_bwi(struct nci_dev *ndev) in st_nci_se_get_bwi() 132 static void st_nci_se_get_atr(struct nci_dev *ndev) in st_nci_se_get_atr() 152 int st_nci_hci_load_session(struct nci_dev *ndev) in st_nci_hci_load_session() 382 void st_nci_hci_event_received(struct nci_dev *ndev, u8 pipe, in st_nci_hci_event_received() 428 static int st_nci_control_se(struct nci_dev *ndev, u8 se_idx, in st_nci_control_se() 492 int st_nci_disable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_disable_se() 516 int st_nci_enable_se(struct nci_dev *ndev, u32 se_idx) in st_nci_enable_se() 545 static int st_nci_hci_network_init(struct nci_dev *ndev) in st_nci_hci_network_init() 617 int st_nci_discover_se(struct nci_dev *ndev) in st_nci_discover_se() 658 int st_nci_se_io(struct nci_dev *ndev, u32 se_idx, in st_nci_se_io() [all …]
|
/openbmc/linux/drivers/nfc/nxp-nci/ |
H A D | core.c | 33 static int nxp_nci_open(struct nci_dev *ndev) in nxp_nci_open() 55 static int nxp_nci_close(struct nci_dev *ndev) in nxp_nci_close() 71 static int nxp_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nxp_nci_send() 96 static int nxp_nci_rf_pll_unlocked_ntf(struct nci_dev *ndev, in nxp_nci_rf_pll_unlocked_ntf() 105 static int nxp_nci_rf_txldo_error_ntf(struct nci_dev *ndev, in nxp_nci_rf_txldo_error_ntf() 137 struct nci_dev **ndev) in nxp_nci_probe() 180 void nxp_nci_remove(struct nci_dev *ndev) in nxp_nci_remove()
|
/openbmc/linux/net/can/j1939/ |
H A D | main.c | 127 static struct j1939_priv *j1939_priv_create(struct net_device *ndev) in j1939_priv_create() 147 static inline void j1939_priv_set(struct net_device *ndev, in j1939_priv_set() 158 struct net_device *ndev = priv->ndev; in __j1939_priv_release() local 182 struct net_device *ndev = priv->ndev; in j1939_can_rx_register() local 198 struct net_device *ndev = priv->ndev; in j1939_can_rx_unregister() local 223 static inline struct j1939_priv *j1939_ndev_to_priv(struct net_device *ndev) in j1939_ndev_to_priv() 230 static struct j1939_priv *j1939_priv_get_by_ndev_locked(struct net_device *ndev) in j1939_priv_get_by_ndev_locked() 243 static struct j1939_priv *j1939_priv_get_by_ndev(struct net_device *ndev) in j1939_priv_get_by_ndev() 254 struct j1939_priv *j1939_netdev_start(struct net_device *ndev) in j1939_netdev_start() 363 struct net_device *ndev = netdev_notifier_info_to_dev(data); in j1939_netdev_notify() local
|
/openbmc/linux/drivers/net/ethernet/wiznet/ |
H A D | w5300.c | 97 struct net_device *ndev; member 230 struct net_device *ndev = priv->ndev; in w5300_write_macaddr() local 291 static u32 w5300_get_link(struct net_device *ndev) in w5300_get_link() 376 struct net_device *ndev = priv->ndev; in w5300_napi_poll() local 416 struct net_device *ndev = ndev_instance; in w5300_interrupt() local 441 struct net_device *ndev = ndev_instance; in w5300_detect_link() local 480 static int w5300_open(struct net_device *ndev) in w5300_open() 494 static int w5300_stop(struct net_device *ndev) in w5300_stop() 592 struct net_device *ndev; in w5300_probe() local 648 struct net_device *ndev = dev_get_drvdata(dev); in w5300_suspend() local [all …]
|
H A D | w5100.c | 163 struct net_device *ndev; member 263 static int w5100_mmio_init(struct net_device *ndev) in w5100_mmio_init() 591 struct net_device *ndev = priv->ndev; in w5100_write_macaddr() local 915 struct net_device *ndev = ndev_instance; in w5100_interrupt() local 942 struct net_device *ndev = ndev_instance; in w5100_detect_link() local 993 static int w5100_open(struct net_device *ndev) in w5100_open() 1007 static int w5100_stop(struct net_device *ndev) in w5100_stop() 1084 struct net_device *ndev; in w5100_probe() local 1217 struct net_device *ndev = dev_get_drvdata(dev); in w5100_remove() local 1237 struct net_device *ndev = dev_get_drvdata(dev); in w5100_suspend() local [all …]
|
/openbmc/linux/drivers/ntb/hw/epf/ |
H A D | ntb_hw_epf.c | 152 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_count() local 168 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_get_align() local 197 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_is_up() local 207 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_read() local 225 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_write() local 243 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_read() local 264 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_write() local 288 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_enable() local 303 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_disable() local 318 struct ntb_epf_dev *ndev = dev; in ntb_epf_vec_isr() local [all …]
|
/openbmc/linux/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 40 #define ctucan_netdev_dbg(ndev, args...) \ argument 175 static int ctucan_reset(struct net_device *ndev) in ctucan_reset() 375 static int ctucan_chip_start(struct net_device *ndev) in ctucan_chip_start() 709 static int ctucan_rx(struct net_device *ndev) in ctucan_rx() 923 struct net_device *ndev = napi->dev; in ctucan_rx_poll() local 1174 static void ctucan_chip_stop(struct net_device *ndev) in ctucan_chip_stop() 1197 static int ctucan_open(struct net_device *ndev) in ctucan_open() 1256 static int ctucan_close(struct net_device *ndev) in ctucan_close() 1310 struct net_device *ndev = dev_get_drvdata(dev); in ctucan_suspend() local 1326 struct net_device *ndev = dev_get_drvdata(dev); in ctucan_resume() local [all …]
|
/openbmc/linux/drivers/nfc/s3fwrn5/ |
H A D | core.c | 77 static int s3fwrn5_nci_open(struct nci_dev *ndev) in s3fwrn5_nci_open() 90 static int s3fwrn5_nci_close(struct nci_dev *ndev) in s3fwrn5_nci_close() 100 static int s3fwrn5_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in s3fwrn5_nci_send() 125 static int s3fwrn5_nci_post_setup(struct nci_dev *ndev) in s3fwrn5_nci_post_setup() 160 int s3fwrn5_probe(struct nci_dev **ndev, void *phy_id, struct device *pdev, in s3fwrn5_probe() 199 void s3fwrn5_remove(struct nci_dev *ndev) in s3fwrn5_remove() 210 int s3fwrn5_recv_frame(struct nci_dev *ndev, struct sk_buff *skb, in s3fwrn5_recv_frame()
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 325 static int temac_dma_bd_init(struct net_device *ndev) in temac_dma_bd_init() 707 static void temac_adjust_link(struct net_device *ndev) in temac_adjust_link() 968 static void ll_temac_recv(struct net_device *ndev) in ll_temac_recv() 1110 struct net_device *ndev = lp->ndev; in ll_temac_restart_work_func() local 1117 struct net_device *ndev = _ndev; in ll_temac_tx_irq() local 1136 struct net_device *ndev = _ndev; in ll_temac_rx_irq() local 1154 static int temac_open(struct net_device *ndev) in temac_open() 1200 static int temac_stop(struct net_device *ndev) in temac_stop() 1222 temac_poll_controller(struct net_device *ndev) in temac_poll_controller() 1256 struct net_device *ndev = dev_get_drvdata(dev); in temac_show_llink_regs() local [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 492 struct net_device *ndev) in fec_enet_txq_submit_frag_skb() 705 struct net_device *ndev, in fec_enet_txq_put_data_tso() 819 struct net_device *ndev) in fec_enet_txq_submit_tso() 1054 fec_restart(struct net_device *ndev) in fec_restart() 1311 fec_stop(struct net_device *ndev) in fec_stop() 1380 struct net_device *ndev = fep->netdev; in fec_enet_timeout_work() local 1900 struct net_device *ndev = dev_id; in fec_enet_interrupt() local 1919 struct net_device *ndev = napi->dev; in fec_enet_rx_napi() local 3494 fec_enet_open(struct net_device *ndev) in fec_enet_open() 3569 fec_enet_close(struct net_device *ndev) in fec_enet_close() [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | ethtool.c | 85 static void xge_get_drvinfo(struct net_device *ndev, in xge_get_drvinfo() 95 static void xge_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in xge_get_strings() 114 static int xge_get_sset_count(struct net_device *ndev, int sset) in xge_get_sset_count() 122 static void xge_get_ethtool_stats(struct net_device *ndev, in xge_get_ethtool_stats() 138 static int xge_get_link_ksettings(struct net_device *ndev, in xge_get_link_ksettings() 151 static int xge_set_link_ksettings(struct net_device *ndev, in xge_set_link_ksettings() 172 void xge_set_ethtool_ops(struct net_device *ndev) in xge_set_ethtool_ops()
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_ethtool.c | 38 static int mana_get_sset_count(struct net_device *ndev, int stringset) in mana_get_sset_count() 50 static void mana_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in mana_get_strings() 104 static void mana_get_ethtool_stats(struct net_device *ndev, in mana_get_ethtool_stats() 187 static int mana_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *cmd, in mana_get_rxnfc() 201 static u32 mana_get_rxfh_key_size(struct net_device *ndev) in mana_get_rxfh_key_size() 206 static u32 mana_rss_indir_size(struct net_device *ndev) in mana_rss_indir_size() 211 static int mana_get_rxfh(struct net_device *ndev, u32 *indir, u8 *key, in mana_get_rxfh() 231 static int mana_set_rxfh(struct net_device *ndev, const u32 *indir, in mana_set_rxfh() 281 static void mana_get_channels(struct net_device *ndev, in mana_get_channels() 290 static int mana_set_channels(struct net_device *ndev, in mana_set_channels()
|