| /OK3568_Linux_fs/kernel/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_platform.c | 89 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_probe() local 179 struct net_device *ndev = platform_get_drvdata(pdev); in sxgbe_platform_remove() local 188 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_suspend() local 195 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_resume() local 202 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_freeze() local 209 struct net_device *ndev = dev_get_drvdata(dev); in sxgbe_platform_restore() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hns_enet.c | 305 netdev_tx_t hns_nic_net_xmit_hw(struct net_device *ndev, in hns_nic_net_xmit_hw() 543 struct net_device *ndev = ring_data->napi.dev; in hns_nic_poll_rx_skb() local 668 struct net_device *ndev = ring_data->napi.dev; in hns_nic_alloc_rx_buffers() local 697 struct net_device *ndev = ring_data->napi.dev; in hns_nic_rx_up_pro() local 952 struct net_device *ndev = ring_data->napi.dev; in hns_nic_tx_poll_one() local 1036 struct net_device *ndev = ring_data->napi.dev; in hns_nic_tx_clr_all_bufs() local 1089 static void hns_nic_adjust_link(struct net_device *ndev) in hns_nic_adjust_link() 1136 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy() 1181 static int hns_nic_net_set_mac_address(struct net_device *ndev, void *p) in hns_nic_net_set_mac_address() 1211 static void hns_init_mac_addr(struct net_device *ndev) in hns_init_mac_addr() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/rknand/ |
| H A D | rknand.c | 15 struct blk_desc *rknand_get_blk_desc(struct rknand_dev *ndev) in rknand_get_blk_desc() 32 struct rknand_dev *ndev = dev_get_priv(udev->parent); in rknand_bread() local 55 struct rknand_dev *ndev = dev_get_priv(udev->parent); in rknand_bwrite() local 78 struct rknand_dev *ndev = dev_get_priv(udev->parent); in rknand_berase() local 163 struct rknand_dev *ndev = dev_get_priv(udev->parent); in rknand_blk_probe() local 185 struct rknand_dev *ndev = dev_get_priv(udev); in rockchip_nand_probe() local
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | core.c | 136 struct net_device *ndev; in _brcmf_set_multicast_list() local 226 static int brcmf_netdev_set_mac_address(struct net_device *ndev, void *addr) in brcmf_netdev_set_mac_address() 247 static void brcmf_netdev_set_multicast_list(struct net_device *ndev) in brcmf_netdev_set_multicast_list() 286 struct net_device *ndev) in brcmf_netdev_start_xmit() 562 static void brcmf_ethtool_get_drvinfo(struct net_device *ndev, in brcmf_ethtool_get_drvinfo() 582 static int brcmf_netdev_stop(struct net_device *ndev) in brcmf_netdev_stop() 595 static int brcmf_netdev_open(struct net_device *ndev) in brcmf_netdev_open() 640 struct net_device *ndev; in brcmf_net_attach() local 681 void brcmf_net_detach(struct net_device *ndev, bool rtnl_locked) in brcmf_net_detach() 694 static int brcmf_net_mon_open(struct net_device *ndev) in brcmf_net_mon_open() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 1034 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_add_key() 1139 static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_get_key() 1149 static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_del_key() 1167 struct net_device *ndev, u8 key_index in cfg80211_rtw_set_default_key() 1199 struct net_device *ndev, in cfg80211_rtw_get_station() 1272 struct net_device *ndev, in cfg80211_rtw_change_iface() 1484 struct net_device *ndev = wdev_to_ndev(request->wdev); in cfg80211_rtw_scan() local 1938 static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_join_ibss() 1994 static int cfg80211_rtw_leave_ibss(struct wiphy *wiphy, struct net_device *ndev) in cfg80211_rtw_leave_ibss() 2027 static int cfg80211_rtw_connect(struct wiphy *wiphy, struct net_device *ndev, in cfg80211_rtw_connect() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd.c | 272 static int set_reset_mode(struct net_device *ndev) in set_reset_mode() 288 static int set_normal_mode(struct net_device *ndev) in set_normal_mode() 305 static int rockchip_canfd_set_bittiming(struct net_device *ndev) in rockchip_canfd_set_bittiming() 367 static int rockchip_canfd_get_berr_counter(const struct net_device *ndev, in rockchip_canfd_get_berr_counter() 392 static int rockchip_canfd_start(struct net_device *ndev) in rockchip_canfd_start() 447 static int rockchip_canfd_stop(struct net_device *ndev) in rockchip_canfd_stop() 464 static int rockchip_canfd_set_mode(struct net_device *ndev, in rockchip_canfd_set_mode() 512 struct net_device *ndev) in rockchip_canfd_start_xmit() 596 static int rockchip_canfd_rx(struct net_device *ndev) in rockchip_canfd_rx() 678 static int rockchip_canfd_err(struct net_device *ndev, u32 isr) in rockchip_canfd_err() [all …]
|
| H A D | forlinx_canfd.c | 272 static int set_reset_mode(struct net_device *ndev) in set_reset_mode() 288 static int set_normal_mode(struct net_device *ndev) in set_normal_mode() 305 static int rockchip_canfd_set_bittiming(struct net_device *ndev) in rockchip_canfd_set_bittiming() 367 static int rockchip_canfd_get_berr_counter(const struct net_device *ndev, in rockchip_canfd_get_berr_counter() 392 static int rockchip_canfd_start(struct net_device *ndev) in rockchip_canfd_start() 447 static int rockchip_canfd_stop(struct net_device *ndev) in rockchip_canfd_stop() 464 static int rockchip_canfd_set_mode(struct net_device *ndev, in rockchip_canfd_set_mode() 512 struct net_device *ndev) in rockchip_canfd_start_xmit() 596 static int rockchip_canfd_rx(struct net_device *ndev) in rockchip_canfd_rx() 678 static int rockchip_canfd_err(struct net_device *ndev, u32 isr) in rockchip_canfd_err() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_vf_rep.c | 109 lio_vf_rep_open(struct net_device *ndev) in lio_vf_rep_open() 142 lio_vf_rep_stop(struct net_device *ndev) in lio_vf_rep_stop() 175 lio_vf_rep_tx_timeout(struct net_device *ndev, unsigned int txqueue) in lio_vf_rep_tx_timeout() 199 lio_vf_rep_change_mtu(struct net_device *ndev, int new_mtu) in lio_vf_rep_change_mtu() 353 struct net_device *ndev = skb->dev; in lio_vf_rep_packet_sent_callback() local 370 lio_vf_rep_pkt_xmit(struct sk_buff *skb, struct net_device *ndev) in lio_vf_rep_pkt_xmit() 493 struct net_device *ndev; in lio_vf_rep_create() local 579 struct net_device *ndev; in lio_vf_rep_destroy() local 610 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in lio_vf_rep_netdev_event() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ni/ |
| H A D | nixge.c | 169 struct net_device *ndev; member 245 static void nixge_hw_dma_bd_release(struct net_device *ndev) in nixge_hw_dma_bd_release() 283 static int nixge_hw_dma_bd_init(struct net_device *ndev) in nixge_hw_dma_bd_init() 412 static void nixge_device_reset(struct net_device *ndev) in nixge_device_reset() 426 static void nixge_handle_link_change(struct net_device *ndev) in nixge_handle_link_change() 460 static void nixge_start_xmit_done(struct net_device *ndev) in nixge_start_xmit_done() 507 struct net_device *ndev) in nixge_start_xmit() 595 static int nixge_recv(struct net_device *ndev, int budget) in nixge_recv() 701 struct net_device *ndev = _ndev; in nixge_tx_irq() local 745 struct net_device *ndev = _ndev; in nixge_rx_irq() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/netlogic/ |
| H A D | xlr_net.c | 101 struct net_device *ndev; in xlr_net_fmn_handler() local 146 static int xlr_get_link_ksettings(struct net_device *ndev, in xlr_get_link_ksettings() 160 static int xlr_set_link_ksettings(struct net_device *ndev, in xlr_set_link_ksettings() 179 static int xlr_net_fill_rx_ring(struct net_device *ndev) in xlr_net_fill_rx_ring() 195 static int xlr_net_open(struct net_device *ndev) in xlr_net_open() 217 static int xlr_net_stop(struct net_device *ndev) in xlr_net_stop() 247 struct net_device *ndev) in xlr_net_start_xmit() 263 static void xlr_hw_set_mac_addr(struct net_device *ndev) in xlr_hw_set_mac_addr() 289 static int xlr_net_set_mac_addr(struct net_device *ndev, void *data) in xlr_net_set_mac_addr() 300 static void xlr_set_rx_mode(struct net_device *ndev) in xlr_set_rx_mode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_platform.c | 715 struct net_device *ndev = platform_get_drvdata(pdev); in stmmac_pltfr_remove() local 739 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_suspend() local 759 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_resume() local 771 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_runtime_suspend() local 781 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_runtime_resume() local 789 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_noirq_suspend() local 810 struct net_device *ndev = dev_get_drvdata(dev); in stmmac_pltfr_noirq_resume() local
|
| H A D | stmmac_mdio.c | 84 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_read() local 152 struct net_device *ndev = bus->priv; in stmmac_xgmac2_mdio_write() local 224 struct net_device *ndev = bus->priv; in stmmac_mdio_read() local 292 struct net_device *ndev = bus->priv; in stmmac_mdio_write() local 357 struct net_device *ndev = bus->priv; in stmmac_mdio_reset() local 406 int stmmac_mdio_register(struct net_device *ndev) in stmmac_mdio_register() 554 int stmmac_mdio_unregister(struct net_device *ndev) in stmmac_mdio_unregister()
|
| /OK3568_Linux_fs/kernel/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 103 struct net_device *ndev) in netvsc_tx_enable() 187 struct net_device *ndev) in netvsc_tx_disable() 297 static inline int netvsc_get_tx_queue(struct net_device *ndev, in netvsc_get_tx_queue() 326 static u16 netvsc_pick_tx(struct net_device *ndev, struct sk_buff *skb) in netvsc_pick_tx() 343 static u16 netvsc_select_queue(struct net_device *ndev, struct sk_buff *skb, in netvsc_select_queue() 735 struct net_device *ndev) in netvsc_start_xmit() 789 static void netvsc_xdp_xmit(struct sk_buff *skb, struct net_device *ndev) in netvsc_xdp_xmit() 1026 static int netvsc_detach(struct net_device *ndev, in netvsc_detach() 1065 static int netvsc_attach(struct net_device *ndev, in netvsc_attach() 1223 static int netvsc_change_mtu(struct net_device *ndev, int mtu) in netvsc_change_mtu() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_main.c | 72 struct net_device *ndev; in xgene_enet_refill_pagepool() local 124 struct net_device *ndev; in xgene_enet_refill_bufpool() local 276 static int xgene_enet_setup_mss(struct net_device *ndev, u32 mss) in xgene_enet_setup_mss() 309 struct net_device *ndev = skb->dev; in xgene_enet_work_msg() local 550 struct net_device *ndev) in xgene_enet_start_xmit() 590 struct net_device *ndev = skb->dev; in xgene_enet_rx_csum() local 675 struct net_device *ndev; in xgene_enet_rx_frame() local 786 struct net_device *ndev = ring->ndev; in xgene_enet_process_ring() local 864 static void xgene_enet_timeout(struct net_device *ndev, unsigned int txqueue) in xgene_enet_timeout() 879 static void xgene_enet_set_irq_name(struct net_device *ndev) in xgene_enet_set_irq_name() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/natsemi/ |
| H A D | ns83820.c | 415 struct net_device *ndev; member 457 static inline void kick_rx(struct net_device *ndev) in kick_rx() 539 static inline int rx_refill(struct net_device *ndev, gfp_t gfp) in rx_refill() 577 static void rx_refill_atomic(struct net_device *ndev) in rx_refill_atomic() 586 struct net_device *ndev = dev->ndev; in queue_refill() local 598 static void phy_intr(struct net_device *ndev) in phy_intr() 707 static int ns83820_setup_rx(struct net_device *ndev) in ns83820_setup_rx() 797 static void ns83820_rx_kick(struct net_device *ndev) in ns83820_rx_kick() 818 static void rx_irq(struct net_device *ndev) 931 struct net_device *ndev = dev->ndev; local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/prism54/ |
| H A D | islpci_hotplug.c | 87 struct net_device *ndev; in prism54_probe() local 209 struct net_device *ndev = pci_get_drvdata(pdev); in prism54_remove() local 251 struct net_device *ndev = dev_get_drvdata(dev); in prism54_suspend() local 271 struct net_device *ndev = dev_get_drvdata(dev); in prism54_resume() local
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | ioctl_cfg80211.c | 1378 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, 1514 static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, 1547 static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, 1568 struct net_device *ndev, u8 key_index 1615 struct net_device *ndev, 1649 struct net_device *ndev, 1741 struct net_device *ndev, 2100 , struct net_device *ndev 2105 struct net_device *ndev = wdev_to_ndev(request->wdev); local 2732 static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/peak_canfd/ |
| H A D | peak_canfd.c | 340 struct net_device *ndev = priv->ndev; in pucan_handle_status() local 545 static int peak_canfd_set_mode(struct net_device *ndev, enum can_mode mode) in peak_canfd_set_mode() 561 static int peak_canfd_get_berr_counter(const struct net_device *ndev, in peak_canfd_get_berr_counter() 570 static int peak_canfd_open(struct net_device *ndev) in peak_canfd_open() 619 static int peak_canfd_set_bittiming(struct net_device *ndev) in peak_canfd_set_bittiming() 626 static int peak_canfd_set_data_bittiming(struct net_device *ndev) in peak_canfd_set_data_bittiming() 633 static int peak_canfd_close(struct net_device *ndev) in peak_canfd_close() 645 struct net_device *ndev) in peak_canfd_start_xmit() 759 struct net_device *ndev; in alloc_peak_canfd_dev() local
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | ioctl_cfg80211.c | 1509 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, 1660 static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, 1693 static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, 1715 struct net_device *ndev, u8 key_index 1764 struct net_device *ndev, 1798 struct net_device *ndev, 1895 struct net_device *ndev, 2282 , struct net_device *ndev 2287 struct net_device *ndev = wdev_to_ndev(request->wdev); local 3009 static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | ioctl_cfg80211.c | 1495 static int cfg80211_rtw_add_key(struct wiphy *wiphy, struct net_device *ndev, 1646 static int cfg80211_rtw_get_key(struct wiphy *wiphy, struct net_device *ndev, 1679 static int cfg80211_rtw_del_key(struct wiphy *wiphy, struct net_device *ndev, 1701 struct net_device *ndev, u8 key_index 1750 struct net_device *ndev, 1784 struct net_device *ndev, 1881 struct net_device *ndev, 2245 , struct net_device *ndev 2250 struct net_device *ndev = wdev_to_ndev(request->wdev); local 2984 static int cfg80211_rtw_join_ibss(struct wiphy *wiphy, struct net_device *ndev, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.c | 120 static void print_eth_id(struct net_device *ndev) in print_eth_id() 253 struct net_device *ndev = dev; in bdx_isr_napi() local 364 static void bdx_restore_mac(struct net_device *ndev, struct bdx_priv *priv) in bdx_restore_mac() 393 struct net_device *ndev = priv->ndev; in bdx_hw_start() local 573 static int bdx_close(struct net_device *ndev) in bdx_close() 601 static int bdx_open(struct net_device *ndev) in bdx_open() 640 static int bdx_ioctl_priv(struct net_device *ndev, struct ifreq *ifr, int cmd) in bdx_ioctl_priv() 691 static int bdx_ioctl(struct net_device *ndev, struct ifreq *ifr, int cmd) in bdx_ioctl() 708 static void __bdx_vlan_rx_vid(struct net_device *ndev, uint16_t vid, int enable) in __bdx_vlan_rx_vid() 738 static int bdx_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid) in bdx_vlan_rx_add_vid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/ |
| H A D | hip04_eth.c | 224 struct net_device *ndev; member 256 static void hip04_config_port(struct net_device *ndev, u32 speed, u32 duplex) in hip04_config_port() 370 static void hip04_mac_enable(struct net_device *ndev) in hip04_mac_enable() 393 static void hip04_mac_disable(struct net_device *ndev) in hip04_mac_disable() 429 static void hip04_update_mac_address(struct net_device *ndev) in hip04_update_mac_address() 440 static int hip04_set_mac_address(struct net_device *ndev, void *addr) in hip04_set_mac_address() 447 static int hip04_tx_reclaim(struct net_device *ndev, bool force) in hip04_tx_reclaim() 506 hip04_mac_start_xmit(struct sk_buff *skb, struct net_device *ndev) in hip04_mac_start_xmit() 577 struct net_device *ndev = priv->ndev; in hip04_rx_poll() local 663 struct net_device *ndev = (struct net_device *)dev_id; in hip04_mac_interrupt() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/rcar/ |
| H A D | rcar_can.c | 92 struct net_device *ndev; member 215 static void tx_failure_cleanup(struct net_device *ndev) in tx_failure_cleanup() 223 static void rcar_can_error(struct net_device *ndev) in rcar_can_error() 372 static void rcar_can_tx_done(struct net_device *ndev) in rcar_can_tx_done() 401 struct net_device *ndev = dev_id; in rcar_can_interrupt() local 443 static void rcar_can_start(struct net_device *ndev) in rcar_can_start() 508 static int rcar_can_open(struct net_device *ndev) in rcar_can_open() 553 static void rcar_can_stop(struct net_device *ndev) in rcar_can_stop() 577 static int rcar_can_close(struct net_device *ndev) in rcar_can_close() 593 struct net_device *ndev) in rcar_can_start_xmit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_reqmgr.c | 56 struct nitrox_device *ndev = sr->ndev; in softreq_unmap_sgbufs() local 108 struct nitrox_device *ndev = sr->ndev; in create_sg_component() local 287 struct nitrox_device *ndev = sr->ndev; in post_se_instr() local 317 struct nitrox_device *ndev = cmdq->ndev; in post_backlog_cmds() local 349 struct nitrox_device *ndev = sr->ndev; in nitrox_enqueue_request() local 376 int nitrox_process_se_request(struct nitrox_device *ndev, in nitrox_process_se_request() 535 struct nitrox_device *ndev = cmdq->ndev; in process_response_list() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/ |
| H A D | davinci_emac.c | 311 struct net_device *ndev; member 375 static void emac_get_drvinfo(struct net_device *ndev, in emac_get_drvinfo() 390 static int emac_get_coalesce(struct net_device *ndev, in emac_get_coalesce() 408 static int emac_set_coalesce(struct net_device *ndev, in emac_set_coalesce() 519 struct net_device *ndev = priv->ndev; in emac_update_phystatus() local 737 static void emac_dev_mcast_set(struct net_device *ndev) in emac_dev_mcast_set() 854 struct net_device *ndev = (struct net_device *)dev_id; in emac_irq() local 879 struct net_device *ndev = skb->dev; in emac_rx_handler() local 923 struct net_device *ndev = skb->dev; in emac_tx_handler() local 945 static int emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev) in emac_dev_xmit() [all …]
|