Searched refs:scratch_offset (Results 1 – 2 of 2) sorted by relevance
1548 u32 sts_offset, cp_offset, scratch_offset; in stex_probe() local1593 sts_offset = scratch_offset = (ci->rq_count+1) * ci->rq_size; in stex_probe()1635 hba->scratch = (__le32 *)(hba->dma_mem + scratch_offset); in stex_probe()
14268 u32 scratch_offset; in bnx2x_drv_ctl() local14284 scratch_offset = SHMEM2_RD(bp, ncsi_oem_data_addr); in bnx2x_drv_ctl()14285 if (!scratch_offset) in bnx2x_drv_ctl()14287 scratch_offset += offsetof(struct glob_ncsi_oem_data, in bnx2x_drv_ctl()14293 REG_WR(bp, scratch_offset + i, in bnx2x_drv_ctl()