Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/mei/gsc_proxy/
H A Dmei_gsc_proxy.c74 struct i915_gsc_proxy_component *comp_master = mei_cldev_get_drvdata(cldev); in mei_component_master_bind() local
76 comp_master->ops = &mei_gsc_proxy_ops; in mei_component_master_bind()
77 comp_master->mei_dev = dev; in mei_component_master_bind()
78 return component_bind_all(dev, comp_master); in mei_component_master_bind()
86 component_unbind_all(dev, comp_master); in mei_component_master_unbind()
134 struct i915_gsc_proxy_component *comp_master; in mei_gsc_proxy_probe() local
144 comp_master = kzalloc(sizeof(*comp_master), GFP_KERNEL); in mei_gsc_proxy_probe()
145 if (!comp_master) { in mei_gsc_proxy_probe()
157 mei_cldev_set_drvdata(cldev, comp_master); in mei_gsc_proxy_probe()
170 kfree(comp_master); in mei_gsc_proxy_probe()
[all …]
/openbmc/linux/drivers/misc/mei/pxp/
H A Dmei_pxp.c113 struct i915_pxp_component *comp_master = mei_cldev_get_drvdata(cldev); in mei_component_master_bind() local
116 comp_master->ops = &mei_pxp_ops; in mei_component_master_bind()
117 comp_master->tee_dev = dev; in mei_component_master_bind()
118 ret = component_bind_all(dev, comp_master); in mei_component_master_bind()
130 component_unbind_all(dev, comp_master); in mei_component_master_unbind()
182 struct i915_pxp_component *comp_master; in mei_pxp_probe() local
192 comp_master = kzalloc(sizeof(*comp_master), GFP_KERNEL); in mei_pxp_probe()
193 if (!comp_master) { in mei_pxp_probe()
206 mei_cldev_set_drvdata(cldev, comp_master); in mei_pxp_probe()
219 kfree(comp_master); in mei_pxp_probe()
[all …]