Lines Matching refs:thdev
81 intel_th_device_get_resource(struct intel_th_device *thdev, unsigned int type, in intel_th_device_get_resource() argument
86 for (i = 0; i < thdev->num_resources; i++) in intel_th_device_get_resource()
87 if (resource_type(&thdev->resource[i]) == type && !num--) in intel_th_device_get_resource()
88 return &thdev->resource[i]; in intel_th_device_get_resource()
100 intel_th_output_assigned(struct intel_th_device *thdev) in intel_th_output_assigned() argument
102 return thdev->type == INTEL_TH_OUTPUT && in intel_th_output_assigned()
103 thdev->output.port >= 0; in intel_th_output_assigned()
123 int (*probe)(struct intel_th_device *thdev);
124 void (*remove)(struct intel_th_device *thdev);
126 int (*assign)(struct intel_th_device *thdev,
128 void (*unassign)(struct intel_th_device *thdev,
130 void (*enable)(struct intel_th_device *thdev,
132 void (*disable)(struct intel_th_device *thdev,
135 void (*irq)(struct intel_th_device *thdev);
136 int (*activate)(struct intel_th_device *thdev);
137 void (*deactivate)(struct intel_th_device *thdev);
142 int (*set_output)(struct intel_th_device *thdev,
150 to_intel_th_hub(struct intel_th_device *thdev) in to_intel_th_hub() argument
152 struct device *parent = thdev->dev.parent; in to_intel_th_hub()
168 int intel_th_trace_enable(struct intel_th_device *thdev);
169 int intel_th_trace_disable(struct intel_th_device *thdev);
170 int intel_th_set_output(struct intel_th_device *thdev,
195 struct intel_th_device *thdev[TH_SUBDEVICE_MAX]; member