Lines Matching refs:prep_ch
402 struct sdw_prepare_ch prep_ch, in sdw_do_port_prep() argument
415 ret = drv->ops->port_prep(slave, &prep_ch, cmd); in sdw_do_port_prep()
434 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_slave_ports() local
439 prep_ch.num = p_rt->num; in sdw_prep_deprep_slave_ports()
440 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports()
444 prep_ch.num); in sdw_prep_deprep_slave_ports()
447 "Slave Port:%d properties not found\n", prep_ch.num); in sdw_prep_deprep_slave_ports()
451 prep_ch.prepare = prep; in sdw_prep_deprep_slave_ports()
453 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_slave_ports()
472 sdw_do_port_prep(s_rt, prep_ch, prep ? SDW_OPS_PORT_PRE_PREP : SDW_OPS_PORT_PRE_DEPREP); in sdw_prep_deprep_slave_ports()
490 port_ready = &s_rt->slave->port_ready[prep_ch.num]; in sdw_prep_deprep_slave_ports()
498 "Chn prep failed for port %d: %d\n", prep_ch.num, ret); in sdw_prep_deprep_slave_ports()
504 sdw_do_port_prep(s_rt, prep_ch, prep ? SDW_OPS_PORT_POST_PREP : SDW_OPS_PORT_POST_DEPREP); in sdw_prep_deprep_slave_ports()
521 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_master_ports() local
524 prep_ch.num = p_rt->num; in sdw_prep_deprep_master_ports()
525 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports()
526 prep_ch.prepare = prep; /* Prepare/De-prepare */ in sdw_prep_deprep_master_ports()
527 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_master_ports()
531 ret = ops->dpn_port_prep(bus, &prep_ch); in sdw_prep_deprep_master_ports()