Lines Matching refs:txb
122 __le16 txb[2]; in ks8851_wrreg16_spi() local
125 txb[0] = cpu_to_le16(MK_OP(reg & 2 ? 0xC : 0x03, reg) | KS_SPIOP_WR); in ks8851_wrreg16_spi()
126 txb[1] = cpu_to_le16(val); in ks8851_wrreg16_spi()
128 xfer->tx_buf = txb; in ks8851_wrreg16_spi()
153 __le16 *txb = (__le16 *)ks->txd; in ks8851_rdreg() local
157 txb[0] = cpu_to_le16(op | KS_SPIOP_RD); in ks8851_rdreg()
163 xfer->tx_buf = txb; in ks8851_rdreg()
175 xfer->tx_buf = txb; in ks8851_rdreg()
218 u8 txb[1]; in ks8851_rdfifo_spi() local
225 txb[0] = KS_SPIOP_RXFIFO; in ks8851_rdfifo_spi()
227 xfer->tx_buf = txb; in ks8851_rdfifo_spi()
271 ks->txh.txb[1] = KS_SPIOP_TXFIFO; in ks8851_wrfifo_spi()
275 xfer->tx_buf = &ks->txh.txb[1]; in ks8851_wrfifo_spi()
311 struct sk_buff *txb; in ks8851_tx_work() local
321 txb = skb_dequeue(&ks->txq); in ks8851_tx_work()
324 if (txb) { in ks8851_tx_work()
327 ks8851_wrfifo_spi(ks, txb, last); in ks8851_tx_work()
331 ks8851_done_tx(ks, txb); in ks8851_tx_work()