/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_proto.c | 55 ksock_tx_t *tx = conn->ksnc_tx_carrier; local 59 LASSERT (tx != NULL); 62 if (tx->tx_list.next == &conn->ksnc_tx_queue) { 66 conn->ksnc_tx_carrier = list_entry(tx->tx_list.next, 68 LASSERT (conn->ksnc_tx_carrier->tx_msg.ksm_type == tx->tx_msg.ksm_type); 76 ksock_tx_t *tx = conn->ksnc_tx_carrier; local 83 * . no tx can piggyback cookie of tx_ack (or cookie), just 85 * . There is tx can piggyback cookie of tx_ack (or cookie), 86 * piggyback the cookie and return the tx. 88 if (tx 122 ksock_tx_t *tx = conn->ksnc_tx_carrier; local 159 ksock_tx_t *tx; local 274 ksocknal_match_tx(ksock_conn_t *conn, ksock_tx_t *tx, int nonblk) argument 318 ksocknal_match_tx_v3(ksock_conn_t *conn, ksock_tx_t *tx, int nonblk) argument 366 ksock_tx_t *tx; local 409 ksock_tx_t *tx; local 715 ksocknal_pack_msg_v1(ksock_tx_t *tx) argument 728 ksocknal_pack_msg_v2(ksock_tx_t *tx) argument [all...] |
H A D | socklnd_cb.c | 32 ksock_tx_t *tx = NULL; local 37 /* searching for a noop tx in free list */ 41 tx = list_entry(ksocknal_data.ksnd_idle_noop_txs. \ 43 LASSERT(tx->tx_desc_size == size); 44 list_del(&tx->tx_list); 50 if (tx == NULL) 51 LIBCFS_ALLOC(tx, size); 53 if (tx == NULL) 56 atomic_set(&tx->tx_refcount, 1); 57 tx 70 ksock_tx_t *tx; local 94 ksocknal_free_tx(ksock_tx_t *tx) argument 111 ksocknal_send_iov(ksock_conn_t *conn, ksock_tx_t *tx) argument 148 ksocknal_send_kiov(ksock_conn_t *conn, ksock_tx_t *tx) argument 186 ksocknal_transmit(ksock_conn_t *conn, ksock_tx_t *tx) argument 389 ksocknal_tx_done(lnet_ni_t *ni, ksock_tx_t *tx) argument 410 ksock_tx_t *tx; local 433 ksocknal_check_zc_req(ksock_tx_t *tx) argument 477 ksocknal_uncheck_zc_req(ksock_tx_t *tx) argument 503 ksocknal_process_transmit(ksock_conn_t *conn, ksock_tx_t *tx) argument 621 ksocknal_find_conn_locked(ksock_peer_t *peer, ksock_tx_t *tx, int nonblk) argument 678 ksocknal_tx_prep(ksock_conn_t *conn, ksock_tx_t *tx) argument 688 ksocknal_queue_tx_locked(ksock_tx_t *tx, ksock_conn_t *conn) argument 836 ksocknal_launch_packet(lnet_ni_t *ni, ksock_tx_t *tx, lnet_process_id_t id) argument 937 ksock_tx_t *tx; local 1395 ksock_tx_t *tx; local 2333 ksock_tx_t *tx; local 2360 ksock_tx_t *tx; local 2422 ksock_tx_t *tx; local 2457 ksock_tx_t *tx = local [all...] |
/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 49 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u"); 50 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u"); 51 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u"); 52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u"); 53 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u"); 54 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u"); 55 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u"); 56 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u"); 57 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_imm_resp, "%u"); 58 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_start_template [all...] |
H A D | Makefile | 1 wl18xx-objs = main.o acx.o tx.o io.o debugfs.o scan.o cmd.o event.o
|
/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 | 26 .tx_buf = st->tx, 32 st->tx[0] = ADE7854_WRITE_REG; 33 st->tx[1] = (reg_address >> 8) & 0xFF; 34 st->tx[2] = reg_address & 0xFF; 35 st->tx[3] = value & 0xFF; 51 .tx_buf = st->tx, 57 st->tx[0] = ADE7854_WRITE_REG; 58 st->tx[1] = (reg_address >> 8) & 0xFF; 59 st->tx[2] = reg_address & 0xFF; 60 st->tx[ [all...] |
/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/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/net/ethernet/stmicro/stmmac/ |
H A D | norm_desc.c | 35 if (unlikely(p->des01.tx.error_summary)) { 36 if (unlikely(p->des01.tx.underflow_error)) { 40 if (unlikely(p->des01.tx.no_carrier)) { 44 if (unlikely(p->des01.tx.loss_carrier)) { 48 if (unlikely((p->des01.tx.excessive_deferral) || 49 (p->des01.tx.excessive_collisions) || 50 (p->des01.tx.late_collision))) 51 stats->collisions += p->des01.tx.collision_count; 58 if (unlikely(p->des01.tx.deferred)) 66 return p->des01.tx [all...] |
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
H A D | o2iblnd_cb.c | 44 kiblnd_tx_done (lnet_ni_t *ni, kib_tx_t *tx) argument 53 LASSERT (!tx->tx_queued); /* mustn't be queued for sending */ 54 LASSERT (tx->tx_sending == 0); /* mustn't be awaiting sent callback */ 55 LASSERT (!tx->tx_waiting); /* mustn't be awaiting peer response */ 56 LASSERT (tx->tx_pool != NULL); 58 kiblnd_unmap_tx(ni, tx); 60 /* tx may have up to 2 lnet msgs to finalise */ 61 lntmsg[0] = tx->tx_lntmsg[0]; tx->tx_lntmsg[0] = NULL; 62 lntmsg[1] = tx 89 kib_tx_t *tx; local 107 kib_tx_t *tx; local 218 kib_tx_t *tx = list_entry(tmp, kib_tx_t, tx_list); local 240 kib_tx_t *tx; local 280 kib_tx_t *tx = kiblnd_get_idle_tx(ni, conn->ibc_peer->ibp_nid); local 302 kib_tx_t *tx; local 551 kiblnd_fmr_map_tx(kib_net_t *net, kib_tx_t *tx, kib_rdma_desc_t *rd, int nob) argument 596 kiblnd_pmr_map_tx(kib_net_t *net, kib_tx_t *tx, kib_rdma_desc_t *rd, int nob) argument 632 kiblnd_unmap_tx(lnet_ni_t *ni, kib_tx_t *tx) argument 655 kiblnd_map_tx(lnet_ni_t *ni, kib_tx_t *tx, kib_rdma_desc_t *rd, int nfrags) argument 699 kiblnd_setup_rd_iov(lnet_ni_t *ni, kib_tx_t *tx, kib_rdma_desc_t *rd, unsigned int niov, struct iovec *iov, int offset, int nob) argument 752 kiblnd_setup_rd_kiov(lnet_ni_t *ni, kib_tx_t *tx, kib_rdma_desc_t *rd, int nkiov, lnet_kiov_t *kiov, int offset, int nob) argument 930 kib_tx_t *tx; local 998 kiblnd_tx_complete(kib_tx_t *tx, int status) argument 1052 kiblnd_init_tx_msg(lnet_ni_t *ni, kib_tx_t *tx, int type, int body_nob) argument 1086 kiblnd_init_rdma(kib_conn_t *conn, kib_tx_t *tx, int type, int resid, kib_rdma_desc_t *dstrd, __u64 dstcookie) argument 1171 kiblnd_queue_tx_locked(kib_tx_t *tx, kib_conn_t *conn) argument 1224 kiblnd_queue_tx(kib_tx_t *tx, kib_conn_t *conn) argument 1336 kiblnd_launch_tx(lnet_ni_t *ni, kib_tx_t *tx, lnet_nid_t nid) argument 1470 kib_tx_t *tx; local 1636 kib_tx_t *tx; local 1697 kib_tx_t *tx; local 1963 kib_tx_t *tx; local 2076 kib_tx_t *tx; local 2991 kib_tx_t *tx; local [all...] |
/drivers/staging/gdm724x/ |
H A D | gdm_usb.c | 158 static struct usb_tx_sdu *get_tx_sdu_struct(struct tx_cxt *tx, int *no_spc) argument 162 if (list_empty(&tx->free_list)) 165 t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list); 168 tx->avail_count--; 170 *no_spc = list_empty(&tx->free_list) ? 1 : 0; 175 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx_sdu *t_sdu) argument 177 list_add_tail(&t_sdu->list, &tx->free_list); 178 tx->avail_count++; 260 struct tx_cxt *tx = &udev->tx; local 313 struct tx_cxt *tx = &udev->tx; local 555 struct tx_cxt *tx = t->tx; local 602 struct tx_cxt *tx = &udev->tx; local 651 struct tx_cxt *tx = &udev->tx; local 718 struct tx_cxt *tx = &udev->tx; local 774 struct tx_cxt *tx = &udev->tx; local 953 struct tx_cxt *tx; local [all...] |
/drivers/iio/imu/ |
H A D | adis.c | 38 .tx_buf = adis->tx, 44 .tx_buf = adis->tx + 2, 50 .tx_buf = adis->tx + 4, 56 .tx_buf = adis->tx + 6, 61 .tx_buf = adis->tx + 8, 73 adis->tx[0] = ADIS_WRITE_REG(ADIS_REG_PAGE_ID); 74 adis->tx[1] = page; 80 adis->tx[8] = ADIS_WRITE_REG(reg + 3); 81 adis->tx[9] = (value >> 24) & 0xff; 82 adis->tx[ [all...] |
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;
|
/drivers/misc/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/net/wimax/i2400m/ |
H A D | Makefile | 12 tx.o \ 20 usb-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/staging/media/lirc/ |
H A D | lirc_zilog.c | 115 struct IR_tx *tx; member in struct:IR 194 * ir->tx set to NULL and deallocated - happens before ir->tx->ir put() 287 struct IR_tx *tx; local 290 tx = ir->tx; 291 if (tx != NULL) 292 kref_get(&tx->ref); 294 return tx; 299 struct IR_tx *tx local 308 put_ir_tx(struct IR_tx *tx, bool ir_devices_lock_held) argument 333 struct IR_tx *tx; local 652 send_data_block(struct IR_tx *tx, unsigned char *data_block) argument 677 send_boot_data(struct IR_tx *tx) argument 754 fw_load(struct IR_tx *tx) argument 983 send_code(struct IR_tx *tx, unsigned int code, unsigned int key) argument 1104 struct IR_tx *tx; local 1407 struct IR_tx *tx = i2c_get_clientdata(client); local 1449 struct IR_tx *tx; local [all...] |
/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/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/iio/gyro/ |
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/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 3013 #define call_tx_stop_cbfn(tx) \ 3015 if ((tx)->stop_cbfn) { \ 3018 cbfn = (tx)->stop_cbfn; \ 3019 cbarg = (tx)->stop_cbarg; \ 3020 (tx)->stop_cbfn = NULL; \ 3021 (tx)->stop_cbarg = NULL; \ 3022 cbfn(cbarg, (tx)); \ 3026 #define call_tx_prio_change_cbfn(tx) \ 3028 if ((tx)->prio_change_cbfn) { \ 3030 cbfn = (tx) 3066 bna_tx_sm_stopped_entry(struct bna_tx *tx) argument 3072 bna_tx_sm_stopped(struct bna_tx *tx, enum bna_tx_event event) argument 3101 bna_tx_sm_start_wait_entry(struct bna_tx *tx) argument 3107 bna_tx_sm_start_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3143 bna_tx_sm_started_entry(struct bna_tx *tx) argument 3159 bna_tx_sm_started(struct bna_tx *tx, enum bna_tx_event event) argument 3185 bna_tx_sm_stop_wait_entry(struct bna_tx *tx) argument 3190 bna_tx_sm_stop_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3218 bna_tx_sm_cleanup_wait_entry(struct bna_tx *tx) argument 3223 bna_tx_sm_cleanup_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3242 bna_tx_sm_prio_stop_wait_entry(struct bna_tx *tx) argument 3249 bna_tx_sm_prio_stop_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3277 bna_tx_sm_prio_cleanup_wait_entry(struct bna_tx *tx) argument 3284 bna_tx_sm_prio_cleanup_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3310 bna_tx_sm_failed_entry(struct bna_tx *tx) argument 3315 bna_tx_sm_failed(struct bna_tx *tx, enum bna_tx_event event) argument 3340 bna_tx_sm_quiesce_wait_entry(struct bna_tx *tx) argument 3345 bna_tx_sm_quiesce_wait(struct bna_tx *tx, enum bna_tx_event event) argument 3370 bna_bfi_tx_enet_start(struct bna_tx *tx) argument 3422 bna_bfi_tx_enet_stop(struct bna_tx *tx) argument 3436 bna_tx_enet_stop(struct bna_tx *tx) argument 3490 struct bna_tx *tx = NULL; local 3507 bna_tx_free(struct bna_tx *tx) argument 3558 bna_tx_start(struct bna_tx *tx) argument 3566 bna_tx_stop(struct bna_tx *tx) argument 3576 bna_tx_fail(struct bna_tx *tx) argument 3583 bna_bfi_tx_enet_start_rsp(struct bna_tx *tx, struct bfi_msgq_mhdr *msghdr) argument 3617 bna_bfi_tx_enet_stop_rsp(struct bna_tx *tx, struct bfi_msgq_mhdr *msghdr) argument 3625 struct bna_tx *tx; local 3689 struct bna_tx *tx; local 3833 bna_tx_destroy(struct bna_tx *tx) argument 3849 bna_tx_enable(struct bna_tx *tx) argument 3861 bna_tx_disable(struct bna_tx *tx, enum bna_cleanup_type type, void (*cbfn)(void *, struct bna_tx *)) argument 3878 bna_tx_cleanup_complete(struct bna_tx *tx) argument 3884 bna_tx_mod_cb_tx_stopped(void *arg, struct bna_tx *tx) argument 3954 struct bna_tx *tx; local 3971 struct bna_tx *tx; local 3995 struct bna_tx *tx; local 4008 bna_tx_coalescing_timeo_set(struct bna_tx *tx, int coalescing_timeo) argument [all...] |