Home
last modified time | relevance | path

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

/linux/drivers/bus/
H A Dstm32_rifsc.c606 static int stm32_rifsc_register_debugfs(struct stm32_firewall_controller *rifsc_controller, in stm32_rifsc_register_debugfs() argument
612 rifsc_priv = devm_kzalloc(rifsc_controller->dev, sizeof(*rifsc_priv), GFP_KERNEL); in stm32_rifsc_register_debugfs()
616 rifsc_priv->mmio = rifsc_controller->mmio; in stm32_rifsc_register_debugfs()
620 rifsc_priv->res_names = of_device_get_match_data(rifsc_controller->dev); in stm32_rifsc_register_debugfs()
672 struct stm32_firewall_controller *rifsc_controller = ctrl; in stm32_rifsc_grant_access() local
676 if (firewall_id >= rifsc_controller->max_entries) { in stm32_rifsc_grant_access()
677 dev_err(rifsc_controller->dev, "Invalid sys bus ID %u", firewall_id); in stm32_rifsc_grant_access()
688 sec_reg_value = readl(rifsc_controller->mmio + RIFSC_RISC_SECCFGR0 + 0x4 * reg_id); in stm32_rifsc_grant_access()
689 cid_reg_value = readl(rifsc_controller->mmio + RIFSC_RISC_PER0_CIDCFGR + 0x8 * firewall_id); in stm32_rifsc_grant_access()
697 dev_dbg(rifsc_controller->dev, in stm32_rifsc_grant_access()
[all …]