/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 47 struct net_device *ndev = NULL; in aq_ndev_alloc() local 62 int aq_ndev_open(struct net_device *ndev) in aq_ndev_open() 92 int aq_ndev_close(struct net_device *ndev) in aq_ndev_close() 130 static int aq_ndev_change_mtu(struct net_device *ndev, int new_mtu) in aq_ndev_change_mtu() 155 static int aq_ndev_set_features(struct net_device *ndev, in aq_ndev_set_features() 220 static netdev_features_t aq_ndev_fix_features(struct net_device *ndev, in aq_ndev_fix_features() 239 static int aq_ndev_set_mac_address(struct net_device *ndev, void *addr) in aq_ndev_set_mac_address() 255 static void aq_ndev_set_multicast_settings(struct net_device *ndev) in aq_ndev_set_multicast_settings() 349 static int aq_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, in aq_ndo_vlan_rx_add_vid() 362 static int aq_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, in aq_ndo_vlan_rx_kill_vid() [all …]
|
/openbmc/linux/net/nfc/nci/ |
H A D | hci.c | 142 static int nci_hci_send_data(struct nci_dev *ndev, u8 pipe, in nci_hci_send_data() 221 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd() 260 int nci_hci_clear_all_pipes(struct nci_dev *ndev) in nci_hci_clear_all_pipes() 430 struct nci_dev *ndev = (struct nci_dev *)context; in nci_hci_data_received_cb() local 498 int nci_hci_open_pipe(struct nci_dev *ndev, u8 pipe) in nci_hci_open_pipe() 554 int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_set_param() 643 int nci_hci_connect_gate(struct nci_dev *ndev, in nci_hci_connect_gate() 694 static int nci_hci_dev_connect_gates(struct nci_dev *ndev, in nci_hci_dev_connect_gates() 711 int nci_hci_dev_session_init(struct nci_dev *ndev) in nci_hci_dev_session_init() 774 struct nci_hci_dev *nci_hci_allocate(struct nci_dev *ndev) in nci_hci_allocate() [all …]
|
H A D | data.c | 26 void nci_data_exchange_complete(struct nci_dev *ndev, struct sk_buff *skb, in nci_data_exchange_complete() 64 static inline void nci_push_data_hdr(struct nci_dev *ndev, in nci_push_data_hdr() 81 int nci_conn_max_data_pkt_payload_size(struct nci_dev *ndev, __u8 conn_id) in nci_conn_max_data_pkt_payload_size() 93 static int nci_queue_tx_data_frags(struct nci_dev *ndev, in nci_queue_tx_data_frags() 167 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb) in nci_send_data() 210 static void nci_add_rx_data_frag(struct nci_dev *ndev, in nci_add_rx_data_frag() 267 void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb) in nci_rx_data_packet()
|
/openbmc/linux/drivers/net/ethernet/renesas/ |
H A D | ravb_ptp.c | 13 struct net_device *ndev = priv->ndev; in ravb_ptp_tcr_request() local 27 struct net_device *ndev = priv->ndev; in ravb_ptp_time_read() local 45 struct net_device *ndev = priv->ndev; in ravb_ptp_time_write() local 67 struct net_device *ndev = priv->ndev; in ravb_ptp_update_compare() local 95 struct net_device *ndev = priv->ndev; in ravb_ptp_adjfine() local 176 struct net_device *ndev = priv->ndev; in ravb_ptp_extts() local 211 struct net_device *ndev = priv->ndev; in ravb_ptp_perout() local 299 void ravb_ptp_interrupt(struct net_device *ndev) in ravb_ptp_interrupt() 325 void ravb_ptp_init(struct net_device *ndev, struct platform_device *pdev) in ravb_ptp_init() 343 void ravb_ptp_stop(struct net_device *ndev) in ravb_ptp_stop()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_ethtool.c | 41 static int enetc_get_reglen(struct net_device *ndev) in enetc_get_reglen() 286 static void enetc_get_ethtool_stats(struct net_device *ndev, in enetc_get_ethtool_stats() 327 static void enetc_get_pause_stats(struct net_device *ndev, in enetc_get_pause_stats() 456 static void enetc_get_rmon_stats(struct net_device *ndev, in enetc_get_rmon_stats() 677 static u32 enetc_get_rxfh_key_size(struct net_device *ndev) in enetc_get_rxfh_key_size() 743 static void enetc_get_ringparam(struct net_device *ndev, in enetc_get_ringparam() 768 static int enetc_get_coalesce(struct net_device *ndev, in enetc_get_coalesce() 787 static int enetc_set_coalesce(struct net_device *ndev, in enetc_set_coalesce() 840 static int enetc_get_ts_info(struct net_device *ndev, in enetc_get_ts_info() 937 static void enetc_get_mm_stats(struct net_device *ndev, in enetc_get_mm_stats() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_new.c | 251 static void cpsw_ndo_set_rx_mode(struct net_device *ndev) in cpsw_ndo_set_rx_mode() 290 struct net_device *ndev; in cpsw_rx_handler() local 648 static void cpsw_adjust_link(struct net_device *ndev) in cpsw_adjust_link() 790 static int cpsw_ndo_stop(struct net_device *ndev) in cpsw_ndo_stop() 828 static int cpsw_ndo_open(struct net_device *ndev) in cpsw_ndo_open() 917 struct net_device *ndev) in cpsw_ndo_start_xmit() 1146 static void cpsw_get_drvinfo(struct net_device *ndev, in cpsw_get_drvinfo() 1181 static int cpsw_set_channels(struct net_device *ndev, in cpsw_set_channels() 1368 struct net_device *ndev, *napi_ndev = NULL; in cpsw_create_ports() local 2072 struct net_device *ndev = cpsw->slaves[i].ndev; in cpsw_suspend() local [all …]
|
H A D | cpsw.c | 308 static void cpsw_ndo_set_rx_mode(struct net_device *ndev) in cpsw_ndo_set_rx_mode() 353 struct net_device *ndev = xmeta->ndev; in cpsw_rx_handler() local 519 static void cpsw_adjust_link(struct net_device *ndev) in cpsw_adjust_link() 754 static int cpsw_ndo_open(struct net_device *ndev) in cpsw_ndo_open() 871 static int cpsw_ndo_stop(struct net_device *ndev) in cpsw_ndo_stop() 901 struct net_device *ndev) in cpsw_ndo_start_xmit() 1173 static void cpsw_get_drvinfo(struct net_device *ndev, in cpsw_get_drvinfo() 1184 static int cpsw_set_pauseparam(struct net_device *ndev, in cpsw_set_pauseparam() 1197 static int cpsw_set_channels(struct net_device *ndev, in cpsw_set_channels() 1431 struct net_device *ndev; in cpsw_probe_dual_emac() local [all …]
|
H A D | am65-cpsw-ethtool.c | 400 static void am65_cpsw_get_drvinfo(struct net_device *ndev, in am65_cpsw_get_drvinfo() 410 static u32 am65_cpsw_get_msglevel(struct net_device *ndev) in am65_cpsw_get_msglevel() 435 static int am65_cpsw_set_channels(struct net_device *ndev, in am65_cpsw_set_channels() 455 am65_cpsw_get_ringparam(struct net_device *ndev, in am65_cpsw_get_ringparam() 483 static void am65_cpsw_get_wol(struct net_device *ndev, in am65_cpsw_get_wol() 491 static int am65_cpsw_set_wol(struct net_device *ndev, in am65_cpsw_set_wol() 508 am65_cpsw_set_link_ksettings(struct net_device *ndev, in am65_cpsw_set_link_ksettings() 530 static int am65_cpsw_nway_reset(struct net_device *ndev) in am65_cpsw_nway_reset() 537 static int am65_cpsw_get_regs_len(struct net_device *ndev) in am65_cpsw_get_regs_len() 557 static void am65_cpsw_get_regs(struct net_device *ndev, in am65_cpsw_get_regs() [all …]
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_ethtool.c | 99 static void xgene_get_drvinfo(struct net_device *ndev, in xgene_get_drvinfo() 109 static int xgene_get_link_ksettings(struct net_device *ndev, in xgene_get_link_ksettings() 164 static int xgene_set_link_ksettings(struct net_device *ndev, in xgene_set_link_ksettings() 189 static void xgene_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in xgene_get_strings() 208 static int xgene_get_sset_count(struct net_device *ndev, int sset) in xgene_get_sset_count() 263 static void xgene_get_ethtool_stats(struct net_device *ndev, in xgene_get_ethtool_stats() 280 static void xgene_get_pauseparam(struct net_device *ndev, in xgene_get_pauseparam() 290 static int xgene_set_pauseparam(struct net_device *ndev, in xgene_set_pauseparam() 340 void xgene_enet_set_ethtool_ops(struct net_device *ndev) in xgene_enet_set_ethtool_ops()
|
/openbmc/linux/drivers/net/ |
H A D | mhi_net.c | 33 struct net_device *ndev; member 47 static int mhi_ndo_open(struct net_device *ndev) in mhi_ndo_open() 62 static int mhi_ndo_stop(struct net_device *ndev) in mhi_ndo_stop() 73 static netdev_tx_t mhi_ndo_xmit(struct sk_buff *skb, struct net_device *ndev) in mhi_ndo_xmit() 100 static void mhi_ndo_get_stats64(struct net_device *ndev, in mhi_ndo_get_stats64() 129 static void mhi_net_setup(struct net_device *ndev) in mhi_net_setup() 240 struct net_device *ndev = mhi_netdev->ndev; in mhi_net_ul_callback() local 272 struct net_device *ndev = mhi_netdev->ndev; in mhi_net_rx_refill_work() local 304 static int mhi_net_newlink(struct mhi_device *mhi_dev, struct net_device *ndev) in mhi_net_newlink() 336 static void mhi_net_dellink(struct mhi_device *mhi_dev, struct net_device *ndev) in mhi_net_dellink() [all …]
|
H A D | rionet.c | 72 struct net_device *ndev; member 92 static int rionet_rx_clean(struct net_device *ndev) in rionet_rx_clean() 170 struct net_device *ndev) in rionet_start_xmit() 230 struct net_device *ndev = dev_id; in rionet_dbell_event() local 269 struct net_device *ndev = dev_id; in rionet_inb_msg_event() local 284 struct net_device *ndev = dev_id; in rionet_outb_msg_event() local 309 static int rionet_open(struct net_device *ndev) in rionet_open() 366 static int rionet_close(struct net_device *ndev) in rionet_close() 441 static void rionet_get_drvinfo(struct net_device *ndev, in rionet_get_drvinfo() 551 struct net_device *ndev = NULL; in rionet_add_dev() local [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | netdev.c | 13 struct net_device *ndev, bool up, bool ok) in wil_has_other_active_ifaces() 39 static int wil_open(struct net_device *ndev) in wil_open() 66 static int wil_stop(struct net_device *ndev) in wil_stop() 215 struct net_device *ndev = vif_to_ndev(vif); in wil_vif_free() local 221 static void wil_ndev_destructor(struct net_device *ndev) in wil_ndev_destructor() 301 struct net_device *ndev; in wil_vif_alloc() local 391 struct net_device *ndev = wil->main_ndev; in wil_if_free() local 409 struct net_device *ndev = vif_to_ndev(vif); in wil_vif_add() local 442 struct net_device *ndev = wil->main_ndev; in wil_if_add() local 489 struct net_device *ndev; in wil_vif_remove() local [all …]
|
/openbmc/linux/net/core/ |
H A D | selftests.c | 54 static struct sk_buff *net_test_get_skb(struct net_device *ndev, in net_test_get_skb() 171 struct net_device *ndev, in net_test_loopback_validate() 240 static int __net_test_loopback(struct net_device *ndev, in __net_test_loopback() 287 static int net_test_netif_carrier(struct net_device *ndev) in net_test_netif_carrier() 292 static int net_test_phy_phydev(struct net_device *ndev) in net_test_phy_phydev() 297 static int net_test_phy_loopback_enable(struct net_device *ndev) in net_test_phy_loopback_enable() 305 static int net_test_phy_loopback_disable(struct net_device *ndev) in net_test_phy_loopback_disable() 313 static int net_test_phy_loopback_udp(struct net_device *ndev) in net_test_phy_loopback_udp() 321 static int net_test_phy_loopback_udp_mtu(struct net_device *ndev) in net_test_phy_loopback_udp_mtu() 330 static int net_test_phy_loopback_tcp(struct net_device *ndev) in net_test_phy_loopback_tcp() [all …]
|
/openbmc/linux/drivers/net/can/ |
H A D | xilinx_can.c | 391 static int set_reset_mode(struct net_device *ndev) in set_reset_mode() 498 static int xcan_chip_start(struct net_device *ndev) in xcan_chip_start() 1227 struct net_device *ndev = napi->dev; in xcan_rx_poll() local 1403 static void xcan_chip_stop(struct net_device *ndev) in xcan_chip_stop() 1423 static int xcan_open(struct net_device *ndev) in xcan_open() 1486 static int xcan_close(struct net_device *ndev) in xcan_close() 1569 struct net_device *ndev = dev_get_drvdata(dev); in xcan_suspend() local 1589 struct net_device *ndev = dev_get_drvdata(dev); in xcan_resume() local 1621 struct net_device *ndev = dev_get_drvdata(dev); in xcan_runtime_suspend() local 1639 struct net_device *ndev = dev_get_drvdata(dev); in xcan_runtime_resume() local [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc.c | 21 struct net_device *ndev = cb_priv; in sparx5_tc_block_cb() local 47 static int sparx5_tc_setup_block(struct net_device *ndev, in sparx5_tc_setup_block() 76 static int sparx5_tc_setup_qdisc_mqprio(struct net_device *ndev, in sparx5_tc_setup_qdisc_mqprio() 87 static int sparx5_tc_setup_qdisc_tbf(struct net_device *ndev, in sparx5_tc_setup_qdisc_tbf() 111 static int sparx5_tc_setup_qdisc_ets(struct net_device *ndev, in sparx5_tc_setup_qdisc_ets() 157 int sparx5_port_setup_tc(struct net_device *ndev, enum tc_setup_type type, in sparx5_port_setup_tc()
|
/openbmc/linux/drivers/net/can/ifi_canfd/ |
H A D | ifi_canfd.c | 222 struct net_device *ndev; member 248 static void ifi_canfd_read_fifo(struct net_device *ndev) in ifi_canfd_read_fifo() 563 struct net_device *ndev = napi->dev; in ifi_canfd_poll() local 593 struct net_device *ndev = (struct net_device *)dev_id; in ifi_canfd_isr() local 715 static void ifi_canfd_start(struct net_device *ndev) in ifi_canfd_start() 772 static void ifi_canfd_stop(struct net_device *ndev) in ifi_canfd_stop() 808 static int ifi_canfd_open(struct net_device *ndev) in ifi_canfd_open() 838 static int ifi_canfd_close(struct net_device *ndev) in ifi_canfd_close() 855 struct net_device *ndev) in ifi_canfd_start_xmit() 935 struct net_device *ndev; in ifi_canfd_plat_probe() local [all …]
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | netvsc.c | 180 struct net_device *ndev) in netvsc_revoke_recv_buf() 230 struct net_device *ndev) in netvsc_revoke_send_buf() 281 struct net_device *ndev) in netvsc_teardown_recv_gpadl() 302 struct net_device *ndev) in netvsc_teardown_send_gpadl() 340 struct net_device *ndev = hv_get_drvdata(device); in netvsc_init_buf() local 559 struct net_device *ndev = hv_get_drvdata(device); in negotiate_nvsp_ver() local 620 struct net_device *ndev = hv_get_drvdata(device); in netvsc_connect_vsp() local 691 struct net_device *ndev = hv_get_drvdata(device); in netvsc_device_remove() local 1063 struct net_device *ndev = hv_get_drvdata(device); in netvsc_send_pkt() local 1178 int netvsc_send(struct net_device *ndev, in netvsc_send() [all …]
|
/openbmc/linux/drivers/nfc/nfcmrvl/ |
H A D | main.c | 17 static int nfcmrvl_nci_open(struct nci_dev *ndev) in nfcmrvl_nci_open() 36 static int nfcmrvl_nci_close(struct nci_dev *ndev) in nfcmrvl_nci_close() 48 static int nfcmrvl_nci_send(struct nci_dev *ndev, struct sk_buff *skb) in nfcmrvl_nci_send() 70 static int nfcmrvl_nci_setup(struct nci_dev *ndev) in nfcmrvl_nci_setup() 78 static int nfcmrvl_nci_fw_download(struct nci_dev *ndev, in nfcmrvl_nci_fw_download() 184 struct nci_dev *ndev = priv->ndev; in nfcmrvl_nci_unregister_dev() local
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_driver.c | 25 static int spl2sw_ethernet_open(struct net_device *ndev) in spl2sw_ethernet_open() 49 static int spl2sw_ethernet_stop(struct net_device *ndev) in spl2sw_ethernet_stop() 66 struct net_device *ndev) in spl2sw_ethernet_start_xmit() 139 static void spl2sw_ethernet_set_rx_mode(struct net_device *ndev) in spl2sw_ethernet_set_rx_mode() 146 static int spl2sw_ethernet_set_mac_address(struct net_device *ndev, void *addr) in spl2sw_ethernet_set_mac_address() 168 static void spl2sw_ethernet_tx_timeout(struct net_device *ndev, unsigned int txqueue) in spl2sw_ethernet_tx_timeout() 265 struct net_device *ndev; in spl2sw_init_netdev() local 327 struct net_device *ndev; in spl2sw_probe() local
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_platform.c | 85 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_probe() local 174 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_remove() local 184 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_suspend() local 191 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_resume() local 198 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_freeze() local 205 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_restore() local
|
/openbmc/linux/drivers/media/pci/netup_unidvb/ |
H A D | netup_unidvb_core.c | 146 struct netup_unidvb_dev *ndev; in netup_unidvb_tuner_ctrl() local 168 static void netup_unidvb_dev_enable(struct netup_unidvb_dev *ndev) in netup_unidvb_dev_enable() 250 struct netup_unidvb_dev *ndev = pci_get_drvdata(pci_dev); in netup_unidvb_isr() local 382 static int netup_unidvb_dvb_init(struct netup_unidvb_dev *ndev, in netup_unidvb_dvb_init() 522 static int netup_unidvb_dvb_setup(struct netup_unidvb_dev *ndev) in netup_unidvb_dvb_setup() 543 struct netup_unidvb_dev *ndev = dma->ndev; in netup_unidvb_ring_copy() local 581 struct netup_unidvb_dev *ndev = dma->ndev; in netup_unidvb_dma_worker() local 640 struct netup_unidvb_dev *ndev = dma->ndev; in netup_unidvb_dma_timeout() local 720 static int netup_unidvb_ci_setup(struct netup_unidvb_dev *ndev, in netup_unidvb_ci_setup() 782 struct netup_unidvb_dev *ndev; in netup_unidvb_initdev() local [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 578 struct net_device *ndev = dev->ndev; in emac_configure() local 1228 static int emac_open(struct net_device *ndev) in emac_open() 1387 static int emac_close(struct net_device *ndev) in emac_close() 1432 struct net_device *ndev = dev->ndev; in emac_xmit_finish() local 2524 struct net_device *ndev = phy->dev; in emac_mdio_setup_aneg() local 2534 struct net_device *ndev = phy->dev; in emac_mdio_setup_forced() local 2545 struct net_device *ndev = phy->dev; in emac_mdio_poll_link() local 2560 struct net_device *ndev = phy->dev; in emac_mdio_read_link() local 2578 struct net_device *ndev = phy->dev; in emac_mdio_init_phy() local 2683 struct net_device *ndev = dev->ndev; in emac_init_phy() local [all …]
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_bpf.c | 13 void mana_xdp_tx(struct sk_buff *skb, struct net_device *ndev) in mana_xdp_tx() 35 static int mana_xdp_xmit_fm(struct net_device *ndev, struct xdp_frame *frame, in mana_xdp_xmit_fm() 51 int mana_xdp_xmit(struct net_device *ndev, int n, struct xdp_frame **frames, in mana_xdp_xmit() 80 u32 mana_run_xdp(struct net_device *ndev, struct mana_rxq *rxq, in mana_run_xdp() 171 static int mana_xdp_set(struct net_device *ndev, struct bpf_prog *prog, in mana_xdp_set() 212 int mana_bpf(struct net_device *ndev, struct netdev_bpf *bpf) in mana_bpf()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_mdio.c | 134 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_read_c22() local 153 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_read_c45() local 212 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_write_c22() local 232 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_write_c45() local 277 struct net_device *ndev = bus->priv; in stmmac_mdio_read_c22() local 315 struct net_device *ndev = bus->priv; in stmmac_mdio_read_c45() local 376 struct net_device *ndev = bus->priv; in stmmac_mdio_write_c22() local 415 struct net_device *ndev = bus->priv; in stmmac_mdio_write_c45() local 455 struct net_device *ndev = bus->priv; in stmmac_mdio_reset() local 500 struct net_device *ndev = bus->priv; in stmmac_xpcs_setup() local [all …]
|
/openbmc/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 101 struct net_device *ndev; member 146 struct net_device *ndev = db->ndev; in dm9051_dumpblk() local 589 static int dm9051_get_eeprom(struct net_device *ndev, in dm9051_get_eeprom() 711 struct net_device *ndev = db->ndev; in dm9051_all_restart() local 741 struct net_device *ndev = db->ndev; in dm9051_loop_rx() local 841 struct net_device *ndev = db->ndev; in dm9051_loop_tx() local 922 struct net_device *ndev = db->ndev; in dm9051_rxctl_delay() local 943 static int dm9051_open(struct net_device *ndev) in dm9051_open() 991 static int dm9051_stop(struct net_device *ndev) in dm9051_stop() 1167 struct net_device *ndev; in dm9051_probe() local [all …]
|