Lines Matching refs:prep_ch
398 struct sdw_prepare_ch prep_ch, in sdw_do_port_prep() argument
405 ret = ops->port_prep(s_rt->slave, &prep_ch, cmd); in sdw_do_port_prep()
424 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_slave_ports() local
430 prep_ch.num = p_rt->num; in sdw_prep_deprep_slave_ports()
431 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_slave_ports()
435 prep_ch.num); in sdw_prep_deprep_slave_ports()
438 "Slave Port:%d properties not found\n", prep_ch.num); in sdw_prep_deprep_slave_ports()
442 prep_ch.prepare = prep; in sdw_prep_deprep_slave_ports()
444 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_slave_ports()
463 sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_PRE_PREP); in sdw_prep_deprep_slave_ports()
481 port_ready = &s_rt->slave->port_ready[prep_ch.num]; in sdw_prep_deprep_slave_ports()
489 "Chn prep failed for port:%d\n", prep_ch.num); in sdw_prep_deprep_slave_ports()
495 sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_POST_PREP); in sdw_prep_deprep_slave_ports()
512 struct sdw_prepare_ch prep_ch; in sdw_prep_deprep_master_ports() local
515 prep_ch.num = p_rt->num; in sdw_prep_deprep_master_ports()
516 prep_ch.ch_mask = p_rt->ch_mask; in sdw_prep_deprep_master_ports()
517 prep_ch.prepare = prep; /* Prepare/De-prepare */ in sdw_prep_deprep_master_ports()
518 prep_ch.bank = bus->params.next_bank; in sdw_prep_deprep_master_ports()
522 ret = ops->dpn_port_prep(bus, &prep_ch); in sdw_prep_deprep_master_ports()