Home
last modified time | relevance | path

Searched defs:netdev (Results 101 – 125 of 669) sorted by relevance

12345678910>>...27

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c64 int nfp_app_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in nfp_app_set_vf_mac()
96 int nfp_app_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, in nfp_app_set_vf_vlan()
147 int nfp_app_set_vf_rate(struct net_device *netdev, int vf, in nfp_app_set_vf_rate()
178 int nfp_app_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_spoofchk()
202 int nfp_app_set_vf_trust(struct net_device *netdev, int vf, bool enable) in nfp_app_set_vf_trust()
226 int nfp_app_set_vf_link_state(struct net_device *netdev, int vf, in nfp_app_set_vf_link_state()
260 int nfp_app_get_vf_config(struct net_device *netdev, int vf, in nfp_app_get_vf_config()
H A Dnfp_app.c38 struct nfp_app *nfp_app_from_netdev(struct net_device *netdev) in nfp_app_from_netdev()
64 int nfp_app_ndo_init(struct net_device *netdev) in nfp_app_ndo_init()
73 void nfp_app_ndo_uninit(struct net_device *netdev) in nfp_app_ndo_uninit()
142 nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev) in nfp_app_netdev_feat_change()
176 struct net_device *netdev; in nfp_app_netdev_event() local
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c40 struct net_device *netdev) in nfp_flower_lookup_internal_port_id()
57 nfp_flower_get_internal_port_id(struct nfp_app *app, struct net_device *netdev) in nfp_flower_get_internal_port_id()
77 struct net_device *netdev) in nfp_flower_get_port_id_from_netdev()
107 struct net_device *netdev; in nfp_flower_get_netdev_from_internal_port_id() local
133 struct net_device *netdev, in nfp_flower_internal_port_event_handler()
176 nfp_flower_non_repr_priv_get(struct nfp_app *app, struct net_device *netdev) in nfp_flower_non_repr_priv_get()
208 nfp_flower_non_repr_priv_put(struct nfp_app *app, struct net_device *netdev) in nfp_flower_non_repr_priv_put()
283 struct net_device *netdev; in nfp_flower_reprs_reify() local
341 nfp_flower_repr_netdev_clean(struct nfp_app *app, struct net_device *netdev) in nfp_flower_repr_netdev_clean()
894 nfp_flower_repr_change_mtu(struct nfp_app *app, struct net_device *netdev, in nfp_flower_repr_change_mtu()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c201 struct net_device *netdev = oct->netdev; in octep_request_irqs() local
465 static void octep_link_up(struct net_device *netdev) in octep_link_up()
482 static int octep_open(struct net_device *netdev) in octep_open()
548 static int octep_stop(struct net_device *netdev) in octep_stop()
627 struct net_device *netdev) in octep_start_xmit()
757 static void octep_get_stats64(struct net_device *netdev, in octep_get_stats64()
806 struct net_device *netdev = oct->netdev; in octep_tx_timeout_task() local
831 static int octep_set_mac(struct net_device *netdev, void *p) in octep_set_mac()
851 static int octep_change_mtu(struct net_device *netdev, int new_mtu) in octep_change_mtu()
1097 struct net_device *netdev; in octep_probe() local
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dvnic_main.c40 struct net_device *netdev = vinfo->netdev; in hfi1_vnic_update_stats() local
181 static void hfi1_vnic_get_stats64(struct net_device *netdev, in hfi1_vnic_get_stats64()
215 struct net_device *netdev) in hfi1_netdev_start_xmit()
278 static u16 hfi1_vnic_select_queue(struct net_device *netdev, in hfi1_vnic_select_queue()
407 struct net_device *netdev = vinfo->netdev; in hfi1_vnic_up() local
445 static int hfi1_netdev_open(struct net_device *netdev) in hfi1_netdev_open()
456 static int hfi1_netdev_close(struct net_device *netdev) in hfi1_netdev_close()
511 static void hfi1_vnic_set_vesw_id(struct net_device *netdev, int id) in hfi1_vnic_set_vesw_id()
544 static void hfi1_vnic_free_rn(struct net_device *netdev) in hfi1_vnic_free_rn()
562 struct net_device *netdev; in hfi1_vnic_alloc_rn() local
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c363 static int otx2vf_open(struct net_device *netdev) in otx2vf_open()
383 static int otx2vf_stop(struct net_device *netdev) in otx2vf_stop()
388 static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2vf_xmit()
413 static void otx2vf_set_rx_mode(struct net_device *netdev) in otx2vf_set_rx_mode()
423 struct net_device *netdev = vf->netdev; in otx2vf_do_set_rx_mode() local
449 static int otx2vf_change_mtu(struct net_device *netdev, int new_mtu) in otx2vf_change_mtu()
482 static int otx2vf_set_features(struct net_device *netdev, in otx2vf_set_features()
539 struct net_device *netdev; in otx2vf_probe() local
745 struct net_device *netdev = pci_get_drvdata(pdev); in otx2vf_remove() local
/openbmc/linux/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c118 struct net_device *netdev; member
211 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) in octeon_mgmt_rx_fill_ring()
393 struct net_device *netdev = p->netdev; in octeon_mgmt_receive_one() local
501 struct net_device *netdev = p->netdev; in octeon_mgmt_napi_poll() local
671 struct net_device *netdev = dev_id; in octeon_mgmt_interrupt() local
787 static int octeon_mgmt_ioctl(struct net_device *netdev, in octeon_mgmt_ioctl()
945 static int octeon_mgmt_init_phy(struct net_device *netdev) in octeon_mgmt_init_phy()
966 static int octeon_mgmt_open(struct net_device *netdev) in octeon_mgmt_open()
1240 static int octeon_mgmt_stop(struct net_device *netdev) in octeon_mgmt_stop()
1382 struct net_device *netdev; in octeon_mgmt_probe() local
[all …]
/openbmc/linux/drivers/net/can/usb/etas_es58x/
H A Des58x_fd.c46 static enum es58x_fd_cmd_type es58x_fd_cmd_type(struct net_device *netdev) in es58x_fd_cmd_type()
61 static int es58x_fd_echo_msg(struct net_device *netdev, in es58x_fd_echo_msg()
98 static int es58x_fd_rx_can_msg(struct net_device *netdev, in es58x_fd_rx_can_msg()
168 static int es58x_fd_rx_event_msg(struct net_device *netdev, in es58x_fd_rx_event_msg()
186 static int es58x_fd_rx_cmd_ret_u32(struct net_device *netdev, in es58x_fd_rx_cmd_ret_u32()
203 static int es58x_fd_tx_ack_msg(struct net_device *netdev, in es58x_fd_tx_ack_msg()
224 struct net_device *netdev; in es58x_fd_can_cmd_id() local
399 struct net_device *netdev = es58x_dev->netdev[priv->channel_idx]; in es58x_fd_enable_channel() local
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c285 nfp_abm_qdisc_clear_mq(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_qdisc_clear_mq()
321 nfp_abm_qdisc_free(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_qdisc_free()
339 nfp_abm_qdisc_alloc(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_qdisc_alloc()
387 nfp_abm_qdisc_replace(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_qdisc_replace()
404 nfp_abm_qdisc_destroy(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_qdisc_destroy()
576 nfp_abm_gred_replace(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_gred_replace()
698 nfp_abm_red_replace(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_red_replace()
735 int nfp_abm_setup_tc_red(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_setup_tc_red()
757 nfp_abm_mq_create(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_mq_create()
816 int nfp_abm_setup_tc_mq(struct net_device *netdev, struct nfp_abm_link *alink, in nfp_abm_setup_tc_mq()
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Df81604.c134 struct net_device *netdev[F81604_MAX_DEV]; member
139 struct net_device *netdev; member
415 struct net_device *netdev = urb->context; in f81604_read_bulk_callback() local
460 struct net_device *netdev = priv->netdev; in f81604_handle_tx() local
481 struct net_device *netdev = priv->netdev; in f81604_handle_can_bus_errors() local
606 struct net_device *netdev = urb->context; in f81604_read_int_callback() local
660 struct net_device *netdev = priv->netdev; in f81604_register_urbs() local
868 struct net_device *netdev = urb->context; in f81604_write_bulk_callback() local
900 struct net_device *netdev) in f81604_start_xmit()
1010 static int f81604_open(struct net_device *netdev) in f81604_open()
[all …]
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c491 int nicvf_set_real_num_queues(struct net_device *netdev, in nicvf_set_real_num_queues()
617 static void nicvf_snd_ptp_handler(struct net_device *netdev, in nicvf_snd_ptp_handler()
655 static void nicvf_snd_pkt_handler(struct net_device *netdev, in nicvf_snd_pkt_handler()
960 struct net_device *netdev = napi->dev; in nicvf_poll() local
1324 int nicvf_stop(struct net_device *netdev) in nicvf_stop()
1449 int nicvf_open(struct net_device *netdev) in nicvf_open()
1719 static void nicvf_get_stats64(struct net_device *netdev, in nicvf_get_stats64()
1786 static int nicvf_set_features(struct net_device *netdev, in nicvf_set_features()
2038 static void nicvf_set_rx_mode(struct net_device *netdev) in nicvf_set_rx_mode()
2097 struct net_device *netdev; in nicvf_probe() local
[all …]
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_ethtool.c12 static void ngbe_get_wol(struct net_device *netdev, in ngbe_get_wol()
25 static int ngbe_set_wol(struct net_device *netdev, in ngbe_set_wol()
54 void ngbe_set_ethtool_ops(struct net_device *netdev) in ngbe_set_ethtool_ops()
/openbmc/linux/drivers/net/usb/
H A Dsr9700.c151 static int sr9700_get_eeprom_len(struct net_device *netdev) in sr9700_get_eeprom_len()
156 static int sr9700_get_eeprom(struct net_device *netdev, in sr9700_get_eeprom()
177 static int sr_mdio_read(struct net_device *netdev, int phy_id, int loc) in sr_mdio_read()
208 static void sr_mdio_write(struct net_device *netdev, int phy_id, int loc, in sr_mdio_write()
225 static u32 sr9700_get_link(struct net_device *netdev) in sr9700_get_link()
239 static int sr9700_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) in sr9700_ioctl()
258 static void sr9700_set_multicast(struct net_device *netdev) in sr9700_set_multicast()
289 static int sr9700_set_mac_address(struct net_device *netdev, void *p) in sr9700_set_mac_address()
321 struct net_device *netdev; in sr9700_bind() local
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c255 struct net_device *netdev = adapter->netdev; in e1000_request_irq() local
271 struct net_device *netdev = adapter->netdev; in e1000_free_irq() local
304 struct net_device *netdev = adapter->netdev; in e1000_update_mng_vlan() local
363 struct net_device *netdev = adapter->netdev; in e1000_configure() local
492 struct net_device *netdev = adapter->netdev; in e1000_down() local
709 struct net_device *netdev = adapter->netdev; in e1000_dump_eeprom() local
923 struct net_device *netdev; in e1000_probe() local
1354 int e1000_open(struct net_device *netdev) in e1000_open()
1431 int e1000_close(struct net_device *netdev) in e1000_close()
3099 struct net_device *netdev) in e1000_xmit_frame()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/
H A De100.c540 struct net_device *netdev; member
1073 struct net_device *netdev = nic->netdev; in e100_configure() local
1435 struct net_device *netdev = nic->netdev; in e100_phy_init() local
1561 struct net_device *netdev = nic->netdev; in e100_multi() local
1770 struct net_device *netdev) in e100_xmit_frame()
2193 struct net_device *netdev = dev_id; in e100_intr() local
2239 static void e100_netpoll(struct net_device *netdev) in e100_netpoll()
2330 struct net_device *netdev = nic->netdev; in e100_tx_timeout_task() local
2782 static int e100_open(struct net_device *netdev) in e100_open()
2793 static int e100_close(struct net_device *netdev) in e100_close()
[all …]
/openbmc/linux/kernel/bpf/
H A Doffload.c44 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()
79 struct net_device *netdev) in __bpf_offload_dev_netdev_register()
124 struct net_device *netdev; in bpf_map_offload_ndo() local
146 struct net_device *netdev) in __bpf_offload_dev_netdev_unregister()
230 struct net_device *netdev; in bpf_prog_dev_bound_init() local
377 struct net_device *netdev; in bpf_prog_dev_bound_destroy() local
688 struct net_device *netdev) in __bpf_offload_dev_match()
753 struct net_device *netdev) in bpf_offload_dev_netdev_register()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c48 static int mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add()
68 static void mlx5e_ktls_del(struct net_device *netdev, in mlx5e_ktls_del()
78 static int mlx5e_ktls_resync(struct net_device *netdev, in mlx5e_ktls_resync()
115 struct net_device *netdev = priv->netdev; in mlx5e_ktls_build_netdev() local
132 int mlx5e_ktls_set_feature_rx(struct net_device *netdev, bool enable) in mlx5e_ktls_set_feature_rx()
/openbmc/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() local
70 struct net_device *netdev = pdata->netdev; in xlgmac_init() local
231 struct net_device *netdev; in xlgmac_drv_probe() local
276 struct net_device *netdev = dev_get_drvdata(dev); in xlgmac_drv_remove() local
332 void xlgmac_print_pkt(struct net_device *netdev, in xlgmac_print_pkt()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c261 static void fm10k_get_ethtool_stats(struct net_device *netdev, in fm10k_get_ethtool_stats()
352 static void fm10k_get_regs(struct net_device *netdev, in fm10k_get_regs()
431 static int fm10k_get_regs_len(struct net_device *netdev) in fm10k_get_regs_len()
490 static u32 fm10k_get_msglevel(struct net_device *netdev) in fm10k_get_msglevel()
497 static void fm10k_set_msglevel(struct net_device *netdev, u32 data) in fm10k_set_msglevel()
504 static void fm10k_get_ringparam(struct net_device *netdev, in fm10k_get_ringparam()
521 static int fm10k_set_ringparam(struct net_device *netdev, in fm10k_set_ringparam()
960 static u32 fm10k_get_priv_flags(struct net_device *netdev) in fm10k_get_priv_flags()
1013 static int fm10k_get_reta(struct net_device *netdev, u32 *indir) in fm10k_get_reta()
1033 static int fm10k_set_reta(struct net_device *netdev, const u32 *indir) in fm10k_set_reta()
[all …]
/openbmc/u-boot/drivers/net/
H A Dat91_emac.c155 struct eth_device *netdev; in get_emacbase_by_name() local
184 static int at91emac_phy_reset(struct eth_device *netdev) in at91emac_phy_reset()
218 static int at91emac_phy_init(struct eth_device *netdev) in at91emac_phy_init()
316 static int at91emac_init(struct eth_device *netdev, bd_t *bd) in at91emac_init()
382 static void at91emac_halt(struct eth_device *netdev) in at91emac_halt()
392 static int at91emac_send(struct eth_device *netdev, void *packet, int length) in at91emac_send()
409 static int at91emac_recv(struct eth_device *netdev) in at91emac_recv()
451 static int at91emac_write_hwaddr(struct eth_device *netdev) in at91emac_write_hwaddr()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c132 struct net_device *netdev = lif->netdev; in ionic_link_status_check() local
1167 struct net_device *netdev; in ionic_notifyq_service() local
1285 void ionic_get_stats64(struct net_device *netdev, in ionic_get_stats64()
1354 struct net_device *netdev = lif->netdev; in ionic_lif_rx_mode() local
1573 struct net_device *netdev = lif->netdev; in ionic_init_nic_features() local
1648 static int ionic_set_features(struct net_device *netdev, in ionic_set_features()
2242 static int ionic_open(struct net_device *netdev) in ionic_open()
2303 static int ionic_stop(struct net_device *netdev) in ionic_stop()
2403 static int ionic_get_vf_config(struct net_device *netdev, in ionic_get_vf_config()
3106 struct net_device *netdev; in ionic_lif_alloc() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c80 int mlx5i_init(struct mlx5_core_dev *mdev, struct net_device *netdev) in mlx5i_init()
162 struct net_device *mlx5i_parent_get(struct net_device *netdev) in mlx5i_parent_get()
186 void mlx5i_parent_put(struct net_device *netdev) in mlx5i_parent_put()
514 static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu) in mlx5i_change_mtu()
579 static int mlx5i_open(struct net_device *netdev) in mlx5i_open()
627 static int mlx5i_close(struct net_device *netdev) in mlx5i_close()
654 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast()
679 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast()
711 static void mlx5i_set_pkey_index(struct net_device *netdev, int id) in mlx5i_set_pkey_index()
731 static void mlx5_rdma_netdev_free(struct net_device *netdev) in mlx5_rdma_netdev_free()
[all …]
/openbmc/qemu/net/
H A Dvmnet-shared.c20 static bool validate_options(const Netdev *netdev, Error **errp) in validate_options()
50 static xpc_object_t build_if_desc(const Netdev *netdev) in build_if_desc()
98 int net_init_vmnet_shared(const Netdev *netdev, const char *name, in net_init_vmnet_shared()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211netdev.c107 static int p80211knetdev_init(struct net_device *netdev) in p80211knetdev_init()
131 static int p80211knetdev_open(struct net_device *netdev) in p80211knetdev_open()
167 static int p80211knetdev_stop(struct net_device *netdev) in p80211knetdev_stop()
304 struct net_device *netdev) in p80211knetdev_hard_start_xmit()
643 struct net_device *netdev; in wlan_setup() local
977 static void p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue) in p80211knetdev_tx_timeout()
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ktls.c18 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()

12345678910>>...27