Home
last modified time | relevance | path

Searched refs:tx_mode (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v6.1/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mtl.c178 int tx_mode) in sxgbe_set_tx_mtl_mode() argument
184 if (tx_mode == SXGBE_MTL_SFMODE) { in sxgbe_set_tx_mtl_mode()
188 if (tx_mode <= 64) in sxgbe_set_tx_mtl_mode()
190 else if (tx_mode <= 96) in sxgbe_set_tx_mtl_mode()
192 else if (tx_mode <= 128) in sxgbe_set_tx_mtl_mode()
194 else if (tx_mode <= 192) in sxgbe_set_tx_mtl_mode()
196 else if (tx_mode <= 256) in sxgbe_set_tx_mtl_mode()
198 else if (tx_mode <= 384) in sxgbe_set_tx_mtl_mode()
Dsxgbe_mtl.h75 int tx_mode);
/Linux-v6.1/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c73 int tx_mode = 0; in ionic_lif_hwstamp_set_ts_config() local
100 tx_mode = ionic_hwstamp_tx_mode(config->tx_type); in ionic_lif_hwstamp_set_ts_config()
101 if (tx_mode < 0) { in ionic_lif_hwstamp_set_ts_config()
102 err = tx_mode; in ionic_lif_hwstamp_set_ts_config()
106 mask = cpu_to_le64(BIT_ULL(tx_mode)); in ionic_lif_hwstamp_set_ts_config()
125 if (tx_mode) { in ionic_lif_hwstamp_set_ts_config()
137 if (tx_mode != lif->phc->ts_config_tx_mode) { in ionic_lif_hwstamp_set_ts_config()
138 err = ionic_lif_set_hwstamp_txmode(lif, tx_mode); in ionic_lif_hwstamp_set_ts_config()
157 lif->phc->ts_config_tx_mode = tx_mode; in ionic_lif_hwstamp_set_ts_config()
172 if (tx_mode != lif->phc->ts_config_tx_mode) { in ionic_lif_hwstamp_set_ts_config()
[all …]
/Linux-v6.1/drivers/usb/musb/
Dmusb_dsps.c57 u16 tx_mode; member
96 u32 tx_mode; member
942 .tx_mode = 0x70,
997 glue->context.tx_mode = musb_readl(mbase, wrp->tx_mode); in dsps_suspend()
1023 musb_writel(mbase, wrp->tx_mode, glue->context.tx_mode); in dsps_resume()
Dmusb_cppi41.c43 u32 tx_mode; member
349 old_mode = controller->tx_mode; in cppi41_set_dma_mode()
358 controller->tx_mode = new_mode; in cppi41_set_dma_mode()
376 old_mode = controller->tx_mode; in da8xx_set_dma_mode()
387 controller->tx_mode = new_mode; in da8xx_set_dma_mode()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c587 mt76x0_phy_get_target_power(struct mt76x02_dev *dev, u8 tx_mode, in mt76x0_phy_get_target_power() argument
594 switch (tx_mode) { in mt76x0_phy_get_target_power()
695 mt76x0_phy_get_delta_power(struct mt76x02_dev *dev, u8 tx_mode, in mt76x0_phy_get_delta_power() argument
745 if (!tx_mode) { in mt76x0_phy_get_delta_power()
825 u8 tssi_info[3], tx_mode; in mt76x0_phy_tssi_calibrate() local
832 tx_mode = tssi_info[0] & 0x7; in mt76x0_phy_tssi_calibrate()
833 if (mt76x0_phy_get_target_power(dev, tx_mode, tssi_info, in mt76x0_phy_tssi_calibrate()
837 val = mt76x0_phy_get_delta_power(dev, tx_mode, target_power, in mt76x0_phy_tssi_calibrate()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dmac80211.c1643 data[ei++] += stats->tx_mode[MT_PHY_TYPE_CCK]; in mt76_ethtool_worker()
1644 data[ei++] += stats->tx_mode[MT_PHY_TYPE_OFDM]; in mt76_ethtool_worker()
1645 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HT]; in mt76_ethtool_worker()
1646 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HT_GF]; in mt76_ethtool_worker()
1647 data[ei++] += stats->tx_mode[MT_PHY_TYPE_VHT]; in mt76_ethtool_worker()
1648 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_SU]; in mt76_ethtool_worker()
1649 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_EXT_SU]; in mt76_ethtool_worker()
1650 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_TB]; in mt76_ethtool_worker()
1651 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_MU]; in mt76_ethtool_worker()
/Linux-v6.1/include/media/
Dv4l2-vp9.h216 u8 reference_mode, u8 interpolation_filter, u8 tx_mode,
/Linux-v6.1/drivers/net/ethernet/adaptec/
Dstarfire.c556 u32 tx_mode; member
969 np->tx_mode = TxFlowEnable|RxFlowEnable|PadEnable; /* modified when link is up. */ in netdev_open()
970 writel(MiiSoftReset | np->tx_mode, ioaddr + TxMode); in netdev_open()
972 writel(np->tx_mode, ioaddr + TxMode); in netdev_open()
1667 new_tx_mode = np->tx_mode & ~FullDuplex; /* duplex setting */ in netdev_media_change()
1670 if (np->tx_mode != new_tx_mode) { in netdev_media_change()
1671 np->tx_mode = new_tx_mode; in netdev_media_change()
1672 writel(np->tx_mode | MiiSoftReset, ioaddr + TxMode); in netdev_media_change()
1674 writel(np->tx_mode, ioaddr + TxMode); in netdev_media_change()
/Linux-v6.1/drivers/staging/media/rkvdec/
Drkvdec-vp9.c147 u32 tx_mode : 3; member
595 writel_relaxed(RKVDEC_VP9_TX_MODE(vp9_ctx->cur.tx_mode) | in config_registers()
755 vp9_ctx->cur.tx_mode = prob_updates->tx_mode; in rkvdec_vp9_run_preamble()
914 vp9_ctx->cur.tx_mode, vp9_ctx->cur.flags); in rkvdec_vp9_done()
/Linux-v6.1/include/linux/greybus/
Dsvc.h89 u8 tx_mode, u8 tx_gear, u8 tx_nlanes,
/Linux-v6.1/drivers/media/v4l2-core/
Dv4l2-vp9.c1234 if (deltas->tx_mode == i) in update_coef_probs()
1419 if (deltas->tx_mode == V4L2_VP9_TX_MODE_SELECT) in v4l2_vp9_fw_update_probs()
1761 u8 reference_mode, u8 interpolation_filter, u8 tx_mode, in v4l2_vp9_adapt_noncoef_probs() argument
1800 if (tx_mode == V4L2_VP9_TX_MODE_SELECT) in v4l2_vp9_adapt_noncoef_probs()
/Linux-v6.1/drivers/tty/serial/
Dsamsung_tty.c142 unsigned int tx_mode; member
329 ourport->tx_mode = 0; in s3c24xx_serial_stop_tx()
390 ourport->tx_mode = S3C24XX_TX_DMA; in enable_tx_dma()
424 ourport->tx_mode = S3C24XX_TX_PIO; in enable_tx_pio()
436 if (ourport->tx_mode != S3C24XX_TX_PIO) in s3c24xx_serial_start_tx_pio()
447 if (ourport->tx_mode != S3C24XX_TX_DMA) in s3c24xx_serial_start_tx_dma()
1183 ourport->tx_mode = 0; in s3c24xx_serial_shutdown()
1203 ourport->tx_mode = 0; in s3c64xx_serial_shutdown()
1234 ourport->tx_mode = 0; in apple_s5l_serial_shutdown()
Ducc_uart.c134 u8 tx_mode; /* 0xC5, mode, 0=AHDLC, 1=UART */ member
725 &uccup->tx_mode); in qe_uart_init_ucc()
/Linux-v6.1/drivers/greybus/
Dsvc.c551 u8 tx_mode, u8 tx_gear, u8 tx_nlanes, in gb_svc_intf_set_power_mode() argument
567 request.tx_mode = tx_mode; in gb_svc_intf_set_power_mode()
609 request.tx_mode = GB_SVC_UNIPRO_HIBERNATE_MODE; in gb_svc_intf_set_power_mode_hibernate()
/Linux-v6.1/drivers/media/platform/verisilicon/
Dhantro_hw.h189 u32 tx_mode : 3; member
Dhantro_g2_vp9_dec.c48 vp9_ctx->cur.tx_mode = prob_updates->tx_mode; in start_prepare_run()
569 hantro_reg_write(ctx->dev, &vp9_transform_mode, vp9_ctx->cur.tx_mode); in config_others()
1006 vp9_ctx->cur.tx_mode, vp9_ctx->cur.flags); in hantro_g2_vp9_dec_done()
/Linux-v6.1/sound/soc/codecs/
Dwcd938x.c193 u32 tx_mode[TX_ADC_MAX]; member
2124 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC1]]; in wcd938x_tx_swr_ctrl()
2126 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC2]]; in wcd938x_tx_swr_ctrl()
2128 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC3]]; in wcd938x_tx_swr_ctrl()
2130 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC4]]; in wcd938x_tx_swr_ctrl()
2262 mode = wcd938x_get_adc_mode(wcd938x->tx_mode[w->shift]); in wcd938x_adc_enable_req()
2508 ucontrol->value.enumerated.item[0] = wcd938x->tx_mode[path]; in wcd938x_tx_mode_get()
2521 if (wcd938x->tx_mode[path] == ucontrol->value.enumerated.item[0]) in wcd938x_tx_mode_put()
2524 wcd938x->tx_mode[path] = ucontrol->value.enumerated.item[0]; in wcd938x_tx_mode_put()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.h374 u8 tx_mode; member
/Linux-v6.1/drivers/staging/ks7010/
Dks_wlan.h232 u8 tx_mode; member
/Linux-v6.1/drivers/net/fddi/
Ddefza.h421 u32 tx_mode; /* transmit mode */ member
Ddefza.c312 writel_u(FZA_RING_TX_MODE, &buf->init.tx_mode); in fza_cmd_send()
1419 pr_debug(" tx_mode: %u\n", readl_u(&init->tx_mode)); in fza_probe()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h746 enum dim_cq_period_mode tx_mode,
Dhns3_ethtool.c1564 enum dim_cq_period_mode tx_mode; in hns3_set_coalesce() local
1591 tx_mode = kernel_coal->use_cqe_mode_tx ? in hns3_set_coalesce()
1597 hns3_cq_period_mode_init(priv, tx_mode, rx_mode); in hns3_set_coalesce()
/Linux-v6.1/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c757 u32 tx_mode, tcpip; in pch_gbe_setup_tctl() local
759 tx_mode = PCH_GBE_TM_LONG_PKT | in pch_gbe_setup_tctl()
765 iowrite32(tx_mode, &hw->reg->TX_MODE); in pch_gbe_setup_tctl()

12