Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c259 u32 data, rmask_bits, temp; in rockchip_set_drive_perpin() local
288 rmask_bits = ROCKCHIP_DRV_3BITS_PER_PIN; in rockchip_set_drive_perpin()
326 rmask_bits = ROCKCHIP_DRV_BITS_PER_PIN; in rockchip_set_drive_perpin()
336 data &= ~(((1 << rmask_bits) - 1) << bit); in rockchip_set_drive_perpin()
339 data = ((1 << rmask_bits) - 1) << (bit + 16); in rockchip_set_drive_perpin()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c2238 u32 data, temp, rmask_bits; in rockchip_get_drive_perpin() local
2249 rmask_bits = RK3399_DRV_3BITS_PER_PIN; in rockchip_get_drive_perpin()
2292 rmask_bits = RK3288_DRV_BITS_PER_PIN; in rockchip_get_drive_perpin()
2304 data &= (1 << rmask_bits) - 1; in rockchip_get_drive_perpin()
2317 u32 data, rmask, rmask_bits, temp; in rockchip_set_drive_perpin() local
2328 rmask_bits = RK3588_DRV_BITS_PER_PIN; in rockchip_set_drive_perpin()
2332 rmask_bits = RK3568_DRV_BITS_PER_PIN; in rockchip_set_drive_perpin()
2338 rmask_bits = RV1126_DRV_BITS_PER_PIN; in rockchip_set_drive_perpin()
2362 rmask_bits = RK3399_DRV_3BITS_PER_PIN; in rockchip_set_drive_perpin()
2402 rmask_bits = RK3288_DRV_BITS_PER_PIN; in rockchip_set_drive_perpin()
[all …]