/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen1.c | 145 static inline void ndev_reset_unsafe_flags(struct intel_ntb_dev *ndev) in ndev_reset_unsafe_flags() 162 static inline int ndev_is_unsafe(struct intel_ntb_dev *ndev, in ndev_is_unsafe() 168 static inline int ndev_ignore_unsafe(struct intel_ntb_dev *ndev, in ndev_ignore_unsafe() 177 int ndev_mw_to_bar(struct intel_ntb_dev *ndev, int idx) in ndev_mw_to_bar() 184 void ndev_db_addr(struct intel_ntb_dev *ndev, in ndev_db_addr() 202 u64 ndev_db_read(struct intel_ntb_dev *ndev, in ndev_db_read() 211 int ndev_db_write(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_write() 225 static inline int ndev_db_set_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_set_mask() 246 static inline int ndev_db_clear_mask(struct intel_ntb_dev *ndev, u64 db_bits, in ndev_db_clear_mask() 267 static inline u64 ndev_vec_mask(struct intel_ntb_dev *ndev, int db_vector) in ndev_vec_mask() [all …]
|
H A D | ntb_hw_gen4.c | 49 static int gen4_poll_link(struct intel_ntb_dev *ndev) in gen4_poll_link() 71 static int gen4_link_is_up(struct intel_ntb_dev *ndev) in gen4_link_is_up() 76 static int gen4_init_isr(struct intel_ntb_dev *ndev) in gen4_init_isr() 96 static int gen4_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen4_setup_b2b_mw() 127 static int gen4_init_ntb(struct intel_ntb_dev *ndev) in gen4_init_ntb() 159 static enum ntb_topo gen4_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) in gen4_ppd_topo() 171 static enum ntb_topo spr_ppd_topo(struct intel_ntb_dev *ndev, u32 ppd) in spr_ppd_topo() 183 int gen4_init_dev(struct intel_ntb_dev *ndev) in gen4_init_dev() 222 struct intel_ntb_dev *ndev; in ndev_ntb4_debugfs_read() local 340 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_set_trans() local [all …]
|
H A D | ntb_hw_gen3.c | 93 static int gen3_poll_link(struct intel_ntb_dev *ndev) in gen3_poll_link() 115 static int gen3_init_isr(struct intel_ntb_dev *ndev) in gen3_init_isr() 142 static int gen3_setup_b2b_mw(struct intel_ntb_dev *ndev, in gen3_setup_b2b_mw() 173 static int gen3_init_ntb(struct intel_ntb_dev *ndev) in gen3_init_ntb() 226 int gen3_init_dev(struct intel_ntb_dev *ndev) in gen3_init_dev() 258 struct intel_ntb_dev *ndev; in ndev_ntb3_debugfs_read() local 421 struct intel_ntb_dev *ndev; in intel_ntb3_link_enable() local 446 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans() local 539 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_addr() local 567 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_set() local [all …]
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_hal.c | 15 static void emu_enable_cores(struct nitrox_device *ndev) in emu_enable_cores() 40 void nitrox_config_emu_unit(struct nitrox_device *ndev) in nitrox_config_emu_unit() 65 static void reset_pkt_input_ring(struct nitrox_device *ndev, int ring) in reset_pkt_input_ring() 94 void enable_pkt_input_ring(struct nitrox_device *ndev, int ring) in enable_pkt_input_ring() 120 void nitrox_config_pkt_input_rings(struct nitrox_device *ndev) in nitrox_config_pkt_input_rings() 161 static void reset_pkt_solicit_port(struct nitrox_device *ndev, int port) in reset_pkt_solicit_port() 191 void enable_pkt_solicit_port(struct nitrox_device *ndev, int port) in enable_pkt_solicit_port() 218 static void config_pkt_solicit_port(struct nitrox_device *ndev, int port) in config_pkt_solicit_port() 236 void nitrox_config_pkt_solicit_ports(struct nitrox_device *ndev) in nitrox_config_pkt_solicit_ports() 250 static void enable_nps_core_interrupts(struct nitrox_device *ndev) in enable_nps_core_interrupts() [all …]
|
H A D | nitrox_isr.c | 42 static void clear_nps_core_err_intr(struct nitrox_device *ndev) in clear_nps_core_err_intr() 53 static void clear_nps_pkt_err_intr(struct nitrox_device *ndev) in clear_nps_pkt_err_intr() 111 static void clear_pom_err_intr(struct nitrox_device *ndev) in clear_pom_err_intr() 120 static void clear_pem_err_intr(struct nitrox_device *ndev) in clear_pem_err_intr() 129 static void clear_lbc_err_intr(struct nitrox_device *ndev) in clear_lbc_err_intr() 174 static void clear_efl_err_intr(struct nitrox_device *ndev) in clear_efl_err_intr() 195 static void clear_bmi_err_intr(struct nitrox_device *ndev) in clear_bmi_err_intr() 207 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_tasklet() local 226 struct nitrox_device *ndev = qvec->ndev; in nps_core_int_isr() local 263 void nitrox_unregister_interrupts(struct nitrox_device *ndev) in nitrox_unregister_interrupts() [all …]
|
H A D | nitrox_main.c | 70 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit() 109 static int nitrox_load_fw(struct nitrox_device *ndev) in nitrox_load_fw() 234 static int nitrox_add_to_devlist(struct nitrox_device *ndev) in nitrox_add_to_devlist() 261 static void nitrox_remove_from_devlist(struct nitrox_device *ndev) in nitrox_remove_from_devlist() 271 struct nitrox_device *ndev = NULL, *iter; in nitrox_get_first_device() local 290 void nitrox_put_device(struct nitrox_device *ndev) in nitrox_put_device() 317 static int nitrox_pf_sw_init(struct nitrox_device *ndev) in nitrox_pf_sw_init() 332 static void nitrox_pf_sw_cleanup(struct nitrox_device *ndev) in nitrox_pf_sw_cleanup() 342 static int nitrox_bist_check(struct nitrox_device *ndev) in nitrox_bist_check() 367 static int nitrox_pf_hw_init(struct nitrox_device *ndev) in nitrox_pf_hw_init() [all …]
|
/linux/drivers/ntb/hw/amd/ |
H A D | ntb_hw_amd.c | 76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) in ndev_mw_to_bar() 97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_get_align() local 122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_set_trans() local 198 static int amd_ntb_get_link_status(struct amd_ntb_dev *ndev) in amd_ntb_get_link_status() 246 static int amd_link_is_up(struct amd_ntb_dev *ndev) in amd_link_is_up() 317 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_is_up() local 345 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_enable() local 361 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_disable() local 384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr() local 412 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_vector_mask() local [all …]
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_ethtool.c | 11 static void emac_get_drvinfo(struct net_device *ndev, in emac_get_drvinfo() 22 static u32 emac_get_msglevel(struct net_device *ndev) in emac_get_msglevel() 29 static void emac_set_msglevel(struct net_device *ndev, u32 value) in emac_set_msglevel() 36 static int emac_get_link_ksettings(struct net_device *ndev, in emac_get_link_ksettings() 42 static int emac_set_link_ksettings(struct net_device *ndev, in emac_set_link_ksettings() 48 static int emac_get_eee(struct net_device *ndev, struct ethtool_keee *edata) in emac_get_eee() 56 static int emac_set_eee(struct net_device *ndev, struct ethtool_keee *edata) in emac_set_eee() 64 static int emac_nway_reset(struct net_device *ndev) in emac_nway_reset() 69 static int emac_get_sset_count(struct net_device *ndev, int stringset) in emac_get_sset_count() 83 static void emac_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in emac_get_strings() [all …]
|
/linux/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 43 void ravb_modify(struct net_device *ndev, enum ravb_reg reg, u32 clear, in ravb_modify() 49 int ravb_wait(struct net_device *ndev, enum ravb_reg reg, u32 mask, u32 value) in ravb_wait() 61 static int ravb_set_opmode(struct net_device *ndev, u32 opmode) in ravb_set_opmode() 86 static void ravb_set_rate_gbeth(struct net_device *ndev) in ravb_set_rate_gbeth() 103 static void ravb_set_rate_rcar(struct net_device *ndev) in ravb_set_rate_rcar() 123 struct net_device *ndev) in ravb_read_mac_address() 195 static int ravb_tx_free(struct net_device *ndev, int q, bool free_txed_only) in ravb_tx_free() 238 static void ravb_rx_ring_free(struct net_device *ndev, int q) in ravb_rx_ring_free() 253 static void ravb_ring_free(struct net_device *ndev, int q) in ravb_ring_free() 295 ravb_alloc_rx_buffer(struct net_device *ndev, int q, u32 entry, gfp_t gfp_mask, in ravb_alloc_rx_buffer() [all …]
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 22 static void aq_ethtool_get_regs(struct net_device *ndev, in aq_ethtool_get_regs() 34 static int aq_ethtool_get_regs_len(struct net_device *ndev) in aq_ethtool_get_regs_len() 44 static u32 aq_ethtool_get_link(struct net_device *ndev) in aq_ethtool_get_link() 49 static int aq_ethtool_get_link_ksettings(struct net_device *ndev, in aq_ethtool_get_link_ksettings() 62 aq_ethtool_set_link_ksettings(struct net_device *ndev, in aq_ethtool_set_link_ksettings() 183 static u32 aq_ethtool_n_stats(struct net_device *ndev) in aq_ethtool_n_stats() 212 static void aq_ethtool_stats(struct net_device *ndev, in aq_ethtool_stats() 227 static void aq_ethtool_get_drvinfo(struct net_device *ndev, in aq_ethtool_get_drvinfo() 252 static void aq_ethtool_get_strings(struct net_device *ndev, in aq_ethtool_get_strings() 383 static int aq_ethtool_set_phys_id(struct net_device *ndev, in aq_ethtool_set_phys_id() [all …]
|
/linux/net/nfc/nci/ |
H A D | rsp.c | 28 static void nci_core_reset_rsp_packet(struct nci_dev *ndev, in nci_core_reset_rsp_packet() 47 static u8 nci_core_init_rsp_packet_v1(struct nci_dev *ndev, in nci_core_init_rsp_packet_v1() 86 static u8 nci_core_init_rsp_packet_v2(struct nci_dev *ndev, in nci_core_init_rsp_packet_v2() 124 static void nci_core_init_rsp_packet(struct nci_dev *ndev, const struct sk_buff *skb) in nci_core_init_rsp_packet() 165 static void nci_core_set_config_rsp_packet(struct nci_dev *ndev, in nci_core_set_config_rsp_packet() 175 static void nci_rf_disc_map_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_map_rsp_packet() 185 static void nci_rf_disc_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_rsp_packet() 216 static void nci_rf_disc_select_rsp_packet(struct nci_dev *ndev, in nci_rf_disc_select_rsp_packet() 228 static void nci_rf_deactivate_rsp_packet(struct nci_dev *ndev, in nci_rf_deactivate_rsp_packet() 244 static void nci_nfcee_discover_rsp_packet(struct nci_dev *ndev, in nci_nfcee_discover_rsp_packet() [all …]
|
/linux/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 131 struct mlx5_vdpa_net *ndev; member 281 static int create_tis(struct mlx5_vdpa_net *ndev) in create_tis() 297 static void destroy_tis(struct mlx5_vdpa_net *ndev) in destroy_tis() 305 static int cq_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf, int nent) in cq_frag_buf_alloc() 325 static int umem_frag_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_umem *umem, int size) in umem_frag_buf_alloc() 333 static void cq_frag_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_cq_buf *buf) in cq_frag_buf_free() 373 static void qp_prepare(struct mlx5_vdpa_net *ndev, bool fw, void *in, in qp_prepare() 407 static int rq_buf_alloc(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp, u32 num_ent) in rq_buf_alloc() 414 static void rq_buf_free(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_qp *vqp) in rq_buf_free() 419 static int qp_create(struct mlx5_vdpa_net *ndev, struct mlx5_vdpa_virtqueue *mvq, in qp_create() [all …]
|
H A D | debug.c | 10 struct mlx5_vdpa_net *ndev = file->private; in tirn_show() local 18 void mlx5_vdpa_remove_tirn(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_tirn() 24 void mlx5_vdpa_add_tirn(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_tirn() 32 struct mlx5_vdpa_net *ndev = file->private; in rx_flow_table_show() local 40 void mlx5_vdpa_remove_rx_flow_table(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_rx_flow_table() 46 void mlx5_vdpa_add_rx_flow_table(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_rx_flow_table() 95 void mlx5_vdpa_add_rx_counters(struct mlx5_vdpa_net *ndev, in mlx5_vdpa_add_rx_counters() 130 void mlx5_vdpa_remove_rx_counters(struct mlx5_vdpa_net *ndev, in mlx5_vdpa_remove_rx_counters() 138 void mlx5_vdpa_add_debugfs(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_add_debugfs() 149 void mlx5_vdpa_remove_debugfs(struct mlx5_vdpa_net *ndev) in mlx5_vdpa_remove_debugfs()
|
/linux/drivers/nfc/fdp/ |
H A D | fdp.c | 43 struct nci_dev *ndev; member 82 static int fdp_nci_create_conn(struct nci_dev *ndev) in fdp_nci_create_conn() 101 static inline int fdp_nci_get_versions(struct nci_dev *ndev) in fdp_nci_get_versions() 108 static inline int fdp_nci_patch_cmd(struct nci_dev *ndev, u8 type) in fdp_nci_patch_cmd() 113 static inline int fdp_nci_set_production_data(struct nci_dev *ndev, u8 len, in fdp_nci_set_production_data() 119 static int fdp_nci_set_clock(struct nci_dev *ndev, u8 clock_type, in fdp_nci_set_clock() 144 static void fdp_nci_send_patch_cb(struct nci_dev *ndev) in fdp_nci_send_patch_cb() 159 static void fdp_nci_set_data_pkt_counter(struct nci_dev *ndev, in fdp_nci_set_data_pkt_counter() 160 void (*cb)(struct nci_dev *ndev), int count) in fdp_nci_set_data_pkt_counter() 181 static int fdp_nci_send_patch(struct nci_dev *ndev, u8 conn_id, u8 type) in fdp_nci_send_patch() [all …]
|
/linux/drivers/net/ethernet/arc/ |
H A D | emac_main.c | 46 static void arc_emac_adjust_link(struct net_device *ndev) in arc_emac_adjust_link() 89 static void arc_emac_get_drvinfo(struct net_device *ndev, in arc_emac_get_drvinfo() 110 static void arc_emac_tx_clean(struct net_device *ndev) in arc_emac_tx_clean() 175 static int arc_emac_rx(struct net_device *ndev, int budget) in arc_emac_rx() 274 static void arc_emac_rx_miss_handle(struct net_device *ndev) in arc_emac_rx_miss_handle() 299 static void arc_emac_rx_stall_check(struct net_device *ndev, in arc_emac_rx_stall_check() 326 struct net_device *ndev = napi->dev; in arc_emac_poll() local 356 struct net_device *ndev = dev_instance; in arc_emac_intr() local 424 static int arc_emac_open(struct net_device *ndev) in arc_emac_open() 514 static void arc_emac_set_rx_mode(struct net_device *ndev) in arc_emac_set_rx_mode() [all …]
|
/linux/drivers/net/ethernet/asix/ |
H A D | ax88796c_ioctl.c | 24 ax88796c_get_drvinfo(struct net_device *ndev, struct ethtool_drvinfo *info) in ax88796c_get_drvinfo() 30 static u32 ax88796c_get_msglevel(struct net_device *ndev) in ax88796c_get_msglevel() 37 static void ax88796c_set_msglevel(struct net_device *ndev, u32 level) in ax88796c_set_msglevel() 45 ax88796c_get_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_get_pauseparam() 57 ax88796c_set_pauseparam(struct net_device *ndev, struct ethtool_pauseparam *pause) in ax88796c_set_pauseparam() 91 static int ax88796c_get_regs_len(struct net_device *ndev) in ax88796c_get_regs_len() 97 ax88796c_get_regs(struct net_device *ndev, struct ethtool_regs *regs, void *_p) in ax88796c_get_regs() 122 ax88796c_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in ax88796c_get_strings() 133 ax88796c_get_sset_count(struct net_device *ndev, int stringset) in ax88796c_get_sset_count() 148 static int ax88796c_set_priv_flags(struct net_device *ndev, u32 flags) in ax88796c_set_priv_flags() [all …]
|
H A D | ax88796c_main.c | 91 static void ax88796c_set_hw_multicast(struct net_device *ndev) in ax88796c_set_hw_multicast() 130 static void ax88796c_set_mac_addr(struct net_device *ndev) in ax88796c_set_mac_addr() 144 static void ax88796c_load_mac_addr(struct net_device *ndev) in ax88796c_load_mac_addr() 244 ax88796c_tx_fixup(struct net_device *ndev, struct sk_buff_head *q) in ax88796c_tx_fixup() 385 ax88796c_start_xmit(struct sk_buff *skb, struct net_device *ndev) in ax88796c_start_xmit() 403 struct net_device *ndev = ax_local->ndev; in ax88796c_skb_return() local 446 struct net_device *ndev = ax_local->ndev; in ax88796c_rx_fixup() local 494 static int ax88796c_receive(struct net_device *ndev) in ax88796c_receive() 550 struct net_device *ndev = ax_local->ndev; in ax88796c_process_isr() local 588 struct net_device *ndev; in ax88796c_interrupt() local [all …]
|
/linux/drivers/net/ethernet/wiznet/ |
H A D | w5100-spi.c | 26 static int w5100_spi_read(struct net_device *ndev, u32 addr) in w5100_spi_read() 38 static int w5100_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5100_spi_write() 46 static int w5100_spi_read16(struct net_device *ndev, u32 addr) in w5100_spi_read16() 60 static int w5100_spi_write16(struct net_device *ndev, u32 addr, u16 data) in w5100_spi_write16() 71 static int w5100_spi_readbulk(struct net_device *ndev, u32 addr, u8 *buf, in w5100_spi_readbulk() 87 static int w5100_spi_writebulk(struct net_device *ndev, u32 addr, const u8 *buf, in w5100_spi_writebulk() 125 static struct w5200_spi_priv *w5200_spi_priv(struct net_device *ndev) in w5200_spi_priv() 130 static int w5200_spi_init(struct net_device *ndev) in w5200_spi_init() 139 static int w5200_spi_read(struct net_device *ndev, u32 addr) in w5200_spi_read() 151 static int w5200_spi_write(struct net_device *ndev, u32 addr, u8 data) in w5200_spi_write() [all …]
|
/linux/drivers/nfc/st-nci/ |
H A D | vendor_cmds.c | 42 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_factory_mode() local 67 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_clear_all_pipes() local 75 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_put_data() local 85 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_update_aid() local 96 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_info() local 128 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_get_data() local 159 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_start() local 173 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_fwupd_end() local 182 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_direct_load() local 195 struct nci_dev *ndev = nfc_get_drvdata(dev); in st_nci_hci_dm_reset() local [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ethtool.c | 141 u32 cpsw_get_msglevel(struct net_device *ndev) in cpsw_get_msglevel() 148 void cpsw_set_msglevel(struct net_device *ndev, u32 value) in cpsw_set_msglevel() 155 int cpsw_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal, in cpsw_get_coalesce() 165 int cpsw_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal, in cpsw_set_coalesce() 224 int cpsw_get_sset_count(struct net_device *ndev, int sset) in cpsw_get_sset_count() 255 void cpsw_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in cpsw_get_strings() 275 void cpsw_get_ethtool_stats(struct net_device *ndev, in cpsw_get_ethtool_stats() 307 void cpsw_get_pauseparam(struct net_device *ndev, in cpsw_get_pauseparam() 317 void cpsw_get_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in cpsw_get_wol() 330 int cpsw_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) in cpsw_set_wol() [all …]
|
H A D | am65-cpsw-qos.c | 186 static void am65_cpsw_reset_tc_mqprio(struct net_device *ndev) in am65_cpsw_reset_tc_mqprio() 203 static int am65_cpsw_setup_mqprio(struct net_device *ndev, void *type_data) in am65_cpsw_setup_mqprio() 426 static void am65_cpsw_iet_link_state_update(struct net_device *ndev) in am65_cpsw_iet_link_state_update() 470 static void am65_cpsw_port_est_assign_buf_num(struct net_device *ndev, in am65_cpsw_port_est_assign_buf_num() 494 static int am65_cpsw_port_est_is_swapped(struct net_device *ndev, int *oper, in am65_cpsw_port_est_is_swapped() 521 static int am65_cpsw_port_est_get_free_buf_num(struct net_device *ndev) in am65_cpsw_port_est_get_free_buf_num() 543 static void am65_cpsw_admin_to_oper(struct net_device *ndev) in am65_cpsw_admin_to_oper() 553 static void am65_cpsw_port_est_get_buf_num(struct net_device *ndev, in am65_cpsw_port_est_get_buf_num() 571 static void am65_cpsw_est_set(struct net_device *ndev, int enable) in am65_cpsw_est_set() 591 static void am65_cpsw_est_update_state(struct net_device *ndev) in am65_cpsw_est_update_state() [all …]
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 184 static void axienet_dma_bd_release(struct net_device *ndev) in axienet_dma_bd_release() 306 static int axienet_dma_bd_init(struct net_device *ndev) in axienet_dma_bd_init() 381 static void axienet_set_mac_address(struct net_device *ndev, in axienet_set_mac_address() 415 static int netdev_set_mac_address(struct net_device *ndev, void *p) in netdev_set_mac_address() 434 static void axienet_set_multicast_list(struct net_device *ndev) in axienet_set_multicast_list() 505 static void axienet_setoptions(struct net_device *ndev, u32 options) in axienet_setoptions() 670 static int axienet_device_reset(struct net_device *ndev) in axienet_device_reset() 865 axienet_start_xmit_dmaengine(struct sk_buff *skb, struct net_device *ndev) in axienet_start_xmit_dmaengine() 960 struct net_device *ndev = lp->ndev; in axienet_tx_poll() local 1004 axienet_start_xmit(struct sk_buff *skb, struct net_device *ndev) in axienet_start_xmit() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_dcbnl.c | 7 static int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_getets() 20 static int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets) in hns3_dcbnl_ieee_setets() 33 static int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_getpfc() 46 static int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc) in hns3_dcbnl_ieee_setpfc() 59 static int hns3_dcbnl_ieee_setapp(struct net_device *ndev, struct dcb_app *app) in hns3_dcbnl_ieee_setapp() 72 static int hns3_dcbnl_ieee_delapp(struct net_device *ndev, struct dcb_app *app) in hns3_dcbnl_ieee_delapp() 86 static u8 hns3_dcbnl_getdcbx(struct net_device *ndev) in hns3_dcbnl_getdcbx() 97 static u8 hns3_dcbnl_setdcbx(struct net_device *ndev, u8 mode) in hns3_dcbnl_setdcbx()
|
/linux/drivers/net/ |
H A D | ntb_netdev.c | 75 struct net_device *ndev; member 85 struct net_device *ndev = data; in ntb_netdev_event_handler() local 102 struct net_device *ndev = qp_data; in ntb_netdev_rx_handler() local 166 static int ntb_netdev_maybe_stop_tx(struct net_device *ndev, in ntb_netdev_maybe_stop_tx() 179 struct net_device *ndev = qp_data; in ntb_netdev_tx_handler() local 208 struct net_device *ndev) in ntb_netdev_start_xmit() 233 struct net_device *ndev = dev->ndev; in ntb_netdev_tx_timer() local 247 static int ntb_netdev_open(struct net_device *ndev) in ntb_netdev_open() 283 static int ntb_netdev_close(struct net_device *ndev) in ntb_netdev_close() 299 static int ntb_netdev_change_mtu(struct net_device *ndev, int new_mtu) in ntb_netdev_change_mtu() [all …]
|
/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_ethtool.c | 78 static int mana_get_sset_count(struct net_device *ndev, int stringset) in mana_get_sset_count() 90 static void mana_get_strings(struct net_device *ndev, u32 stringset, u8 *data) in mana_get_strings() 125 static void mana_get_ethtool_stats(struct net_device *ndev, in mana_get_ethtool_stats() 208 static int mana_get_rxnfc(struct net_device *ndev, struct ethtool_rxnfc *cmd, in mana_get_rxnfc() 222 static u32 mana_get_rxfh_key_size(struct net_device *ndev) in mana_get_rxfh_key_size() 227 static u32 mana_rss_indir_size(struct net_device *ndev) in mana_rss_indir_size() 234 static int mana_get_rxfh(struct net_device *ndev, in mana_get_rxfh() 253 static int mana_set_rxfh(struct net_device *ndev, in mana_set_rxfh() 314 static void mana_get_channels(struct net_device *ndev, in mana_get_channels() 323 static int mana_set_channels(struct net_device *ndev, in mana_set_channels() [all …]
|