Lines Matching refs:rxd_mode

702 		if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) {  in init_shared_mem()
710 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
713 if (nic->rxd_mode == RXD_MODE_1) in init_shared_mem()
731 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
754 rxd_count[nic->rxd_mode]; in init_shared_mem()
761 for (l = 0; l < rxd_count[nic->rxd_mode]; l++) { in init_shared_mem()
764 (rxd_size[nic->rxd_mode] * l); in init_shared_mem()
767 (rxd_size[nic->rxd_mode] * l); in init_shared_mem()
785 if (nic->rxd_mode == RXD_MODE_3B) { in init_shared_mem()
795 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
805 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
810 while (k != rxd_count[nic->rxd_mode]) { in init_shared_mem()
949 rxd_count[nic->rxd_mode]; in free_shared_mem()
953 if (nic->rxd_mode == RXD_MODE_3B) { in free_shared_mem()
960 (rxd_count[nic->rxd_mode] + 1); in free_shared_mem()
965 while (k != rxd_count[nic->rxd_mode]) { in free_shared_mem()
977 (rxd_count[nic->rxd_mode] + 1); in free_shared_mem()
2227 if (nic->rxd_mode == RXD_MODE_1) in start_nic()
2238 if (nic->rxd_mode == RXD_MODE_3B) { in start_nic()
2502 ((ring->rxd_mode == RXD_MODE_3B) && in fill_rx_buffers()
2511 if (ring->rxd_mode == RXD_MODE_1) in fill_rx_buffers()
2531 if (ring->rxd_mode == RXD_MODE_1) { in fill_rx_buffers()
2546 } else if (ring->rxd_mode == RXD_MODE_3B) { in fill_rx_buffers()
2584 if (ring->rxd_mode == RXD_MODE_3B) { in fill_rx_buffers()
2673 for (j = 0 ; j < rxd_count[sp->rxd_mode]; j++) { in free_rxd_blk()
2679 if (sp->rxd_mode == RXD_MODE_1) { in free_rxd_blk()
2688 } else if (sp->rxd_mode == RXD_MODE_3B) { in free_rxd_blk()
2927 if (ring_data->rxd_mode == RXD_MODE_1) { in rx_intr_handler()
2936 } else if (ring_data->rxd_mode == RXD_MODE_3B) { in rx_intr_handler()
2951 if (get_info.offset == rxd_count[ring_data->rxd_mode]) { in rx_intr_handler()
5467 if (sp->rxd_mode == RXD_MODE_1) { in s2io_ethtool_gringparam()
6752 if ((sp->rxd_mode == RXD_MODE_1) && (rxdp->Host_Control == 0)) { in set_rxd_buffer_pointer()
6785 } else if ((sp->rxd_mode == RXD_MODE_3B) && (rxdp->Host_Control == 0)) { in set_rxd_buffer_pointer()
6849 if (sp->rxd_mode == RXD_MODE_1) { in set_rxd_buffer_size()
6851 } else if (sp->rxd_mode == RXD_MODE_3B) { in set_rxd_buffer_size()
6872 if (sp->rxd_mode == RXD_MODE_1) in rxd_owner_bit_reset()
6874 else if (sp->rxd_mode == RXD_MODE_3B) in rxd_owner_bit_reset()
6881 blk_cnt = rx_cfg->num_rxd / (rxd_count[sp->rxd_mode] + 1); in rxd_owner_bit_reset()
6884 for (k = 0; k < rxd_count[sp->rxd_mode]; k++) { in rxd_owner_bit_reset()
6886 if (sp->rxd_mode == RXD_MODE_3B) in rxd_owner_bit_reset()
7358 if (sp->rxd_mode == RXD_MODE_1) { in rx_osm_handler()
7362 } else if (sp->rxd_mode == RXD_MODE_3B) { in rx_osm_handler()
7719 sp->rxd_mode = RXD_MODE_1; in s2io_init_nic()
7721 sp->rxd_mode = RXD_MODE_3B; in s2io_init_nic()
7807 rx_cfg->num_rxd = rx_ring_sz[i] * (rxd_count[sp->rxd_mode] + 1); in s2io_init_nic()
7810 ring->rxd_mode = sp->rxd_mode; in s2io_init_nic()
7811 ring->rxd_count = rxd_count[sp->rxd_mode]; in s2io_init_nic()
8032 switch (sp->rxd_mode) { in s2io_init_nic()