Lines Matching refs:TPS23881_MAX_CHANS

18 #define TPS23881_MAX_CHANS 8  macro
48 struct tps23881_port_desc port[TPS23881_MAX_CHANS];
64 if (id >= TPS23881_MAX_CHANS) in tps23881_pi_enable()
100 if (id >= TPS23881_MAX_CHANS) in tps23881_pi_disable()
211 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_get_of_channels() argument
235 if (chan_id >= TPS23881_MAX_CHANS || chan_node[chan_id]) { in tps23881_get_of_channels()
250 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_get_of_channels()
270 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_match_channel() argument
275 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_match_channel()
284 tps23881_is_chan_free(struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS], in tps23881_is_chan_free() argument
289 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_is_chan_free()
302 struct device_node *chan_node[TPS23881_MAX_CHANS], in tps23881_match_port_matrix() argument
303 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS]) in tps23881_match_port_matrix() argument
346 tps23881_get_unused_chan(struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS], in tps23881_get_unused_chan() argument
352 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_get_unused_chan()
383 tps23881_sort_port_matrix(struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS]) in tps23881_sort_port_matrix() argument
385 struct tps23881_port_matrix tmp_port_matrix[TPS23881_MAX_CHANS] = {0}; in tps23881_sort_port_matrix()
389 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_sort_port_matrix()
416 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_sort_port_matrix()
445 if (port_cnt >= TPS23881_MAX_CHANS) { in tps23881_sort_port_matrix()
465 if (port_cnt >= TPS23881_MAX_CHANS) { in tps23881_sort_port_matrix()
485 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS], in tps23881_write_port_matrix() argument
531 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS]) in tps23881_set_ports_conf() argument
550 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_set_ports_conf()
565 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_set_ports_conf()
584 struct device_node *chan_node[TPS23881_MAX_CHANS]) in tps23881_set_ports_matrix() argument
586 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS] = {0}; in tps23881_set_ports_matrix()
590 for (i = 0; i < TPS23881_MAX_CHANS; i++) { in tps23881_set_ports_matrix()
614 struct device_node *chan_node[TPS23881_MAX_CHANS] = {NULL}; in tps23881_setup_pi_matrix()
627 for (i = 0; i < TPS23881_MAX_CHANS; i++) in tps23881_setup_pi_matrix()
810 priv->pcdev.nr_lines = TPS23881_MAX_CHANS; in tps23881_i2c_probe()