Home
last modified time | relevance | path

Searched refs:win_order (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/maps/
H A Dphysmap-core.c62 unsigned int win_order; member
126 ofs >>= info->win_order; in physmap_set_addr_gpios()
154 word = readw(map->virt + (ofs & win_mask(info->win_order))); in physmap_addr_gpios_read()
169 unsigned int winofs = ofs & win_mask(info->win_order); in physmap_addr_gpios_copy_from()
171 BIT(info->win_order) - winofs); in physmap_addr_gpios_copy_from()
193 writew(word, map->virt + (ofs & win_mask(info->win_order))); in physmap_addr_gpios_write()
206 unsigned int winofs = ofs & win_mask(info->win_order); in physmap_addr_gpios_copy_to()
208 BIT(info->win_order) - winofs); in physmap_addr_gpios_copy_to()
526 info->win_order = fls64(resource_size(res)) - 1; in physmap_flash_probe()
527 info->maps[i].size = BIT(info->win_order + in physmap_flash_probe()