/drivers/staging/iio/meter/ |
H A D | ade7854-i2c.c | 27 st->tx[0] = (reg_address >> 8) & 0xFF; 28 st->tx[1] = reg_address & 0xFF; 29 st->tx[2] = value; 31 ret = i2c_master_send(st->i2c, st->tx, 3); 46 st->tx[0] = (reg_address >> 8) & 0xFF; 47 st->tx[1] = reg_address & 0xFF; 48 st->tx[2] = (value >> 8) & 0xFF; 49 st->tx[3] = value & 0xFF; 51 ret = i2c_master_send(st->i2c, st->tx, 4); 66 st->tx[ [all...] |
H A D | ade7854-spi.c | 27 .tx_buf = st->tx, 33 st->tx[0] = ADE7854_WRITE_REG; 34 st->tx[1] = (reg_address >> 8) & 0xFF; 35 st->tx[2] = reg_address & 0xFF; 36 st->tx[3] = value & 0xFF; 55 .tx_buf = st->tx, 61 st->tx[0] = ADE7854_WRITE_REG; 62 st->tx[1] = (reg_address >> 8) & 0xFF; 63 st->tx[2] = reg_address & 0xFF; 64 st->tx[ [all...] |
/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...] |
/drivers/net/wimax/i2400m/ |
H A D | sdio-debug-levels.h | 16 D_SUBMODULE_DECLARE(tx),
|
H A D | Makefile | 13 tx.o \ 21 usb-tx.o \ 28 sdio-tx.o \
|
H A D | debug-levels.h | 42 D_SUBMODULE_DECLARE(tx),
|
H A D | usb-debug-levels.h | 38 D_SUBMODULE_DECLARE(tx),
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | norm_desc.c | 34 if (unlikely(p->des01.tx.error_summary)) { 35 if (unlikely(p->des01.tx.underflow_error)) { 39 if (unlikely(p->des01.tx.no_carrier)) { 43 if (unlikely(p->des01.tx.loss_carrier)) { 47 if (unlikely((p->des01.tx.excessive_deferral) || 48 (p->des01.tx.excessive_collisions) || 49 (p->des01.tx.late_collision))) 50 stats->collisions += p->des01.tx.collision_count; 59 if (unlikely(p->des01.tx.deferred)) 67 return p->des01.tx [all...] |
H A D | descs_com.h | 68 p->des01.tx.end_ring = 1; 73 p->des01.tx.end_ring = ter; 82 p->des01.tx.buffer1_size = len; 114 p->des01.tx.second_address_chained = 1; 119 p->des01.tx.second_address_chained = 1; 124 p->des01.tx.buffer1_size = len;
|
/drivers/staging/iio/gyro/ |
H A D | adxrs450_core.c | 41 st->tx[0] = ADXRS450_READ_DATA | (reg_address >> 7); 42 st->tx[1] = reg_address << 1; 43 st->tx[2] = 0; 44 st->tx[3] = 0; 46 if (!(hweight32(be32_to_cpu(*(u32 *)st->tx)) & 1)) 47 st->tx[3] |= ADXRS450_P; 49 ret = spi_write(st->us, st->tx, 4); 84 st->tx[0] = ADXRS450_WRITE_DATA | reg_address >> 7; 85 st->tx[1] = reg_address << 1 | val >> 15; 86 st->tx[ [all...] |
/drivers/staging/echo/ |
H A D | oslec.h | 78 * @tx: The transmitted audio sample. 83 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx); 86 * oslec_hpf_tx: Process to high pass filter the tx signal. 88 * @tx: The transmitted auio sample. 92 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx);
|
/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 112 struct IR_tx *tx; member in struct:IR 191 * ir->tx set to NULL and deallocated - happens before ir->tx->ir put() 285 struct IR_tx *tx; local 288 tx = ir->tx; 289 if (tx != NULL) 290 kref_get(&tx->ref); 292 return tx; 297 struct IR_tx *tx local 306 put_ir_tx(struct IR_tx *tx, bool ir_devices_lock_held) argument 331 struct IR_tx *tx; local 649 send_data_block(struct IR_tx *tx, unsigned char *data_block) argument 674 send_boot_data(struct IR_tx *tx) argument 751 fw_load(struct IR_tx *tx) argument 971 send_code(struct IR_tx *tx, unsigned int code, unsigned int key) argument 1092 struct IR_tx *tx; local 1394 struct IR_tx *tx = i2c_get_clientdata(client); local 1434 struct IR_tx *tx; local [all...] |
/drivers/net/wireless/ath/carl9170/ |
H A D | Makefile | 1 carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 2797 #define call_tx_stop_cbfn(tx) \ 2799 if ((tx)->stop_cbfn) { \ 2802 cbfn = (tx)->stop_cbfn; \ 2803 cbarg = (tx)->stop_cbarg; \ 2804 (tx)->stop_cbfn = NULL; \ 2805 (tx)->stop_cbarg = NULL; \ 2806 cbfn(cbarg, (tx)); \ 2810 #define call_tx_prio_change_cbfn(tx) \ 2812 if ((tx)->prio_change_cbfn) { \ 2814 cbfn = (tx) 2850 bna_tx_sm_stopped_entry(struct bna_tx *tx) argument 2856 bna_tx_sm_stopped(struct bna_tx *tx, enum bna_tx_event event) argument 2885 bna_tx_sm_start_wait_entry(struct bna_tx *tx) argument 2891 bna_tx_sm_start_wait(struct bna_tx *tx, enum bna_tx_event event) argument 2927 bna_tx_sm_started_entry(struct bna_tx *tx) argument 2943 bna_tx_sm_started(struct bna_tx *tx, enum bna_tx_event event) argument 2969 bna_tx_sm_stop_wait_entry(struct bna_tx *tx) argument 2974 bna_tx_sm_stop_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3002 bna_tx_sm_cleanup_wait_entry(struct bna_tx *tx) argument 3007 bna_tx_sm_cleanup_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3026 bna_tx_sm_prio_stop_wait_entry(struct bna_tx *tx) argument 3033 bna_tx_sm_prio_stop_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3061 bna_tx_sm_prio_cleanup_wait_entry(struct bna_tx *tx) argument 3068 bna_tx_sm_prio_cleanup_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3094 bna_tx_sm_failed_entry(struct bna_tx *tx) argument 3099 bna_tx_sm_failed(struct bna_tx *tx, enum bna_tx_event event) argument 3124 bna_tx_sm_quiesce_wait_entry(struct bna_tx *tx) argument 3129 bna_tx_sm_quiesce_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3154 bna_bfi_tx_enet_start(struct bna_tx *tx) argument 3206 bna_bfi_tx_enet_stop(struct bna_tx *tx) argument 3220 bna_tx_enet_stop(struct bna_tx *tx) argument 3264 struct bna_tx *tx = NULL; local 3281 bna_tx_free(struct bna_tx *tx) argument 3332 bna_tx_start(struct bna_tx *tx) argument 3340 bna_tx_stop(struct bna_tx *tx) argument 3350 bna_tx_fail(struct bna_tx *tx) argument 3357 bna_bfi_tx_enet_start_rsp(struct bna_tx *tx, struct bfi_msgq_mhdr *msghdr) argument 3391 bna_bfi_tx_enet_stop_rsp(struct bna_tx *tx, struct bfi_msgq_mhdr *msghdr) argument 3399 struct bna_tx *tx; local 3463 struct bna_tx *tx; local 3614 bna_tx_destroy(struct bna_tx *tx) argument 3630 bna_tx_enable(struct bna_tx *tx) argument 3642 bna_tx_disable(struct bna_tx *tx, enum bna_cleanup_type type, void (*cbfn)(void *, struct bna_tx *)) argument 3659 bna_tx_cleanup_complete(struct bna_tx *tx) argument 3665 bna_tx_mod_cb_tx_stopped(void *arg, struct bna_tx *tx) argument 3735 struct bna_tx *tx; local 3752 struct bna_tx *tx; local 3776 struct bna_tx *tx; local 3789 bna_tx_coalescing_timeo_set(struct bna_tx *tx, int coalescing_timeo) argument [all...] |
/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/gpio/ |
H A D | gpio-mcp23s08.c | 148 u8 tx[2], rx[1]; local 151 tx[0] = mcp->addr | 0x01; 152 tx[1] = reg; 153 status = spi_write_then_read(mcp->data, tx, sizeof tx, rx, sizeof rx); 159 u8 tx[3]; local 161 tx[0] = mcp->addr; 162 tx[1] = reg; 163 tx[2] = val; 164 return spi_write_then_read(mcp->data, tx, sizeo 170 u8 tx[2], *tmp; local 189 u8 tx[2], rx[2]; local 200 u8 tx[4]; local 212 u8 tx[2]; local [all...] |
/drivers/atm/ |
H A D | eni.c | 188 if (eni_dev->tx[i].send) 190 eni_dev->tx[i].send,eni_dev->tx[i].words*4); 1033 struct eni_tx *tx; local 1047 tx = eni_vcc->tx; 1048 NULLCHECK(tx); 1087 if (!NEPMOK(tx->tx_pos,size+TX_GAP, 1088 eni_in(MID_TX_RDPTR(tx->index)),tx 1181 struct eni_tx *tx; local 1208 struct eni_tx *tx; local 1289 struct eni_tx *tx; local 1955 struct eni_tx *tx = ENI_VCC(vcc)->tx; local 2155 struct eni_tx *tx = eni_dev->tx+i; local [all...] |
/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_txrx.c | 58 spin_lock_bh(&priv->tx.tx_lock); 59 priv->tx.queued_cnt++; 60 if ((priv->tx.queued_cnt >= ATH9K_HTC_TX_THRESHOLD) && 61 !(priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) { 62 priv->tx.flags |= ATH9K_HTC_OP_TX_QUEUES_STOP; 65 spin_unlock_bh(&priv->tx.tx_lock); 70 spin_lock_bh(&priv->tx.tx_lock); 71 if ((priv->tx.queued_cnt < ATH9K_HTC_TX_THRESHOLD) && 72 (priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) { 73 priv->tx [all...] |
H A D | hif_usb.c | 155 spin_lock(&hif_dev->tx.tx_lock); 156 if (hif_dev->tx.flags & HIF_USB_TX_FLUSH) { 157 spin_unlock(&hif_dev->tx.tx_lock); 162 spin_unlock(&hif_dev->tx.tx_lock); 267 spin_lock(&hif_dev->tx.tx_lock); 268 if (hif_dev->tx.flags & HIF_USB_TX_FLUSH) { 269 spin_unlock(&hif_dev->tx.tx_lock); 273 spin_unlock(&hif_dev->tx.tx_lock); 288 spin_lock(&hif_dev->tx.tx_lock); 289 list_move_tail(&tx_buf->list, &hif_dev->tx [all...] |
/drivers/usb/musb/ |
H A D | cppi_dma.c | 31 * 004001ff 00000001 .. 8feff860) Host was just getting NAKed on tx 94 /* zero out entire tx state RAM entry for the channel */ 95 static void cppi_reset_tx(struct cppi_tx_stateram __iomem *tx, u32 ptr) argument 97 musb_writel(&tx->tx_head, 0, 0); 98 musb_writel(&tx->tx_buf, 0, 0); 99 musb_writel(&tx->tx_current, 0, 0); 100 musb_writel(&tx->tx_buf_current, 0, 0); 101 musb_writel(&tx->tx_info, 0, 0); 102 musb_writel(&tx->tx_rem_len, 0, 0); 103 /* musb_writel(&tx 182 struct cppi_tx_stateram __iomem *tx; local 392 struct cppi_tx_stateram __iomem *tx = c->state_ram; local 575 cppi_next_tx_segment(struct musb *musb, struct cppi_channel *tx) argument 1167 u32 rx, tx; local [all...] |
H A D | tusb6010_omap.c | 34 u8 tx; member in struct:tusb_omap_dma_ch 98 if (chdat->tx) 121 * See also musb_dma_completion in plat_uds.c and musb_g_[tx|rx]() in 148 chdat->epnum, chdat->tx ? "tx" : "rx", 151 if (chdat->tx) 161 chdat->tx ? "tx" : "rx", chdat->ch, 177 if (chdat->tx) { 201 if (!chdat->tx) 503 tusb_omap_dma_allocate(struct dma_controller *c, struct musb_hw_ep *hw_ep, u8 tx) argument [all...] |
/drivers/net/wireless/ath/ |
H A D | hw.c | 138 u32 cycles, busy, rx, tx; local 148 tx = REG_READ(ah, AR_TFCNT); 163 common->cc_ani.tx_frame += tx; 168 common->cc_survey.tx_frame += tx;
|
/drivers/staging/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); 105 .tx_buf = st->tx, 114 st->tx[0] = KXSD9_READ(address); 205 st->tx[ [all...] |
/drivers/net/wireless/zd1211rw/ |
H A D | zd_usb.c | 471 /* USB_INT_ID_RETRY_FAILED triggered by tx-urb submit can override 896 struct zd_usb_tx *tx = &usb->tx; local 899 atomic_set(&tx->enabled, 0); 901 /* kill all submitted tx-urbs */ 902 usb_kill_anchored_urbs(&tx->submitted); 904 spin_lock_irqsave(&tx->lock, flags); 905 WARN_ON(!skb_queue_empty(&tx->submitted_skbs)); 906 WARN_ON(tx->submitted_urbs != 0); 907 tx 925 struct zd_usb_tx *tx = &usb->tx; local 937 struct zd_usb_tx *tx = &usb->tx; local 951 struct zd_usb_tx *tx = &usb->tx; local 976 struct zd_usb_tx *tx; local 1036 struct zd_usb_tx *tx = &usb->tx; local 1073 struct zd_usb_tx *tx = &usb->tx; local 1099 struct zd_usb_tx *tx = &usb->tx; local 1120 struct zd_usb_tx *tx = &usb->tx; local 1132 struct zd_usb_tx *tx = &usb->tx; local 1201 struct zd_usb_tx *tx = &usb->tx; local [all...] |
/drivers/net/ethernet/xscale/ixp2000/ |
H A D | ixp2400_tx.uc | 68 .reg read $tx 72 msf[read, $tx, zero, TX_SEQUENCE_0, 1], ctx_swap[zzz] 73 alu_shf[--, --, b, $tx, >>31] 76 alu[@old_tx_seq_0, --, b, $tx] 177 .reg read $tx 186 msf[read, $tx, zero, TX_SEQUENCE_0, 1], ctx_swap[zzz] 188 alu[temp, $tx, -, @old_tx_seq_0] 192 alu[@old_tx_seq_0, --, b, $tx]
|