• Home
  • Raw
  • Download

Lines Matching refs:rxd_mode

701 		if (rx_cfg->num_rxd % (rxd_count[nic->rxd_mode] + 1)) {  in init_shared_mem()
709 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
712 if (nic->rxd_mode == RXD_MODE_1) in init_shared_mem()
730 blk_cnt = rx_cfg->num_rxd / (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
753 rxd_count[nic->rxd_mode]; in init_shared_mem()
760 for (l = 0; l < rxd_count[nic->rxd_mode]; l++) { in init_shared_mem()
763 (rxd_size[nic->rxd_mode] * l); in init_shared_mem()
766 (rxd_size[nic->rxd_mode] * l); in init_shared_mem()
784 if (nic->rxd_mode == RXD_MODE_3B) { in init_shared_mem()
794 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
804 (rxd_count[nic->rxd_mode] + 1); in init_shared_mem()
809 while (k != rxd_count[nic->rxd_mode]) { in init_shared_mem()
948 rxd_count[nic->rxd_mode]; in free_shared_mem()
952 if (nic->rxd_mode == RXD_MODE_3B) { in free_shared_mem()
959 (rxd_count[nic->rxd_mode] + 1); in free_shared_mem()
964 while (k != rxd_count[nic->rxd_mode]) { in free_shared_mem()
976 (rxd_count[nic->rxd_mode] + 1); in free_shared_mem()
2226 if (nic->rxd_mode == RXD_MODE_1) in start_nic()
2237 if (nic->rxd_mode == RXD_MODE_3B) { in start_nic()
2501 ((ring->rxd_mode == RXD_MODE_3B) && in fill_rx_buffers()
2510 if (ring->rxd_mode == RXD_MODE_1) in fill_rx_buffers()
2530 if (ring->rxd_mode == RXD_MODE_1) { in fill_rx_buffers()
2545 } else if (ring->rxd_mode == RXD_MODE_3B) { in fill_rx_buffers()
2583 if (ring->rxd_mode == RXD_MODE_3B) { in fill_rx_buffers()
2672 for (j = 0 ; j < rxd_count[sp->rxd_mode]; j++) { in free_rxd_blk()
2678 if (sp->rxd_mode == RXD_MODE_1) { in free_rxd_blk()
2687 } else if (sp->rxd_mode == RXD_MODE_3B) { in free_rxd_blk()
2926 if (ring_data->rxd_mode == RXD_MODE_1) { in rx_intr_handler()
2935 } else if (ring_data->rxd_mode == RXD_MODE_3B) { in rx_intr_handler()
2950 if (get_info.offset == rxd_count[ring_data->rxd_mode]) { in rx_intr_handler()
5473 if (sp->rxd_mode == RXD_MODE_1) { in s2io_ethtool_gringparam()
6758 if ((sp->rxd_mode == RXD_MODE_1) && (rxdp->Host_Control == 0)) { in set_rxd_buffer_pointer()
6791 } else if ((sp->rxd_mode == RXD_MODE_3B) && (rxdp->Host_Control == 0)) { in set_rxd_buffer_pointer()
6855 if (sp->rxd_mode == RXD_MODE_1) { in set_rxd_buffer_size()
6857 } else if (sp->rxd_mode == RXD_MODE_3B) { in set_rxd_buffer_size()
6878 if (sp->rxd_mode == RXD_MODE_1) in rxd_owner_bit_reset()
6880 else if (sp->rxd_mode == RXD_MODE_3B) in rxd_owner_bit_reset()
6887 blk_cnt = rx_cfg->num_rxd / (rxd_count[sp->rxd_mode] + 1); in rxd_owner_bit_reset()
6890 for (k = 0; k < rxd_count[sp->rxd_mode]; k++) { in rxd_owner_bit_reset()
6892 if (sp->rxd_mode == RXD_MODE_3B) in rxd_owner_bit_reset()
7364 if (sp->rxd_mode == RXD_MODE_1) { in rx_osm_handler()
7368 } else if (sp->rxd_mode == RXD_MODE_3B) { in rx_osm_handler()
7725 sp->rxd_mode = RXD_MODE_1; in s2io_init_nic()
7727 sp->rxd_mode = RXD_MODE_3B; in s2io_init_nic()
7813 rx_cfg->num_rxd = rx_ring_sz[i] * (rxd_count[sp->rxd_mode] + 1); in s2io_init_nic()
7816 ring->rxd_mode = sp->rxd_mode; in s2io_init_nic()
7817 ring->rxd_count = rxd_count[sp->rxd_mode]; in s2io_init_nic()
8038 switch (sp->rxd_mode) { in s2io_init_nic()