/drivers/misc/mic/host/ |
H A D | mic_virtio.c | 42 struct dma_async_tx_descriptor *tx; local 50 tx = mic_ch->device->device_prep_dma_memcpy(mic_ch, dst, src, len, 52 if (!tx) { 56 dma_cookie_t cookie = tx->tx_submit(tx);
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_lib.c | 112 unsigned int *tx, unsigned int *rx) 118 *tx = 0; 124 *tx = tc << 2; /* 0, 4, 8, 12, 16, 20, 24, 28 */ 137 *tx = tc << 5; /* 0, 32, 64 */ 139 *tx = (tc + 2) << 4; /* 80, 96 */ 141 *tx = (tc + 8) << 3; /* 104, 112, 120 */ 150 *tx = tc << 6; /* 0, 64 */ 152 *tx = (tc + 4) << 4; /* 96, 112 */ 427 /* Map queue offset and counts onto allocated tx queues */ 858 q_vector->tx 111 ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc, unsigned int *tx, unsigned int *rx) argument [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | mac80211-ops.c | 234 * 3) Allow the user to set default/tx antenna when possible 240 * then we must allow the user to set how many tx antennas we 606 "Configure tx [queue %d], " 752 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) 756 *tx = ah->txqs[AR5K_TX_QUEUE_ID_DATA_MIN].txq_max; 763 static int ath5k_set_ringparam(struct ieee80211_hw *hw, u32 tx, u32 rx) argument 768 /* only support setting tx ring size for now */ 772 /* restrict tx ring size min/max */ 773 if (!tx || tx > ATH5K_TXQ_LEN_MA 751 ath5k_get_ringparam(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) argument [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | hif_usb.h | 98 struct hif_usb_tx tx; member in struct:hif_device_usb
|
/drivers/net/wireless/b43/ |
H A D | radio_2056.c | 45 const struct b2056_inittab_entry *tx; member in struct:b2056_inittabs_pts 3024 .tx = prefix##_tx, \ 10242 B2056_TX0, pts->tx, pts->tx_length); 10244 B2056_TX1, pts->tx, pts->tx_length);
|
/drivers/net/wireless/rt2x00/ |
H A D | rt2x00mac.c | 790 if (tx_ant == 3 && def->tx == ANTENNA_SW_DIVERSITY) { 800 setup.tx = tx_ant; 822 *tx_ant = active->tx; 834 u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) 840 *tx += queue->length; 833 rt2x00mac_get_ringparam(struct ieee80211_hw *hw, u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max) argument
|
/drivers/spi/ |
H A D | spi-au1550.c | 62 const u8 *tx; member in struct:au1550_spi 289 * and if only tx dma channel is set up (and rx fifo overflow event masked) 330 hw->tx = t->tx_buf; 340 * use rx buffer in place of tx if tx buffer was not provided 349 dev_err(hw->dev, "tx dma map error\n"); 380 hw->tx = hw->rx; 389 res = au1xxx_dbdma_put_source(hw->dma_tx_ch, virt_to_phys(hw->tx), 392 dev_err(hw->dev, "tx dma put source error\n"); 499 if (hw->tx) { \ [all...] |
H A D | spi-nuc900.c | 57 const unsigned char *tx; member in struct:nuc900_spi 172 return hw->tx ? hw->tx[count] : 0; 179 hw->tx = t->tx_buf;
|
H A D | spi-omap-100k.c | 204 const u8 *tx; local 207 tx = xfer->tx_buf; 211 spi100k_write_data(spi->master, word_len, *tx++); 217 const u16 *tx; local 220 tx = xfer->tx_buf; 224 spi100k_write_data(spi->master, word_len, *tx++); 230 const u32 *tx; local 233 tx = xfer->tx_buf; 237 spi100k_write_data(spi->master, word_len, *tx);
|
H A D | spi-ppc4xx.c | 130 const unsigned char *tx; member in struct:ppc4xx_spi 150 dev_dbg(&spi->dev, "txrx: tx %p, rx %p, len %d\n", 155 hw->tx = t->tx_buf; 161 data = hw->tx ? hw->tx[0] : 0; 338 data = hw->tx ? hw->tx[count] : 0;
|
H A D | spi-s3c24xx.c | 74 const unsigned char *tx; member in struct:s3c24xx_spi 213 return hw->tx ? hw->tx[count] : 0; 279 if (hw->tx && !hw->rx) 281 else if (hw->rx && !hw->tx) 288 regs.uregs[fiq_rtx] = (long)hw->tx + 1; 406 hw->tx = t->tx_buf; 437 dev_dbg(hw->dev, "spi not ready for tx?\n");
|
/drivers/staging/gdm72xx/ |
H A D | gdm_sdio.c | 41 static struct sdio_tx *alloc_tx_struct(struct tx_cxt *tx) argument 54 t->tx_cxt = tx; 83 static struct sdio_tx *get_tx_struct(struct tx_cxt *tx, int *no_spc) argument 87 if (list_empty(&tx->free_list)) 90 t = list_entry(tx->free_list.prev, struct sdio_tx, list); 93 *no_spc = list_empty(&tx->free_list) ? 1 : 0; 99 static void put_tx_struct(struct tx_cxt *tx, struct sdio_tx *t) argument 101 list_add_tail(&t->list, &tx->free_list); 126 struct tx_cxt *tx = &sdev->tx; local 164 struct tx_cxt *tx = &sdev->tx; local 250 send_sdu(struct sdio_func *func, struct tx_cxt *tx) argument 312 send_hci(struct sdio_func *func, struct tx_cxt *tx, struct sdio_tx *t) argument 333 struct tx_cxt *tx = &sdev->tx; local 383 struct tx_cxt *tx = &sdev->tx; local 443 struct tx_cxt *tx = &sdev->tx; local 478 struct tx_cxt *tx = &sdev->tx; local [all...] |
H A D | gdm_usb.c | 52 static struct usb_tx *alloc_tx_struct(struct tx_cxt *tx) argument 68 t->tx_cxt = tx; 112 static struct usb_tx *get_tx_struct(struct tx_cxt *tx, int *no_spc) argument 116 if (list_empty(&tx->free_list)) { 121 t = list_entry(tx->free_list.next, struct usb_tx, list); 124 *no_spc = list_empty(&tx->free_list) ? 1 : 0; 130 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx *t) argument 132 list_add_tail(&t->list, &tx->free_list); 162 struct tx_cxt *tx = &udev->tx; local 205 struct tx_cxt *tx = &udev->tx; local 255 struct tx_cxt *tx = t->tx_cxt; local 279 struct tx_cxt *tx = t->tx_cxt; local 292 struct tx_cxt *tx = &udev->tx; local 409 struct tx_cxt *tx = &udev->tx; local 497 struct tx_cxt *tx = &udev->tx; local 698 struct tx_cxt *tx; local [all...] |
/drivers/usb/musb/ |
H A D | tusb6010_omap.c | 39 u8 tx; member in struct:tusb_omap_dma_ch 81 if (chdat->tx) 104 * See also musb_dma_completion in plat_uds.c and musb_g_[tx|rx]() in 131 chdat->epnum, chdat->tx ? "tx" : "rx", 134 if (chdat->tx) 144 chdat->tx ? "tx" : "rx", chdat->ch, 160 if (chdat->tx) { 184 if (!chdat->tx) 486 tusb_omap_dma_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 tx) argument [all...] |
/drivers/acpi/ |
H A D | processor_throttling.c | 254 if (p_limit->thermal.tx > target_state) 255 target_state = p_limit->thermal.tx; 256 if (p_limit->user.tx > target_state) 257 target_state = p_limit->user.tx; 350 if (limit->thermal.tx > target_state) 351 target_state = limit->thermal.tx; 352 if (limit->user.tx > target_state) 353 target_state = limit->user.tx; 550 struct acpi_processor_tx_tss *tx = local 555 state.pointer = tx; 843 struct acpi_processor_tx_tss *tx = local 858 struct acpi_processor_tx_tss *tx = local [all...] |
/drivers/dma/ |
H A D | dmaengine.c | 1084 void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx, argument 1087 tx->chan = chan; 1089 spin_lock_init(&tx->lock); 1095 * @tx: in-flight transaction to wait on 1098 dma_wait_for_async_tx(struct dma_async_tx_descriptor *tx) argument 1102 if (!tx) 1105 while (tx->cookie == -EBUSY) { 1113 return dma_sync_wait(tx->chan, tx->cookie); 1119 * @tx 1121 dma_run_dependencies(struct dma_async_tx_descriptor *tx) argument [all...] |
H A D | mic_x100_dma.c | 90 struct dma_async_tx_descriptor *tx; local 99 * updated cookie value from tx->cookie. 103 tx = &ch->tx_array[last_tail]; 104 if (tx->cookie) { 105 dma_cookie_complete(tx); 106 if (tx->callback) { 107 tx->callback(tx->callback_param); 108 tx->callback = NULL; 242 static dma_cookie_t mic_dma_tx_submit_unlock(struct dma_async_tx_descriptor *tx) argument 265 struct dma_async_tx_descriptor *tx = &ch->tx_array[idx]; local 482 struct dma_async_tx_descriptor *tx; local [all...] |
/drivers/dma/ioat/ |
H A D | dma.h | 40 #define tx_to_ioat_desc(tx) container_of(tx, struct ioat_desc_sw, txd) 203 struct dma_async_tx_descriptor *tx, int id) 209 (unsigned long long) tx->phys, 210 (unsigned long long) hw->next, tx->cookie, tx->flags, 202 __dump_desc_dbg(struct ioat_chan_common *chan, struct ioat_dma_descriptor *hw, struct dma_async_tx_descriptor *tx, int id) argument
|
/drivers/dma/sh/ |
H A D | shdma-base.c | 73 static dma_cookie_t shdma_tx_submit(struct dma_async_tx_descriptor *tx) argument 76 container_of(tx, struct shdma_desc, async_tx); 77 struct shdma_chan *schan = to_shdma_chan(tx->chan); 78 dma_async_tx_callback callback = tx->callback; 86 cookie = dma_cookie_assign(tx); 102 chunk->async_tx.callback_param = tx->callback_param; 111 tx->cookie, &chunk->async_tx, schan->id); 317 struct dma_async_tx_descriptor *tx = &desc->async_tx; local 319 BUG_ON(tx->cookie > 0 && tx 859 struct dma_async_tx_descriptor *tx = &sdesc->async_tx; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-cpm.c | 188 struct i2c_msg *pmsg, int num, int tx, int rx) 197 tbdf = cpm->tbase + tx; 204 tb = cpm->txbuf[tx]; 218 if (tx + 1 == num) 249 struct i2c_msg *pmsg, int tx, int rx) 257 tbdf = cpm->tbase + tx; 260 tb = cpm->txbuf[tx]; 268 dev_dbg(&adap->dev, "tx sc 0x%04x, rx sc 0x%04x\n", 286 dev_dbg(&adap->dev, "tx sc %d 0x%04x\n", tx, 187 cpm_i2c_parse_message(struct i2c_adapter *adap, struct i2c_msg *pmsg, int num, int tx, int rx) argument 248 cpm_i2c_check_message(struct i2c_adapter *adap, struct i2c_msg *pmsg, int tx, int rx) argument [all...] |
/drivers/input/gameport/ |
H A D | gameport.c | 84 unsigned int i, t, tx; local 91 tx = ~0; 103 if (t < tx) 104 tx = t; 109 if (tx) 110 t /= tx; 118 unsigned int i, t, t1, t2, t3, tx; local 124 tx = 1 << 30; 134 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx [all...] |
/drivers/media/i2c/soc_camera/ |
H A D | imx074.c | 109 unsigned char tx[3]; local 113 msg.buf = tx; 117 tx[0] = addr >> 8; 118 tx[1] = addr & 0xff; 119 tx[2] = data;
|
/drivers/media/usb/dvb-usb/ |
H A D | dib0700_core.c | 59 static int dib0700_ctrl_wr(struct dvb_usb_device *d, u8 *tx, u8 txlen) argument 64 debug_dump(tx, txlen, deb_data); 67 tx[0], USB_TYPE_VENDOR | USB_DIR_OUT, 0, 0, tx, txlen, 76 /* expecting tx buffer: request data[0] ... data[n] (n <= 4) */ 77 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) argument 83 err("tx buffer length is smaller than 2. Makes no sense."); 87 err("tx buffer length is larger than 4. Not supported."); 92 debug_dump(tx,txlen,deb_data); 94 value = ((txlen - 2) << 8) | tx[ [all...] |
H A D | technisat-usb2.c | 88 u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) 93 deb_i2c("i2c-access: %02x, tx: ", device_addr); 94 debug_dump(tx, txlen, deb_i2c); 116 memcpy(&b[2], tx, txlen); 87 technisat_usb2_i2c_access(struct usb_device *udev, u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) argument
|
/drivers/mmc/host/ |
H A D | rtsx_usb_sdmmc.c | 590 static int sd_change_phase(struct rtsx_usb_sdmmc *host, u8 sample_point, int tx) argument 596 __func__, tx ? "TX" : "RX", sample_point); 602 if (tx)
|