Home
last modified time | relevance | path

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

/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.arb_mode; 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/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c491 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
495 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
504 struct gve_tx_queue_config new_tx_cfg = priv->tx_cfg; in gve_set_channels()
522 (2 * new_tx > priv->tx_cfg.max_queues)) { in gve_set_channels()
796 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_set_coalesce()
H A Dgve_tx_dqo.c302 if (idx < priv->tx_cfg.num_queues) in gve_tx_start_ring_dqo()
1594 smp_processor_id() % priv->tx_cfg.num_xdp_queues); in gve_xdp_xmit_dqo()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_common.c395 struct k3_udma_glue_tx_channel_cfg tx_cfg; in prueth_init_tx_chns() local
409 memset(&tx_cfg, 0, sizeof(tx_cfg)); in prueth_init_tx_chns()
410 tx_cfg.swdata_size = PRUETH_NAV_SW_DATA_SIZE; in prueth_init_tx_chns()
411 tx_cfg.tx_cfg = ring_cfg; in prueth_init_tx_chns()
412 tx_cfg.txcq_cfg = ring_cfg; in prueth_init_tx_chns()
427 &tx_cfg); in prueth_init_tx_chns()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2533 u8 tx_cfg; in hclge_get_vlan_tx_offload_cfg() local
2550 tx_cfg = req->vport_vlan_cfg; in hclge_get_vlan_tx_offload_cfg()
2553 vlan_cfg->accept_tag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG1_B); in hclge_get_vlan_tx_offload_cfg()
2554 vlan_cfg->accept_tag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG2_B); in hclge_get_vlan_tx_offload_cfg()
2555 vlan_cfg->accept_untag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG1_B); in hclge_get_vlan_tx_offload_cfg()
2556 vlan_cfg->accept_untag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG2_B); in hclge_get_vlan_tx_offload_cfg()
2557 vlan_cfg->insert_tag1 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG1_EN_B); in hclge_get_vlan_tx_offload_cfg()
2558 vlan_cfg->insert_tag2 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG2_EN_B); in hclge_get_vlan_tx_offload_cfg()
2559 vlan_cfg->shift_tag = hnae3_get_bit(tx_cfg, HCLGE_TAG_SHIFT_MODE_EN_B); in hclge_get_vlan_tx_offload_cfg()
/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c1207 u32 tx_cfg; member
2839 u32 tx_cfg; in set_flow_ctrl() local
2842 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
2848 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2850 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
2854 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
2855 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in set_flow_ctrl()
2894 u32 cfg = hw->tx_cfg; in port_cfg_change()
2898 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
2899 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
[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->coalescing_timeo; 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/net/ethernet/ti/
H A Dam65-cpsw-nuss.c2258 struct k3_udma_glue_tx_channel_cfg tx_cfg = { 0 }; in am65_cpsw_nuss_init_tx_chns() local
2271 tx_cfg.swdata_size = AM65_CPSW_NAV_SW_DATA_SIZE; in am65_cpsw_nuss_init_tx_chns()
2272 tx_cfg.tx_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
2273 tx_cfg.txcq_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
2274 tx_cfg.tx_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
2275 tx_cfg.txcq_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
2291 &tx_cfg); in am65_cpsw_nuss_init_tx_chns()
/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/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/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 = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_serdes()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c2366 struct mwifiex_ds_11n_tx_cfg tx_cfg; in mwifiex_sta_init_cmd() local
2530 tx_cfg.tx_htcap = MWIFIEX_FW_DEF_HTTXCFG; in mwifiex_sta_init_cmd()
2532 HostCmd_ACT_GEN_SET, 0, &tx_cfg, true); in mwifiex_sta_init_cmd()