Home
last modified time | relevance | path

Searched defs:nn (Results 1 – 25 of 27) sorted by relevance

12

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c126 static void nfp_net_reconfig_start(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start()
135 static void nfp_net_reconfig_start_async(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start_async()
146 static bool nfp_net_reconfig_check_done(struct nfp_net *nn, bool last_check) in nfp_net_reconfig_check_done()
164 static int nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in nfp_net_reconfig_wait()
182 struct nfp_net *nn = (void *)data; in nfp_net_reconfig_timer() local
210 static void nfp_net_reconfig_post(struct nfp_net *nn, u32 update) in nfp_net_reconfig_post()
230 static void nfp_net_reconfig_sync_enter(struct nfp_net *nn) in nfp_net_reconfig_sync_enter()
260 static void nfp_net_reconfig_wait_posted(struct nfp_net *nn) in nfp_net_reconfig_wait_posted()
280 int nfp_net_reconfig(struct nfp_net *nn, u32 update) in nfp_net_reconfig()
310 static int nfp_net_reconfig_mbox(struct nfp_net *nn, u32 mbox_cmd) in nfp_net_reconfig_mbox()
[all …]
Dnfp_net_ethtool.c223 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() local
269 struct nfp_net *nn; in nfp_net_get_link_ksettings() local
366 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_ringparam() local
374 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size()
391 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_ringparam() local
428 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_count() local
435 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_strings() local
458 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats() local
602 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_strings() local
619 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_stats() local
[all …]
Dnfp_net_main.c145 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic()
157 struct nfp_net *nn, *next; in nfp_net_pf_free_vnics() local
170 struct nfp_net *nn; in nfp_net_pf_alloc_vnic() local
207 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic()
252 struct nfp_net *nn; in nfp_net_pf_alloc_vnics() local
283 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic()
296 struct nfp_net *nn; in nfp_net_pf_alloc_irqs() local
341 struct nfp_net *nn; in nfp_net_pf_init_vnics() local
612 struct nfp_net *nn, *next; in nfp_net_refresh_port_table_sync() local
807 struct nfp_net *nn; in nfp_net_pci_remove() local
Dnfp_netvf_main.c58 struct nfp_net *nn; member
79 static void nfp_netvf_get_mac_addr(struct nfp_net *nn) in nfp_netvf_get_mac_addr()
106 struct nfp_net *nn; in nfp_netvf_pci_probe() local
323 struct nfp_net *nn = vf->nn; in nfp_netvf_pci_remove() local
Dnfp_app.h164 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc()
170 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free()
176 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init()
183 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean()
236 struct nfp_net *nn) in nfp_app_extra_cap()
248 static inline bool nfp_app_tc_busy(struct nfp_app *app, struct nfp_net *nn) in nfp_app_tc_busy()
264 static inline int nfp_app_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_app_xdp_offload()
Dnfp_net.h53 #define nn_pr(nn, lvl, fmt, args...) \ argument
63 #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) argument
64 #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) argument
65 #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) argument
66 #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) argument
656 static inline u16 nn_readb(struct nfp_net *nn, int off) in nn_readb()
661 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) in nn_writeb()
666 static inline u16 nn_readw(struct nfp_net *nn, int off) in nn_readw()
671 static inline void nn_writew(struct nfp_net *nn, int off, u16 val) in nn_writew()
676 static inline u32 nn_readl(struct nfp_net *nn, int off) in nn_readl()
[all …]
Dnfp_app_nic.c43 struct nfp_net *nn, unsigned int id) in nfp_app_nic_vnic_init_phy_port()
63 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc()
Dnfp_net_debugfs.c47 struct nfp_net *nn; in nfp_net_debugfs_rx_q_read() local
128 struct nfp_net *nn; in nfp_net_debugfs_tx_q_read() local
204 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir, int id) in nfp_net_debugfs_vnic_add()
Dnfp_app.c55 struct nfp_net *nn = netdev_priv(netdev); in nfp_app_from_netdev() local
Dnfp_port.c47 struct nfp_net *nn = netdev_priv(netdev); in nfp_port_from_netdev() local
Dnfp_net_sriov.c72 struct nfp_net *nn; in nfp_net_sriov_update() local
/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c43 static bool nfp_net_ebpf_capable(struct nfp_net *nn) in nfp_net_ebpf_capable()
52 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload()
81 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap()
87 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc()
116 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free()
127 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_setup_tc() local
141 static bool nfp_bpf_tc_busy(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_tc_busy()
Doffload.c56 struct nfp_net *nn = (void *)data; in nfp_net_filter_stats_timer() local
79 static void nfp_net_bpf_stats_reset(struct nfp_net *nn) in nfp_net_bpf_stats_reset()
90 nfp_net_bpf_stats_update(struct nfp_net *nn, struct tc_cls_bpf_offload *cls_bpf) in nfp_net_bpf_stats_update()
108 nfp_net_bpf_get_act(struct nfp_net *nn, struct tc_cls_bpf_offload *cls_bpf) in nfp_net_bpf_get_act()
142 nfp_net_bpf_offload_prepare(struct nfp_net *nn, in nfp_net_bpf_offload_prepare()
187 nfp_net_bpf_load_and_start(struct nfp_net *nn, u32 tc_flags, in nfp_net_bpf_load_and_start()
223 static int nfp_net_bpf_stop(struct nfp_net *nn) in nfp_net_bpf_stop()
241 int nfp_net_bpf_offload(struct nfp_net *nn, struct tc_cls_bpf_offload *cls_bpf) in nfp_net_bpf_offload()
/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c54 static const char *nfp_flower_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_extra_cap()
308 static int nfp_flower_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_flower_vnic_alloc()
326 static void nfp_flower_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_vnic_clean()
338 static int nfp_flower_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_flower_vnic_init()
Dmain.h87 struct nfp_net *nn; member
/drivers/message/fusion/
Dmptfc.c429 u64 pn, nn; in mptfc_register_dev() local
572 u64 nn, pn; in mptfc_dump_lun_info() local
/drivers/video/fbdev/
Dpm2fb.c248 static void pm2_mnp(u32 clk, unsigned char *mm, unsigned char *nn, in pm2_mnp()
277 static void pm2v_mnp(u32 clk, unsigned char *mm, unsigned char *nn, in pm2v_mnp()
/drivers/net/fddi/skfp/
Dpmf.c1566 int nn ; in dump_smt() local
/drivers/nvme/host/
Dcore.c2476 static int nvme_scan_ns_list(struct nvme_ctrl *ctrl, unsigned nn) in nvme_scan_ns_list()
2517 static void nvme_scan_ns_sequential(struct nvme_ctrl *ctrl, unsigned nn) in nvme_scan_ns_sequential()
2532 unsigned nn; in nvme_scan_work() local
/drivers/clk/
Dclk-cdce925.c224 u16 nn; in cdce925_pll_prepare() local
/drivers/mtd/nand/atmel/
Dpmecc.c200 unsigned int nn = BIT(mm) - 1; in atmel_pmecc_build_gf_tables() local
/drivers/net/ethernet/xircom/
Dxirc2ps_cs.c1133 unsigned n, nn; in xirc2ps_interrupt() local
/drivers/crypto/qat/qat_common/
Dqat_hal.c1280 unsigned short nn, unsigned int val) in qat_hal_put_rel_nn()
/drivers/gpu/drm/selftests/
Dtest-drm_mm.c1856 struct drm_mm_node *node, *nn; in igt_color() local
/drivers/nvme/target/
Dfc.c2456 u64 nn; member

12