Lines Matching refs:loff

704 	u32	r32, fwstate, pgnum, loff = 0;  in bfa_iocpf_sm_fwcheck_entry()  local
733 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry()
737 bfa_mem_write(iocpf->ioc->ioc_regs.smem_page_start, loff, 0); in bfa_iocpf_sm_fwcheck_entry()
738 loff += sizeof(u32); in bfa_iocpf_sm_fwcheck_entry()
1443 u32 loff = 0; in bfa_ioc_fwver_get() local
1447 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1453 bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_ioc_fwver_get()
1454 loff += sizeof(u32); in bfa_ioc_fwver_get()
1664 u32 loff = 0; in bfa_ioc_fwsig_invalidate() local
1671 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate()
1673 bfa_mem_write(ioc->ioc_regs.smem_page_start, loff, BFA_IOC_FW_INV_SIGN); in bfa_ioc_fwsig_invalidate()
1864 u32 loff = 0; in bfa_ioc_download_fw() local
1891 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_download_fw()
1918 bfa_mem_write(ioc->ioc_regs.smem_page_start, loff, in bfa_ioc_download_fw()
1921 loff += sizeof(u32); in bfa_ioc_download_fw()
1926 loff = PSS_SMEM_PGOFF(loff); in bfa_ioc_download_fw()
1927 if (loff == 0) { in bfa_ioc_download_fw()
2042 u32 pgnum, loff; in bfa_ioc_smem_read() local
2048 loff = PSS_SMEM_PGOFF(soff); in bfa_ioc_smem_read()
2050 bfa_trc(ioc, loff); in bfa_ioc_smem_read()
2066 r32 = bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_ioc_smem_read()
2068 loff += sizeof(u32); in bfa_ioc_smem_read()
2073 loff = PSS_SMEM_PGOFF(loff); in bfa_ioc_smem_read()
2074 if (loff == 0) { in bfa_ioc_smem_read()
2102 u32 pgnum, loff; in bfa_ioc_smem_clr() local
2105 loff = PSS_SMEM_PGOFF(soff); in bfa_ioc_smem_clr()
2107 bfa_trc(ioc, loff); in bfa_ioc_smem_clr()
2123 bfa_mem_write(ioc->ioc_regs.smem_page_start, loff, 0); in bfa_ioc_smem_clr()
2124 loff += sizeof(u32); in bfa_ioc_smem_clr()
2129 loff = PSS_SMEM_PGOFF(loff); in bfa_ioc_smem_clr()
2130 if (loff == 0) { in bfa_ioc_smem_clr()
2966 u32 loff = BFA_DBG_FWTRC_OFF(bfa_ioc_portid(ioc)); in bfa_ioc_debug_fwtrc() local
2976 status = bfa_ioc_smem_read(ioc, trcdata, loff, tlen); in bfa_ioc_debug_fwtrc()
3022 u32 loff; in bfa_ioc_debug_fwcore() local
3032 loff = *offset; in bfa_ioc_debug_fwcore()
3039 if (loff == 0) in bfa_ioc_debug_fwcore()
3042 if ((loff + dlen) >= smem_len) in bfa_ioc_debug_fwcore()
3043 dlen = smem_len - loff; in bfa_ioc_debug_fwcore()
3045 status = bfa_ioc_smem_read(ioc, buf, loff, dlen); in bfa_ioc_debug_fwcore()
3068 u32 loff = BFI_IOC_FWSTATS_OFF + \ in bfa_ioc_fw_stats_get() local
3080 status = bfa_ioc_smem_read(ioc, stats, loff, tlen); in bfa_ioc_fw_stats_get()
3089 u32 loff = BFI_IOC_FWSTATS_OFF + \ in bfa_ioc_fw_stats_clear() local
3101 status = bfa_ioc_smem_clr(ioc, loff, tlen); in bfa_ioc_fw_stats_clear()
4761 u32 loff = BFI_BOOT_MEMTEST_RES_ADDR; in bfa_diag_memtest_done() local
4764 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_diag_memtest_done()
4771 bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_diag_memtest_done()
4772 loff += sizeof(u32); in bfa_diag_memtest_done()