Lines Matching defs:nn

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()
280 int nfp_net_reconfig(struct nfp_net *nn, u32 update) in nfp_net_reconfig()
291 int nfp_net_mbox_lock(struct nfp_net *nn, unsigned int data_size) in nfp_net_mbox_lock()
312 int nfp_net_mbox_reconfig(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig()
328 void nfp_net_mbox_reconfig_post(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig_post()
337 int nfp_net_mbox_reconfig_wait_posted(struct nfp_net *nn) in nfp_net_mbox_reconfig_wait_posted()
346 int nfp_net_mbox_reconfig_and_unlock(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_mbox_reconfig_and_unlock()
402 nfp_net_irqs_assign(struct nfp_net *nn, struct msix_entry *irq_entries, in nfp_net_irqs_assign()
473 static void nfp_net_read_link_status(struct nfp_net *nn) in nfp_net_read_link_status()
514 struct nfp_net *nn = data; in nfp_net_irq_lsc() local
535 struct nfp_net *nn = data; in nfp_net_irq_exn() local
553 nfp_net_aux_irq_request(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_request()
581 static void nfp_net_aux_irq_free(struct nfp_net *nn, u32 ctrl_offset, in nfp_net_aux_irq_free()
685 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_tx_timeout() local
736 static void nfp_net_vecs_init(struct nfp_net *nn) in nfp_net_vecs_init()
812 nfp_net_prepare_vector(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, in nfp_net_prepare_vector()
839 nfp_net_cleanup_vector(struct nfp_net *nn, struct nfp_net_r_vector *r_vec) in nfp_net_cleanup_vector()
850 void nfp_net_rss_write_itbl(struct nfp_net *nn) in nfp_net_rss_write_itbl()
863 void nfp_net_rss_write_key(struct nfp_net *nn) in nfp_net_rss_write_key()
876 void nfp_net_coalesce_write_cfg(struct nfp_net *nn) in nfp_net_coalesce_write_cfg()
910 static void nfp_net_write_mac_addr(struct nfp_net *nn, const u8 *addr) in nfp_net_write_mac_addr()
922 static void nfp_net_clear_config_and_disable(struct nfp_net *nn) in nfp_net_clear_config_and_disable()
962 static int nfp_net_set_config_and_enable(struct nfp_net *nn) in nfp_net_set_config_and_enable()
1028 static void nfp_net_close_stack(struct nfp_net *nn) in nfp_net_close_stack()
1057 static void nfp_net_close_free_all(struct nfp_net *nn) in nfp_net_close_free_all()
1077 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_netdev_close() local
1096 void nfp_ctrl_close(struct nfp_net *nn) in nfp_ctrl_close()
1119 struct nfp_net *nn; in nfp_net_rx_dim_work() local
1148 struct nfp_net *nn; in nfp_net_tx_dim_work() local
1176 static void nfp_net_open_stack(struct nfp_net *nn) in nfp_net_open_stack()
1204 static int nfp_net_open_alloc_all(struct nfp_net *nn) in nfp_net_open_alloc_all()
1254 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_netdev_open() local
1307 int nfp_ctrl_open(struct nfp_net *nn) in nfp_ctrl_open()
1338 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_rx_mode() local
1366 static void nfp_net_rss_init_itbl(struct nfp_net *nn) in nfp_net_rss_init_itbl()
1375 static void nfp_net_dp_swap(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_dp_swap()
1388 static int nfp_net_dp_swap_enable(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_dp_swap_enable()
1407 struct nfp_net_dp *nfp_net_clone_dp(struct nfp_net *nn) in nfp_net_clone_dp()
1445 nfp_net_check_config(struct nfp_net *nn, struct nfp_net_dp *dp, in nfp_net_check_config()
1477 int nfp_net_ring_reconfig(struct nfp_net *nn, struct nfp_net_dp *dp, in nfp_net_ring_reconfig()
1556 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_change_mtu() local
1577 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_vlan_rx_add_vid() local
1601 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_vlan_rx_kill_vid() local
1624 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_stat64() local
1667 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_features() local
1827 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_phys_port_name() local
1846 static int nfp_net_xdp_setup_drv(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_drv()
1876 static int nfp_net_xdp_setup_hw(struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_net_xdp_setup_hw()
1890 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_xdp() local
1907 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_mac_address() local
1930 struct nfp_net *nn = netdev_priv(dev); in nfp_net_bridge_getlink() local
1946 struct nfp_net *nn = netdev_priv(dev); in nfp_net_bridge_setlink() local
2054 struct nfp_net *nn = netdev_priv(netdev); in nfp_udp_tunnel_sync() local
2087 void nfp_net_info(struct nfp_net *nn) in nfp_net_info()
2149 struct nfp_net *nn; in nfp_net_alloc() local
2255 void nfp_net_free(struct nfp_net *nn) in nfp_net_free()
2273 unsigned int nfp_net_rss_key_sz(struct nfp_net *nn) in nfp_net_rss_key_sz()
2292 static void nfp_net_rss_init(struct nfp_net *nn) in nfp_net_rss_init()
2327 static void nfp_net_irqmod_init(struct nfp_net *nn) in nfp_net_irqmod_init()
2338 static void nfp_net_netdev_init(struct nfp_net *nn) in nfp_net_netdev_init()
2453 static int nfp_net_read_caps(struct nfp_net *nn) in nfp_net_read_caps()
2503 int nfp_net_init(struct nfp_net *nn) in nfp_net_init()
2585 void nfp_net_clean(struct nfp_net *nn) in nfp_net_clean()