Home
last modified time | relevance | path

Searched refs:port_matrix (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/pse-pd/
H A Dtps23881.c284 tps23881_is_chan_free(struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS], in tps23881_is_chan_free()
290 if (port_matrix[i].exist && in tps23881_is_chan_free()
291 (port_matrix[i].hw_chan[0] == chan || in tps23881_is_chan_free()
292 port_matrix[i].hw_chan[1] == chan)) in tps23881_is_chan_free()
303 struct tps23881_port_matrix port_matrix[TPS23881_MAX_CHANS]) in tps23881_match_port_matrix()
314 if (!tps23881_is_chan_free(port_matrix, ret)) { in tps23881_match_port_matrix()
319 port_matrix[pi_id].hw_chan[0] = ret; in tps23881_match_port_matrix()
320 port_matrix[pi_id].exist = true; in tps23881_match_port_matrix()
329 if (!tps23881_is_chan_free(port_matrix, ret)) { in tps23881_match_port_matrix()
334 if (port_matrix[pi_id].hw_chan[0] / 4 != ret / 4) { in tps23881_match_port_matrix()
[all …]
H A Dpd692x0.c847 int nmanagers, struct pd692x0_matrix *port_matrix) in pd692x0_set_port_matrix() argument
875 port_matrix->hw_port_a = port_cnt; in pd692x0_set_port_matrix()
877 port_matrix->hw_port_b = port_cnt; in pd692x0_set_port_matrix()
886 struct pd692x0_matrix port_matrix[PD692X0_MAX_PIS]) in pd692x0_set_ports_matrix()
893 port_matrix[i].hw_port_a = 0xff; in pd692x0_set_ports_matrix()
894 port_matrix[i].hw_port_b = 0xff; in pd692x0_set_ports_matrix()
901 &port_matrix[i]); in pd692x0_set_ports_matrix()
910 &port_matrix[i]); in pd692x0_set_ports_matrix()
923 const struct pd692x0_matrix port_matrix[PD692X0_MAX_PIS]) in pd692x0_write_ports_matrix()
932 msg.data[0] = port_matrix[i].hw_port_b; in pd692x0_write_ports_matrix()
[all …]