Searched refs:coresight_get_mode (Results 1 – 11 of 11) sorted by relevance
92 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) in __tmc_etb_disable_hw()208 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in tmc_enable_etf_sink_sysfs()265 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in tmc_enable_etf_sink_perf()348 WARN_ON_ONCE(coresight_get_mode(csdev) == CS_MODE_DISABLED); in tmc_disable_etf_sink()488 if (WARN_ON_ONCE(coresight_get_mode(csdev) != CS_MODE_PERF)) in tmc_update_etf_buffer()634 if (coresight_get_mode(drvdata->csdev) == CS_MODE_PERF) { in tmc_read_prepare_etb()646 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) { in tmc_read_prepare_etb()678 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) { in tmc_read_unprepare_etb()
269 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in stm_disable()376 if (!(drvdata && coresight_get_mode(drvdata->csdev))) in stm_generic_set_options()411 if (!(drvdata && coresight_get_mode(drvdata->csdev))) in stm_generic_packet()518 if (!coresight_get_mode(drvdata->csdev)) { in port_select_show()544 if (coresight_get_mode(drvdata->csdev)) { in port_select_store()565 if (!coresight_get_mode(drvdata->csdev)) { in port_enable_show()591 if (coresight_get_mode(drvdata->csdev)) { in port_enable_store()
66 if (coresight_get_mode(csdev) != CS_MODE_SYSFS) { in coresight_enable_source_sysfs()91 if (coresight_get_mode(csdev) != CS_MODE_SYSFS) in coresight_disable_source_sysfs()188 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in coresight_enable_sysfs()342 coresight_get_mode(csdev) == CS_MODE_SYSFS); in enable_source_show()
151 if (coresight_get_mode(csdev) == CS_MODE_PERF) { in etb_enable_sysfs()156 if (coresight_get_mode(csdev) == CS_MODE_DISABLED) { in etb_enable_sysfs()182 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) { in etb_enable_perf()364 WARN_ON_ONCE(coresight_get_mode(csdev) == CS_MODE_DISABLED); in etb_disable()591 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) { in etb_dump()
209 if (coresight_get_mode(csdev) != CS_MODE_DISABLED) in smb_enable_sysfs()255 if (coresight_get_mode(csdev) != CS_MODE_DISABLED && in smb_enable()256 coresight_get_mode(csdev) != mode) in smb_enable()293 WARN_ON_ONCE(coresight_get_mode(csdev) == CS_MODE_DISABLED); in smb_disable()
1147 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) in __tmc_etr_disable_hw()1193 if (drvdata->reading || coresight_get_mode(csdev) == CS_MODE_PERF) { in tmc_etr_get_sysfs_buffer()1234 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in tmc_enable_etr_sink_sysfs()1656 if (coresight_get_mode(csdev) == CS_MODE_SYSFS) { in tmc_enable_etr_sink_perf()1730 WARN_ON_ONCE(coresight_get_mode(csdev) == CS_MODE_DISABLED); in tmc_disable_etr_sink()1782 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) in tmc_read_prepare_etr()1804 if (coresight_get_mode(drvdata->csdev) == CS_MODE_SYSFS) { in tmc_read_unprepare_etr()
680 mode = coresight_get_mode(csdev); in etm_disable()731 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm_starting_cpu()743 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm_dying_cpu()
1011 mode = coresight_get_mode(csdev); in etm4_disable()1670 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm4_starting_cpu()1682 if (coresight_get_mode(etmdrvdata[cpu]->csdev)) in etm4_dying_cpu()1839 if (coresight_get_mode(drvdata->csdev) && drvdata->save_state) in etm4_cpu_save()
725 if (!coresight_get_mode(drvdata->csdev)) { in cntr_val_show()944 if (!coresight_get_mode(drvdata->csdev)) { in seq_curr_state_show()
601 if (coresight_get_mode(drvdata->csdev) == CS_MODE_DISABLED) in tmc_shutdown()
614 static inline enum cs_mode coresight_get_mode(struct coresight_device *csdev) in coresight_get_mode() function622 enum cs_mode current_mode = coresight_get_mode(csdev); in coresight_set_mode()