/openbmc/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_dev.h | 44 struct nitrox_device *ndev; member 108 struct nitrox_device *ndev; member 207 #define DEV(ndev) ((struct device *)(&(ndev)->pdev->dev)) argument 209 #define NITROX_CSR_ADDR(ndev, offset) \ argument 275 static inline u64 nitrox_read_csr(struct nitrox_device *ndev, u64 offset) in nitrox_read_csr() 286 static inline void nitrox_write_csr(struct nitrox_device *ndev, u64 offset, in nitrox_write_csr() 292 static inline bool nitrox_ready(struct nitrox_device *ndev) in nitrox_ready()
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_tse_main.c | 96 struct net_device *ndev = bus->priv; in altera_tse_mdio_read() local 111 struct net_device *ndev = bus->priv; in altera_tse_mdio_write() local 1044 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_mac_config() local 1063 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_mac_link_up() local 1086 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_select_pcs() local 1145 struct net_device *ndev; in altera_tse_probe() local 1469 struct net_device *ndev = platform_get_drvdata(pdev); in altera_tse_remove() local
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_ethtool.c | 120 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up() 135 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down() 154 struct net_device *ndev = skb->dev; in hns3_lp_setup_skb() local 252 static int hns3_lp_run_test(struct net_device *ndev, enum hnae3_loop mode) in hns3_lp_run_test() 331 static void hns3_selftest_prepare(struct net_device *ndev, bool if_running) in hns3_selftest_prepare() 376 static void hns3_do_selftest(struct net_device *ndev, int (*st_param)[2], in hns3_do_selftest() 401 static void hns3_do_external_lb(struct net_device *ndev, in hns3_do_external_lb() 421 static void hns3_self_test(struct net_device *ndev, in hns3_self_test() 1120 static int hns3_check_ringparam(struct net_device *ndev, in hns3_check_ringparam() 1157 hns3_is_ringparam_changed(struct net_device *ndev, in hns3_is_ringparam_changed() [all …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-serial.c | 232 static netdev_tx_t mctp_serial_tx(struct sk_buff *skb, struct net_device *ndev) in mctp_serial_tx() 407 static void mctp_serial_uninit(struct net_device *ndev) in mctp_serial_uninit() 419 static void mctp_serial_setup(struct net_device *ndev) in mctp_serial_setup() 441 struct net_device *ndev; in mctp_serial_open() local
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac5.c | 21 static void dwmac5_log_error(struct net_device *ndev, u32 value, bool corr, in dwmac5_log_error() 77 static void dwmac5_handle_mac_err(struct net_device *ndev, in dwmac5_handle_mac_err() 125 static void dwmac5_handle_mtl_err(struct net_device *ndev, in dwmac5_handle_mtl_err() 173 static void dwmac5_handle_dma_err(struct net_device *ndev, in dwmac5_handle_dma_err() 267 int dwmac5_safety_feat_irq_status(struct net_device *ndev, in dwmac5_safety_feat_irq_status()
|
/openbmc/linux/drivers/net/hyperv/ |
H A D | rndis_filter.c | 290 static void rndis_filter_receive_response(struct net_device *ndev, in rndis_filter_receive_response() 383 static inline void *rndis_get_ppi(struct net_device *ndev, in rndis_get_ppi() 485 static int rndis_filter_receive_data(struct net_device *ndev, in rndis_filter_receive_data() 588 int rndis_filter_receive(struct net_device *ndev, in rndis_filter_receive() 865 rndis_filter_set_offload_params(struct net_device *ndev, in rndis_filter_set_offload_params() 925 struct net_device *ndev = rdev->ndev; in rndis_set_rss_param_msg() local 1240 struct net_device *ndev = in netvsc_sc_open() local 1286 int rndis_set_subchannel(struct net_device *ndev, in rndis_set_subchannel()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_drvinfo.c | 137 int aq_drvinfo_init(struct net_device *ndev) in aq_drvinfo_init() 157 int aq_drvinfo_init(struct net_device *ndev) { return 0; } in aq_drvinfo_init()
|
/openbmc/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_emaclite.c | 120 struct net_device *ndev; member 884 static void xemaclite_adjust_link(struct net_device *ndev) in xemaclite_adjust_link() 1060 static void xemaclite_ethtools_get_drvinfo(struct net_device *ndev, in xemaclite_ethtools_get_drvinfo() 1091 struct net_device *ndev = NULL; in xemaclite_of_probe() local 1188 struct net_device *ndev = platform_get_drvdata(of_dev); in xemaclite_of_remove() local 1211 xemaclite_poll_controller(struct net_device *ndev) in xemaclite_poll_controller()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cache.c | 82 struct net_device *ndev; member 297 struct net_device *ndev; in alloc_gid_entry() local 642 struct net_device *ndev) in ib_cache_gid_del_all_netdev_gids() 686 u32 port, struct net_device *ndev) in rdma_find_gid_by_port() 834 struct net_device *ndev, in ib_cache_gid_set_default_gid() 1014 struct net_device *ndev) in rdma_find_gid() 1257 struct net_device *ndev; in rdma_query_gid_table() local 1353 struct net_device *ndev = ERR_PTR(-EINVAL); in rdma_read_gid_attr_ndev_rcu() local 1405 struct net_device *ndev; in rdma_read_gid_l2_fields() local 1458 struct net_device *ndev; in config_non_roce_gid_cache() local
|
/openbmc/linux/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.h | 27 static inline unsigned int cxgb3i_get_private_ipv4addr(struct net_device *ndev) in cxgb3i_get_private_ipv4addr() 32 static inline void cxgb3i_set_private_ipv4addr(struct net_device *ndev, in cxgb3i_set_private_ipv4addr()
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_main.c | 124 struct net_device *ndev = priv->dev; in sxgbe_eee_init() local 152 struct net_device *ndev = priv->dev; in sxgbe_eee_adjust() local 264 static int sxgbe_init_phy(struct net_device *ndev) in sxgbe_init_phy() 2066 struct net_device *ndev; in sxgbe_drv_probe() local 2206 void sxgbe_drv_remove(struct net_device *ndev) in sxgbe_drv_remove() 2237 int sxgbe_suspend(struct net_device *ndev) in sxgbe_suspend() 2242 int sxgbe_resume(struct net_device *ndev) in sxgbe_resume() 2247 int sxgbe_freeze(struct net_device *ndev) in sxgbe_freeze() 2252 int sxgbe_restore(struct net_device *ndev) in sxgbe_restore()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 150 static void enetc_taprio_destroy(struct net_device *ndev) in enetc_taprio_destroy() 159 static void enetc_taprio_stats(struct net_device *ndev, in enetc_taprio_stats() 172 static void enetc_taprio_queue_stats(struct net_device *ndev, in enetc_taprio_queue_stats() 182 static int enetc_taprio_replace(struct net_device *ndev, in enetc_taprio_replace() 199 int enetc_setup_tc_taprio(struct net_device *ndev, void *type_data) in enetc_setup_tc_taprio() 234 int enetc_setup_tc_cbs(struct net_device *ndev, void *type_data) in enetc_setup_tc_cbs() 350 int enetc_setup_tc_txtime(struct net_device *ndev, void *type_data) in enetc_setup_tc_txtime() 1566 struct net_device *ndev = cb_priv; in enetc_setup_tc_block_cb() local 1579 int enetc_set_psfp(struct net_device *ndev, bool en) in enetc_set_psfp() 1630 int enetc_setup_tc_psfp(struct net_device *ndev, void *type_data) in enetc_setup_tc_psfp() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 536 struct net_device *ndev, in wil_cfg80211_get_station() 753 struct net_device *ndev; in wil_vif_prepare_stop() local 823 struct net_device *ndev, in wil_cfg80211_change_iface() 1129 struct net_device *ndev, in wil_ft_connect() 1214 struct net_device *ndev, in wil_cfg80211_connect() 1388 struct net_device *ndev, in wil_cfg80211_disconnect() 1932 struct net_device *ndev, in _wil_cfg80211_start_ap() 2037 struct net_device *ndev; in wil_cfg80211_ap_recovery() local 2084 struct net_device *ndev, in wil_cfg80211_change_beacon() 2124 struct net_device *ndev, in wil_cfg80211_start_ap() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 98 static int sparx5_port_open(struct net_device *ndev) in sparx5_port_open() 136 static int sparx5_port_stop(struct net_device *ndev) in sparx5_port_stop() 264 struct net_device *ndev; in sparx5_create_netdev() local
|
/openbmc/linux/include/net/nfc/ |
H A D | nci_core.h | 181 struct nci_dev *ndev; member 320 static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, in nci_skb_alloc() 333 static inline void nci_set_parent_dev(struct nci_dev *ndev, struct device *dev) in nci_set_parent_dev() 338 static inline void nci_set_drvdata(struct nci_dev *ndev, void *data) in nci_set_drvdata() 343 static inline void *nci_get_drvdata(struct nci_dev *ndev) in nci_get_drvdata() 348 static inline int nci_set_vendor_cmds(struct nci_dev *ndev, in nci_set_vendor_cmds() 395 struct nci_dev *ndev; member 449 struct nci_dev *ndev; member
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 1282 static void gfar_init_bds(struct net_device *ndev) in gfar_init_bds() 1333 static int gfar_alloc_skb_resources(struct net_device *ndev) in gfar_alloc_skb_resources() 1415 int startup_gfar(struct net_device *ndev) in startup_gfar() 1451 struct net_device *ndev = priv->ndev; in gfar_get_flowctrl_cfg() local 1487 struct net_device *ndev = priv->ndev; in gfar_update_link_state() local 2039 static void reset_gfar(struct net_device *ndev) in reset_gfar() 2504 struct net_device *ndev = rx_queue->ndev; in gfar_clean_rx_ring() local 3424 struct net_device *ndev = priv->ndev; in gfar_filer_config_wol() local 3500 struct net_device *ndev = priv->ndev; in gfar_suspend() local 3543 struct net_device *ndev = priv->ndev; in gfar_resume() local [all …]
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 97 struct net_device *ndev = priv->dev; in __ipoib_vlan_add() local 171 struct net_device *ndev; in ipoib_vlan_add() local
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 1515 static void netcp_set_rx_mode(struct net_device *ndev) in netcp_set_rx_mode() 1582 static int netcp_setup_navigator_resources(struct net_device *ndev) in netcp_setup_navigator_resources() 1697 static int netcp_ndo_open(struct net_device *ndev) in netcp_ndo_open() 1744 static int netcp_ndo_stop(struct net_device *ndev) in netcp_ndo_stop() 1784 static int netcp_ndo_ioctl(struct net_device *ndev, in netcp_ndo_ioctl() 1813 static void netcp_ndo_tx_timeout(struct net_device *ndev, unsigned int txqueue) in netcp_ndo_tx_timeout() 1824 static int netcp_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in netcp_rx_add_vid() 1851 static int netcp_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid) in netcp_rx_kill_vid() 1911 netcp_get_stats(struct net_device *ndev, struct rtnl_link_stats64 *stats) in netcp_get_stats() 1963 struct net_device *ndev; in netcp_create_interface() local [all …]
|
/openbmc/linux/drivers/net/ethernet/arc/ |
H A D | emac_rockchip.c | 96 struct net_device *ndev; in emac_rockchip_probe() local 249 struct net_device *ndev = platform_get_drvdata(pdev); in emac_rockchip_remove() local
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | osdep_service_linux.h | 103 #define NDEV_ARG(ndev) ndev->name argument 106 #define FUNC_NDEV_ARG(ndev) __func__, ndev->name argument
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 2060 struct net_device *ndev = platform_get_drvdata(pdev); in smc_enable_device() local 2122 struct net_device *ndev) in smc_request_attrib() 2137 struct net_device *ndev) in smc_release_attrib() 2146 static inline void smc_request_datacs(struct platform_device *pdev, struct net_device *ndev) in smc_request_datacs() 2165 static void smc_release_datacs(struct platform_device *pdev, struct net_device *ndev) in smc_release_datacs() 2243 struct net_device *ndev; in smc_drv_probe() local 2416 struct net_device *ndev = platform_get_drvdata(pdev); in smc_drv_remove() local 2445 struct net_device *ndev = dev_get_drvdata(dev); in smc_drv_suspend() local 2460 struct net_device *ndev = platform_get_drvdata(pdev); in smc_drv_resume() local
|
H A D | smsc911x.c | 371 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_enable_resources() local 395 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_disable_resources() local 417 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_request_resources() local 458 struct net_device *ndev = platform_get_drvdata(pdev); in smsc911x_free_resources() local 911 struct net_device *ndev = pdata->dev; in smsc911x_phy_update_flowcontrol() local 1343 struct net_device *ndev = pdata->dev; in smsc911x_phy_general_power_up() local 1381 struct net_device *ndev = pdata->dev; in smsc911x_phy_disable_energy_detect() local 1414 struct net_device *ndev = pdata->dev; in smsc911x_phy_enable_energy_detect() local 2586 struct net_device *ndev = dev_get_drvdata(dev); in smsc911x_suspend() local 2610 struct net_device *ndev = dev_get_drvdata(dev); in smsc911x_resume() local
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-tx.c | 138 struct net_device *ndev = priv->ndev; in mcp251xfd_tx_failure_drop() local 204 struct net_device *ndev) in mcp251xfd_start_xmit()
|
/openbmc/linux/drivers/net/can/rcar/ |
H A D | rcar_canfd.c | 530 struct net_device *ndev; member 1110 static void rcar_canfd_tx_done(struct net_device *ndev) in rcar_canfd_tx_done() 1152 struct net_device *ndev = priv->ndev; in rcar_canfd_handle_global_err() local 1253 struct net_device *ndev = priv->ndev; in rcar_canfd_handle_channel_tx() local 1275 struct net_device *ndev = priv->ndev; in rcar_canfd_handle_channel_err() local 1374 static int rcar_canfd_start(struct net_device *ndev) in rcar_canfd_start() 1411 static int rcar_canfd_open(struct net_device *ndev) in rcar_canfd_open() 1452 static void rcar_canfd_stop(struct net_device *ndev) in rcar_canfd_stop() 1481 static int rcar_canfd_close(struct net_device *ndev) in rcar_canfd_close() 1496 struct net_device *ndev) in rcar_canfd_start_xmit() [all …]
|
/openbmc/linux/drivers/net/ethernet/socionext/ |
H A D | netsec.c | 298 struct net_device *ndev; member 720 struct net_device *ndev = priv->ndev; in netsec_process_tx() local 954 struct net_device *ndev = priv->ndev; in netsec_process_rx() local 1137 struct net_device *ndev) in netsec_netdev_start_xmit() 1577 static void netsec_phy_adjust_link(struct net_device *ndev) in netsec_phy_adjust_link() 1614 static int netsec_netdev_open(struct net_device *ndev) in netsec_netdev_open() 1674 static int netsec_netdev_stop(struct net_device *ndev) in netsec_netdev_stop() 1702 static int netsec_netdev_init(struct net_device *ndev) in netsec_netdev_init() 1741 static void netsec_netdev_uninit(struct net_device *ndev) in netsec_netdev_uninit() 1759 static int netsec_xdp_xmit(struct net_device *ndev, int n, in netsec_xdp_xmit() [all …]
|