Searched refs:scratch_offset (Results 1 – 2 of 2) sorted by relevance
1657 u32 sts_offset, cp_offset, scratch_offset; in stex_probe() local1726 sts_offset = scratch_offset = (ci->rq_count+1) * ci->rq_size; in stex_probe()1768 hba->scratch = (__le32 *)(hba->dma_mem + scratch_offset); in stex_probe()
14795 u32 scratch_offset; in bnx2x_drv_ctl() local14811 scratch_offset = SHMEM2_RD(bp, ncsi_oem_data_addr); in bnx2x_drv_ctl()14812 if (!scratch_offset) in bnx2x_drv_ctl()14814 scratch_offset += offsetof(struct glob_ncsi_oem_data, in bnx2x_drv_ctl()14820 REG_WR(bp, scratch_offset + i, in bnx2x_drv_ctl()