Lines Matching refs:tegra_mc
58 struct tegra_mc *mc = data; in tegra_mc_devm_action_put_device()
72 struct tegra_mc *devm_tegra_memory_controller_get(struct device *dev) in devm_tegra_memory_controller_get()
76 struct tegra_mc *mc; in devm_tegra_memory_controller_get()
102 int tegra_mc_probe_device(struct tegra_mc *mc, struct device *dev) in tegra_mc_probe_device()
111 int tegra_mc_get_carveout_info(struct tegra_mc *mc, unsigned int id, in tegra_mc_get_carveout_info()
136 static int tegra_mc_block_dma_common(struct tegra_mc *mc, in tegra_mc_block_dma_common()
152 static bool tegra_mc_dma_idling_common(struct tegra_mc *mc, in tegra_mc_dma_idling_common()
158 static int tegra_mc_unblock_dma_common(struct tegra_mc *mc, in tegra_mc_unblock_dma_common()
174 static int tegra_mc_reset_status_common(struct tegra_mc *mc, in tegra_mc_reset_status_common()
187 static inline struct tegra_mc *reset_to_mc(struct reset_controller_dev *rcdev) in reset_to_mc()
189 return container_of(rcdev, struct tegra_mc, reset); in reset_to_mc()
192 static const struct tegra_mc_reset *tegra_mc_reset_find(struct tegra_mc *mc, in tegra_mc_reset_find()
207 struct tegra_mc *mc = reset_to_mc(rcdev); in tegra_mc_hotreset_assert()
267 struct tegra_mc *mc = reset_to_mc(rcdev); in tegra_mc_hotreset_deassert()
306 struct tegra_mc *mc = reset_to_mc(rcdev); in tegra_mc_hotreset_status()
327 static int tegra_mc_reset_setup(struct tegra_mc *mc) in tegra_mc_reset_setup()
344 int tegra_mc_write_emem_configuration(struct tegra_mc *mc, unsigned long rate) in tegra_mc_write_emem_configuration()
369 unsigned int tegra_mc_get_emem_device_count(struct tegra_mc *mc) in tegra_mc_get_emem_device_count()
386 static int tegra_mc_setup_latency_allowance(struct tegra_mc *mc) in tegra_mc_setup_latency_allowance()
418 static int load_one_timing(struct tegra_mc *mc, in load_one_timing()
451 static int load_timings(struct tegra_mc *mc, struct device_node *node) in load_timings()
475 static int tegra_mc_setup_timings(struct tegra_mc *mc) in tegra_mc_setup_timings()
504 int tegra30_mc_probe(struct tegra_mc *mc) in tegra30_mc_probe()
538 static int mc_global_intstatus_to_channel(const struct tegra_mc *mc, u32 status, in mc_global_intstatus_to_channel()
550 static u32 mc_channel_to_global_intstatus(const struct tegra_mc *mc, in mc_channel_to_global_intstatus()
558 struct tegra_mc *mc = data; in tegra30_mc_handle_irq()
755 struct tegra_mc *mc = icc_provider_to_tegra_mc(data); in tegra_mc_icc_xlate()
813 static int tegra_mc_interconnect_setup(struct tegra_mc *mc) in tegra_mc_interconnect_setup()
878 static void tegra_mc_num_channel_enabled(struct tegra_mc *mc) in tegra_mc_num_channel_enabled()
897 struct tegra_mc *mc; in tegra_mc_probe()
982 struct tegra_mc *mc = dev_get_drvdata(dev); in tegra_mc_sync_state()