Lines Matching refs:tx_cfg

581 		struct tx_fifo_config *tx_cfg = &config->tx_cfg[i];  in init_shared_mem()  local
583 size += tx_cfg->fifo_len; in init_shared_mem()
594 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
596 size = tx_cfg->fifo_len; in init_shared_mem()
613 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
614 int fifo_len = tx_cfg->fifo_len; in init_shared_mem()
625 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len, in init_shared_mem()
628 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
631 fifo->tx_curr_put_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
633 fifo->tx_curr_get_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
673 if (l == tx_cfg->fifo_len) in init_shared_mem()
686 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
688 size = tx_cfg->fifo_len; in init_shared_mem()
897 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
899 page_num = TXD_MEM_PAGE_CNT(tx_cfg->fifo_len, lst_per_page); in free_shared_mem()
929 swstats->mem_freed += tx_cfg->fifo_len * in free_shared_mem()
986 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
989 swstats->mem_freed += tx_cfg->fifo_len * in free_shared_mem()
1280 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_nic() local
1282 val64 |= vBIT(tx_cfg->fifo_len - 1, ((j * 32) + 19), 13) | in init_nic()
1283 vBIT(tx_cfg->fifo_priority, ((j * 32) + 5), 3); in init_nic()
2379 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_tx_buffers() local
2384 for (j = 0; j < tx_cfg->fifo_len; j++) { in free_tx_buffers()
5489 tx_desc_count += sp->config.tx_cfg[i].fifo_len; in s2io_ethtool_gringparam()
7779 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in s2io_init_nic() local
7781 tx_cfg->fifo_len = tx_fifo_len[i]; in s2io_init_nic()
7782 tx_cfg->fifo_priority = i; in s2io_init_nic()
7796 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in s2io_init_nic() local
7798 tx_cfg->f_no_snoop = (NO_SNOOP_TXD | NO_SNOOP_TXD_BUFFER); in s2io_init_nic()
7799 if (tx_cfg->fifo_len < 65) { in s2io_init_nic()