Lines Matching refs:hw_chan
263 u8 hw_chan[2]; member
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()
319 port_matrix[pi_id].hw_chan[0] = ret; in tps23881_match_port_matrix()
334 if (port_matrix[pi_id].hw_chan[0] / 4 != ret / 4) { in tps23881_match_port_matrix()
339 port_matrix[pi_id].hw_chan[1] = ret; in tps23881_match_port_matrix()
356 if (port_matrix[j].hw_chan[0] == i) { in tps23881_get_unused_chan()
362 port_matrix[j].hw_chan[1] == i) { in tps23881_get_unused_chan()
395 if (port_matrix[i].hw_chan[0] < 4) in tps23881_sort_port_matrix()
403 tmp_port_matrix[port_cnt].hw_chan[0] = port_matrix[i].hw_chan[0]; in tps23881_sort_port_matrix()
404 tmp_port_matrix[port_cnt].hw_chan[1] = port_matrix[i].hw_chan[1]; in tps23881_sort_port_matrix()
422 if (port_matrix[i].hw_chan[0] < 4) in tps23881_sort_port_matrix()
430 tmp_port_matrix[port_cnt].hw_chan[0] = port_matrix[i].hw_chan[0]; in tps23881_sort_port_matrix()
450 tmp_port_matrix[port_cnt].hw_chan[0] = ret; in tps23881_sort_port_matrix()
470 tmp_port_matrix[port_cnt].hw_chan[0] = ret; in tps23881_sort_port_matrix()
489 u8 pi_id, lgcl_chan, hw_chan; in tps23881_write_port_matrix() local
496 hw_chan = port_matrix[i].hw_chan[0] % 4; in tps23881_write_port_matrix()
503 val |= hw_chan << (lgcl_chan * 2); in tps23881_write_port_matrix()
509 hw_chan = port_matrix[i].hw_chan[1] % 4; in tps23881_write_port_matrix()
518 val |= hw_chan << (lgcl_chan * 2); in tps23881_write_port_matrix()