Lines Matching refs:chan_node
211 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_get_of_channels()
235 if (chan_id >= TPS23881_MAX_CHANS || chan_node[chan_id]) { in tps23881_get_of_channels()
243 chan_node[chan_id] = node; in tps23881_get_of_channels()
251 of_node_put(chan_node[i]); in tps23881_get_of_channels()
252 chan_node[i] = NULL; in tps23881_get_of_channels()
270 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_match_channel()
276 if (pairset->np == chan_node[i]) in tps23881_match_channel()
302 struct device_node *chan_node[TPS23881_MAX_CHANS], in tps23881_match_port_matrix()
310 ret = tps23881_match_channel(&pi->pairset[0], chan_node); in tps23881_match_port_matrix()
325 ret = tps23881_match_channel(&pi->pairset[1], chan_node); in tps23881_match_port_matrix()
584 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_set_ports_matrix()
592 chan_node, port_matrix); in tps23881_set_ports_matrix()
614 struct device_node *chan_node[TPS23881_MAX_CHANS] = {NULL}; in tps23881_setup_pi_matrix() local
618 ret = tps23881_get_of_channels(priv, chan_node); in tps23881_setup_pi_matrix()
625 ret = tps23881_set_ports_matrix(priv, chan_node); in tps23881_setup_pi_matrix()
628 of_node_put(chan_node[i]); in tps23881_setup_pi_matrix()