Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_ade.c96 u32 bit_ofst, reg_num; in ade_update_reload_bit() local
98 bit_ofst = bit_num % 32; in ade_update_reload_bit()
101 ade_update_bits(base + ADE_RELOAD_DIS(reg_num), bit_ofst, in ade_update_reload_bit()
107 u32 tmp, bit_ofst, reg_num; in ade_read_reload_bit() local
109 bit_ofst = bit_num % 32; in ade_read_reload_bit()
113 return !!(BIT(bit_ofst) & tmp); in ade_read_reload_bit()