| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | xilinx_can.c | 202 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 D | sysfs-class-net-cdc_ncm | 7 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 D | cdc_ncm.c | 218 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 D | tegra210_admaif.c | 90 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 D | designware_spi.c | 260 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 D | cdc_ncm.h | 128 u32 tx_max; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_sdio.c | 296 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 D | rt2x00mac.c | 800 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 D | rt2x00.h | 1482 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/ |
| H A D | mac80211-ops.c | 740 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 D | dhd_sdio.c | 313 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 D | dhd_sdio.c | 312 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 D | trace.h | 1291 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 D | driver-ops.h | 725 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 D | spi-dw-core.c | 112 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 D | dhd_sdio.c | 304 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 D | dhd_sdio.c | 319 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 D | dhd_sdio.c | 304 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 D | sdio.c | 454 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 D | trace.h | 1639 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 D | chcr_ktls.c | 2003 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 D | ionic_lif.c | 2036 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 D | mac80211.h | 4075 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | t4fw_api.h | 612 __be32 tx_max; member
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/ |
| H A D | cm.c | 1985 req->tcb.tx_max = (__force __be32) jiffies; in send_fw_act_open_req()
|