Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dxilinx_can.c202 unsigned int tx_max; member
595 can_put_echo_skb(skb, ndev, priv->tx_head % priv->tx_max); in xcan_write_frame()
657 if (priv->tx_max > 1) in xcan_start_xmit_fifo()
661 if ((priv->tx_head - priv->tx_tail) == priv->tx_max) in xcan_start_xmit_fifo()
1265 WARN_ON(frames_in_fifo > priv->tx_max); in xcan_tx_interrupt()
1295 priv->tx_max); in xcan_tx_interrupt()
1674 int rx_max, tx_max; in xcan_probe() local
1728 tx_max = min(hw_tx_max, 2U); in xcan_probe()
1730 tx_max = 1; in xcan_probe()
1735 ndev = alloc_candev(sizeof(struct xcan_priv), tx_max); in xcan_probe()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-net-cdc_ncm7 than this to tx_max, allowing the device to receive
8 tx_max sized frames with no terminating short
13 Padding to tx_max allows the driver to transmit NTBs
19 Set to 0 to pad all frames. Set greater than tx_max to
57 What: /sys/class/net/<iface>/cdc_ncm/tx_max
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dcdc_ncm.c218 return sprintf(buf, "%u\n", ctx->tx_max); in cdc_ncm_show_tx_max()
252 cdc_ncm_update_rxtx_max(dev, val, ctx->tx_max); in cdc_ncm_store_rx_max()
292 static DEVICE_ATTR(tx_max, 0644, cdc_ncm_show_tx_max, cdc_ncm_store_tx_max);
421 if (val != ctx->tx_max) in cdc_ncm_update_rxtx_max()
436 if (netif_running(dev->net) && val > ctx->tx_max) { in cdc_ncm_update_rxtx_max()
444 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
447 ctx->tx_max = val; in cdc_ncm_update_rxtx_max()
450 dev->hard_mtu = ctx->tx_max; in cdc_ncm_update_rxtx_max()
456 ctx->min_tx_pkt = clamp_t(u16, ctx->tx_max - 3 * usb_maxpacket(dev->udev, dev->out, 1), in cdc_ncm_update_rxtx_max()
457 CDC_NCM_MIN_TX_PKT, ctx->tx_max); in cdc_ncm_update_rxtx_max()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/tegra/
H A Dtegra210_admaif.c90 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_wr_reg() local
99 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_wr_reg()
124 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_rd_reg() local
135 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_rd_reg()
168 unsigned int tx_max = tx_base + (num_ch * ch_stride); in tegra_admaif_volatile_reg() local
177 } else if ((reg >= tx_base) && (reg < tx_max)) { in tegra_admaif_volatile_reg()
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Ddesignware_spi.c260 static inline u32 tx_max(struct dw_spi_priv *priv) in tx_max() function
291 u32 max = tx_max(priv); in dw_writer()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dcdc_ncm.h128 u32 tx_max; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_sdio.c296 uint8 tx_max; /* Maximum transmit sequence allowed */ member
571 return (((uint8)(bus->tx_max - bus->tx_seq) - bus->dhd->conf->tx_max_offset > 1) && \ in dhdsdio_is_dataok()
572 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0)); in dhdsdio_is_dataok()
577 return ((uint8)(bus->tx_max - bus->tx_seq) - 1 - bus->dhd->conf->tx_max_offset); in dhdsdio_get_databufcnt()
586 (((uint8)(bus->tx_max - bus->tx_seq) > 1) && \
587 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
592 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
593 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
600 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
3143 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mac.c800 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in rt2x00mac_get_ringparam() argument
807 *tx_max += queue->limit; in rt2x00mac_get_ringparam()
H A Drt2x00.h1482 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/
H A Dmac80211-ops.c740 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in ath5k_get_ringparam() argument
746 *tx_max = ATH5K_TXQ_LEN_MAX; in ath5k_get_ringparam()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_sdio.c313 uint8 tx_max; /* Maximum transmit sequence allowed */ member
653 return (((uint8)(bus->tx_max - bus->tx_seq) - bus->dhd->conf->tx_max_offset > 1) && \ in dhdsdio_is_dataok()
654 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0)); in dhdsdio_is_dataok()
659 return ((uint8)(bus->tx_max - bus->tx_seq) - 1 - bus->dhd->conf->tx_max_offset); in dhdsdio_get_databufcnt()
668 (((uint8)(bus->tx_max - bus->tx_seq) > 1) && \
669 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
674 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
675 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
682 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
3180 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_sdio.c312 uint8 tx_max; /* Maximum transmit sequence allowed */ member
652 return (((uint8)(bus->tx_max - bus->tx_seq) - bus->dhd->conf->tx_max_offset > 1) && \ in dhdsdio_is_dataok()
653 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0)); in dhdsdio_is_dataok()
658 return ((uint8)(bus->tx_max - bus->tx_seq) - 1 - bus->dhd->conf->tx_max_offset); in dhdsdio_get_databufcnt()
667 (((uint8)(bus->tx_max - bus->tx_seq) > 1) && \
668 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
673 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
674 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
681 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
3169 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dtrace.h1291 TP_PROTO(struct ieee80211_local *local, u32 *tx, u32 *tx_max,
1294 TP_ARGS(local, tx, tx_max, rx, rx_max),
1299 __field(u32, tx_max)
1307 __entry->tx_max = *tx_max;
1315 __entry->tx, __entry->tx_max, __entry->rx, __entry->rx_max
H A Ddriver-ops.h725 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) in drv_get_ringparam() argument
729 trace_drv_get_ringparam(local, tx, tx_max, rx, rx_max); in drv_get_ringparam()
731 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-dw-core.c112 static inline u32 tx_max(struct dw_spi *dws) in tx_max() function
139 u32 max = tx_max(dws); in dw_writer()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_sdio.c304 uint8 tx_max; /* Maximum transmit sequence allowed */ member
601 (((uint8)(bus->tx_max - bus->tx_seq) > TXCTL_CREDITS) && \
602 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
606 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
607 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
611 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
2836 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
2862 __FUNCTION__, bus->tx_max, bus->tx_seq, bus->clkstate)); in dhd_bus_txctl()
3184 bus->fcstate, pktq_n_pkts_tot(&bus->txq), bus->tx_seq, bus->tx_max, bus->rxskip, in dhd_bus_dump()
5537 bus->tx_max = 4; in dhd_bus_stop()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_sdio.c319 uint8 tx_max; /* Maximum transmit sequence allowed */ member
615 (((uint8)(bus->tx_max - bus->tx_seq) > TXCTL_CREDITS) && \
616 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
620 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
621 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
625 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
2893 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
2919 __FUNCTION__, bus->tx_max, bus->tx_seq, bus->clkstate)); in dhd_bus_txctl()
3235 bus->fcstate, pktq_n_pkts_tot(&bus->txq), bus->tx_seq, bus->tx_max, bus->rxskip, in dhd_bus_dump()
5597 bus->tx_max = 4; in dhd_bus_stop()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_sdio.c304 uint8 tx_max; /* Maximum transmit sequence allowed */ member
597 (((uint8)(bus->tx_max - bus->tx_seq) > TXCTL_CREDITS) && \
598 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
602 (((uint8)(bus->tx_max - bus->tx_seq) != 0) && \
603 (((uint8)(bus->tx_max - bus->tx_seq) & 0x80) == 0))
607 ((uint8)(bus->tx_max - bus->tx_seq) - 1)
2832 __FUNCTION__, bus->tx_max, bus->tx_seq)); in dhd_bus_txctl()
2858 __FUNCTION__, bus->tx_max, bus->tx_seq, bus->clkstate)); in dhd_bus_txctl()
3180 bus->fcstate, pktq_n_pkts_tot(&bus->txq), bus->tx_seq, bus->tx_max, bus->rxskip, in dhd_bus_dump()
5533 bus->tx_max = 4; in dhd_bus_stop()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c454 u8 tx_max; /* Maximum transmit sequence allowed */ member
673 return (bus->tx_max - bus->tx_seq - tx_rsv) != 0 && in data_ok()
674 ((bus->tx_max - bus->tx_seq - tx_rsv) & 0x80) == 0; in data_ok()
681 return (bus->tx_max - bus->tx_seq) != 0 && in txctl_ok()
682 ((bus->tx_max - bus->tx_seq) & 0x80) == 0; in txctl_ok()
1464 bus->tx_max = tx_seq_max; in brcmf_sdio_hdparse()
2337 pkt_num = min_t(u8, bus->tx_max - bus->tx_seq, in brcmf_sdio_sendfromq()
/OK3568_Linux_fs/kernel/net/wireless/
H A Dtrace.h1639 TP_PROTO(struct wiphy *wiphy, u32 tx, u32 tx_max,
1641 TP_ARGS(wiphy, tx, tx_max, rx, rx_max),
1645 __field(u32, tx_max)
1652 __entry->tx_max = tx_max;
1657 WIPHY_PR_ARG, __entry->tx, __entry->tx_max, __entry->rx,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c2003 u32 tx_max = tcp_seq; in chcr_ktls_xmit() local
2007 tx_max = record->end_seq - in chcr_ktls_xmit()
2010 ret = chcr_ktls_xmit_tcb_cpls(tx_info, q, tx_max, in chcr_ktls_xmit()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c2036 int tx_min, int tx_max) in ionic_set_vf_rate() argument
2055 IONIC_VF_ATTR_RATE, (u8 *)&tx_max); in ionic_set_vf_rate()
2057 lif->ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
/OK3568_Linux_fs/kernel/include/net/
H A Dmac80211.h4075 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4fw_api.h612 __be32 tx_max; member
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/
H A Dcm.c1985 req->tcb.tx_max = (__force __be32) jiffies; in send_fw_act_open_req()