/openbmc/linux/net/dsa/ |
H A D | tag_ocelot.c | 11 static void ocelot_xmit_common(struct sk_buff *skb, struct net_device *netdev, in ocelot_xmit_common() 47 struct net_device *netdev) in ocelot_xmit() 59 struct net_device *netdev) in seville_xmit() 71 struct net_device *netdev) in ocelot_rcv()
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ktls.c | 18 static int fun_ktls_add(struct net_device *netdev, struct sock *sk, in fun_ktls_add() 71 static void fun_ktls_del(struct net_device *netdev, in fun_ktls_del() 95 static int fun_ktls_resync(struct net_device *netdev, struct sock *sk, u32 seq, in fun_ktls_resync() 132 int fun_ktls_init(struct net_device *netdev) in fun_ktls_init()
|
/openbmc/qemu/net/ |
H A D | vmnet-host.c | 21 static bool validate_options(const Netdev *netdev, Error **errp) in validate_options() 47 static xpc_object_t build_if_desc(const Netdev *netdev) in build_if_desc() 90 int net_init_vmnet_host(const Netdev *netdev, const char *name, in net_init_vmnet_host()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.c | 44 int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid) in ixgbe_fcoe_ddp_put() 133 static int ixgbe_fcoe_ddp_setup(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_setup() 344 int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_get() 365 int ixgbe_fcoe_ddp_target(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_target() 835 int ixgbe_fcoe_enable(struct net_device *netdev) in ixgbe_fcoe_enable() 882 int ixgbe_fcoe_disable(struct net_device *netdev) in ixgbe_fcoe_disable() 927 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in ixgbe_fcoe_get_wwn() 967 int ixgbe_fcoe_get_hbainfo(struct net_device *netdev, in ixgbe_fcoe_get_hbainfo()
|
/openbmc/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_core.c | 262 struct net_device *netdev = urb->context; in kvaser_usb_send_cmd_callback() local 274 struct net_device *netdev = priv->netdev; in kvaser_usb_send_cmd_async() local 298 int kvaser_usb_can_rx_over_error(struct net_device *netdev) in kvaser_usb_can_rx_over_error() 433 static int kvaser_usb_open(struct net_device *netdev) in kvaser_usb_open() 501 static int kvaser_usb_close(struct net_device *netdev) in kvaser_usb_close() 534 static int kvaser_usb_set_bittiming(struct net_device *netdev) in kvaser_usb_set_bittiming() 578 static int kvaser_usb_set_data_bittiming(struct net_device *netdev) in kvaser_usb_set_data_bittiming() 623 struct net_device *netdev; in kvaser_usb_write_bulk_callback() local 641 struct net_device *netdev) in kvaser_usb_start_xmit() 794 struct net_device *netdev; in kvaser_usb_init_one() local
|
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_main.c | 164 netxen_napi_add(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_napi_add() 462 struct net_device *netdev = adapter->netdev; in netxen_read_mac_addr() local 489 static int netxen_nic_set_mac(struct net_device *netdev, void *p) in netxen_nic_set_mac() 1039 struct net_device *netdev = adapter->netdev; in netxen_nic_request_irq() local 1094 __netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_up() 1138 netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_up() 1152 __netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_down() 1183 netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_down() 1195 struct net_device *netdev = adapter->netdev; in netxen_nic_attach() local 1297 struct net_device *netdev = adapter->netdev; in netxen_nic_reset_context() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 311 static void iavf_tx_timeout(struct net_device *netdev, unsigned int txqueue) in iavf_tx_timeout() 410 struct net_device *netdev = data; in iavf_msix_aq() local 638 struct net_device *netdev = adapter->netdev; in iavf_request_misc_irq() local 687 struct net_device *netdev = adapter->netdev; in iavf_free_misc_irq() local 725 struct net_device *netdev = adapter->netdev; in iavf_configure_rx() local 917 static int iavf_vlan_rx_add_vid(struct net_device *netdev, in iavf_vlan_rx_add_vid() 947 static int iavf_vlan_rx_kill_vid(struct net_device *netdev, in iavf_vlan_rx_kill_vid() 1074 static bool iavf_is_mac_set_handled(struct net_device *netdev, in iavf_is_mac_set_handled() 1100 static int iavf_set_mac(struct net_device *netdev, void *p) in iavf_set_mac() 1144 static int iavf_addr_sync(struct net_device *netdev, const u8 *addr) in iavf_addr_sync() [all …]
|
/openbmc/linux/drivers/net/can/softing/ |
H A D | softing_main.c | 21 static inline int canif_is_active(struct net_device *netdev) in canif_is_active() 132 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx() 152 struct net_device *netdev; in softing_handle_1() local 320 struct net_device *netdev; in softing_irq_thread() local 635 struct net_device *netdev; in softing_netdev_create() local 664 static int softing_netdev_register(struct net_device *netdev) in softing_netdev_register() 679 static void softing_netdev_cleanup(struct net_device *netdev) in softing_netdev_cleanup() 756 struct net_device *netdev; in softing_pdev_probe() local
|
/openbmc/linux/drivers/net/ethernet/atheros/alx/ |
H A D | main.c | 568 static void __alx_set_rx_mode(struct net_device *netdev) in __alx_set_rx_mode() 592 static void alx_set_rx_mode(struct net_device *netdev) in alx_set_rx_mode() 597 static int alx_set_mac_address(struct net_device *netdev, void *data) in alx_set_mac_address() 854 struct net_device *netdev = alx->dev; in alx_request_msix() local 1099 static netdev_features_t alx_fix_features(struct net_device *netdev, in alx_fix_features() 1174 static int alx_change_mtu(struct net_device *netdev, int mtu) in alx_change_mtu() 1350 static int alx_open(struct net_device *netdev) in alx_open() 1362 static int alx_stop(struct net_device *netdev) in alx_stop() 1574 struct net_device *netdev) in alx_start_xmit() 1587 static int alx_mdio_read(struct net_device *netdev, in alx_mdio_read() [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_wwan.c | 30 struct net_device *netdev; member 49 static int ipc_wwan_link_open(struct net_device *netdev) in ipc_wwan_link_open() 79 static int ipc_wwan_link_stop(struct net_device *netdev) in ipc_wwan_link_stop() 94 struct net_device *netdev) in ipc_wwan_link_transmit() 263 struct net_device *netdev; in ipc_wwan_tx_flowctrl() local
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 608 static int hns3_nic_set_real_num_queue(struct net_device *netdev) in hns3_nic_set_real_num_queue() 676 static void hns3_free_rx_cpu_rmap(struct net_device *netdev) in hns3_free_rx_cpu_rmap() 684 static int hns3_set_rx_cpu_rmap(struct net_device *netdev) in hns3_set_rx_cpu_rmap() 710 static int hns3_nic_net_up(struct net_device *netdev) in hns3_nic_net_up() 768 static int hns3_nic_net_open(struct net_device *netdev) in hns3_nic_net_open() 823 static void hns3_nic_net_down(struct net_device *netdev) in hns3_nic_net_down() 853 static int hns3_nic_net_stop(struct net_device *netdev) in hns3_nic_net_stop() 874 static int hns3_nic_uc_sync(struct net_device *netdev, in hns3_nic_uc_sync() 885 static int hns3_nic_uc_unsync(struct net_device *netdev, in hns3_nic_uc_unsync() 903 static int hns3_nic_mc_sync(struct net_device *netdev, in hns3_nic_mc_sync() [all …]
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es581_4.c | 42 struct net_device *netdev; in es581_4_echo_msg() local 100 struct net_device *netdev; in es581_4_rx_can_msg() local 145 struct net_device *netdev; in es581_4_rx_err_msg() local 161 struct net_device *netdev; in es581_4_rx_event_msg() local 178 struct net_device *netdev; in es581_4_rx_cmd_ret_u32() local 202 struct net_device *netdev; in es581_4_tx_ack_msg() local
|
/openbmc/linux/drivers/net/usb/ |
H A D | rtl8150.c | 136 struct net_device *netdev; member 281 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address() 383 struct net_device *netdev; in read_bulk_callback() local 654 static void rtl8150_tx_timeout(struct net_device *netdev, unsigned int txqueue) in rtl8150_tx_timeout() 662 static void rtl8150_set_multicast(struct net_device *netdev) in rtl8150_set_multicast() 685 struct net_device *netdev) in rtl8150_start_xmit() 715 static void set_carrier(struct net_device *netdev) in set_carrier() 727 static int rtl8150_open(struct net_device *netdev) in rtl8150_open() 764 static int rtl8150_close(struct net_device *netdev) in rtl8150_close() 776 static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) in rtl8150_get_drvinfo() [all …]
|
/openbmc/linux/drivers/net/can/usb/ |
H A D | mcba_usb.c | 76 struct net_device *netdev; member 222 struct net_device *netdev; in mcba_usb_write_bulk_callback() local 306 struct net_device *netdev) in mcba_usb_start_xmit() 565 struct net_device *netdev; in mcba_usb_read_bulk_callback() local 623 struct net_device *netdev = priv->netdev; in mcba_usb_start() local 691 static int mcba_usb_open(struct net_device *netdev) in mcba_usb_open() 723 static int mcba_usb_close(struct net_device *netdev) in mcba_usb_close() 744 static int mcba_net_set_mode(struct net_device *netdev, enum can_mode mode) in mcba_net_set_mode() 749 static int mcba_net_get_berr_counter(const struct net_device *netdev, in mcba_net_get_berr_counter() 774 static int mcba_net_set_bittiming(struct net_device *netdev) in mcba_net_set_bittiming() [all …]
|
H A D | usb_8dev.c | 124 struct net_device *netdev; member 200 struct net_device *netdev; in usb_8dev_send_cmd() local 313 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode() 499 struct net_device *netdev; in usb_8dev_read_bulk_callback() local 562 struct net_device *netdev; in usb_8dev_write_bulk_callback() local 593 struct net_device *netdev) in usb_8dev_start_xmit() 706 static int usb_8dev_get_berr_counter(const struct net_device *netdev, in usb_8dev_get_berr_counter() 720 struct net_device *netdev = priv->netdev; in usb_8dev_start() local 798 static int usb_8dev_open(struct net_device *netdev) in usb_8dev_open() 845 static int usb_8dev_close(struct net_device *netdev) in usb_8dev_close() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 59 struct net_device *netdev = interface->netdev; in fm10k_read_reg() local 221 struct net_device *netdev = interface->netdev; in fm10k_prepare_for_reset() local 258 struct net_device *netdev = interface->netdev; in fm10k_handle_reset() local 341 struct net_device *netdev = interface->netdev; in fm10k_detach_subtask() local 424 struct net_device *netdev = interface->netdev; in fm10k_configure_swpri_map() local 500 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_is_ready() local 518 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_not_ready() local 1882 struct net_device *netdev = interface->netdev; in fm10k_down() local 1973 struct net_device *netdev = interface->netdev; in fm10k_sw_init() local 2096 struct net_device *netdev; in fm10k_probe() local [all …]
|
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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 2451 struct net_device *netdev = priv->netdev; in mlx5e_open_channel() local 2723 struct net_device *netdev = priv->netdev; in mlx5e_set_dev_port_mtu() local 2746 struct net_device *netdev = priv->netdev; in mlx5e_set_netdev_mtu_boundaries() local 2758 static int mlx5e_netdev_set_tcs(struct net_device *netdev, u16 nch, u8 ntc, in mlx5e_netdev_set_tcs() 2810 struct net_device *netdev = priv->netdev; in mlx5e_update_netdev_queues() local 3014 struct net_device *netdev = priv->netdev; in mlx5e_switch_priv_channels() local 3122 int mlx5e_open_locked(struct net_device *netdev) in mlx5e_open_locked() 3156 int mlx5e_open(struct net_device *netdev) in mlx5e_open() 3170 int mlx5e_close_locked(struct net_device *netdev) in mlx5e_close_locked() 3190 int mlx5e_close(struct net_device *netdev) in mlx5e_close() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 54 static int otx2_change_mtu(struct net_device *netdev, int new_mtu) in otx2_change_mtu() 837 struct net_device *netdev = pf->netdev; in otx2_handle_link_event() local 1196 int otx2_set_real_num_queues(struct net_device *netdev, in otx2_set_real_num_queues() 1713 struct net_device *netdev = pf->netdev; in otx2_do_set_rx_mode() local 1777 int otx2_open(struct net_device *netdev) in otx2_open() 1986 int otx2_stop(struct net_device *netdev) in otx2_stop() 2057 static netdev_tx_t otx2_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2_xmit() 2111 u16 otx2_select_queue(struct net_device *netdev, struct sk_buff *skb, in otx2_select_queue() 2169 static void otx2_set_rx_mode(struct net_device *netdev) in otx2_set_rx_mode() 2183 static int otx2_set_features(struct net_device *netdev, in otx2_set_features() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 779 static u8 qlcnic_dcb_get_state(struct net_device *netdev) in qlcnic_dcb_get_state() 786 static void qlcnic_dcb_get_perm_hw_addr(struct net_device *netdev, u8 *addr) in qlcnic_dcb_get_perm_hw_addr() 792 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, in qlcnic_dcb_get_pg_tc_cfg_tx() 829 static void qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in qlcnic_dcb_get_pg_bwg_cfg_tx() 853 static void qlcnic_dcb_get_pfc_cfg(struct net_device *netdev, int prio, in qlcnic_dcb_get_pfc_cfg() 879 static u8 qlcnic_dcb_get_capability(struct net_device *netdev, int capid, in qlcnic_dcb_get_capability() 908 static int qlcnic_dcb_get_num_tcs(struct net_device *netdev, int attr, u8 *num) in qlcnic_dcb_get_num_tcs() 928 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app() 942 static u8 qlcnic_dcb_get_pfc_state(struct net_device *netdev) in qlcnic_dcb_get_pfc_state() 953 static u8 qlcnic_dcb_get_dcbx(struct net_device *netdev) in qlcnic_dcb_get_dcbx() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ethtool.c | 844 static void hns_get_ethtool_stats(struct net_device *netdev, in hns_get_ethtool_stats() 902 static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings() 963 static int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count() 997 static int hns_phy_led_set(struct net_device *netdev, int value) in hns_phy_led_set() 1020 hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in hns_set_phys_id() 1141 static int hns_nic_nway_reset(struct net_device *netdev) in hns_nic_nway_reset() 1158 hns_get_rss_key_size(struct net_device *netdev) in hns_get_rss_key_size() 1174 hns_get_rss_indir_size(struct net_device *netdev) in hns_get_rss_indir_size() 1190 hns_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) in hns_get_rss() 1210 hns_set_rss(struct net_device *netdev, const u32 *indir, const u8 *key, in hns_set_rss() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 685 static void nfp_net_tx_timeout(struct net_device *netdev, unsigned int txqueue) in nfp_net_tx_timeout() 1118 static int nfp_net_netdev_close(struct net_device *netdev) in nfp_net_netdev_close() 1298 static int nfp_net_netdev_open(struct net_device *netdev) in nfp_net_netdev_open() 1444 static int nfp_net_mc_sync(struct net_device *netdev, const unsigned char *addr) in nfp_net_mc_sync() 1458 static int nfp_net_mc_unsync(struct net_device *netdev, const unsigned char *addr) in nfp_net_mc_unsync() 1466 static void nfp_net_set_rx_mode(struct net_device *netdev) in nfp_net_set_rx_mode() 1698 static int nfp_net_change_mtu(struct net_device *netdev, int new_mtu) in nfp_net_change_mtu() 1718 nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) in nfp_net_vlan_rx_add_vid() 1742 nfp_net_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) in nfp_net_vlan_rx_kill_vid() 1765 static void nfp_net_stat64(struct net_device *netdev, in nfp_net_stat64() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | 6lowpan.c | 69 struct net_device *netdev; member 78 lowpan_btle_dev(const struct net_device *netdev) in lowpan_btle_dev() 246 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, in iphc_decompress() 367 static int setup_header(struct sk_buff *skb, struct net_device *netdev, in setup_header() 417 static int header_create(struct sk_buff *skb, struct net_device *netdev, in header_create() 429 struct net_device *netdev) in send_pkt() 459 static int send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) in send_mcast_pkt() 498 static netdev_tx_t bt_xmit(struct sk_buff *skb, struct net_device *netdev) in bt_xmit() 579 static void ifup(struct net_device *netdev) in ifup() 590 static void ifdown(struct net_device *netdev) in ifdown() [all …]
|
/openbmc/linux/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 1541 struct net_device *netdev = adapter->netdev; in ixgbevf_request_msix_irqs() local 1977 struct net_device *netdev = adapter->netdev; in ixgbevf_set_rx_buffer_len() local 2007 struct net_device *netdev = adapter->netdev; in ixgbevf_configure_rx() local 2033 static int ixgbevf_vlan_rx_add_vid(struct net_device *netdev, in ixgbevf_vlan_rx_add_vid() 2063 static int ixgbevf_vlan_rx_kill_vid(struct net_device *netdev, in ixgbevf_vlan_rx_kill_vid() 2094 static int ixgbevf_write_uc_addr_list(struct net_device *netdev) in ixgbevf_write_uc_addr_list() 2126 static void ixgbevf_set_rx_mode(struct net_device *netdev) in ixgbevf_set_rx_mode() 2307 struct net_device *netdev = adapter->netdev; in ixgbevf_up_complete() local [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 525 static int ibmveth_open(struct net_device *netdev) in ibmveth_open() 682 static int ibmveth_close(struct net_device *netdev) in ibmveth_close() 990 static void ibmveth_get_channels(struct net_device *netdev, in ibmveth_get_channels() 1000 static int ibmveth_set_channels(struct net_device *netdev, in ibmveth_set_channels() 1099 struct net_device *netdev) in ibmveth_is_packet_unsupported() 1116 struct net_device *netdev) in ibmveth_start_xmit() 1335 struct net_device *netdev = adapter->netdev; in ibmveth_poll() local 1446 struct net_device *netdev = dev_instance; in ibmveth_interrupt() local 1459 static void ibmveth_set_multicast_list(struct net_device *netdev) in ibmveth_set_multicast_list() 1575 struct net_device *netdev = dev_get_drvdata(&vdev->dev); in ibmveth_get_desired_dma() local [all …]
|