Lines Matching refs:num_1g
8665 int num_10g, int num_1g) in niu_divide_channels() argument
8672 if (!num_10g || !num_1g) { in niu_divide_channels()
8680 (rx_chans_per_1g * num_1g)) / in niu_divide_channels()
8685 (tx_chans_per_1g * num_1g)) / in niu_divide_channels()
8727 int num_10g, int num_1g) in niu_divide_rdc_groups() argument
8817 int num_10g, num_1g; in walk_phys() local
8821 num_10g = num_1g = 0; in walk_phys()
8826 num_1g = 2; in walk_phys()
8835 num_1g = 0; in walk_phys()
8855 num_1g = count_1g_ports(info, &lowest_1g); in walk_phys()
8857 switch ((num_10g << 4) | num_1g) { in walk_phys()
8921 num_10g, num_1g); in walk_phys()
8931 niu_divide_channels(parent, num_10g, num_1g); in walk_phys()
8933 niu_divide_rdc_groups(parent, num_10g, num_1g); in walk_phys()