Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/staging/pi433/
A Dpi433_if.c113 struct pi433_tx_cfg tx_cfg; member
318 tx_cfg->preamble_length); in rf69_set_tx_cfg()
353 if (tx_cfg->enable_crc == OPTION_ON) { in rf69_set_tx_cfg()
563 struct pi433_tx_cfg tx_cfg; in pi433_tx_thread() local
584 retval = kfifo_out(&device->tx_fifo, &tx_cfg, sizeof(tx_cfg)); in pi433_tx_thread()
585 if (retval != sizeof(tx_cfg)) { in pi433_tx_thread()
602 size = tx_cfg.fixed_message_length; in pi433_tx_thread()
706 repetitions = tx_cfg.repetitions; in pi433_tx_thread()
857 sizeof(instance->tx_cfg)); in pi433_write()
888 struct pi433_tx_cfg tx_cfg; in pi433_ioctl() local
[all …]
/linux-6.3-rc2/drivers/hsi/
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.channels); in hsi_new_client()
222 &cl->tx_cfg.mode); in hsi_add_client_from_dt()
227 cl->tx_cfg.mode = mode; in hsi_add_client_from_dt()
231 &cl->tx_cfg.speed); in hsi_add_client_from_dt()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/google/gve/
A Dgve_ethtool.c100 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
132 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
198 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
319 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
358 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
387 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
391 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
400 struct gve_queue_config new_tx_cfg = priv->tx_cfg; in gve_set_channels()
416 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
525 priv->tx_cfg.num_queues; in gve_set_priv_flags()
[all …]
A Dgve_main.c183 priv->tx_cfg.num_queues; in gve_alloc_stats_report()
356 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
364 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks()
365 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks()
631 priv->tx_cfg.num_queues); in gve_create_rings()
638 priv->tx_cfg.num_queues); in gve_create_rings()
1089 priv->tx_cfg = new_tx_config; in gve_adjust_queues()
1099 priv->tx_cfg = new_tx_config; in gve_adjust_queues()
1455 priv->tx_cfg.max_queues = in gve_init_priv()
1460 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_init_priv()
[all …]
A Dgve_tx.c241 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_alloc_rings()
264 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_tx_free_rings_gqi()
615 WARN(skb_get_queue_mapping(skb) >= priv->tx_cfg.num_queues, in gve_tx()
A Dgve.h532 struct gve_queue_config tx_cfg; member
788 return priv->tx_cfg.num_queues; in gve_num_tx_qpls()
A Dgve_tx_dqo.c227 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_alloc_rings_dqo()
250 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_free_rings_dqo()
/linux-6.3-rc2/drivers/hsi/clients/
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 …]
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-6.3-rc2/drivers/net/ethernet/samsung/sxgbe/
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-6.3-rc2/include/linux/hsi/
A Dhsi.h103 struct hsi_config tx_cfg; member
128 struct hsi_config tx_cfg; member
223 struct hsi_config tx_cfg; member
/linux-6.3-rc2/drivers/hsi/controllers/
A Domap_ssi_port.c468 if (cl->tx_cfg.speed) in ssi_setup()
469 omap_ssi->max_speed = cl->tx_cfg.speed; in ssi_setup()
473 cl->tx_cfg.speed, div); in ssi_setup()
485 writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); in ssi_setup()
486 writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); in ssi_setup()
487 writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); in ssi_setup()
498 cl->tx_cfg.num_hw_channels); in ssi_setup()
503 omap_port->sst.channels = cl->tx_cfg.num_hw_channels; in ssi_setup()
504 omap_port->sst.arb_mode = cl->tx_cfg.arb_mode; in ssi_setup()
505 omap_port->sst.mode = cl->tx_cfg.mode; in ssi_setup()
/linux-6.3-rc2/drivers/net/ethernet/neterion/
A Ds2io.c581 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
594 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
613 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
628 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
686 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
897 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
986 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_shared_mem() local
1280 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_nic() local
2379 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in free_tx_buffers() local
7779 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in s2io_init_nic() local
[all …]
/linux-6.3-rc2/include/linux/dma/
A Dk3-udma-glue.h14 struct k3_ring_cfg tx_cfg; member
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_debugfs.c2095 u8 tx_cfg; in hclge_get_vlan_tx_offload_cfg() local
2112 tx_cfg = req->vport_vlan_cfg; in hclge_get_vlan_tx_offload_cfg()
2115 vlan_cfg->accept_tag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG1_B); in hclge_get_vlan_tx_offload_cfg()
2116 vlan_cfg->accept_tag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG2_B); in hclge_get_vlan_tx_offload_cfg()
2117 vlan_cfg->accept_untag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG1_B); in hclge_get_vlan_tx_offload_cfg()
2118 vlan_cfg->accept_untag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG2_B); in hclge_get_vlan_tx_offload_cfg()
2119 vlan_cfg->insert_tag1 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG1_EN_B); in hclge_get_vlan_tx_offload_cfg()
2120 vlan_cfg->insert_tag2 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG2_EN_B); in hclge_get_vlan_tx_offload_cfg()
2121 vlan_cfg->shift_tag = hnae3_get_bit(tx_cfg, HCLGE_TAG_SHIFT_MODE_EN_B); in hclge_get_vlan_tx_offload_cfg()
/linux-6.3-rc2/drivers/net/ethernet/micrel/
A Dksz884x.c1206 u32 tx_cfg; member
3132 u32 tx_cfg; in set_flow_ctrl() local
3135 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
3141 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3143 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3147 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
3187 u32 cfg = hw->tx_cfg; in port_cfg_change()
3191 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
3192 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
3847 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in hw_start_tx()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
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
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()
3466 txq->tcb->q_depth = tx_cfg->txq_depth; in bna_tx_create()
[all …]
A Dbna.h309 struct bna_tx_config *tx_cfg,
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dam65-cpsw-nuss.c1660 struct k3_udma_glue_tx_channel_cfg tx_cfg = { 0 }; in am65_cpsw_nuss_init_tx_chns() local
1673 tx_cfg.swdata_size = AM65_CPSW_NAV_SW_DATA_SIZE; in am65_cpsw_nuss_init_tx_chns()
1674 tx_cfg.tx_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
1675 tx_cfg.txcq_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
1676 tx_cfg.tx_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
1677 tx_cfg.txcq_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
1693 &tx_cfg); in am65_cpsw_nuss_init_tx_chns()
/linux-6.3-rc2/drivers/dma/ti/
A Dk3-udma-glue.c333 cfg->tx_cfg.dma_dev = k3_udma_glue_tx_get_dma_device(tx_chn); in k3_udma_glue_request_tx_chn()
334 cfg->txcq_cfg.dma_dev = cfg->tx_cfg.dma_dev; in k3_udma_glue_request_tx_chn()
338 cfg->tx_cfg.asel = tx_chn->common.atype_asel; in k3_udma_glue_request_tx_chn()
342 ret = k3_ringacc_ring_cfg(tx_chn->ringtx, &cfg->tx_cfg); in k3_udma_glue_request_tx_chn()
/linux-6.3-rc2/drivers/usb/gadget/udc/
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-6.3-rc2/drivers/soc/qcom/
A Dqcom-geni-se.c452 bool msb_to_lsb, bool tx_cfg, bool rx_cfg) in geni_se_config_packing() argument
485 if (tx_cfg) { in geni_se_config_packing()
/linux-6.3-rc2/include/linux/soc/qcom/
A Dgeni-se.h451 bool msb_to_lsb, bool tx_cfg, bool rx_cfg);
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
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-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dfarch.c1943 ef4_oword_t tx_cfg; in ef4_farch_filter_push_tx_limits() local
1945 ef4_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()
1950 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1954 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1959 ef4_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()

Completed in 114 milliseconds

12