Home
last modified time | relevance | path

Searched refs:txc (Results 1 – 11 of 11) sorted by relevance

/drivers/hsi/clients/
Dhsi_char.c377 static int hsc_tx_set(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_set() argument
382 if ((txc->mode != HSI_MODE_STREAM) && (txc->mode != HSI_MODE_FRAME)) in hsc_tx_set()
384 if ((txc->channels == 0) || (txc->channels > HSC_DEVS)) in hsc_tx_set()
386 if (txc->channels & (txc->channels - 1)) in hsc_tx_set()
388 if ((txc->arb_mode != HSI_ARB_RR) && (txc->arb_mode != HSI_ARB_PRIO)) in hsc_tx_set()
391 cl->tx_cfg.mode = txc->mode; in hsc_tx_set()
392 cl->tx_cfg.num_hw_channels = txc->channels; in hsc_tx_set()
393 cl->tx_cfg.speed = txc->speed; in hsc_tx_set()
394 cl->tx_cfg.arb_mode = txc->arb_mode; in hsc_tx_set()
404 static inline void hsc_tx_get(struct hsi_client *cl, struct hsc_tx_config *txc) in hsc_tx_get() argument
[all …]
/drivers/net/wireless/ath/carl9170/
Dtx.c520 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_get_queued_skb() local
522 if (txc->s.cookie != cookie) in carl9170_get_queued_skb()
895 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_tx_apply_rateset() local
926 txc->f.phy_control = phy_set; in carl9170_tx_apply_rateset()
936 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset()
941 txc->s.rr[i - 1] = phy_set; in carl9170_tx_apply_rateset()
944 SET_VAL(CARL9170_TX_SUPER_RI_TRIES, txc->s.ri[i], in carl9170_tx_apply_rateset()
948 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_RTS << in carl9170_tx_apply_rateset()
951 txc->s.ri[i] |= (AR9170_TX_MAC_PROT_CTS << in carl9170_tx_apply_rateset()
955 txc->s.ri[i] |= CARL9170_TX_SUPER_RI_AMPDU; in carl9170_tx_apply_rateset()
[all …]
Ddebug.c287 struct _carl9170_tx_superframe *txc = (void *) skb->data; in carl9170_debugfs_format_frame() local
290 struct ieee80211_hdr *hdr = (void *) txc->frame_data; in carl9170_debugfs_format_frame()
293 "pc:%.8x, to:%d ms\n", prefix, skb, txc->s.cookie, in carl9170_debugfs_format_frame()
295 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()
/drivers/spi/
Dspi-oc-tiny.c49 unsigned int txc, rxc; member
119 hw->txc = 0; in tiny_spi_txrx_bufs()
126 hw->txc++; in tiny_spi_txrx_bufs()
129 hw->txc++; in tiny_spi_txrx_bufs()
134 hw->txc++; in tiny_spi_txrx_bufs()
172 if (hw->txc < hw->len) { in tiny_spi_irq()
175 hw->txc++; in tiny_spi_irq()
/drivers/net/can/usb/
Dgs_usb.c352 static void gs_free_tx_context(struct gs_tx_context *txc) in gs_free_tx_context() argument
354 txc->echo_id = GS_MAX_TX_URBS; in gs_free_tx_context()
531 struct gs_tx_context *txc; in gs_usb_receive_bulk_callback() local
604 txc = gs_get_tx_context(dev, hf->echo_id); in gs_usb_receive_bulk_callback()
607 if (!txc) { in gs_usb_receive_bulk_callback()
621 gs_free_tx_context(txc); in gs_usb_receive_bulk_callback()
706 struct gs_tx_context *txc = urb->context; in gs_usb_xmit_callback() local
707 struct gs_can *dev = txc->dev; in gs_usb_xmit_callback()
711 netdev_info(netdev, "usb xmit fail %u\n", txc->echo_id); in gs_usb_xmit_callback()
725 struct gs_tx_context *txc; in gs_can_start_xmit() local
[all …]
/drivers/tty/serial/
Dmen_z135_uart.c297 u32 txc; in men_z135_handle_tx() local
321 txc = (wptr >> 16) & 0x3ff; in men_z135_handle_tx()
324 if (txc > MEN_Z135_FIFO_WATERMARK) in men_z135_handle_tx()
325 txc = MEN_Z135_FIFO_WATERMARK; in men_z135_handle_tx()
327 txfree = MEN_Z135_FIFO_WATERMARK - txc; in men_z135_handle_tx()
460 u16 txc; in men_z135_tx_empty() local
463 txc = (wptr >> 16) & 0x3ff; in men_z135_tx_empty()
465 if (txc == 0) in men_z135_tx_empty()
/drivers/staging/axis-fifo/
Daxis-fifo.txt24 - xlnx,axi-str-txc-protocol: Should be "XIL_AXI_STREAM_ETH_CTRL"
25 - xlnx,axi-str-txc-tdata-width: Should be <0x20>
66 xlnx,axi-str-txc-protocol = "XIL_AXI_STREAM_ETH_CTRL";
67 xlnx,axi-str-txc-tdata-width = <0x20>;
/drivers/net/dsa/sja1105/
Dsja1105_clocking.c342 struct sja1105_cgu_mii_ctrl txc; in sja1105_cgu_rgmii_tx_clk_config() local
358 txc.clksrc = clksrc; in sja1105_cgu_rgmii_tx_clk_config()
360 txc.autoblock = 1; in sja1105_cgu_rgmii_tx_clk_config()
362 txc.pd = 0; in sja1105_cgu_rgmii_tx_clk_config()
363 sja1105_cgu_mii_control_packing(packed_buf, &txc, PACK); in sja1105_cgu_rgmii_tx_clk_config()
/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c849 u16 rxc, txc; in qede_set_coalesce() local
879 txc = (u16)coal->tx_coalesce_usecs; in qede_set_coalesce()
906 0, txc, in qede_set_coalesce()
913 edev->coal_entry[i].txc = txc; in qede_set_coalesce()
2155 u16 rxc, txc; in qede_set_per_coalesce() local
2169 txc = (u16)coal->tx_coalesce_usecs; in qede_set_per_coalesce()
2200 0, txc, in qede_set_per_coalesce()
2207 edev->coal_entry[queue].txc = txc; in qede_set_per_coalesce()
Dqede.h165 u16 txc; member
Dqede_main.c2526 coal.tx_coalesce_usecs = edev->coal_entry[i].txc; in qede_load()