Searched refs:sbm (Results 1 – 2 of 2) sorted by relevance
203 } sbm; member365 return (addr - mb_addr) / vm->sbm.sb_size; in virtio_mem_phys_to_sb_id()441 const unsigned long idx = mb_id - vm->sbm.first_mb_id; in virtio_mem_sbm_set_mb_state()444 old_state = vm->sbm.mb_states[idx]; in virtio_mem_sbm_set_mb_state()445 vm->sbm.mb_states[idx] = state; in virtio_mem_sbm_set_mb_state()447 BUG_ON(vm->sbm.mb_count[old_state] == 0); in virtio_mem_sbm_set_mb_state()448 vm->sbm.mb_count[old_state]--; in virtio_mem_sbm_set_mb_state()449 vm->sbm.mb_count[state]++; in virtio_mem_sbm_set_mb_state()458 const unsigned long idx = mb_id - vm->sbm.first_mb_id; in virtio_mem_sbm_get_mb_state()460 return vm->sbm.mb_states[idx]; in virtio_mem_sbm_get_mb_state()[all …]
290 u32 sbm; in sbefifo_check_sbe_state() local297 sbm = be32_to_cpu(raw_word); in sbefifo_check_sbe_state()300 if (!(sbm & CFAM_SBM_SBE_BOOTED)) in sbefifo_check_sbe_state()304 switch ((sbm & CFAM_SBM_SBE_STATE_MASK) >> CFAM_SBM_SBE_STATE_SHIFT) { in sbefifo_check_sbe_state()321 if (sbm & CFAM_SBM_SBE_ASYNC_FFDC) in sbefifo_check_sbe_state()