Searched refs:mem_block (Results 1 – 3 of 3) sorted by relevance
215 struct memory_block *mem_block; in lmb_to_memblock() local219 mem_block = find_memory_block(section_nr); in lmb_to_memblock()220 return mem_block; in lmb_to_memblock()254 struct memory_block *mem_block; in dlpar_change_lmb_state() local257 mem_block = lmb_to_memblock(lmb); in dlpar_change_lmb_state()258 if (!mem_block) in dlpar_change_lmb_state()261 if (online && mem_block->dev.offline) in dlpar_change_lmb_state()262 rc = device_online(&mem_block->dev); in dlpar_change_lmb_state()263 else if (!online && !mem_block->dev.offline) in dlpar_change_lmb_state()264 rc = device_offline(&mem_block->dev); in dlpar_change_lmb_state()[all …]
36 struct mem_block { struct40 } mem_block[HISI_ACC_MEM_BLOCK_NR]; member62 struct mem_block *block; in hisi_acc_create_sgl_pool()89 block = pool->mem_block; in hisi_acc_create_sgl_pool()143 struct mem_block *block; in hisi_acc_free_sgl_pool()149 block = pool->mem_block; in hisi_acc_free_sgl_pool()162 struct mem_block *block; in acc_get_sgl()168 block = pool->mem_block; in acc_get_sgl()
610 u32 mem_block = rx_desc & RX_MEM_BLOCK_MASK; in wl127x_prepare_read() local612 priv->rx_mem_addr->addr = (mem_block << 8) + in wl127x_prepare_read()