Searched refs:port_matrix (Results 1 – 2 of 2) sorted by relevance
614 tps23881_is_chan_free(struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS], in tps23881_is_chan_free()620 if (port_matrix[i].exist && in tps23881_is_chan_free()621 (port_matrix[i].hw_chan[0] == chan || in tps23881_is_chan_free()622 port_matrix[i].hw_chan[1] == chan)) in tps23881_is_chan_free()633 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS]) in tps23881_match_port_matrix()644 if (!tps23881_is_chan_free(port_matrix, ret)) { in tps23881_match_port_matrix()649 port_matrix[pi_id].hw_chan[0] = ret; in tps23881_match_port_matrix()650 port_matrix[pi_id].exist = true; in tps23881_match_port_matrix()659 if (!tps23881_is_chan_free(port_matrix, ret)) { in tps23881_match_port_matrix()664 if (port_matrix[pi_id].hw_chan[0] / 4 != ret / 4) { in tps23881_match_port_matrix()[all …]
114 struct pd692x0_matrix *port_matrix; member1093 int nmanagers, struct pd692x0_matrix *port_matrix) in pd692x0_set_port_matrix() argument1121 port_matrix->hw_port_a = port_cnt; in pd692x0_set_port_matrix()1123 port_matrix->hw_port_b = port_cnt; in pd692x0_set_port_matrix()1132 struct pd692x0_matrix *port_matrix = priv->port_matrix; in pd692x0_set_ports_matrix() local1138 port_matrix[i].hw_port_a = 0xff; in pd692x0_set_ports_matrix()1139 port_matrix[i].hw_port_b = 0xff; in pd692x0_set_ports_matrix()1146 &port_matrix[i]); in pd692x0_set_ports_matrix()1155 &port_matrix[i]); in pd692x0_set_ports_matrix()1169 struct pd692x0_matrix *port_matrix = priv->port_matrix; in pd692x0_write_ports_matrix() local[all …]