Home
last modified time | relevance | path

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

/drivers/staging/tidspbridge/core/
Dtiomap_io.c56 struct bridge_dev_context *dev_context = dev_ctxt; in read_ext_dsp_data() local
61 u32 dw_base_addr = dev_context->dsp_ext_base_addr; in read_ext_dsp_data()
65 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
71 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
76 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
89 dev_context->dsp_ext_base_addr = 0; in read_ext_dsp_data()
99 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
104 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
109 status = dev_get_symbol(dev_context->dev_obj, in read_ext_dsp_data()
126 dev_context->atlb_entry[0].dsp_va * DSPWORDSIZE; in read_ext_dsp_data()
[all …]
Dtiomap3430.c110 static int bridge_dev_ctrl(struct bridge_dev_context *dev_context,
119 static int mem_map_vmalloc(struct bridge_dev_context *dev_context,
124 bool wait_for_start(struct bridge_dev_context *dev_context,
219 static inline void flush_all(struct bridge_dev_context *dev_context) in flush_all() argument
221 if (dev_context->brd_state == BRD_DSP_HIBERNATION || in flush_all()
222 dev_context->brd_state == BRD_HIBERNATION) in flush_all()
223 wake_dsp(dev_context, NULL); in flush_all()
225 hw_mmu_tlb_flush_all(dev_context->dsp_mmu_base); in flush_all()
266 struct bridge_dev_context *dev_context = dev_ctxt; in bridge_brd_monitor() local
295 dev_context->brd_state = BRD_IDLE; in bridge_brd_monitor()
[all …]
Dtiomap3430_pwr.c56 int handle_constraints_set(struct bridge_dev_context *dev_context, in handle_constraints_set() argument
80 int handle_hibernation_from_dsp(struct bridge_dev_context *dev_context) in handle_hibernation_from_dsp() argument
111 omap_mbox_save_ctx(dev_context->mbox); in handle_hibernation_from_dsp()
114 status = dsp_clock_disable_all(dev_context->dsp_per_clks); in handle_hibernation_from_dsp()
121 dev_context->brd_state = BRD_DSP_HIBERNATION; in handle_hibernation_from_dsp()
124 dev_get_io_mgr(dev_context->dev_obj, &hio_mgr); in handle_hibernation_from_dsp()
149 int sleep_dsp(struct bridge_dev_context *dev_context, u32 dw_cmd, in sleep_dsp() argument
166 switch (dev_context->brd_state) { in sleep_dsp()
168 omap_mbox_save_ctx(dev_context->mbox); in sleep_dsp()
170 sm_interrupt_dsp(dev_context, MBX_PM_DSPHIBERNATE); in sleep_dsp()
[all …]
D_tiomap_pwr.h32 extern int wake_dsp(struct bridge_dev_context *dev_context,
39 extern int sleep_dsp(struct bridge_dev_context *dev_context,
45 extern void interrupt_dsp(struct bridge_dev_context *dev_context,
53 *dev_context, void *pargs);
58 int handle_hibernation_from_dsp(struct bridge_dev_context *dev_context);
63 int post_scale_dsp(struct bridge_dev_context *dev_context,
69 int pre_scale_dsp(struct bridge_dev_context *dev_context,
75 int handle_constraints_set(struct bridge_dev_context *dev_context,
Due_deh.c169 static void mmu_fault_print_stack(struct bridge_dev_context *dev_context) in mmu_fault_print_stack() argument
179 resources = dev_context->resources; in mmu_fault_print_stack()
202 dump_dsp_stack(dev_context); in mmu_fault_print_stack()
223 struct bridge_dev_context *dev_context; in bridge_deh_notify() local
230 dev_context = deh->bridge_context; in bridge_deh_notify()
237 dump_dl_modules(dev_context); in bridge_deh_notify()
238 dump_dsp_stack(dev_context); in bridge_deh_notify()
245 print_dsp_trace_buffer(dev_context); in bridge_deh_notify()
246 dump_dl_modules(dev_context); in bridge_deh_notify()
247 mmu_fault_print_stack(dev_context); in bridge_deh_notify()
[all …]
Dtiomap_io.h57 extern int write_dsp_data(struct bridge_dev_context *dev_context,
67 extern int write_ext_dsp_data(struct bridge_dev_context *dev_context,
77 struct bridge_dev_context *dev_context, in write_ext32_bit_dsp_data() argument
80 *(u32 *) dsp_addr = ((dev_context->tc_word_swap_on) ? (((val << 16) & in write_ext32_bit_dsp_data()
92 *dev_context, u32 dsp_addr) in read_ext32_bit_dsp_data()
97 ret = ((dev_context->tc_word_swap_on) ? (((ret << 16) in read_ext32_bit_dsp_data()
D_tiomap.h380 int sm_interrupt_dsp(struct bridge_dev_context *dev_context, u16 mb_val);