Home
last modified time | relevance | path

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

/rk3399_ARM-atf/plat/rockchip/rk3576/drivers/secure/
H A Dfirewall.c303 static void fw_buf_bus_slv_grp_cfg(int slv_id, int grp_id) in fw_buf_bus_slv_grp_cfg() argument
305 int sft = slv_id % 5 << 2; in fw_buf_bus_slv_grp_cfg()
307 fw_config_buf.bus_slv_grp[slv_id / 5] &= ~(0xf << sft); in fw_buf_bus_slv_grp_cfg()
308 fw_config_buf.bus_slv_grp[slv_id / 5] |= (grp_id & 0xf) << sft; in fw_buf_bus_slv_grp_cfg()
311 static void fw_buf_top_slv_grp_cfg(int slv_id, int grp_id) in fw_buf_top_slv_grp_cfg() argument
313 int sft = slv_id % 5 << 2; in fw_buf_top_slv_grp_cfg()
315 fw_config_buf.top_slv_grp[slv_id / 5] &= ~(0xf << sft); in fw_buf_top_slv_grp_cfg()
316 fw_config_buf.top_slv_grp[slv_id / 5] |= (grp_id & 0xf) << sft; in fw_buf_top_slv_grp_cfg()
319 static void fw_buf_center_slv_grp_cfg(int slv_id, int grp_id) in fw_buf_center_slv_grp_cfg() argument
321 int sft = slv_id % 5 << 2; in fw_buf_center_slv_grp_cfg()
[all …]
/rk3399_ARM-atf/plat/mediatek/drivers/apusys/mt8196/
H A Dapusys_power.c54 static void buck_off_by_pcu(uint32_t ofs, uint32_t shift, uint32_t slv_id) in buck_off_by_pcu() argument
63 (slv_id << PMIC_SLVID_OFF) | (pmif_id << PMIC_PMIFID_OFF) | PCU_BUCK_OFF_CMD); in buck_off_by_pcu()