Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A 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()
H A Dsxgbe_mtl.h75 int tx_mode);
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A 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 …]
/openbmc/qemu/hw/net/
H A Dallwinner_emac.c234 s->tx_mode = 0; in aw_emac_reset()
258 return s->tx_mode; in aw_emac_read()
334 s->tx_mode = value; in aw_emac_write()
501 VMSTATE_UINT32(tx_mode, AwEmacState),
/openbmc/linux/drivers/usb/musb/
H A Dmusb_dsps.c55 u16 tx_mode; member
94 u32 tx_mode; member
938 .tx_mode = 0x70,
993 glue->context.tx_mode = musb_readl(mbase, wrp->tx_mode); in dsps_suspend()
1019 musb_writel(mbase, wrp->tx_mode, glue->context.tx_mode); in dsps_resume()
H A 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()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A 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()
697 mt76x0_phy_get_delta_power(struct mt76x02_dev *dev, u8 tx_mode, in mt76x0_phy_get_delta_power() argument
747 if (!tx_mode) { in mt76x0_phy_get_delta_power()
827 u8 tssi_info[3], tx_mode; in mt76x0_phy_tssi_calibrate() local
834 tx_mode = tssi_info[0] & 0x7; in mt76x0_phy_tssi_calibrate()
835 if (mt76x0_phy_get_target_power(dev, tx_mode, tssi_info, in mt76x0_phy_tssi_calibrate()
839 val = mt76x0_phy_get_delta_power(dev, tx_mode, target_power, in mt76x0_phy_tssi_calibrate()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmac80211.c1778 data[ei++] += stats->tx_mode[MT_PHY_TYPE_CCK]; in mt76_ethtool_worker()
1779 data[ei++] += stats->tx_mode[MT_PHY_TYPE_OFDM]; in mt76_ethtool_worker()
1780 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HT]; in mt76_ethtool_worker()
1781 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HT_GF]; in mt76_ethtool_worker()
1782 data[ei++] += stats->tx_mode[MT_PHY_TYPE_VHT]; in mt76_ethtool_worker()
1783 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_SU]; in mt76_ethtool_worker()
1784 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_EXT_SU]; in mt76_ethtool_worker()
1785 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_TB]; in mt76_ethtool_worker()
1786 data[ei++] += stats->tx_mode[MT_PHY_TYPE_HE_MU]; in mt76_ethtool_worker()
1788 data[ei++] += stats->tx_mode[MT_PHY_TYPE_EHT_SU]; in mt76_ethtool_worker()
[all …]
/openbmc/qemu/include/hw/net/
H A Dallwinner_emac.h161 uint32_t tx_mode; member
/openbmc/linux/include/media/
H A Dv4l2-vp9.h216 u8 reference_mode, u8 interpolation_filter, u8 tx_mode,
/openbmc/linux/drivers/net/ethernet/adaptec/
H A 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()
/openbmc/linux/include/linux/greybus/
H A Dsvc.h89 u8 tx_mode, u8 tx_gear, u8 tx_nlanes,
/openbmc/u-boot/drivers/net/
H A Dsunxi_emac.c21 u32 tx_mode; /* 0x04 */ member
287 writel(EMAC_TX_SETUP, &regs->tx_mode); in emac_setup()
H A Dpch_gbe.h245 u32 tx_mode; member
/openbmc/linux/drivers/staging/media/rkvdec/
H A Drkvdec-vp9.c149 u32 tx_mode : 3; member
596 writel_relaxed(RKVDEC_VP9_TX_MODE(vp9_ctx->cur.tx_mode) | in config_registers()
756 vp9_ctx->cur.tx_mode = prob_updates->tx_mode; in rkvdec_vp9_run_preamble()
915 vp9_ctx->cur.tx_mode, vp9_ctx->cur.flags); in rkvdec_vp9_done()
/openbmc/linux/drivers/media/v4l2-core/
H A 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()
/openbmc/linux/drivers/tty/serial/
H A Dsamsung_tty.c143 unsigned int tx_mode; member
324 ourport->tx_mode = 0; in s3c24xx_serial_stop_tx()
384 ourport->tx_mode = S3C24XX_TX_DMA; in enable_tx_dma()
418 ourport->tx_mode = S3C24XX_TX_PIO; in enable_tx_pio()
430 if (ourport->tx_mode != S3C24XX_TX_PIO) in s3c24xx_serial_start_tx_pio()
441 if (ourport->tx_mode != S3C24XX_TX_DMA) in s3c24xx_serial_start_tx_dma()
1176 ourport->tx_mode = 0; in s3c24xx_serial_shutdown()
1196 ourport->tx_mode = 0; in s3c64xx_serial_shutdown()
1227 ourport->tx_mode = 0; in apple_s5l_serial_shutdown()
/openbmc/linux/drivers/greybus/
H A Dsvc.c552 u8 tx_mode, u8 tx_gear, u8 tx_nlanes, in gb_svc_intf_set_power_mode() argument
568 request.tx_mode = tx_mode; in gb_svc_intf_set_power_mode()
610 request.tx_mode = GB_SVC_UNIPRO_HIBERNATE_MODE; in gb_svc_intf_set_power_mode_hibernate()
/openbmc/linux/sound/soc/codecs/
H A Dwcd938x.c193 u32 tx_mode[TX_ADC_MAX]; member
1129 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC1]]; in wcd938x_tx_swr_ctrl()
1131 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC2]]; in wcd938x_tx_swr_ctrl()
1133 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC3]]; in wcd938x_tx_swr_ctrl()
1135 mode |= tx_mode_bit[wcd938x->tx_mode[WCD_ADC4]]; in wcd938x_tx_swr_ctrl()
1267 mode = wcd938x_get_adc_mode(wcd938x->tx_mode[w->shift]); in wcd938x_adc_enable_req()
1513 ucontrol->value.enumerated.item[0] = wcd938x->tx_mode[path]; in wcd938x_tx_mode_get()
1526 if (wcd938x->tx_mode[path] == ucontrol->value.enumerated.item[0]) in wcd938x_tx_mode_put()
1529 wcd938x->tx_mode[path] = ucontrol->value.enumerated.item[0]; in wcd938x_tx_mode_put()
/openbmc/linux/drivers/media/platform/verisilicon/
H A 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()
H A Dhantro_hw.h194 u32 tx_mode : 3; member
/openbmc/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-vp9.h147 __print_symbolic(__entry->h.tx_mode,
/openbmc/linux/drivers/staging/ks7010/
H A Dks_wlan.h232 u8 tx_mode; member
/openbmc/linux/drivers/net/fddi/
H A Ddefza.h421 u32 tx_mode; /* transmit mode */ member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.h395 u8 tx_mode; member

123