Searched refs:scratch_offset (Results 1 – 2 of 2) sorted by relevance
1658 u32 sts_offset, cp_offset, scratch_offset; in stex_probe() local1727 sts_offset = scratch_offset = (ci->rq_count+1) * ci->rq_size; in stex_probe()1769 hba->scratch = (__le32 *)(hba->dma_mem + scratch_offset); in stex_probe()
14752 u32 scratch_offset; in bnx2x_drv_ctl() local14768 scratch_offset = SHMEM2_RD(bp, ncsi_oem_data_addr); in bnx2x_drv_ctl()14769 if (!scratch_offset) in bnx2x_drv_ctl()14771 scratch_offset += offsetof(struct glob_ncsi_oem_data, in bnx2x_drv_ctl()14777 REG_WR(bp, scratch_offset + i, in bnx2x_drv_ctl()