Lines Matching refs:sdw_slave
121 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
194 dev_dbg(&rt1308->sdw_slave->dev, "%s m_btl_l=0x%x, m_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params()
196 dev_dbg(&rt1308->sdw_slave->dev, "%s c_btl_l=0x%x, c_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params()
200 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init()
290 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
312 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
327 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
557 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params()
585 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params()
604 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free()
607 sdw_stream_remove_slave(rt1308->sdw_slave, stream->sdw_stream); in rt1308_sdw_pcm_hw_free()
672 struct sdw_slave *slave) in rt1308_sdw_init()
682 rt1308->sdw_slave = slave; in rt1308_sdw_init()
702 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
717 static int rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove()
749 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt1308_dev_resume()