target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl931x.c
void rtl931x_traffic_set(int source, u64 dest_matrix)
{
	struct table_reg *r = rtl_table_get(RTL9310_TBL_0, 6);

	sw_w32((dest_matrix << 3), rtl_table_data(r, 0));
	rtl_table_write(r, source);
	rtl_table_release(r);
}
/*
 * Enable traffic between a source port and a destination port matrix
 */
Enable traffic between a source port and a destination port matrix
Enable traffic between a source port and a destination port matrix
void rtl931x_traffic_set(int source, u64 dest_matrix)
{
	struct table_reg *r = rtl_table_get(RTL9310_TBL_0, 6);
	sw_w32((dest_matrix << 3), rtl_table_data(r, 0));
	rtl_table_write(r, source);
	rtl_table_release(r);
}
void rtl931x_traffic_set ( int source , u64 dest_matrix ) { struct table_reg * r = rtl_table_get ( RTL9310_TBL_0 , 6 ) ; sw_w32 ( ( dest_matrix << 3 ) , rtl_table_data ( r , 0 ) ) ; rtl_table_write ( r , source ) ; rtl_table_release ( r ) ; }
Enable traffic between a source port and a destination port matrix
Enable traffic between a source port and a destination port matrix