Lines Matching refs:prep_ch
401 struct sdw_prepare_ch prep_ch, in sdw_do_port_prep() argument
408 ret = ops->port_prep(s_rt->slave, &prep_ch, cmd); in sdw_do_port_prep()
427 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_slave_ports() local
432 prep_ch.num = p_rt->num; in sdw_prep_deprep_slave_ports()
433 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports()
437 prep_ch.num); in sdw_prep_deprep_slave_ports()
440 "Slave Port:%d properties not found\n", prep_ch.num); in sdw_prep_deprep_slave_ports()
444 prep_ch.prepare = prep; in sdw_prep_deprep_slave_ports()
446 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_slave_ports()
465 sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_PRE_PREP); in sdw_prep_deprep_slave_ports()
483 port_ready = &s_rt->slave->port_ready[prep_ch.num]; in sdw_prep_deprep_slave_ports()
491 "Chn prep failed for port %d: %d\n", prep_ch.num, ret); in sdw_prep_deprep_slave_ports()
497 sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_POST_PREP); in sdw_prep_deprep_slave_ports()
514 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_master_ports() local
517 prep_ch.num = p_rt->num; in sdw_prep_deprep_master_ports()
518 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports()
519 prep_ch.prepare = prep; /* Prepare/De-prepare */ in sdw_prep_deprep_master_ports()
520 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_master_ports()
524 ret = ops->dpn_port_prep(bus, &prep_ch); in sdw_prep_deprep_master_ports()