Home
last modified time | relevance | path

Searched refs:sdw_peripheral (Results 1 – 8 of 8) sorted by relevance

/linux/sound/soc/codecs/
H A Dcs35l56-sdw.c245 ret = sdw_read_no_pm(cs35l56->sdw_peripheral, SDW_SCP_DEVID_0); in cs35l56_sdw_get_unique_id()
332 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_MASK_1, in cs35l56_sdw_irq_work()
418 struct sdw_slave *peripheral = cs35l56->sdw_peripheral; in cs35l56_sdw_handle_unattach()
469 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_MASK_1, in cs35l56_sdw_runtime_resume()
490 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_MASK_1, 0); in cs35l56_sdw_system_suspend()
491 sdw_read_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_STAT_1); in cs35l56_sdw_system_suspend()
492 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_STAT_1, 0xFF); in cs35l56_sdw_system_suspend()
520 cs35l56->sdw_peripheral = peripheral; in cs35l56_sdw_probe()
H A Dcs35l56.c628 ret = sdw_stream_add_slave(cs35l56->sdw_peripheral, &sconfig, &pconfig, in cs35l56_sdw_dai_hw_params()
644 if (!cs35l56->sdw_peripheral) in cs35l56_sdw_dai_hw_free()
647 sdw_stream_remove_slave(cs35l56->sdw_peripheral, sdw_stream); in cs35l56_sdw_dai_hw_free()
791 if (cs35l56->sdw_peripheral) { in cs35l56_patch()
794 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_MASK_1, 0); in cs35l56_patch()
795 sdw_read_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_STAT_1); in cs35l56_patch()
796 sdw_write_no_pm(cs35l56->sdw_peripheral, CS35L56_SDW_GEN_INT_STAT_1, 0xFF); in cs35l56_patch()
818 cs35l56_system_reset(&cs35l56->base, !!cs35l56->sdw_peripheral); in cs35l56_patch()
820 if (cs35l56->sdw_peripheral) { in cs35l56_patch()
851 if (cs35l56->sdw_peripheral) { in cs35l56_patch()
[all …]
H A Dtas2783-sdw.c84 struct sdw_slave *sdw_peripheral; member
625 if (cali_data[offset] != tas_dev->sdw_peripheral->id.unique_id) { in tas2783_set_calib_params_to_device()
776 ret = sdw_nwrite_no_pm(tas_dev->sdw_peripheral, in tas2783_fw_ready()
829 return sdw_write_no_pm(tas_dev->sdw_peripheral, in tas_fu21_event()
851 return sdw_write_no_pm(tas_dev->sdw_peripheral, in tas_fu23_event()
903 struct sdw_slave *sdw_peripheral = tas_dev->sdw_peripheral; in tas_sdw_hw_params() local
948 ret = sdw_stream_add_slave(sdw_peripheral, in tas_sdw_hw_params()
966 sdw_stream_remove_slave(tas_dev->sdw_peripheral, sdw_stream); in tas_sdw_pcm_hw_free()
1014 tas25xx_register_misc(tas_dev->sdw_peripheral); in tas_component_probe()
1140 u8 unique_id = tas_dev->sdw_peripheral->id.unique_id; in tas_io_init()
[all …]
H A Dcs42l42-sdw.c86 ret = sdw_stream_add_slave(cs42l42->sdw_peripheral, &stream_config, &port_config, 1, in cs42l42_sdw_dai_hw_params()
123 sdw_stream_remove_slave(cs42l42->sdw_peripheral, sdw_stream); in cs42l42_sdw_dai_hw_free()
435 struct sdw_slave *peripheral = cs42l42->sdw_peripheral; in cs42l42_sdw_handle_unattach()
566 cs42l42->sdw_peripheral = peripheral; in cs42l42_sdw_probe()
H A Dcs35l56.h39 struct sdw_slave *sdw_peripheral; member
H A Dcs42l42.h34 struct sdw_slave *sdw_peripheral; member
H A Dcs42l42.c2334 if (cs42l42->sdw_peripheral) in cs42l42_common_probe()
2430 if (cs42l42->sdw_peripheral) { in cs42l42_init()
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_utils.c924 struct sdw_slave *sdw_peripheral; in asoc_sdw_rtd_init() local
932 sdw_peripheral = dev_to_sdw_dev(dai->component->dev); in asoc_sdw_rtd_init()
934 sdw_peripheral = dev_to_sdw_dev(dai->component->dev->parent); in asoc_sdw_rtd_init()
938 codec_info = asoc_sdw_find_codec_info_sdw_id(&sdw_peripheral->id); in asoc_sdw_rtd_init()