Home
last modified time | relevance | path

Searched refs:status_blk (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbnx2.c368 cp->irq_arr[0].status_blk = (void *) in bnx2_setup_cnic_irq_info()
369 ((unsigned long) bnapi->status_blk.msi + in bnx2_setup_cnic_irq_info()
818 if (bp->status_blk) { in bnx2_free_stats_blk()
820 bp->status_blk, in bnx2_free_stats_blk()
822 bp->status_blk = NULL; in bnx2_free_stats_blk()
831 void *status_blk; in bnx2_alloc_stats_blk() local
841 status_blk = dma_alloc_coherent(&bp->pdev->dev, bp->status_stats_size, in bnx2_alloc_stats_blk()
843 if (!status_blk) in bnx2_alloc_stats_blk()
846 bp->status_blk = status_blk; in bnx2_alloc_stats_blk()
847 bp->stats_blk = status_blk + status_blk_size; in bnx2_alloc_stats_blk()
[all …]
Dcnic.c1110 uinfo->mem[1].addr = (unsigned long) cp->status_blk.gen & in cnic_init_uio()
1317 cp->bnx2x_def_status_blk = cp->ethdev->irq_arr[1].status_blk; in cnic_alloc_bnx2x_resc()
2999 static int cnic_service_bnx2(void *data, void *status_blk) in cnic_service_bnx2() argument
3004 struct status_block *sblk = status_blk; in cnic_service_bnx2()
3030 prefetch(cp->status_blk.gen); in cnic_doirq()
3173 static int cnic_service_bnx2x(void *data, void *status_blk) in cnic_service_bnx2x() argument
4460 cp->last_status_idx = cp->status_blk.bnx2->status_idx; in cnic_init_bnx2_irq()
4466 while (cp->status_blk.bnx2->status_completion_producer_index && in cnic_init_bnx2_irq()
4474 if (cp->status_blk.bnx2->status_completion_producer_index) { in cnic_init_bnx2_irq()
4480 struct status_block *sblk = cp->status_blk.gen; in cnic_init_bnx2_irq()
[all …]
Dcnic_if.h192 void *status_blk; member
Dcnic.h262 } status_blk; member
Dbnx2.h6770 } status_blk; member
6931 void *status_blk; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c4357 union host_hc_status_block *sb = &bnx2x_fp(bp, fp_index, status_blk); in bnx2x_free_fp_mem_at()
4437 union host_hc_status_block status_blk = bnx2x_fp(bp, index, status_blk); in set_sb_shortcuts() local
4440 (__le16 *)status_blk.e2_sb->sb.index_values; in set_sb_shortcuts()
4442 (__le16 *)status_blk.e2_sb->sb.running_index; in set_sb_shortcuts()
4445 (__le16 *)status_blk.e1x_sb->sb.index_values; in set_sb_shortcuts()
4447 (__le16 *)status_blk.e1x_sb->sb.running_index; in set_sb_shortcuts()
4543 sb = &bnx2x_fp(bp, index, status_blk); in bnx2x_alloc_fp_mem_at()
Dbnx2x.h555 union host_hc_status_block status_blk; member
Dbnx2x_main.c6415 fp_idx, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id, in bnx2x_init_eth_fp()
6503 fp->index, bp, fp->status_blk.e2_sb, fp->cl_id, fp->fw_sb_id, in bnx2x_init_fcoe_fp()
14978 cp->irq_arr[0].status_blk = (void *)bp->cnic_sb.e2_sb; in bnx2x_setup_cnic_irq_info()
14980 cp->irq_arr[0].status_blk = (void *)bp->cnic_sb.e1x_sb; in bnx2x_setup_cnic_irq_info()
14984 cp->irq_arr[1].status_blk = bp->def_status_blk; in bnx2x_setup_cnic_irq_info()