Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/staging/pi433/
H A Dpi433_if.c110 struct pi433_tx_cfg tx_cfg; member
283 rf69_set_tx_cfg(struct pi433_device *dev, struct pi433_tx_cfg *tx_cfg) in rf69_set_tx_cfg() argument
287 ret = rf69_set_frequency(dev->spi, tx_cfg->frequency); in rf69_set_tx_cfg()
290 ret = rf69_set_bit_rate(dev->spi, tx_cfg->bit_rate); in rf69_set_tx_cfg()
293 ret = rf69_set_modulation(dev->spi, tx_cfg->modulation); in rf69_set_tx_cfg()
296 ret = rf69_set_deviation(dev->spi, tx_cfg->dev_frequency); in rf69_set_tx_cfg()
299 ret = rf69_set_pa_ramp(dev->spi, tx_cfg->pa_ramp); in rf69_set_tx_cfg()
302 ret = rf69_set_modulation_shaping(dev->spi, tx_cfg->mod_shaping); in rf69_set_tx_cfg()
305 ret = rf69_set_tx_start_condition(dev->spi, tx_cfg->tx_start_condition); in rf69_set_tx_cfg()
310 if (tx_cfg in rf69_set_tx_cfg()
560 struct pi433_tx_cfg tx_cfg; pi433_tx_thread() local
876 struct pi433_tx_cfg tx_cfg; pi433_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/pi433/
H A Dpi433_if.c112 struct pi433_tx_cfg tx_cfg; member
288 rf69_set_tx_cfg(struct pi433_device *dev, struct pi433_tx_cfg *tx_cfg) in rf69_set_tx_cfg() argument
292 ret = rf69_set_frequency(dev->spi, tx_cfg->frequency); in rf69_set_tx_cfg()
295 ret = rf69_set_modulation(dev->spi, tx_cfg->modulation); in rf69_set_tx_cfg()
298 ret = rf69_set_bit_rate(dev->spi, tx_cfg->bit_rate); in rf69_set_tx_cfg()
301 ret = rf69_set_deviation(dev->spi, tx_cfg->dev_frequency); in rf69_set_tx_cfg()
304 ret = rf69_set_pa_ramp(dev->spi, tx_cfg->pa_ramp); in rf69_set_tx_cfg()
307 ret = rf69_set_modulation_shaping(dev->spi, tx_cfg->mod_shaping); in rf69_set_tx_cfg()
310 ret = rf69_set_tx_start_condition(dev->spi, tx_cfg->tx_start_condition); in rf69_set_tx_cfg()
315 if (tx_cfg in rf69_set_tx_cfg()
562 struct pi433_tx_cfg tx_cfg; pi433_tx_thread() local
887 struct pi433_tx_cfg tx_cfg; pi433_ioctl() local
[all...]
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_ethtool.c95 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings()
127 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count()
161 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats()
192 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
230 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
291 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats()
309 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats()
338 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats()
367 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
371 cmd->tx_count = priv->tx_cfg in gve_get_channels()
[all...]
H A Dgve_main.c53 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_stats()
127 priv->tx_cfg.num_queues; in gve_alloc_stats_report()
238 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
244 vecs_enabled, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
246 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks()
247 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks()
470 err = gve_adminq_create_tx_queues(priv, priv->tx_cfg in gve_create_rings()
[all...]
H A Dgve_tx.c250 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_alloc_rings()
273 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_tx_free_rings()
485 WARN(skb_get_queue_mapping(skb) >= priv->tx_cfg.num_queues, in gve_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_core.c155 u32 tx_cfg = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed() local
158 tx_cfg &= ~0x60000000; in sxgbe_core_set_speed()
159 tx_cfg |= (speed << SXGBE_SPEED_LSHIFT); in sxgbe_core_set_speed()
162 writel(tx_cfg, ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_main.c255 if (block->tx->q_num < priv->tx_cfg.num_queues) in gve_napi_poll()
360 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
366 vecs_enabled, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks()
368 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks()
369 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks()
839 priv->tx = kvcalloc(priv->tx_cfg.max_queues, sizeof(*priv->tx), in gve_alloc_rings()
1090 int max_queues = priv->tx_cfg in gve_alloc_qpls()
[all...]
H A Dgve_ethtool.c426 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels()
430 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels()
439 struct gve_queue_config new_tx_cfg = priv->tx_cfg; in gve_set_channels()
455 (new_tx != new_rx || (2 * new_tx > priv->tx_cfg.max_queues))) { in gve_set_channels()
461 priv->tx_cfg.num_queues = new_tx; in gve_set_channels()
634 for (idx = 0; idx < priv->tx_cfg.num_queues; idx++) { in gve_set_coalesce()
H A Dgve.h634 struct gve_tx_ring *tx; /* array of tx_cfg.num_queues */
659 struct gve_queue_config tx_cfg; member
921 return priv->tx_cfg.num_queues + priv->num_xdp_queues; in gve_num_tx_qpls()
951 return priv->tx_cfg.max_queues + rx_qid; in gve_rx_qpl_id()
1020 return priv->tx_cfg.num_queues + priv->num_xdp_queues; in gve_num_tx_queues()
1025 return priv->tx_cfg.num_queues + queue_id; in gve_xdp_tx_queue_id()
/kernel/linux/linux-5.10/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.c178 ssip.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
201 cmtspeech.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
H A Ds2io.c581 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[ in init_shared_mem()
628 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
686 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
897 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
986 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
1278 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_nic() local
2377 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_tx_buffers() local
7777 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
7794 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/neterion/
H A Ds2io.c581 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[ in init_shared_mem()
628 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
686 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_shared_mem() local
897 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
986 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_shared_mem() local
1280 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; init_nic() local
2379 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; free_tx_buffers() local
7772 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
7789 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; s2io_init_nic() local
[all...]
/kernel/linux/linux-5.10/drivers/hsi/controllers/
H 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 in ssi_setup()
[all...]
/kernel/linux/linux-6.6/drivers/hsi/controllers/
H A Domap_ssi_port.c462 if (cl->tx_cfg.speed) in ssi_setup()
463 omap_ssi->max_speed = cl->tx_cfg.speed; in ssi_setup()
467 cl->tx_cfg.speed, div); in ssi_setup()
479 writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); in ssi_setup()
480 writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); in ssi_setup()
481 writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); in ssi_setup()
492 cl->tx_cfg.num_hw_channels); in ssi_setup()
497 omap_port->sst.channels = cl->tx_cfg.num_hw_channels; in ssi_setup()
498 omap_port->sst.arb_mode = cl->tx_cfg.arb_mode; in ssi_setup()
499 omap_port->sst.mode = cl->tx_cfg in ssi_setup()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c1446 struct k3_udma_glue_tx_channel_cfg tx_cfg = { 0 }; in am65_cpsw_nuss_init_tx_chns() local
1459 tx_cfg.swdata_size = AM65_CPSW_NAV_SW_DATA_SIZE; in am65_cpsw_nuss_init_tx_chns()
1460 tx_cfg.tx_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
1461 tx_cfg.txcq_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns()
1462 tx_cfg.tx_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
1463 tx_cfg.txcq_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns()
1488 &tx_cfg); in am65_cpsw_nuss_init_tx_chns()
/kernel/linux/linux-5.10/include/linux/dma/
H A Dk3-udma-glue.h14 struct k3_ring_cfg tx_cfg; member
/kernel/linux/linux-6.6/include/linux/dma/
H A Dk3-udma-glue.h14 struct k3_ring_cfg tx_cfg; member

Completed in 29 milliseconds

123