Home
last modified time | relevance | path

Searched refs:tx_cfg (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/hsi/
H A Dhsi_core.c62 kfree(cl->tx_cfg.channels); in hsi_client_release()
77 cl->tx_cfg = info->tx_cfg; in hsi_new_client()
78 if (cl->tx_cfg.channels) { in hsi_new_client()
79 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels); in hsi_new_client()
80 cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size, in hsi_new_client()
82 if (!cl->tx_cfg.channels) in hsi_new_client()
110 kfree(cl->tx_cfg in hsi_new_client()
[all...]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c364 if (block->tx->q_num < priv->tx_cfg.num_queues) in gve_napi_poll()
419 if (block->tx->q_num < priv->tx_cfg.num_queues) in gve_napi_poll_dqo()
509 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
515 vecs_enabled, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
517 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks()
518 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks()
577 if (cur_cpu >= nr_cpu_ids || (i + 1) == priv->tx_cfg in gve_alloc_notify_blocks()
1051 gve_queues_mem_free(struct gve_priv * priv,struct gve_tx_alloc_rings_cfg * tx_cfg,struct gve_rx_alloc_rings_cfg * rx_cfg) gve_queues_mem_free() argument
[all...]
H A Dgve_ethtool.c468 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
472 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
481 struct gve_tx_queue_config new_tx_cfg = priv->tx_cfg; in gve_set_channels()
499 (2 * new_tx > priv->tx_cfg.max_queues)) { in gve_set_channels()
765 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_set_coalesce()
H A Dgve_tx.c209 if (tx->q_num < priv->tx_cfg.num_queues) in gve_tx_stop_ring_gqi()
743 WARN(skb_get_queue_mapping(skb) >= priv->tx_cfg.num_queues, in gve_tx()
840 smp_processor_id() % priv->tx_cfg.num_xdp_queues); in gve_xdp_xmit_gqi()
H A Dgve_tx_dqo.c293 if (idx < priv->tx_cfg.num_queues) in gve_tx_start_ring_dqo()
1587 smp_processor_id() % priv->tx_cfg.num_xdp_queues); in gve_xdp_xmit_dqo()
/linux/drivers/hsi/clients/
H A Dhsi_char.c390 tmp = cl->tx_cfg; in hsc_tx_set()
391 cl->tx_cfg.mode = txc->mode; in hsc_tx_set()
392 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set()
393 cl->tx_cfg.speed = txc->speed; in hsc_tx_set()
394 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set()
397 cl->tx_cfg = tmp; in hsc_tx_set()
406 txc->mode = cl->tx_cfg.mode; in hsc_tx_get()
407 txc->channels = cl->tx_cfg.num_hw_channels; in hsc_tx_get()
408 txc->speed = cl->tx_cfg.speed; in hsc_tx_get()
409 txc->arb_mode = cl->tx_cfg in hsc_tx_get()
[all...]
H A Dnokia-modem.c176 ssip.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
199 cmtspeech.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_core.c156 u32 tx_cfg = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed() local
159 tx_cfg &= ~0x60000000; in sxgbe_core_set_speed()
160 tx_cfg |= (speed << SXGBE_SPEED_LSHIFT); in sxgbe_core_set_speed()
163 writel(tx_cfg, ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed()
/linux/include/linux/hsi/
H A Dhsi.h94 * @tx_cfg: HSI TX configuration
103 struct hsi_config tx_cfg; member
123 * @tx_cfg: HSI TX configuration
128 struct hsi_config tx_cfg; member
207 * @tx_cfg: Current TX path configuration
223 struct hsi_config tx_cfg; member
/linux/drivers/net/ethernet/neterion/
H A Ds2io.c582 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
584 size += tx_cfg->fifo_len; in init_shared_mem()
595 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
597 size = tx_cfg->fifo_len; in init_shared_mem()
614 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
615 int fifo_len = tx_cfg->fifo_len; in init_shared_mem()
626 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[ in init_shared_mem()
629 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
687 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
898 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
987 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
1281 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_nic() local
2380 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_tx_buffers() local
7773 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
7790 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
[all...]
H A Ds2io.h436 struct tx_fifo_config tx_cfg[MAX_TX_FIFOS]; /*Per-Tx FIFO config */ member
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_common.c292 struct k3_udma_glue_tx_channel_cfg tx_cfg; in prueth_init_tx_chns() local
306 memset(&tx_cfg, 0, sizeof(tx_cfg)); in prueth_init_tx_chns()
307 tx_cfg.swdata_size = PRUETH_NAV_SW_DATA_SIZE; in prueth_init_tx_chns()
308 tx_cfg.tx_cfg = ring_cfg; in prueth_init_tx_chns()
309 tx_cfg.txcq_cfg = ring_cfg; in prueth_init_tx_chns()
324 &tx_cfg); in prueth_init_tx_chns()
/linux/include/linux/dma/
H A Dk3-udma-glue.h14 struct k3_ring_cfg tx_cfg; member
/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c1166 * @tx_cfg: Cached transmit control settings.
1206 u32 tx_cfg; member
2838 u32 tx_cfg; in set_flow_ctrl() local
2841 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
2847 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2849 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2853 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
2854 writel(hw->tx_cfg, h in set_flow_ctrl()
[all...]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbna_tx_rx.c3124 cfg_req->tx_cfg.vlan_mode = BFI_ENET_TX_VLAN_WI; in bna_bfi_tx_enet_start()
3125 cfg_req->tx_cfg.vlan_id = htons((u16)tx->txf_vlan_id); in bna_bfi_tx_enet_start()
3126 cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3127 cfg_req->tx_cfg.apply_vlan_filter = BNA_STATUS_T_DISABLED; in bna_bfi_tx_enet_start()
3364 struct bna_tx_config *tx_cfg, in bna_tx_create() argument
3383 if ((intr_info->num != 1) && (intr_info->num != tx_cfg->num_txq)) in bna_tx_create()
3388 tx = bna_tx_get(tx_mod, tx_cfg->tx_type); in bna_tx_create()
3397 for (i = 0; i < tx_cfg->num_txq; i++) { in bna_tx_create()
3421 tx->num_txq = tx_cfg->num_txq; in bna_tx_create()
3460 txq->ib.coalescing_timeo = tx_cfg in bna_tx_create()
[all...]
H A Dbna.h309 struct bna_tx_config *tx_cfg,
H A Dbfi_enet.h428 struct bfi_enet_tx_cfg tx_cfg; member
/linux/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c468 const struct iudma_ch_cfg *tx_cfg = &iudma_defaults[i + 1]; in bcm63xx_fifo_setup() local
482 ((tx_fifo_slot + tx_cfg->n_fifo_slots - 1) << in bcm63xx_fifo_setup()
484 tx_fifo_slot += tx_cfg->n_fifo_slots; in bcm63xx_fifo_setup()
487 is_hs ? tx_cfg->max_pkt_hs : tx_cfg->max_pkt_fs, in bcm63xx_fifo_setup()
/linux/drivers/soc/qcom/
H A Dqcom-geni-se.c424 * @tx_cfg: Flag to configure the TX Packing.
431 bool msb_to_lsb, bool tx_cfg, bool rx_cfg) in geni_se_config_packing() argument
464 if (tx_cfg) { in geni_se_config_packing()
/linux/drivers/dma/ti/
H A Dk3-udma-glue.c338 cfg->tx_cfg.dma_dev = k3_udma_glue_tx_get_dma_device(tx_chn); in k3_udma_glue_request_tx_chn_common()
339 cfg->txcq_cfg.dma_dev = cfg->tx_cfg.dma_dev; in k3_udma_glue_request_tx_chn_common()
343 cfg->tx_cfg.asel = tx_chn->common.atype_asel; in k3_udma_glue_request_tx_chn_common()
347 ret = k3_ringacc_ring_cfg(tx_chn->ringtx, &cfg->tx_cfg); in k3_udma_glue_request_tx_chn_common()
/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c2257 struct k3_udma_glue_tx_channel_cfg tx_cfg = { 0 }; in am65_cpsw_nuss_init_tx_chns() local
2270 tx_cfg.swdata_size = AM65_CPSW_NAV_SW_DATA_SIZE; in am65_cpsw_nuss_init_tx_chns()
2271 tx_cfg.tx_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
2272 tx_cfg.txcq_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
2273 tx_cfg.tx_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
2274 tx_cfg.txcq_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
2290 &tx_cfg); in am65_cpsw_nuss_init_tx_chns()
/linux/drivers/net/ethernet/sfc/siena/
H A Dfarch.c2013 efx_oword_t tx_cfg; in efx_farch_filter_push_tx_limits() local
2015 efx_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits()
2020 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in efx_farch_filter_push_tx_limits()
2024 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in efx_farch_filter_push_tx_limits()
2029 efx_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfarch.c1921 ef4_oword_t tx_cfg; in ef4_farch_filter_push_tx_limits() local
1923 ef4_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()
1928 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1932 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1937 ef4_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()
/linux/drivers/net/ethernet/sun/
H A Dniu.c412 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local
415 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_fiber()
426 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_10g_fiber()
432 int err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_10g_fiber()
452 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local
456 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV | in serdes_init_niu_1g_serdes()
471 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_1g_serdes()
500 err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_1g_serdes()
546 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local
552 tx_cfg in serdes_init_niu_10g_serdes()
[all...]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c2253 struct mwifiex_ds_11n_tx_cfg tx_cfg; in mwifiex_sta_init_cmd() local
2417 tx_cfg.tx_htcap = MWIFIEX_FW_DEF_HTTXCFG; in mwifiex_sta_init_cmd()
2419 HostCmd_ACT_GEN_SET, 0, &tx_cfg, true); in mwifiex_sta_init_cmd()