| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbevf/ |
| H A D | ixgbevf_main.c | 251 static void ixgbevf_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) in ixgbevf_tx_timeout() 743 struct net_device *netdev = rx_ring->netdev; in ixgbevf_cleanup_headers() local 1549 struct net_device *netdev = adapter->netdev; in ixgbevf_request_msix_irqs() local 1985 struct net_device *netdev = adapter->netdev; in ixgbevf_set_rx_buffer_len() local 2015 struct net_device *netdev = adapter->netdev; in ixgbevf_configure_rx() local 2041 static int ixgbevf_vlan_rx_add_vid(struct net_device *netdev, in ixgbevf_vlan_rx_add_vid() 2067 static int ixgbevf_vlan_rx_kill_vid(struct net_device *netdev, in ixgbevf_vlan_rx_kill_vid() 2095 static int ixgbevf_write_uc_addr_list(struct net_device *netdev) in ixgbevf_write_uc_addr_list() 2127 static void ixgbevf_set_rx_mode(struct net_device *netdev) in ixgbevf_set_rx_mode() 2301 struct net_device *netdev = adapter->netdev; in ixgbevf_up_complete() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/ |
| H A D | igb_main.c | 354 struct net_device *netdev = adapter->netdev; in igb_dump() local 744 struct net_device *netdev = igb->netdev; in igb_rd32() local 935 struct net_device *netdev = adapter->netdev; in igb_request_msix() local 1411 struct net_device *netdev = adapter->netdev; in igb_request_irq() local 1598 struct net_device *netdev = adapter->netdev; in enable_fqtss() local 1688 struct net_device *netdev = adapter->netdev; in igb_config_tx_modes() local 1907 struct net_device *netdev = adapter->netdev; in igb_setup_tx_mode() local 1990 struct net_device *netdev = adapter->netdev; in igb_configure() local 2165 struct net_device *netdev = adapter->netdev; in igb_down() local 2436 static netdev_features_t igb_fix_features(struct net_device *netdev, in igb_fix_features() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_virtchnl_pf.h | 176 ice_set_vf_mac(struct net_device __always_unused *netdev, in ice_set_vf_mac() 183 ice_get_vf_cfg(struct net_device __always_unused *netdev, in ice_get_vf_cfg() 191 ice_set_vf_trust(struct net_device __always_unused *netdev, in ice_set_vf_trust() 198 ice_set_vf_port_vlan(struct net_device __always_unused *netdev, in ice_set_vf_port_vlan() 206 ice_set_vf_spoofchk(struct net_device __always_unused *netdev, in ice_set_vf_spoofchk() 213 ice_set_vf_link_state(struct net_device __always_unused *netdev, in ice_set_vf_link_state() 227 ice_get_vf_stats(struct net_device __always_unused *netdev, in ice_get_vf_stats()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 49 static int otx2_change_mtu(struct net_device *netdev, int new_mtu) in otx2_change_mtu() 828 struct net_device *netdev = pf->netdev; in otx2_handle_link_event() local 1120 int otx2_set_real_num_queues(struct net_device *netdev, in otx2_set_real_num_queues() 1449 int otx2_open(struct net_device *netdev) in otx2_open() 1620 int otx2_stop(struct net_device *netdev) in otx2_stop() 1690 static netdev_tx_t otx2_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2_xmit() 1722 static void otx2_set_rx_mode(struct net_device *netdev) in otx2_set_rx_mode() 1732 struct net_device *netdev = pf->netdev; in otx2_do_set_rx_mode() local 1757 static int otx2_set_features(struct net_device *netdev, in otx2_set_features() 1848 static int otx2_config_hwtstamp(struct net_device *netdev, struct ifreq *ifr) in otx2_config_hwtstamp() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/ |
| H A D | fm10k_netdev.c | 437 int fm10k_open(struct net_device *netdev) in fm10k_open() 496 int fm10k_close(struct net_device *netdev) in fm10k_close() 585 static void fm10k_tx_timeout(struct net_device *netdev, unsigned int txqueue) in fm10k_tx_timeout() 753 static int fm10k_uc_vlan_unsync(struct net_device *netdev, in fm10k_uc_vlan_unsync() 773 static int fm10k_mc_vlan_unsync(struct net_device *netdev, in fm10k_mc_vlan_unsync() 793 static int fm10k_update_vid(struct net_device *netdev, u16 vid, bool set) in fm10k_update_vid() 895 static int fm10k_vlan_rx_add_vid(struct net_device *netdev, in fm10k_vlan_rx_add_vid() 902 static int fm10k_vlan_rx_kill_vid(struct net_device *netdev, in fm10k_vlan_rx_kill_vid() 1084 struct net_device *netdev = interface->netdev; in fm10k_restore_rx_state() local 1178 struct net_device *netdev = interface->netdev; in fm10k_reset_rx_state() local [all …]
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | offload.c | 43 struct net_device *netdev; member 61 static int bpf_dev_offload_check(struct net_device *netdev) in bpf_dev_offload_check() 71 bpf_offload_find_netdev(struct net_device *netdev) in bpf_offload_find_netdev() 350 struct net_device *netdev; in bpf_map_offload_ndo() local 547 struct net_device *netdev) in __bpf_offload_dev_match() 567 bool bpf_offload_dev_match(struct bpf_prog *prog, struct net_device *netdev) in bpf_offload_dev_match() 596 struct net_device *netdev) in bpf_offload_dev_netdev_register() 629 struct net_device *netdev) in bpf_offload_dev_netdev_unregister()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/liquidio/ |
| H A D | lio_core.c | 158 int liquidio_set_feature(struct net_device *netdev, int cmd, u16 param1) in liquidio_set_feature() 254 struct net_device *netdev = (struct net_device *)nctrl->netpndev; in liquidio_link_ctrl_cmd_completion() local 402 struct net_device *netdev; in octeon_pf_changed_vf_macaddr() local 433 struct net_device *netdev = oct->props[0].netdev; in octeon_schedule_rxq_oom_work() local 456 int setup_rx_oom_poll_fn(struct net_device *netdev) in setup_rx_oom_poll_fn() 482 void cleanup_rx_oom_poll_fn(struct net_device *netdev) in cleanup_rx_oom_poll_fn() 504 struct net_device *netdev; in lio_update_txq_status() local 577 struct net_device *netdev = (struct net_device *)arg; in liquidio_push_packet() local 812 struct net_device *netdev; in liquidio_setup_io_queues() local 1209 int liquidio_change_mtu(struct net_device *netdev, int new_mtu) in liquidio_change_mtu()
|
| /OK3568_Linux_fs/kernel/drivers/net/can/usb/ |
| H A D | ems_usb.c | 242 struct net_device *netdev; member 265 struct net_device *netdev = dev->netdev; in ems_usb_read_interrupt_callback() local 411 struct net_device *netdev; in ems_usb_read_bulk_callback() local 498 struct net_device *netdev; in ems_usb_write_bulk_callback() local 583 struct net_device *netdev = dev->netdev; in ems_usb_start() local 706 static int ems_usb_open(struct net_device *netdev) in ems_usb_open() 739 static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ems_usb_start_xmit() 861 static int ems_usb_close(struct net_device *netdev) in ems_usb_close() 898 static int ems_usb_set_mode(struct net_device *netdev, enum can_mode mode) in ems_usb_set_mode() 918 static int ems_usb_set_bittiming(struct net_device *netdev) in ems_usb_set_bittiming() [all …]
|
| H A D | esd_usb2.c | 210 struct net_device *netdev; member 356 struct net_device *netdev = priv->netdev; in esd_usb2_tx_done_msg() local 463 struct net_device *netdev; in esd_usb2_write_bulk_callback() local 622 struct net_device *netdev = priv->netdev; in esd_usb2_start() local 697 static int esd_usb2_open(struct net_device *netdev) in esd_usb2_open() 721 struct net_device *netdev) in esd_usb2_start_xmit() 850 static int esd_usb2_close(struct net_device *netdev) in esd_usb2_close() 909 static int esd_usb2_set_bittiming(struct net_device *netdev) in esd_usb2_set_bittiming() 958 static int esd_usb2_get_berr_counter(const struct net_device *netdev, in esd_usb2_get_berr_counter() 969 static int esd_usb2_set_mode(struct net_device *netdev, enum can_mode mode) in esd_usb2_set_mode() [all …]
|
| H A D | gs_usb.c | 174 struct net_device *netdev; member 302 struct net_device *netdev; in gs_usb_receive_bulk_callback() local 418 static int gs_usb_set_bittiming(struct net_device *netdev) in gs_usb_set_bittiming() 460 struct net_device *netdev = dev->netdev; in gs_usb_xmit_callback() local 472 struct net_device *netdev) in gs_can_start_xmit() 580 static int gs_can_open(struct net_device *netdev) in gs_can_open() 711 static int gs_can_close(struct net_device *netdev) in gs_can_close() 759 static int gs_usb_set_identify(struct net_device *netdev, bool do_identify) in gs_usb_set_identify() 821 struct net_device *netdev; in gs_make_candev() local
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_ethtool.c | 784 qlcnic_get_pauseparam(struct net_device *netdev, in qlcnic_get_pauseparam() 840 qlcnic_set_pauseparam(struct net_device *netdev, in qlcnic_set_pauseparam() 971 static int qlcnic_irq_test(struct net_device *netdev) in qlcnic_irq_test() 1086 static int qlcnic_loopback_test(struct net_device *netdev, u8 mode) in qlcnic_loopback_test() 1529 static int qlcnic_set_intr_coalesce(struct net_device *netdev, in qlcnic_set_intr_coalesce() 1553 static int qlcnic_get_intr_coalesce(struct net_device *netdev, in qlcnic_get_intr_coalesce() 1569 static u32 qlcnic_get_msglevel(struct net_device *netdev) in qlcnic_get_msglevel() 1576 static void qlcnic_set_msglevel(struct net_device *netdev, u32 msglvl) in qlcnic_set_msglevel() 1646 qlcnic_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in qlcnic_get_dump_flag() 1671 qlcnic_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in qlcnic_get_dump_data() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/microchip/ |
| H A D | lan743x_main.c | 792 struct net_device *netdev; in lan743x_mac_init() local 945 static void lan743x_phy_link_status_change(struct net_device *netdev) in lan743x_phy_link_status_change() 1002 struct net_device *netdev = adapter->netdev; in lan743x_phy_close() local 1014 struct net_device *netdev; in lan743x_phy_open() local 1109 struct net_device *netdev = adapter->netdev; in lan743x_rfe_set_multicast() local 2536 static int lan743x_netdev_close(struct net_device *netdev) in lan743x_netdev_close() 2557 static int lan743x_netdev_open(struct net_device *netdev) in lan743x_netdev_open() 2616 struct net_device *netdev) in lan743x_netdev_xmit_frame() 2623 static int lan743x_netdev_ioctl(struct net_device *netdev, in lan743x_netdev_ioctl() 2633 static void lan743x_netdev_set_multicast(struct net_device *netdev) in lan743x_netdev_set_multicast() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 442 struct net_device *netdev; member 1422 struct net_device *netdev = bus->priv; in et131x_mdio_read() local 1438 struct net_device *netdev = bus->priv; in et131x_mdio_write() local 1724 static void et131x_enable_txrx(struct net_device *netdev) in et131x_enable_txrx() 1737 static void et131x_disable_txrx(struct net_device *netdev) in et131x_disable_txrx() 2791 static int et131x_get_regs_len(struct net_device *netdev) in et131x_get_regs_len() 2797 static void et131x_get_regs(struct net_device *netdev, in et131x_get_regs() 2951 static void et131x_get_drvinfo(struct net_device *netdev, in et131x_get_drvinfo() 3148 static void et131x_adjust_link(struct net_device *netdev) in et131x_adjust_link() 3237 static int et131x_mii_probe(struct net_device *netdev) in et131x_mii_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 306 static int be_mac_addr_set(struct net_device *netdev, void *p) in be_mac_addr_set() 653 static void be_get_stats64(struct net_device *netdev, in be_get_stats64() 722 struct net_device *netdev = adapter->netdev; in be_link_status_update() local 1368 static netdev_tx_t be_xmit(struct sk_buff *skb, struct net_device *netdev) in be_xmit() 1419 static void be_tx_timeout(struct net_device *netdev, unsigned int txqueue) in be_tx_timeout() 1572 static int be_vlan_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in be_vlan_add_vid() 1595 static int be_vlan_rem_vid(struct net_device *netdev, __be16 proto, u16 vid) in be_vlan_rem_vid() 1665 static int be_uc_list_update(struct net_device *netdev, in be_uc_list_update() 1674 static int be_mc_list_update(struct net_device *netdev, in be_mc_list_update() 1685 struct net_device *netdev = adapter->netdev; in be_set_mc_list() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_main.c | 1981 struct net_device *netdev = priv->netdev; in mlx5e_open_channel() local 2342 static u8 mlx5e_build_async_icosq_log_wq_sz(struct net_device *netdev) in mlx5e_build_async_icosq_log_wq_sz() 2875 struct net_device *netdev = priv->netdev; in mlx5e_set_dev_port_mtu() local 2898 struct net_device *netdev = priv->netdev; in mlx5e_set_netdev_mtu_boundaries() local 2910 static void mlx5e_netdev_set_tcs(struct net_device *netdev, u16 nch, u8 ntc) in mlx5e_netdev_set_tcs() 2930 struct net_device *netdev = priv->netdev; in mlx5e_update_netdev_queues() local 3070 struct net_device *netdev = priv->netdev; in mlx5e_switch_priv_channels() local 3163 int mlx5e_open_locked(struct net_device *netdev) in mlx5e_open_locked() 3187 int mlx5e_open(struct net_device *netdev) in mlx5e_open() 3201 int mlx5e_close_locked(struct net_device *netdev) in mlx5e_close_locked() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/vmxnet3/ |
| H A D | vmxnet3_drv.c | 1024 struct vmxnet3_adapter *adapter, struct net_device *netdev) in vmxnet3_tq_xmit() 1218 vmxnet3_xmit_frame(struct sk_buff *skb, struct net_device *netdev) in vmxnet3_xmit_frame() 2123 vmxnet3_netpoll(struct net_device *netdev) in vmxnet3_netpoll() 2325 vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_add_vid() 2347 vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in vmxnet3_vlan_rx_kill_vid() 2369 vmxnet3_copy_mc(struct net_device *netdev) in vmxnet3_copy_mc() 2392 vmxnet3_set_mc(struct net_device *netdev) in vmxnet3_set_mc() 2819 vmxnet3_set_mac_addr(struct net_device *netdev, void *p) in vmxnet3_set_mac_addr() 3007 vmxnet3_open(struct net_device *netdev) in vmxnet3_open() 3064 vmxnet3_close(struct net_device *netdev) in vmxnet3_close() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_repr.h | 52 struct net_device *netdev; member 78 static inline bool nfp_netdev_is_nfp_repr(struct net_device *netdev) in nfp_netdev_is_nfp_repr() 83 static inline int nfp_repr_get_port_id(struct net_device *netdev) in nfp_repr_get_port_id()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 497 static int ibmveth_open(struct net_device *netdev) in ibmveth_open() 659 static int ibmveth_close(struct net_device *netdev) in ibmveth_close() 1021 struct net_device *netdev) in ibmveth_is_packet_unsupported() 1038 struct net_device *netdev) in ibmveth_start_xmit() 1325 struct net_device *netdev = adapter->netdev; in ibmveth_poll() local 1436 struct net_device *netdev = dev_instance; in ibmveth_interrupt() local 1449 static void ibmveth_set_multicast_list(struct net_device *netdev) in ibmveth_set_multicast_list() 1567 struct net_device *netdev = dev_get_drvdata(&vdev->dev); in ibmveth_get_desired_dma() local 1642 struct net_device *netdev; in ibmveth_probe() local 1763 struct net_device *netdev = dev_get_drvdata(&dev->dev); in ibmveth_remove() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | offload.c | 240 struct net_device *netdev, in nfp_flower_calculate_key_layers() 1290 nfp_flower_add_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_add_offload() 1480 nfp_flower_del_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_del_offload() 1594 nfp_flower_get_stats(struct nfp_app *app, struct net_device *netdev, in nfp_flower_get_stats() 1628 nfp_flower_repr_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_repr_offload() 1668 static int nfp_flower_setup_tc_block(struct net_device *netdev, in nfp_flower_setup_tc_block() 1711 int nfp_flower_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_flower_setup_tc() 1723 struct net_device *netdev; member 1730 struct net_device *netdev) in nfp_flower_indr_block_cb_priv_lookup() 1769 nfp_flower_setup_indr_tc_block(struct net_device *netdev, struct Qdisc *sch, struct nfp_app *app, in nfp_flower_setup_indr_tc_block() [all …]
|
| /OK3568_Linux_fs/kernel/net/tls/ |
| H A D | tls_device.c | 81 struct net_device *netdev = ctx->netdev; in tls_device_gc_task() local 117 struct net_device *netdev = NULL; in get_netdev_for_sock() local 223 struct net_device *netdev; in tls_device_resync_tx() local 686 struct net_device *netdev; in tls_device_resync_rx() local 1000 struct net_device *netdev) in tls_device_attach() 1023 struct net_device *netdev; in tls_set_device_offload() local 1193 struct net_device *netdev; in tls_set_device_offload_rx() local 1268 struct net_device *netdev; in tls_device_offload_cleanup_rx() local 1289 static int tls_device_down(struct net_device *netdev) in tls_device_down()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ddp.c | 201 static bool i40e_ddp_is_pkg_hdr_valid(struct net_device *netdev, in i40e_ddp_is_pkg_hdr_valid() 264 int i40e_ddp_load(struct net_device *netdev, const u8 *data, size_t size, in i40e_ddp_load() 393 struct net_device *netdev = pf->vsi[pf->lan_vsi]->netdev; in i40e_ddp_restore() local 415 int i40e_ddp_flash(struct net_device *netdev, struct ethtool_flash *flash) in i40e_ddp_flash()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_dcb_nl.c | 110 static u8 mlx4_en_dcbnl_getpfcstate(struct net_device *netdev) in mlx4_en_dcbnl_getpfcstate() 117 static void mlx4_en_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in mlx4_en_dcbnl_setpfcstate() 124 static void mlx4_en_dcbnl_get_pfc_cfg(struct net_device *netdev, int priority, in mlx4_en_dcbnl_get_pfc_cfg() 132 static void mlx4_en_dcbnl_set_pfc_cfg(struct net_device *netdev, int priority, in mlx4_en_dcbnl_set_pfc_cfg() 141 static int mlx4_en_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) in mlx4_en_dcbnl_getnumtcs() 156 static u8 mlx4_en_dcbnl_set_all(struct net_device *netdev) in mlx4_en_dcbnl_set_all() 257 static int mlx4_en_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in mlx4_en_dcbnl_getapp() 270 static int mlx4_en_dcbnl_setapp(struct net_device *netdev, u8 idtype, in mlx4_en_dcbnl_setapp()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | net-sysfs.c | 81 struct net_device *netdev = to_net_dev(dev); in netdev_store() local 178 struct net_device *netdev = to_net_dev(dev); in carrier_store() local 192 struct net_device *netdev = to_net_dev(dev); in carrier_show() local 204 struct net_device *netdev = to_net_dev(dev); in speed_show() local 230 struct net_device *netdev = to_net_dev(dev); in duplex_show() local 270 struct net_device *netdev = to_net_dev(dev); in testing_show() local 282 struct net_device *netdev = to_net_dev(dev); in dormant_show() local 304 const struct net_device *netdev = to_net_dev(dev); in operstate_show() local 324 struct net_device *netdev = to_net_dev(dev); in carrier_changes_show() local 336 struct net_device *netdev = to_net_dev(dev); in carrier_up_count_show() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_fcoe.c | 68 int cxgb_fcoe_enable(struct net_device *netdev) in cxgb_fcoe_enable() 100 int cxgb_fcoe_disable(struct net_device *netdev) in cxgb_fcoe_disable()
|
| /OK3568_Linux_fs/kernel/include/linux/can/ |
| H A D | led.h | 34 static inline void can_led_event(struct net_device *netdev, in can_led_event() 38 static inline void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
|