Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/pi433/
Dpi433_if.c120 struct pi433_tx_cfg tx_cfg; member
293 rf69_set_tx_cfg(struct pi433_device *dev, struct pi433_tx_cfg *tx_cfg) in rf69_set_tx_cfg() argument
297 ret = rf69_set_frequency(dev->spi, tx_cfg->frequency); in rf69_set_tx_cfg()
300 ret = rf69_set_bit_rate(dev->spi, tx_cfg->bit_rate); in rf69_set_tx_cfg()
303 ret = rf69_set_modulation(dev->spi, tx_cfg->modulation); in rf69_set_tx_cfg()
306 ret = rf69_set_deviation(dev->spi, tx_cfg->dev_frequency); in rf69_set_tx_cfg()
309 ret = rf69_set_pa_ramp(dev->spi, tx_cfg->pa_ramp); in rf69_set_tx_cfg()
312 ret = rf69_set_modulation_shaping(dev->spi, tx_cfg->mod_shaping); in rf69_set_tx_cfg()
315 ret = rf69_set_tx_start_condition(dev->spi, tx_cfg->tx_start_condition); in rf69_set_tx_cfg()
320 if (tx_cfg->enable_preamble == OPTION_ON) { in rf69_set_tx_cfg()
[all …]
/Linux-v4.19/drivers/hsi/
Dhsi_core.c75 kfree(cl->tx_cfg.channels); in hsi_client_release()
90 cl->tx_cfg = info->tx_cfg; in hsi_new_client()
91 if (cl->tx_cfg.channels) { in hsi_new_client()
92 size = cl->tx_cfg.num_channels * sizeof(*cl->tx_cfg.channels); in hsi_new_client()
93 cl->tx_cfg.channels = kmemdup(info->tx_cfg.channels, size, in hsi_new_client()
95 if (!cl->tx_cfg.channels) in hsi_new_client()
122 kfree(cl->tx_cfg.channels); in hsi_new_client()
236 &cl->tx_cfg.mode); in hsi_add_client_from_dt()
241 cl->tx_cfg.mode = mode; in hsi_add_client_from_dt()
245 &cl->tx_cfg.speed); in hsi_add_client_from_dt()
[all …]
/Linux-v4.19/drivers/hsi/clients/
Dhsi_char.c403 tmp = cl->tx_cfg; in hsc_tx_set()
404 cl->tx_cfg.mode = txc->mode; in hsc_tx_set()
405 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set()
406 cl->tx_cfg.speed = txc->speed; in hsc_tx_set()
407 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set()
410 cl->tx_cfg = tmp; in hsc_tx_set()
419 txc->mode = cl->tx_cfg.mode; in hsc_tx_get()
420 txc->channels = cl->tx_cfg.num_hw_channels; in hsc_tx_get()
421 txc->speed = cl->tx_cfg.speed; in hsc_tx_get()
422 txc->arb_mode = cl->tx_cfg.arb_mode; in hsc_tx_get()
[all …]
Dnokia-modem.c191 ssip.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
214 cmtspeech.tx_cfg = cl->tx_cfg; in nokia_modem_probe()
/Linux-v4.19/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c158 u32 tx_cfg = readl(ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed() local
161 tx_cfg &= ~0x60000000; in sxgbe_core_set_speed()
162 tx_cfg |= (speed << SXGBE_SPEED_LSHIFT); in sxgbe_core_set_speed()
165 writel(tx_cfg, ioaddr + SXGBE_CORE_TX_CONFIG_REG); in sxgbe_core_set_speed()
/Linux-v4.19/include/linux/hsi/
Dhsi.h116 struct hsi_config tx_cfg; member
141 struct hsi_config tx_cfg; member
236 struct hsi_config tx_cfg; member
/Linux-v4.19/drivers/hsi/controllers/
Domap_ssi_port.c491 if (cl->tx_cfg.speed) in ssi_setup()
492 omap_ssi->max_speed = cl->tx_cfg.speed; in ssi_setup()
496 cl->tx_cfg.speed, div); in ssi_setup()
508 writel_relaxed(cl->tx_cfg.num_hw_channels, sst + SSI_SST_CHANNELS_REG); in ssi_setup()
509 writel_relaxed(cl->tx_cfg.arb_mode, sst + SSI_SST_ARBMODE_REG); in ssi_setup()
510 writel_relaxed(cl->tx_cfg.mode, sst + SSI_SST_MODE_REG); in ssi_setup()
521 cl->tx_cfg.num_hw_channels); in ssi_setup()
526 omap_port->sst.channels = cl->tx_cfg.num_hw_channels; in ssi_setup()
527 omap_port->sst.arb_mode = cl->tx_cfg.arb_mode; in ssi_setup()
528 omap_port->sst.mode = cl->tx_cfg.mode; in ssi_setup()
/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.c580 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
582 size += tx_cfg->fifo_len; in init_shared_mem()
593 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
595 size = tx_cfg->fifo_len; in init_shared_mem()
612 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
613 int fifo_len = tx_cfg->fifo_len; in init_shared_mem()
624 int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len, in init_shared_mem()
627 struct tx_fifo_config *tx_cfg = &config->tx_cfg[i]; in init_shared_mem() local
630 fifo->tx_curr_put_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
632 fifo->tx_curr_get_info.fifo_len = tx_cfg->fifo_len - 1; in init_shared_mem()
[all …]
Ds2io.h435 struct tx_fifo_config tx_cfg[MAX_TX_FIFOS]; /*Per-Tx FIFO config */ member
/Linux-v4.19/drivers/net/ethernet/micrel/
Dksz884x.c1281 u32 tx_cfg; member
3215 u32 tx_cfg; in set_flow_ctrl() local
3218 tx_cfg = hw->tx_cfg; in set_flow_ctrl()
3224 hw->tx_cfg |= DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3226 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in set_flow_ctrl()
3230 if (tx_cfg != hw->tx_cfg) in set_flow_ctrl()
3231 writel(hw->tx_cfg, hw->io + KS_DMA_TX_CTRL); in set_flow_ctrl()
3268 u32 cfg = hw->tx_cfg; in port_cfg_change()
3272 hw->tx_cfg &= ~DMA_TX_FLOW_ENABLE; in port_cfg_change()
3273 if (hw->enabled && cfg != hw->tx_cfg) in port_cfg_change()
[all …]
/Linux-v4.19/drivers/soc/qcom/
Dqcom-geni-se.c378 bool msb_to_lsb, bool tx_cfg, bool rx_cfg) in geni_se_config_packing() argument
411 if (tx_cfg) { in geni_se_config_packing()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbna_tx_rx.c3132 cfg_req->tx_cfg.vlan_mode = BFI_ENET_TX_VLAN_WI; in bna_bfi_tx_enet_start()
3133 cfg_req->tx_cfg.vlan_id = htons((u16)tx->txf_vlan_id); in bna_bfi_tx_enet_start()
3134 cfg_req->tx_cfg.admit_tagged_frame = BNA_STATUS_T_ENABLED; in bna_bfi_tx_enet_start()
3135 cfg_req->tx_cfg.apply_vlan_filter = BNA_STATUS_T_DISABLED; in bna_bfi_tx_enet_start()
3372 struct bna_tx_config *tx_cfg, in bna_tx_create() argument
3391 if ((intr_info->num != 1) && (intr_info->num != tx_cfg->num_txq)) in bna_tx_create()
3396 tx = bna_tx_get(tx_mod, tx_cfg->tx_type); in bna_tx_create()
3405 for (i = 0; i < tx_cfg->num_txq; i++) { in bna_tx_create()
3429 tx->num_txq = tx_cfg->num_txq; in bna_tx_create()
3468 txq->ib.coalescing_timeo = tx_cfg->coalescing_timeo; in bna_tx_create()
[all …]
Dbna.h317 struct bna_tx_config *tx_cfg,
Dbfi_enet.h436 struct bfi_enet_tx_cfg tx_cfg; member
/Linux-v4.19/drivers/usb/gadget/udc/
Dbcm63xx_udc.c470 const struct iudma_ch_cfg *tx_cfg = &iudma_defaults[i + 1]; in bcm63xx_fifo_setup() local
484 ((tx_fifo_slot + tx_cfg->n_fifo_slots - 1) << in bcm63xx_fifo_setup()
486 tx_fifo_slot += tx_cfg->n_fifo_slots; in bcm63xx_fifo_setup()
489 is_hs ? tx_cfg->max_pkt_hs : tx_cfg->max_pkt_fs, in bcm63xx_fifo_setup()
/Linux-v4.19/include/linux/
Dqcom-geni-se.h403 bool msb_to_lsb, bool tx_cfg, bool rx_cfg);
/Linux-v4.19/drivers/net/ethernet/sfc/
Dfarch.c2011 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()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dfarch.c1951 ef4_oword_t tx_cfg; in ef4_farch_filter_push_tx_limits() local
1953 ef4_reado(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()
1958 tx_cfg, FRF_CZ_TX_ETH_FILTER_FULL_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1962 tx_cfg, FRF_CZ_TX_ETH_FILTER_WILD_SEARCH_RANGE, in ef4_farch_filter_push_tx_limits()
1967 ef4_writeo(efx, &tx_cfg, FR_AZ_TX_CFG); in ef4_farch_filter_push_tx_limits()
/Linux-v4.19/drivers/net/ethernet/sun/
Dniu.c393 u32 tx_cfg, rx_cfg; in serdes_init_niu_10g_fiber() local
396 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_fiber()
407 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_10g_fiber()
413 int err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_10g_fiber()
433 u32 tx_cfg, rx_cfg; in serdes_init_niu_1g_serdes() local
437 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV | in serdes_init_niu_1g_serdes()
452 tx_cfg |= PLL_TX_CFG_ENTEST; in serdes_init_niu_1g_serdes()
481 err = esr2_set_tx_cfg(np, i, tx_cfg); in serdes_init_niu_1g_serdes()
527 u32 tx_cfg, rx_cfg, pll_cfg, pll_sts; in serdes_init_niu_10g_serdes() local
533 tx_cfg = (PLL_TX_CFG_ENTX | PLL_TX_CFG_SWING_1375MV); in serdes_init_niu_10g_serdes()
[all …]
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c2272 struct mwifiex_ds_11n_tx_cfg tx_cfg; in mwifiex_sta_init_cmd() local
2432 tx_cfg.tx_htcap = MWIFIEX_FW_DEF_HTTXCFG; in mwifiex_sta_init_cmd()
2434 HostCmd_ACT_GEN_SET, 0, &tx_cfg, true); in mwifiex_sta_init_cmd()