/Linux-v5.15/drivers/staging/pi433/ |
D | pi433_if.c | 110 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->enable_preamble == OPTION_ON) { in rf69_set_tx_cfg() [all …]
|
/Linux-v5.15/drivers/hsi/ |
D | hsi_core.c | 62 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() 109 kfree(cl->tx_cfg.channels); in hsi_new_client() 221 &cl->tx_cfg.mode); in hsi_add_client_from_dt() 226 cl->tx_cfg.mode = mode; in hsi_add_client_from_dt() 230 &cl->tx_cfg.speed); in hsi_add_client_from_dt() [all …]
|
/Linux-v5.15/drivers/net/ethernet/google/gve/ |
D | gve_main.c | 61 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_stats() 135 priv->tx_cfg.num_queues; in gve_alloc_stats_report() 303 priv->tx_cfg.max_queues = min_t(int, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks() 309 vecs_enabled, priv->tx_cfg.max_queues, in gve_alloc_notify_blocks() 311 if (priv->tx_cfg.num_queues > priv->tx_cfg.max_queues) in gve_alloc_notify_blocks() 312 priv->tx_cfg.num_queues = priv->tx_cfg.max_queues; in gve_alloc_notify_blocks() 562 err = gve_adminq_create_tx_queues(priv, priv->tx_cfg.num_queues); in gve_create_rings() 565 priv->tx_cfg.num_queues); in gve_create_rings() 572 priv->tx_cfg.num_queues); in gve_create_rings() 612 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in add_napi_init_sync_stats() [all …]
|
D | gve_ethtool.c | 97 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_get_strings() 129 (priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS); in gve_get_sset_count() 163 tx_qid_to_stats_idx = kmalloc_array(priv->tx_cfg.num_queues, in gve_get_ethtool_stats() 194 ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 232 base_stats_idx = GVE_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats() 293 max_stats_idx = NIC_TX_STATS_REPORT_NUM * priv->tx_cfg.num_queues + in gve_get_ethtool_stats() 311 for (ring = 0; ring < priv->tx_cfg.num_queues; ring++) { in gve_get_ethtool_stats() 349 i += priv->tx_cfg.num_queues * NUM_GVE_TX_CNTS; in gve_get_ethtool_stats() 378 cmd->max_tx = priv->tx_cfg.max_queues; in gve_get_channels() 382 cmd->tx_count = priv->tx_cfg.num_queues; in gve_get_channels() [all …]
|
D | gve_tx.c | 240 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_alloc_rings() 263 for (i = 0; i < priv->tx_cfg.num_queues; i++) in gve_tx_free_rings_gqi() 579 WARN(skb_get_queue_mapping(skb) >= priv->tx_cfg.num_queues, in gve_tx()
|
D | gve.h | 496 struct gve_queue_config tx_cfg; member 744 return priv->tx_cfg.num_queues; in gve_num_tx_qpls()
|
D | gve_tx_dqo.c | 229 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_alloc_rings_dqo() 252 for (i = 0; i < priv->tx_cfg.num_queues; i++) { in gve_tx_free_rings_dqo()
|
/Linux-v5.15/drivers/hsi/clients/ |
D | hsi_char.c | 390 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 …]
|
D | nokia-modem.c | 178 ssip.tx_cfg = cl->tx_cfg; in nokia_modem_probe() 201 cmtspeech.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
|
/Linux-v5.15/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_core.c | 155 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()
|
/Linux-v5.15/include/linux/hsi/ |
D | hsi.h | 103 struct hsi_config tx_cfg; member 128 struct hsi_config tx_cfg; member 223 struct hsi_config tx_cfg; member
|
/Linux-v5.15/drivers/hsi/controllers/ |
D | omap_ssi_port.c | 468 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-v5.15/drivers/net/ethernet/neterion/ |
D | s2io.c | 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() [all …]
|
/Linux-v5.15/include/linux/dma/ |
D | k3-udma-glue.h | 14 struct k3_ring_cfg tx_cfg; member
|
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 1557 struct k3_udma_glue_tx_channel_cfg tx_cfg = { 0 }; in am65_cpsw_nuss_init_tx_chns() local 1570 tx_cfg.swdata_size = AM65_CPSW_NAV_SW_DATA_SIZE; in am65_cpsw_nuss_init_tx_chns() 1571 tx_cfg.tx_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns() 1572 tx_cfg.txcq_cfg = ring_cfg; in am65_cpsw_nuss_init_tx_chns() 1573 tx_cfg.tx_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns() 1574 tx_cfg.txcq_cfg.size = max_desc_num; in am65_cpsw_nuss_init_tx_chns() 1590 &tx_cfg); in am65_cpsw_nuss_init_tx_chns()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_debugfs.c | 2037 u8 tx_cfg; in hclge_get_vlan_tx_offload_cfg() local 2054 tx_cfg = req->vport_vlan_cfg; in hclge_get_vlan_tx_offload_cfg() 2057 vlan_cfg->accept_tag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG1_B); in hclge_get_vlan_tx_offload_cfg() 2058 vlan_cfg->accept_tag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_TAG2_B); in hclge_get_vlan_tx_offload_cfg() 2059 vlan_cfg->accept_untag1 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG1_B); in hclge_get_vlan_tx_offload_cfg() 2060 vlan_cfg->accept_untag2 = hnae3_get_bit(tx_cfg, HCLGE_ACCEPT_UNTAG2_B); in hclge_get_vlan_tx_offload_cfg() 2061 vlan_cfg->insert_tag1 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG1_EN_B); in hclge_get_vlan_tx_offload_cfg() 2062 vlan_cfg->insert_tag2 = hnae3_get_bit(tx_cfg, HCLGE_PORT_INS_TAG2_EN_B); in hclge_get_vlan_tx_offload_cfg() 2063 vlan_cfg->shift_tag = hnae3_get_bit(tx_cfg, HCLGE_TAG_SHIFT_MODE_EN_B); in hclge_get_vlan_tx_offload_cfg()
|
/Linux-v5.15/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1206 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() 3148 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); 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() [all …]
|
/Linux-v5.15/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 3124 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 …]
|
D | bna.h | 309 struct bna_tx_config *tx_cfg,
|
/Linux-v5.15/drivers/dma/ti/ |
D | k3-udma-glue.c | 331 cfg->tx_cfg.dma_dev = k3_udma_glue_tx_get_dma_device(tx_chn); in k3_udma_glue_request_tx_chn() 332 cfg->txcq_cfg.dma_dev = cfg->tx_cfg.dma_dev; in k3_udma_glue_request_tx_chn() 336 cfg->tx_cfg.asel = tx_chn->common.atype_asel; in k3_udma_glue_request_tx_chn() 340 ret = k3_ringacc_ring_cfg(tx_chn->ringtx, &cfg->tx_cfg); in k3_udma_glue_request_tx_chn()
|
/Linux-v5.15/drivers/usb/gadget/udc/ |
D | bcm63xx_udc.c | 468 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-v5.15/drivers/soc/qcom/ |
D | qcom-geni-se.c | 437 bool msb_to_lsb, bool tx_cfg, bool rx_cfg) in geni_se_config_packing() argument 470 if (tx_cfg) { in geni_se_config_packing()
|
/Linux-v5.15/include/linux/ |
D | qcom-geni-se.h | 448 bool msb_to_lsb, bool tx_cfg, bool rx_cfg);
|
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
D | farch.c | 1943 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()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | farch.c | 2011 efx_oword_t tx_cfg; in efx_farch_filter_push_tx_limits() local 2013 efx_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits() 2018 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in efx_farch_filter_push_tx_limits() 2022 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in efx_farch_filter_push_tx_limits() 2027 efx_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in efx_farch_filter_push_tx_limits()
|