Lines Matching refs:tx_cfg
589 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
591 size += tx_cfg->fifo_len; in init_shared_mem()
602 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
604 size = tx_cfg->fifo_len; in init_shared_mem()
621 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
622 int fifo_len = tx_cfg->fifo_len; in init_shared_mem()
633 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len, in init_shared_mem()
636 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
639 fifo->tx_curr_put_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
641 fifo->tx_curr_get_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
680 if (l == tx_cfg->fifo_len) in init_shared_mem()
693 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
695 size = tx_cfg->fifo_len; in init_shared_mem()
905 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
907 page_num = TXD_MEM_PAGE_CNT(tx_cfg->fifo_len, lst_per_page); in free_shared_mem()
937 swstats->mem_freed += tx_cfg->fifo_len * in free_shared_mem()
994 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
997 swstats->mem_freed += tx_cfg->fifo_len * in free_shared_mem()
1287 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_nic() local
1289 val64 |= vBIT(tx_cfg->fifo_len - 1, ((j * 32) + 19), 13) | in init_nic()
1290 vBIT(tx_cfg->fifo_priority, ((j * 32) + 5), 3); in init_nic()
2377 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_tx_buffers() local
2382 for (j = 0; j < tx_cfg->fifo_len; j++) { in free_tx_buffers()
5526 tx_desc_count += sp->config.tx_cfg[i].fifo_len; in s2io_ethtool_gringparam()
7831 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in s2io_init_nic() local
7833 tx_cfg->fifo_len = tx_fifo_len[i]; in s2io_init_nic()
7834 tx_cfg->fifo_priority = i; in s2io_init_nic()
7848 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in s2io_init_nic() local
7850 tx_cfg->f_no_snoop = (NO_SNOOP_TXD | NO_SNOOP_TXD_BUFFER); in s2io_init_nic()
7851 if (tx_cfg->fifo_len < 65) { in s2io_init_nic()