Searched refs:mem_block (Results 1 – 2 of 2) sorted by relevance
249 struct memory_block *mem_block; in lmb_to_memblock() local254 mem_block = find_memory_block(mem_sect); in lmb_to_memblock()255 return mem_block; in lmb_to_memblock()289 struct memory_block *mem_block; in dlpar_change_lmb_state() local292 mem_block = lmb_to_memblock(lmb); in dlpar_change_lmb_state()293 if (!mem_block) in dlpar_change_lmb_state()296 if (online && mem_block->dev.offline) in dlpar_change_lmb_state()297 rc = device_online(&mem_block->dev); in dlpar_change_lmb_state()298 else if (!online && !mem_block->dev.offline) in dlpar_change_lmb_state()299 rc = device_offline(&mem_block->dev); in dlpar_change_lmb_state()[all …]
624 u32 mem_block = rx_desc & RX_MEM_BLOCK_MASK; in wl127x_prepare_read() local626 priv->rx_mem_addr->addr = (mem_block << 8) + in wl127x_prepare_read()