Home
last modified time | relevance | path

Searched defs:netdev (Results 51 – 75 of 669) sorted by relevance

12345678910>>...27

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c132 struct net_device *netdev = nic_dev->netdev; in create_txqs() local
204 struct net_device *netdev = nic_dev->netdev; in free_txqs() local
229 struct net_device *netdev = nic_dev->netdev; in create_rxqs() local
283 struct net_device *netdev = nic_dev->netdev; in free_rxqs() local
365 struct net_device *netdev = nic_dev->netdev; in hinic_enable_rss() local
417 int hinic_open(struct net_device *netdev) in hinic_open()
535 int hinic_close(struct net_device *netdev) in hinic_close()
575 static int hinic_change_mtu(struct net_device *netdev, int new_mtu) in hinic_change_mtu()
598 static int change_mac_addr(struct net_device *netdev, const u8 *addr) in change_mac_addr()
633 static int hinic_set_mac_addr(struct net_device *netdev, void *addr) in hinic_set_mac_addr()
[all …]
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_transport.c119 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_link_speed_update() local
171 struct net_device *netdev) in __fcoe_get_lesb()
206 struct net_device *netdev = fcoe_get_netdev(lport); in fcoe_get_lesb() local
221 struct net_device *netdev = fcoe_get_netdev(fip->lp); in fcoe_ctlr_get_lesb() local
291 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn()
512 static struct fcoe_transport *fcoe_transport_lookup(struct net_device *netdev) in fcoe_transport_lookup()
636 static int fcoe_add_netdev_mapping(struct net_device *netdev, in fcoe_add_netdev_mapping()
657 static void fcoe_del_netdev_mapping(struct net_device *netdev) in fcoe_del_netdev_mapping()
684 static struct fcoe_transport *fcoe_netdev_map_lookup(struct net_device *netdev) in fcoe_netdev_map_lookup()
736 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in libfcoe_device_notification() local
[all …]
H A Dfcoe.c292 struct net_device *netdev) in fcoe_interface_setup()
379 static struct fcoe_interface *fcoe_interface_create(struct net_device *netdev, in fcoe_interface_create()
443 struct net_device *netdev = fcoe->netdev; in fcoe_interface_remove() local
487 struct net_device *netdev = fcoe->netdev; in fcoe_interface_cleanup() local
508 static int fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, in fcoe_fip_recv()
531 static int fcoe_fip_vlan_recv(struct sk_buff *skb, struct net_device *netdev, in fcoe_fip_vlan_recv()
652 struct net_device *netdev) in fcoe_netdev_features_change()
700 static int fcoe_netdev_config(struct fc_lport *lport, struct net_device *netdev) in fcoe_netdev_config()
806 static void fcoe_fdmi_info(struct fc_lport *lport, struct net_device *netdev) in fcoe_fdmi_info()
1005 struct net_device *netdev = fcoe->netdev; in fcoe_if_destroy() local
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c135 static int igb_get_link_ksettings(struct net_device *netdev, in igb_get_link_ksettings()
260 static int igb_set_link_ksettings(struct net_device *netdev, in igb_set_link_ksettings()
358 static u32 igb_get_link(struct net_device *netdev) in igb_get_link()
375 static void igb_get_pauseparam(struct net_device *netdev, in igb_get_pauseparam()
394 static int igb_set_pauseparam(struct net_device *netdev, in igb_set_pauseparam()
446 static u32 igb_get_msglevel(struct net_device *netdev) in igb_get_msglevel()
452 static void igb_set_msglevel(struct net_device *netdev, u32 data) in igb_set_msglevel()
458 static int igb_get_regs_len(struct net_device *netdev) in igb_get_regs_len()
464 static void igb_get_regs(struct net_device *netdev, in igb_get_regs()
727 static int igb_get_eeprom_len(struct net_device *netdev) in igb_get_eeprom_len()
[all …]
/openbmc/linux/drivers/net/ethernet/
H A Djme.c48 jme_mdio_read(struct net_device *netdev, int phy, int reg) in jme_mdio_read()
78 jme_mdio_write(struct net_device *netdev, in jme_mdio_write()
302 jme_load_macaddr(struct net_device *netdev) in jme_load_macaddr()
411 jme_check_link(struct net_device *netdev, int testonly) in jme_check_link()
1186 struct net_device *netdev = jme->dev; in jme_pcc_tasklet() local
1264 struct net_device *netdev = jme->dev; in jme_link_change_work() local
1555 struct net_device *netdev = dev_id; in jme_intr() local
1581 struct net_device *netdev = dev_id; in jme_msi() local
1614 struct net_device *netdev = jme->dev; in jme_request_irq() local
1819 jme_open(struct net_device *netdev) in jme_open()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.h80 ice_set_vf_mac(struct net_device __always_unused *netdev, in ice_set_vf_mac()
87 ice_get_vf_cfg(struct net_device __always_unused *netdev, in ice_get_vf_cfg()
95 ice_set_vf_trust(struct net_device __always_unused *netdev, in ice_set_vf_trust()
102 ice_set_vf_port_vlan(struct net_device __always_unused *netdev, in ice_set_vf_port_vlan()
110 ice_set_vf_spoofchk(struct net_device __always_unused *netdev, in ice_set_vf_spoofchk()
117 ice_set_vf_link_state(struct net_device __always_unused *netdev, in ice_set_vf_link_state()
124 ice_set_vf_bw(struct net_device __always_unused *netdev, in ice_set_vf_bw()
139 ice_get_vf_stats(struct net_device __always_unused *netdev, in ice_get_vf_stats()
/openbmc/u-boot/drivers/net/
H A Ddnet.c30 struct eth_device netdev; member
133 static int dnet_send(struct eth_device *netdev, void *packet, int length) in dnet_send()
168 static int dnet_recv(struct eth_device *netdev) in dnet_recv()
202 static void dnet_set_hwaddr(struct eth_device *netdev) in dnet_set_hwaddr()
217 struct eth_device *netdev = &dnet->netdev; in dnet_phy_reset() local
243 struct eth_device *netdev = &dnet->netdev; in dnet_phy_init() local
313 static int dnet_init(struct eth_device *netdev, bd_t *bd) in dnet_init()
351 static void dnet_halt(struct eth_device *netdev) in dnet_halt()
362 struct eth_device *netdev; in dnet_eth_initialize() local
/openbmc/linux/drivers/net/ipa/
H A Dipa_modem.c50 static int ipa_open(struct net_device *netdev) in ipa_open()
86 static int ipa_stop(struct net_device *netdev) in ipa_stop()
118 ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit()
182 void ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb) in ipa_modem_skb_rx()
205 static void ipa_modem_netdev_setup(struct net_device *netdev) in ipa_modem_netdev_setup()
234 void ipa_modem_suspend(struct net_device *netdev) in ipa_modem_suspend()
269 void ipa_modem_resume(struct net_device *netdev) in ipa_modem_resume()
287 struct net_device *netdev; in ipa_modem_start() local
334 struct net_device *netdev = ipa->modem_netdev; in ipa_modem_stop() local
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftgmac100.c84 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local
368 static void ftgmac100_set_rx_mode(struct net_device *netdev) in ftgmac100_set_rx_mode()
390 struct net_device *netdev = priv->netdev; in ftgmac100_alloc_rx_buf() local
440 struct net_device *netdev = priv->netdev; in ftgmac100_rx_packet_error() local
456 struct net_device *netdev = priv->netdev; in ftgmac100_rx_packet() local
640 struct net_device *netdev = priv->netdev; in ftgmac100_tx_complete_packet() local
671 struct net_device *netdev = priv->netdev; in ftgmac100_tx_complete() local
714 struct net_device *netdev) in ftgmac100_hard_start_xmit()
1010 struct net_device *netdev = bus->priv; in ftgmac100_mdiobus_read() local
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_ethtool.c215 static int lio_get_link_ksettings(struct net_device *netdev, in lio_get_link_ksettings()
394 static int lio_set_link_ksettings(struct net_device *netdev, in lio_set_link_ksettings()
436 lio_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in lio_get_drvinfo()
452 lio_get_vf_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in lio_get_vf_drvinfo()
468 lio_send_queue_count_update(struct net_device *netdev, uint32_t num_queues) in lio_send_queue_count_update()
666 static int lio_get_eeprom_len(struct net_device *netdev) in lio_get_eeprom_len()
683 lio_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, in lio_get_eeprom()
703 static int octnet_gpio_access(struct net_device *netdev, int addr, int val) in octnet_gpio_access()
730 static int octnet_id_active(struct net_device *netdev, int val) in octnet_id_active()
828 static int lio_set_phys_id(struct net_device *netdev, in lio_set_phys_id()
[all …]
H A Dlio_vf_main.c261 static void print_link_info(struct net_device *netdev) in print_link_info()
301 static int setup_link_status_change_wq(struct net_device *netdev) in setup_link_status_change_wq()
319 static void cleanup_link_status_change_wq(struct net_device *netdev) in cleanup_link_status_change_wq()
337 static void update_link_status(struct net_device *netdev, in update_link_status()
659 struct net_device *netdev = oct->props[ifidx].netdev; in liquidio_destroy_nic_device() local
905 static int liquidio_open(struct net_device *netdev) in liquidio_open()
951 static int liquidio_stop(struct net_device *netdev) in liquidio_stop()
1006 static enum octnet_ifflags get_new_flags(struct net_device *netdev) in get_new_flags()
1032 static void liquidio_set_uc_list(struct net_device *netdev) in liquidio_set_uc_list()
1072 static void liquidio_set_mcast_list(struct net_device *netdev) in liquidio_set_mcast_list()
[all …]
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c143 struct net_device *netdev = wx->netdev; in txgbe_request_msix_irqs() local
187 struct net_device *netdev = wx->netdev; in txgbe_request_irq() local
208 struct net_device *netdev = wx->netdev; in txgbe_up_complete() local
233 struct net_device *netdev = wx->netdev; in txgbe_reset() local
250 struct net_device *netdev = wx->netdev; in txgbe_disable_device() local
401 static int txgbe_open(struct net_device *netdev) in txgbe_open()
463 static int txgbe_close(struct net_device *netdev) in txgbe_close()
478 struct net_device *netdev; in txgbe_dev_shutdown() local
531 struct net_device *netdev; in txgbe_probe() local
774 struct net_device *netdev; in txgbe_remove() local
H A Dtxgbe_ethtool.c13 static int txgbe_nway_reset(struct net_device *netdev) in txgbe_nway_reset()
20 static int txgbe_get_link_ksettings(struct net_device *netdev, in txgbe_get_link_ksettings()
28 static int txgbe_set_link_ksettings(struct net_device *netdev, in txgbe_set_link_ksettings()
44 void txgbe_set_ethtool_ops(struct net_device *netdev) in txgbe_set_ethtool_ops()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dks8842.c157 struct net_device *netdev; member
257 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status()
421 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma()
467 static int ks8842_tx_frame(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame()
518 static void ks8842_update_rx_err_counters(struct net_device *netdev, u32 status) in ks8842_update_rx_err_counters()
531 static void ks8842_update_rx_counters(struct net_device *netdev, u32 status, in ks8842_update_rx_counters()
542 static int __ks8842_start_new_rx_dma(struct net_device *netdev) in __ks8842_start_new_rx_dma()
595 struct net_device *netdev = adapter->netdev; in ks8842_rx_frame_dma_tasklet() local
632 static void ks8842_rx_frame(struct net_device *netdev, in ks8842_rx_frame()
696 static void ks8842_handle_rx(struct net_device *netdev, in ks8842_handle_rx()
[all …]
/openbmc/linux/drivers/net/ethernet/litex/
H A Dlitex_liteeth.c42 struct net_device *netdev; member
57 static int liteeth_rx(struct net_device *netdev) in liteeth_rx()
94 struct net_device *netdev = dev_id; in liteeth_interrupt() local
114 static int liteeth_open(struct net_device *netdev) in liteeth_open()
139 static int liteeth_stop(struct net_device *netdev) in liteeth_stop()
155 struct net_device *netdev) in liteeth_start_xmit()
196 liteeth_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) in liteeth_get_stats64()
235 struct net_device *netdev; in liteeth_probe() local
299 struct net_device *netdev = platform_get_drvdata(pdev); in liteeth_remove() local
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/
H A Demac.c118 struct net_device *netdev) in emac_start_xmit()
174 static int emac_set_features(struct net_device *netdev, in emac_set_features()
198 static void emac_rx_mode_set(struct net_device *netdev) in emac_rx_mode_set()
212 static int emac_change_mtu(struct net_device *netdev, int new_mtu) in emac_change_mtu()
228 static int emac_open(struct net_device *netdev) in emac_open()
267 static int emac_close(struct net_device *netdev) in emac_close()
285 static void emac_tx_timeout(struct net_device *netdev, unsigned int txqueue) in emac_tx_timeout()
334 static void emac_get_stats64(struct net_device *netdev, in emac_get_stats64()
546 struct net_device *netdev = adpt->netdev; in emac_probe_resources() local
594 struct net_device *netdev; in emac_probe() local
[all …]
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.c543 struct net_device *netdev; in gelic_card_release_tx_chain() local
594 void gelic_net_set_multi(struct net_device *netdev) in gelic_net_set_multi()
654 int gelic_net_stop(struct net_device *netdev) in gelic_net_stop()
838 netdev_tx_t gelic_net_xmit(struct sk_buff *skb, struct net_device *netdev) in gelic_net_xmit()
911 struct net_device *netdev) in gelic_net_pass_skb_up()
973 struct net_device *netdev = NULL; in gelic_card_decode_one_descr() local
1156 void gelic_net_poll_controller(struct net_device *netdev) in gelic_net_poll_controller()
1175 int gelic_net_open(struct net_device *netdev) in gelic_net_open()
1190 void gelic_net_get_drvinfo(struct net_device *netdev, in gelic_net_get_drvinfo()
1197 static int gelic_ether_get_link_ksettings(struct net_device *netdev, in gelic_ether_get_link_ksettings()
[all …]
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_ethtool.c211 static void ena_get_ethtool_stats(struct net_device *netdev, in ena_get_ethtool_stats()
235 int ena_get_sset_count(struct net_device *netdev, int sset) in ena_get_sset_count()
317 static void ena_get_ethtool_strings(struct net_device *netdev, in ena_get_ethtool_strings()
331 static int ena_get_link_ksettings(struct net_device *netdev, in ena_get_link_ksettings()
447 static u32 ena_get_msglevel(struct net_device *netdev) in ena_get_msglevel()
454 static void ena_set_msglevel(struct net_device *netdev, u32 value) in ena_set_msglevel()
471 static void ena_get_ringparam(struct net_device *netdev, in ena_get_ringparam()
499 static int ena_set_ringparam(struct net_device *netdev, in ena_set_ringparam()
702 static int ena_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info) in ena_set_rxnfc()
722 static int ena_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *info, in ena_get_rxnfc()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c213 static int ixgbe_get_link_ksettings(struct net_device *netdev, in ixgbe_get_link_ksettings()
456 static int ixgbe_set_link_ksettings(struct net_device *netdev, in ixgbe_set_link_ksettings()
533 static void ixgbe_get_pause_stats(struct net_device *netdev, in ixgbe_get_pause_stats()
543 static void ixgbe_get_pauseparam(struct net_device *netdev, in ixgbe_get_pauseparam()
565 static int ixgbe_set_pauseparam(struct net_device *netdev, in ixgbe_set_pauseparam()
605 static u32 ixgbe_get_msglevel(struct net_device *netdev) in ixgbe_get_msglevel()
611 static void ixgbe_set_msglevel(struct net_device *netdev, u32 data) in ixgbe_set_msglevel()
617 static int ixgbe_get_regs_len(struct net_device *netdev) in ixgbe_get_regs_len()
625 static void ixgbe_get_regs(struct net_device *netdev, in ixgbe_get_regs()
992 static int ixgbe_get_eeprom_len(struct net_device *netdev) in ixgbe_get_eeprom_len()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c21 struct net_device *netdev; member
54 const struct net_device *netdev) in mlx5e_lookup_rep_bond_slave_entry()
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave()
145 const struct net_device *netdev, in mlx5e_rep_bond_unslave()
184 static bool mlx5e_rep_is_lag_netdev(struct net_device *netdev) in mlx5e_rep_is_lag_netdev()
189 static void mlx5e_rep_changelowerstate_event(struct net_device *netdev, void *ptr) in mlx5e_rep_changelowerstate_event()
248 static void mlx5e_rep_changeupper_event(struct net_device *netdev, void *ptr) in mlx5e_rep_changeupper_event()
278 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in mlx5e_rep_esw_bond_netevent() local
310 struct net_device *netdev = rpriv->netdev; in mlx5e_rep_bond_init() local
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c239 struct net_device *netdev = wx->netdev; in ngbe_request_msix_irqs() local
291 struct net_device *netdev = wx->netdev; in ngbe_request_irq() local
312 struct net_device *netdev = wx->netdev; in ngbe_disable_device() local
372 static int ngbe_open(struct net_device *netdev) in ngbe_open()
424 static int ngbe_close(struct net_device *netdev) in ngbe_close()
440 struct net_device *netdev; in ngbe_dev_shutdown() local
509 struct net_device *netdev; in ngbe_probe() local
711 struct net_device *netdev; in ngbe_remove() local
736 struct net_device *netdev; in ngbe_resume() local
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c254 struct net_device *netdev = adapter->netdev; in atl1c_check_link_status() local
307 struct net_device *netdev = adapter->netdev; in atl1c_link_chg_event() local
334 struct net_device *netdev; in atl1c_common_task() local
369 static void atl1c_tx_timeout(struct net_device *netdev, unsigned int txqueue) in atl1c_tx_timeout()
387 static void atl1c_set_multi(struct net_device *netdev) in atl1c_set_multi()
431 static void atl1c_vlan_mode(struct net_device *netdev, in atl1c_vlan_mode()
464 static int atl1c_set_mac_addr(struct net_device *netdev, void *p) in atl1c_set_mac_addr()
492 static netdev_features_t atl1c_fix_features(struct net_device *netdev, in atl1c_fix_features()
515 static int atl1c_set_features(struct net_device *netdev, in atl1c_set_features()
526 static void atl1c_set_max_mtu(struct net_device *netdev) in atl1c_set_max_mtu()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_ethtool.c119 static int nicvf_get_link_ksettings(struct net_device *netdev, in nicvf_get_link_ksettings()
182 static u32 nicvf_get_link(struct net_device *netdev) in nicvf_get_link()
189 static void nicvf_get_drvinfo(struct net_device *netdev, in nicvf_get_drvinfo()
198 static u32 nicvf_get_msglevel(struct net_device *netdev) in nicvf_get_msglevel()
205 static void nicvf_set_msglevel(struct net_device *netdev, u32 lvl) in nicvf_set_msglevel()
234 static void nicvf_get_strings(struct net_device *netdev, u32 sset, u8 *data) in nicvf_get_strings()
272 static int nicvf_get_sset_count(struct net_device *netdev, int sset) in nicvf_get_sset_count()
321 static void nicvf_get_ethtool_stats(struct net_device *netdev, in nicvf_get_ethtool_stats()
458 static int nicvf_get_coalesce(struct net_device *netdev, in nicvf_get_coalesce()
469 static void nicvf_get_ringparam(struct net_device *netdev, in nicvf_get_ringparam()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_main.c130 static int mlxbf_gige_open(struct net_device *netdev) in mlxbf_gige_open()
205 static int mlxbf_gige_stop(struct net_device *netdev) in mlxbf_gige_stop()
225 static int mlxbf_gige_eth_ioctl(struct net_device *netdev, in mlxbf_gige_eth_ioctl()
234 static void mlxbf_gige_set_rx_mode(struct net_device *netdev) in mlxbf_gige_set_rx_mode()
254 static void mlxbf_gige_get_stats64(struct net_device *netdev, in mlxbf_gige_get_stats64()
284 static void mlxbf_gige_bf2_adjust_link(struct net_device *netdev) in mlxbf_gige_bf2_adjust_link()
291 static void mlxbf_gige_bf3_adjust_link(struct net_device *netdev) in mlxbf_gige_bf3_adjust_link()
380 struct net_device *netdev; in mlxbf_gige_probe() local
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-ethtool.c34 static void dpaa2_switch_get_drvinfo(struct net_device *netdev, in dpaa2_switch_get_drvinfo()
58 dpaa2_switch_get_link_ksettings(struct net_device *netdev, in dpaa2_switch_get_link_ksettings()
100 dpaa2_switch_set_link_ksettings(struct net_device *netdev, in dpaa2_switch_set_link_ksettings()
160 dpaa2_switch_ethtool_get_sset_count(struct net_device *netdev, int sset) in dpaa2_switch_ethtool_get_sset_count()
170 static void dpaa2_switch_ethtool_get_strings(struct net_device *netdev, in dpaa2_switch_ethtool_get_strings()
188 static void dpaa2_switch_ethtool_get_stats(struct net_device *netdev, in dpaa2_switch_ethtool_get_stats()

12345678910>>...27