Home
last modified time | relevance | path

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

/linux/drivers/hwtracing/intel_th/
A Dcore.c57 hub = thdev; in intel_th_probe()
129 th->thdev[lowest] = th->thdev[i]; in intel_th_remove()
197 thdev->name, thdev->id); in intel_th_output_devnode()
384 if (!thdev) in intel_th_device_alloc()
387 thdev->id = id; in intel_th_device_alloc()
403 return thdev; in intel_th_device_alloc()
430 kfree(thdev); in intel_th_device_free()
626 if (!thdev) in intel_th_subdevice_alloc()
695 return thdev; in intel_th_subdevice_alloc()
760 th->thdev[th->num_thdevs++] = thdev; in intel_th_output_enable()
[all …]
A Dintel_th.h109 return &thdev->resource[i]; in intel_th_device_get_resource()
134 return thdev->type == INTEL_TH_OUTPUT && in intel_th_output_assigned()
135 (thdev->output.port >= 0 || in intel_th_output_assigned()
136 thdev->output.type == GTH_NONE); in intel_th_output_assigned()
220 if (thdev->type == INTEL_TH_OUTPUT) in to_intel_th()
221 thdev = to_intel_th_parent(thdev); in to_intel_th()
223 if (WARN_ON_ONCE(!thdev || thdev->type == INTEL_TH_OUTPUT)) in to_intel_th()
301 if (thdev->type == INTEL_TH_SWITCH) in to_intel_th_hub()
302 return thdev; in to_intel_th_hub()
304 return to_intel_th_parent(thdev); in to_intel_th_hub()
[all …]
A Dpti.c24 struct intel_th_device *thdev; member
149 static int intel_th_pti_activate(struct intel_th_device *thdev) in intel_th_pti_activate() argument
151 struct pti_device *pti = dev_get_drvdata(&thdev->dev); in intel_th_pti_activate()
164 intel_th_trace_enable(thdev); in intel_th_pti_activate()
171 struct pti_device *pti = dev_get_drvdata(&thdev->dev); in intel_th_pti_deactivate()
173 intel_th_trace_disable(thdev); in intel_th_pti_deactivate()
191 if (pti->thdev->output.type == GTH_LPP) { in read_hw_config()
201 static int intel_th_pti_probe(struct intel_th_device *thdev) in intel_th_pti_probe() argument
203 struct device *dev = &thdev->dev; in intel_th_pti_probe()
208 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_pti_probe()
[all …]
A Dgth.c538 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_disable()
570 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_prepare()
593 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_enable()
594 struct intel_th *th = to_intel_th(thdev); in intel_th_gth_enable()
628 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_switch()
665 struct gth_device *gth = dev_get_drvdata(&thdev->dev); in intel_th_gth_assign()
668 if (thdev->host_mode) in intel_th_gth_assign()
708 if (thdev->host_mode) in intel_th_gth_unassign()
746 struct device *dev = &thdev->dev; in intel_th_gth_probe()
777 if (thdev->host_mode) in intel_th_gth_probe()
[all …]
A Dsth.c186 static int intel_th_sth_probe(struct intel_th_device *thdev) in intel_th_sth_probe() argument
188 struct device *dev = &thdev->dev; in intel_th_sth_probe()
194 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 0); in intel_th_sth_probe()
202 res = intel_th_device_get_resource(thdev, IORESOURCE_MEM, 1); in intel_th_sth_probe()
239 static void intel_th_sth_remove(struct intel_th_device *thdev) in intel_th_sth_remove() argument
241 struct sth_device *sth = dev_get_drvdata(&thdev->dev); in intel_th_sth_remove()
A Dmsu.c31 #define msc_dev(x) (&(x)->thdev->dev)
132 struct intel_th_device *thdev; member
803 intel_th_trace_enable(msc->thdev); in msc_configure()
832 intel_th_trace_disable(msc->thdev); in msc_disable()
870 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate()
1717 intel_th_trace_switch(msc->thdev); in msc_win_switch()
1751 intel_th_msc_deactivate(msc->thdev); in msc_work()
2120 struct device *dev = &thdev->dev; in intel_th_msc_probe()
2145 msc->index = thdev->id; in intel_th_msc_probe()
2147 msc->thdev = thdev; in intel_th_msc_probe()
[all …]

Completed in 15 milliseconds