/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 82 static void nfp_net_reconfig_start(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start() 92 static void nfp_net_reconfig_start_async(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start_async() 103 static bool nfp_net_reconfig_check_done(struct nfp_net *nn, bool last_check) in nfp_net_reconfig_check_done() 125 static bool __nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in __nfp_net_reconfig_wait() 147 static int nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in nfp_net_reconfig_wait() 160 struct nfp_net *nn = from_timer(nn, t, reconfig_timer); in nfp_net_reconfig_timer() local 188 static void nfp_net_reconfig_post(struct nfp_net *nn, u32 update) in nfp_net_reconfig_post() 208 static void nfp_net_reconfig_sync_enter(struct nfp_net *nn) in nfp_net_reconfig_sync_enter() 239 static void nfp_net_reconfig_wait_posted(struct nfp_net *nn) in nfp_net_reconfig_wait_posted() 259 int __nfp_net_reconfig(struct nfp_net *nn, u32 update) in __nfp_net_reconfig() [all …]
|
D | ccm_mbox.c | 54 static u32 nfp_ccm_mbox_max_msg(struct nfp_net *nn) in nfp_ccm_mbox_max_msg() 116 static bool nfp_ccm_mbox_is_first(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_is_first() 121 static bool nfp_ccm_mbox_should_run(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_should_run() 128 static void nfp_ccm_mbox_mark_next_runner(struct nfp_net *nn) in nfp_ccm_mbox_mark_next_runner() 144 nfp_ccm_mbox_write_tlv(struct nfp_net *nn, u32 off, u32 type, u32 len) in nfp_ccm_mbox_write_tlv() 151 static void nfp_ccm_mbox_copy_in(struct nfp_net *nn, struct sk_buff *last) in nfp_ccm_mbox_copy_in() 199 nfp_ccm_mbox_find_req(struct nfp_net *nn, __be16 tag, struct sk_buff *last) in nfp_ccm_mbox_find_req() 214 static void nfp_ccm_mbox_copy_out(struct nfp_net *nn, struct sk_buff *last) in nfp_ccm_mbox_copy_out() 355 nfp_ccm_mbox_mark_all_err(struct nfp_net *nn, struct sk_buff *last, int err) in nfp_ccm_mbox_mark_all_err() 374 static void nfp_ccm_mbox_run_queue_unlock(struct nfp_net *nn) in nfp_ccm_mbox_run_queue_unlock() [all …]
|
D | nfp_net_ethtool.c | 220 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() local 485 struct nfp_net *nn; in nfp_net_get_link_ksettings() local 623 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_ringparam() local 632 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() 652 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_ringparam() local 724 struct nfp_net *nn = netdev_priv(netdev); in nfp_test_fw() local 834 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_count() local 842 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_strings() local 876 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats() local 978 static unsigned int nfp_vnic_get_tlv_stats_count(struct nfp_net *nn) in nfp_vnic_get_tlv_stats_count() [all …]
|
D | nfp_net_dp.c | 57 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_tx_ring_init() local 79 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_rx_ring_init() local 183 int nfp_net_tx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_tx_rings_prepare() 339 int nfp_net_rx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_rx_rings_prepare() 383 nfp_net_rx_ring_hw_cfg_write(struct nfp_net *nn, in nfp_net_rx_ring_hw_cfg_write() 393 nfp_net_tx_ring_hw_cfg_write(struct nfp_net *nn, in nfp_net_tx_ring_hw_cfg_write() 406 void nfp_net_vec_clear_ring_data(struct nfp_net *nn, unsigned int idx) in nfp_net_vec_clear_ring_data() 420 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_tx() local 425 bool __nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb) in __nfp_ctrl_tx() 432 bool nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb) in nfp_ctrl_tx()
|
D | nfp_net_main.c | 80 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 92 struct nfp_net *nn, *next; in nfp_net_pf_free_vnics() local 105 struct nfp_net *nn; in nfp_net_pf_alloc_vnic() local 141 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 187 struct nfp_net *nn; in nfp_net_pf_alloc_vnics() local 219 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 234 struct nfp_net *nn; in nfp_net_pf_alloc_irqs() local 279 struct nfp_net *nn; in nfp_net_pf_init_vnics() local 557 struct nfp_net *nn; in nfp_net_notify_port_speed() local 604 struct nfp_net *nn, *next; in nfp_net_refresh_port_table_sync() local [all …]
|
D | nfp_net.h | 28 #define nn_pr(nn, lvl, fmt, args...) \ argument 38 #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) argument 39 #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) argument 40 #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) argument 41 #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) argument 711 static inline u16 nn_readb(struct nfp_net *nn, int off) in nn_readb() 716 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) in nn_writeb() 721 static inline u16 nn_readw(struct nfp_net *nn, int off) in nn_readw() 726 static inline void nn_writew(struct nfp_net *nn, int off, u16 val) in nn_writew() 731 static inline u32 nn_readl(struct nfp_net *nn, int off) in nn_readl() [all …]
|
D | nfp_netvf_main.c | 29 struct nfp_net *nn; member 61 static void nfp_netvf_get_mac_addr(struct nfp_net *nn) in nfp_netvf_get_mac_addr() 89 struct nfp_net *nn; in nfp_netvf_pci_probe() local 302 struct nfp_net *nn; in nfp_netvf_pci_remove() local
|
D | nfp_app.h | 207 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc() 213 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free() 219 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init() 226 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean() 308 struct nfp_net *nn) in nfp_app_extra_cap() 329 static inline int nfp_app_bpf(struct nfp_app *app, struct nfp_net *nn, in nfp_app_bpf() 337 static inline int nfp_app_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_app_xdp_offload()
|
D | nfp_net_debugfs.c | 18 struct nfp_net *nn; in nfp_rx_q_show() local 84 struct nfp_net *nn; in nfp_tx_q_show() local 124 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir) in nfp_net_debugfs_vnic_add()
|
D | nfp_app_nic.c | 12 struct nfp_net *nn, unsigned int id) in nfp_app_nic_vnic_init_phy_port() 32 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc()
|
D | nfp_net_xsk.c | 113 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_xsk_setup_pool() local 164 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_xsk_wakeup() local
|
D | nfp_app.c | 41 struct nfp_net *nn = netdev_priv(netdev); in nfp_app_from_netdev() local 144 struct nfp_net *nn; in nfp_app_netdev_feat_change() local
|
D | nfp_port.c | 17 struct nfp_net *nn = netdev_priv(netdev); in nfp_port_from_netdev() local
|
/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 31 static void nfp_net_crypto_set_op(struct nfp_net *nn, u8 opcode, bool on) in nfp_net_crypto_set_op() 46 __nfp_net_tls_conn_cnt_changed(struct nfp_net *nn, int add, in __nfp_net_tls_conn_cnt_changed() 72 nfp_net_tls_conn_cnt_changed(struct nfp_net *nn, int add, in nfp_net_tls_conn_cnt_changed() 91 nfp_net_tls_conn_add(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_add() 97 nfp_net_tls_conn_remove(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_remove() 103 nfp_net_tls_alloc_simple(struct nfp_net *nn, size_t req_sz, gfp_t flags) in nfp_net_tls_alloc_simple() 111 nfp_net_tls_communicate_simple(struct nfp_net *nn, struct sk_buff *skb, in nfp_net_tls_communicate_simple() 135 static void nfp_net_tls_del_fw(struct nfp_net *nn, __be32 *fw_handle) in nfp_net_tls_del_fw() 161 nfp_net_tls_assign_conn_id(struct nfp_net *nn, in nfp_net_tls_assign_conn_id() 175 nfp_net_tls_set_ipv4(struct nfp_net *nn, struct nfp_crypto_req_add_v4 *req, in nfp_net_tls_set_ipv4() [all …]
|
D | crypto.h | 28 static inline int nfp_net_tls_init(struct nfp_net *nn) in nfp_net_tls_init()
|
/drivers/fpga/ |
D | dfl-n3000-nios.c | 167 struct n3000_nios *nn = dev_get_drvdata(dev); in nios_fw_version_show() local 190 static int get_retimer_mode(struct n3000_nios *nn, unsigned int mode_stat_reg, in get_retimer_mode() 211 struct n3000_nios *nn = dev_get_drvdata(dev); in retimer_A_mode_show() local 226 struct n3000_nios *nn = dev_get_drvdata(dev); in retimer_B_mode_show() local 242 struct n3000_nios *nn = dev_get_drvdata(dev); in fec_mode_show() local 296 static int n3000_nios_init_done_check(struct n3000_nios *nn) in n3000_nios_init_done_check() 415 static int create_altera_spi_controller(struct n3000_nios *nn) in create_altera_spi_controller() 451 static void destroy_altera_spi_controller(struct n3000_nios *nn) in destroy_altera_spi_controller() 480 struct n3000_nios *nn = context; in n3000_nios_reg_write() local 499 struct n3000_nios *nn = context; in n3000_nios_reg_read() local [all …]
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 24 static bool nfp_net_ebpf_capable(struct nfp_net *nn) in nfp_net_ebpf_capable() 38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() 57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() 63 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() 97 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() 109 struct nfp_net *nn = cb_priv; in nfp_bpf_setup_tc_block_cb() local 168 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_setup_tc() local 184 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_check_mtu() local
|
D | offload.c | 221 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate() local 425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf() 484 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu() 496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load() 551 nfp_net_bpf_start(struct nfp_net *nn, struct netlink_ext_ack *extack) in nfp_net_bpf_start() 564 static int nfp_net_bpf_stop(struct nfp_net *nn) in nfp_net_bpf_stop() 575 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_offload()
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 176 struct nfp_net *nn; in nfp_abm_kill_reprs_all() local 208 struct nfp_net *nn; in nfp_abm_eswitch_set_switchdev() local 257 nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn, in nfp_abm_vnic_set_mac() 313 nfp_abm_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_abm_vnic_alloc() 362 static void nfp_abm_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_free() 372 static int nfp_abm_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_init()
|
D | ctrl.c | 265 struct nfp_net *nn = alink->vnic; in nfp_abm_ctrl_prio_map_update() local 291 struct nfp_net *nn = alink->vnic; in nfp_abm_ctrl_prio_check_params() local
|
/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 237 struct nfp_net *nn = netdev_priv(netdev); in nfp_nfd3_tx() local 1021 struct nfp_net *nn = netdev_priv(dp->netdev); in nfp_nfd3_rx() local 1029 struct nfp_net *nn; in nfp_nfd3_rx() local 1168 nfp_nfd3_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, in nfp_nfd3_ctrl_tx_one() 1261 nfp_ctrl_meta_ok(struct nfp_net *nn, void *data, unsigned int meta_len) in nfp_ctrl_meta_ok() 1279 nfp_ctrl_rx_one(struct nfp_net *nn, struct nfp_net_dp *dp, in nfp_ctrl_rx_one() 1356 struct nfp_net *nn = r_vec->nfp_net; in nfp_ctrl_rx() local
|
D | xsk.c | 72 struct nfp_net *nn = netdev_priv(dp->netdev); in nfp_nfd3_xsk_rx_skb() local 202 struct nfp_net *nn = netdev_priv(dp->netdev); in nfp_nfd3_xsk_rx() local
|
/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 233 struct nfp_net *nn = netdev_priv(netdev); in nfp_nfdk_tx() local 1135 struct nfp_net *nn = netdev_priv(dp->netdev); in nfp_nfdk_rx() local 1143 struct nfp_net *nn; in nfp_nfdk_rx() local 1273 nfp_nfdk_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, in nfp_nfdk_ctrl_tx_one() 1418 nfp_ctrl_meta_ok(struct nfp_net *nn, void *data, unsigned int meta_len) in nfp_ctrl_meta_ok() 1436 nfp_ctrl_rx_one(struct nfp_net *nn, struct nfp_net_dp *dp, in nfp_ctrl_rx_one() 1513 struct nfp_net *nn = r_vec->nfp_net; in nfp_ctrl_rx() local
|
/drivers/net/ethernet/netronome/nfp/flower/ |
D | main.c | 28 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap() 600 static int nfp_flower_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_flower_vnic_alloc() 619 static void nfp_flower_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_vnic_clean() 631 static int nfp_flower_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_vnic_init()
|
/drivers/message/fusion/ |
D | mptfc.c | 428 u64 pn, nn; in mptfc_register_dev() local 571 u64 nn, pn; in mptfc_dump_lun_info() local
|