/drivers/dma/ |
H A D | dmaengine.h | 23 * @tx: descriptor needing cookie 28 static inline dma_cookie_t dma_cookie_assign(struct dma_async_tx_descriptor *tx) argument 30 struct dma_chan *chan = tx->chan; 36 tx->cookie = chan->cookie = cookie; 43 * @tx: descriptor to complete 51 static inline void dma_cookie_complete(struct dma_async_tx_descriptor *tx) argument 53 BUG_ON(tx->cookie < DMA_MIN_COOKIE); 54 tx->chan->completed_cookie = tx->cookie; 55 tx [all...] |
H A D | virt-dma.c | 17 static struct virt_dma_desc *to_virt_desc(struct dma_async_tx_descriptor *tx) argument 19 return container_of(tx, struct virt_dma_desc, tx); 22 dma_cookie_t vchan_tx_submit(struct dma_async_tx_descriptor *tx) argument 24 struct virt_dma_chan *vc = to_virt_chan(tx->chan); 25 struct virt_dma_desc *vd = to_virt_desc(tx); 30 cookie = dma_cookie_assign(tx); 48 if (vd->tx.cookie == cookie) 72 cb = vd->tx.callback; 73 cb_data = vd->tx [all...] |
H A D | virt-dma.h | 19 struct dma_async_tx_descriptor tx; member in struct:virt_dma_desc 59 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); 60 vd->tx.flags = tx_flags; 61 vd->tx.tx_submit = vchan_tx_submit; 63 return &vd->tx; 86 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); 89 cookie = vd->tx.cookie; 90 dma_cookie_complete(&vd->tx); 104 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan);
|
/drivers/gpu/drm/nouveau/core/subdev/i2c/ |
H A D | nve0.c | 28 nve0_aux_stat(struct nouveau_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) argument 32 for (i = 0, *hi = *lo = *rq = *tx = 0; i < 8; i++) { 36 if ((stat & (8 << (i * 4)))) *tx |= 1 << i;
|
H A D | nv94.c | 28 nv94_aux_stat(struct nouveau_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) argument 32 for (i = 0, *hi = *lo = *rq = *tx = 0; i < 8; i++) { 36 if ((stat & (8 << (i * 4)))) *tx |= 1 << i; 155 AUX_ERR("tx req timeout 0x%08x\n", ctrl);
|
/drivers/iio/imu/ |
H A D | adis16400_buffer.c | 21 uint16_t *tx; local 38 tx = adis->buffer + indio_dev->scan_bytes; 40 tx[0] = ADIS_READ_REG(ADIS16400_GLOB_CMD); 41 tx[1] = 0; 43 adis->xfer[0].tx_buf = tx; 46 adis->xfer[1].tx_buf = tx;
|
H A D | adis_buffer.c | 30 __be16 *tx, *rx; local 46 tx = rx + indio_dev->scan_bytes; 57 adis->xfer[j].tx_buf = &tx[j]; 68 *tx++ = cpu_to_be16((chan->address + 2) << 8); 69 *tx++ = cpu_to_be16(chan->address << 8); 89 adis->tx[0] = ADIS_WRITE_REG(ADIS_REG_PAGE_ID); 90 adis->tx[1] = 0; 91 spi_write(adis->spi, adis->tx, 2);
|
/drivers/ipack/devices/ |
H A D | ipoctal.h | 26 * @tx: Number of transmitted bytes 34 unsigned long tx; member in struct:ipoctal_stats
|
/drivers/net/wireless/ath/ |
H A D | hw.c | 144 u32 cycles, busy, rx, tx; local 154 tx = REG_READ(ah, AR_TFCNT); 169 common->cc_ani.tx_frame += tx; 174 common->cc_survey.tx_frame += tx;
|
/drivers/iio/gyro/ |
H A D | itg3200_buffer.c | 28 u8 tx = 0x80 | ITG3200_REG_TEMP_OUT_H; local 34 .buf = &tx,
|
H A D | adxrs450.c | 70 * @buf_lock: mutex to protect tx and rx 71 * @tx: transmit buffer 77 __be32 tx ____cacheline_aligned; 94 u32 tx; local 98 .tx_buf = &st->tx, 100 .len = sizeof(st->tx), 110 tx = ADXRS450_READ_DATA | (reg_address << 17); 112 if (!(hweight32(tx) & 1)) 113 tx |= ADXRS450_P; 115 st->tx 142 u32 tx; local 209 u32 tx; local [all...] |
/drivers/staging/gdm72xx/ |
H A D | gdm_sdio.h | 58 struct tx_cxt tx; member in struct:sdiowm_dev
|
H A D | gdm_usb.h | 73 struct tx_cxt tx; member in struct:usbwm_dev
|
/drivers/media/radio/wl128x/ |
H A D | fmdrv_tx.c | 224 fmdbg("tx: mute mode %d\n", mute_mode_toset); 238 struct fmtx_data *tx = &fmdev->tx_data; local 243 payload = tx->audio_io; 256 struct fmtx_data *tx = &fmdev->tx_data; local 286 tx->xmit_state = new_xmit_state; 295 struct fmtx_data *tx = &fmdev->tx_data; local 300 fmdbg("tx: pwr_level_to_set %ld\n", (long int)new_pwr_lvl); 304 tx->pwr_lvl = new_pwr_lvl; 322 tx->pwr_lvl = new_pwr_lvl; 333 struct fmtx_data *tx local 385 struct fmtx_data *tx = &fmdev->tx_data; local [all...] |
/drivers/misc/echo/ |
H A D | echo.c | 347 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) argument 355 * Input scaling was found be required to prevent problems when tx 360 ec->tx = tx; 362 tx >>= 1; 418 new = (int)tx * (int)tx; 429 ec->ltxacc += abs(tx) - ec->ltx; 437 echo_value = fir16(&ec->fir_state, tx); 444 echo_value = fir16(&ec->fir_state_bg, tx); 639 oslec_hpf_tx(struct oslec_state *ec, int16_t tx) argument [all...] |
/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_stats.h | 66 struct vnic_tx_stats tx; member in struct:vnic_stats
|
/drivers/net/fddi/skfp/ |
H A D | rmt.c | 323 int tx ; local 329 if ((tx = sm_mac_get_tx_state(smc)) == 4 || tx == 5) { 349 tx,smc->r.bn_flag) ; 402 int tx ; local 408 if ((tx = sm_mac_get_tx_state(smc)) == 4 || tx == 5) { 428 tx,smc->r.bn_flag) ;
|
/drivers/net/wireless/cw1200/ |
H A D | debug.h | 17 int tx; member in struct:cw1200_debug_priv 38 ++priv->debug->tx;
|
/drivers/net/wireless/hostap/ |
H A D | hostap_80211_tx.c | 388 struct hostap_tx_data tx; local 397 tx.skb = skb; 398 tx.sta_ptr = NULL; 413 tx.crypt = local->crypt_info.crypt[local->crypt_info.tx_keyidx]; 414 tx.host_encrypt = 1; 416 tx.crypt = NULL; 417 tx.host_encrypt = 0; 432 tx_ret = hostap_handle_sta_tx(local, &tx); 433 skb = tx.skb; 482 tx [all...] |
/drivers/net/wireless/iwlegacy/ |
H A D | 3945-debug.c | 325 struct iwl39_stats_tx *tx, *accum_tx, *delta_tx, *max_tx; local 341 tx = &il->_3945.stats.tx; 342 accum_tx = &il->_3945.accum_stats.tx; 343 delta_tx = &il->_3945.delta_stats.tx; 344 max_tx = &il->_3945.max_delta.tx; 354 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, 359 le32_to_cpu(tx->rx_detected_cnt), 365 le32_to_cpu(tx->bt_prio_defer_cnt), 371 le32_to_cpu(tx [all...] |
/drivers/rtc/ |
H A D | rtc-mcp795.c | 46 u8 tx[2]; local 48 tx[0] = MCP795_READ; 49 tx[1] = addr; 50 ret = spi_write_then_read(spi, tx, sizeof(tx), buf, count); 63 u8 tx[2 + count]; local 65 tx[0] = MCP795_WRITE; 66 tx[1] = addr; 67 memcpy(&tx[2], data, count); 69 ret = spi_write(spi, tx, [all...] |
/drivers/scsi/fnic/ |
H A D | vnic_stats.h | 64 struct vnic_tx_stats tx; member in struct:vnic_stats
|
/drivers/spi/ |
H A D | spi-bitbang.c | 73 const u8 *tx = t->tx_buf; local 79 if (tx) 80 word = *tx++; 99 const u16 *tx = t->tx_buf; local 105 if (tx) 106 word = *tx++; 125 const u32 *tx = t->tx_buf; local 131 if (tx) 132 word = *tx++;
|
/drivers/iio/accel/ |
H A D | kxsd9.c | 48 * @buf_lock: protect the rx and tx buffers. 51 * @tx: single tx buffer storage 57 u8 tx[KXSD9_STATE_TX_SIZE]; member in struct:kxsd9_state 86 st->tx[0] = KXSD9_WRITE(KXSD9_REG_CTRL_C); 87 st->tx[1] = (ret & ~KXSD9_FS_MASK) | i; 89 ret = spi_write(st->us, st->tx, 2); 104 .tx_buf = st->tx, 113 st->tx[0] = KXSD9_READ(address); 204 st->tx[ [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_sdma.c | 666 struct ipath_verbs_txreq *tx) 678 if ((tx->map_len + (dwords<<2)) > dd->ipath_ibmaxlen) { 680 tx->map_len + (dwords<<2), dd->ipath_ibmaxlen); 693 if (tx->txreq.sg_count > ipath_sdma_descq_freecnt(dd)) { 700 addr = dma_map_single(&dd->pcidev->dev, tx->txreq.map_addr, 701 tx->map_len, DMA_TO_DEVICE); 705 dwoffset = tx->map_len >> 2; 710 if (tx->txreq.flags & IPATH_SDMA_TXREQ_F_USELARGEBUF) 719 if (tx->txreq.flags & IPATH_SDMA_TXREQ_F_FREEDESC) 720 tx 664 ipath_sdma_verbs_send(struct ipath_devdata *dd, struct ipath_sge_state *ss, u32 dwords, struct ipath_verbs_txreq *tx) argument [all...] |