Lines Matching defs:drvdata

85 #define stm_channel_addr(drvdata, ch)	(drvdata->chs.base +	\  argument
149 static void stm_hwevent_enable_hw(struct stm_drvdata *drvdata) in stm_hwevent_enable_hw()
163 static void stm_port_enable_hw(struct stm_drvdata *drvdata) in stm_port_enable_hw()
175 static void stm_enable_hw(struct stm_drvdata *drvdata) in stm_enable_hw()
198 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_enable() local
219 static void stm_hwevent_disable_hw(struct stm_drvdata *drvdata) in stm_hwevent_disable_hw()
230 static void stm_port_disable_hw(struct stm_drvdata *drvdata) in stm_port_disable_hw()
240 static void stm_disable_hw(struct stm_drvdata *drvdata) in stm_disable_hw()
260 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_disable() local
285 struct stm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in stm_trace_id() local
339 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_link() local
350 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_unlink() local
362 struct stm_drvdata *drvdata = container_of(stm_data, in stm_mmio_addr() local
381 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_set_options() local
414 struct stm_drvdata *drvdata = container_of(stm_data, in stm_generic_packet() local
466 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in hwevent_enable_show() local
476 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in hwevent_enable_store() local
495 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in hwevent_select_show() local
505 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in hwevent_select_store() local
522 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in port_select_show() local
540 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in port_select_store() local
569 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in port_enable_show() local
587 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in port_enable_store() local
613 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in traceid_show() local
625 struct stm_drvdata *drvdata = dev_get_drvdata(dev->parent); in traceid_store() local
763 static u32 stm_fundamental_data_size(struct stm_drvdata *drvdata) in stm_fundamental_data_size()
780 static u32 stm_num_stimulus_port(struct stm_drvdata *drvdata) in stm_num_stimulus_port()
795 static void stm_init_default_data(struct stm_drvdata *drvdata) in stm_init_default_data()
818 static void stm_init_generic_data(struct stm_drvdata *drvdata, in stm_init_generic_data()
845 struct stm_drvdata *drvdata; in stm_probe() local
938 struct stm_drvdata *drvdata = dev_get_drvdata(&adev->dev); in stm_remove() local
948 struct stm_drvdata *drvdata = dev_get_drvdata(dev); in stm_runtime_suspend() local
958 struct stm_drvdata *drvdata = dev_get_drvdata(dev); in stm_runtime_resume() local