Searched refs:scratch_offset (Results 1 – 2 of 2) sorted by relevance
1654 u32 sts_offset, cp_offset, scratch_offset; in stex_probe() local1723 sts_offset = scratch_offset = (ci->rq_count+1) * ci->rq_size; in stex_probe()1765 hba->scratch = (__le32 *)(hba->dma_mem + scratch_offset); in stex_probe()
14759 u32 scratch_offset; in bnx2x_drv_ctl() local14775 scratch_offset = SHMEM2_RD(bp, ncsi_oem_data_addr); in bnx2x_drv_ctl()14776 if (!scratch_offset) in bnx2x_drv_ctl()14778 scratch_offset += offsetof(struct glob_ncsi_oem_data, in bnx2x_drv_ctl()14784 REG_WR(bp, scratch_offset + i, in bnx2x_drv_ctl()