Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/maps/
H A Dphysmap-core.c140 #define win_mask(order) (BIT(order) - 1) macro
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()
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()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c171 u32 win_mask; member
1736 used_layer += hweight32(vp->win_mask); in vop2_find_start_mixer_id_for_vp()
2039 vp->win_mask = 0; in vop2_crtc_atomic_begin()
2046 vp->win_mask |= BIT(win->data->phys_id); in vop2_crtc_atomic_begin()
2052 if (!vp->win_mask) in vop2_crtc_atomic_begin()