/linux-4.1.27/tools/testing/selftests/timers/ |
D | valid-adjtimex.c | 53 struct timex tx; in clear_time_state() local 56 tx.modes = ADJ_STATUS; in clear_time_state() 57 tx.status = 0; in clear_time_state() 58 ret = adjtimex(&tx); in clear_time_state() 117 struct timex tx; in validate_freq() local 123 memset(&tx, 0, sizeof(struct timex)); in validate_freq() 128 tx.modes = ADJ_FREQUENCY; in validate_freq() 129 tx.freq = valid_freq[i]; in validate_freq() 131 ret = adjtimex(&tx); in validate_freq() 139 tx.modes = 0; in validate_freq() [all …]
|
D | leap-a-day.c | 104 struct timex tx; in clear_time_state() local 113 tx.modes = ADJ_STATUS; in clear_time_state() 114 tx.status = STA_PLL; in clear_time_state() 115 ret = adjtimex(&tx); in clear_time_state() 118 tx.modes = ADJ_MAXERROR; in clear_time_state() 119 tx.maxerror = 0; in clear_time_state() 120 ret = adjtimex(&tx); in clear_time_state() 123 tx.modes = ADJ_STATUS; in clear_time_state() 124 tx.status = 0; in clear_time_state() 125 ret = adjtimex(&tx); in clear_time_state() [all …]
|
D | leapcrash.c | 43 struct timex tx; in clear_time_state() local 52 tx.modes = ADJ_STATUS; in clear_time_state() 53 tx.status = STA_PLL; in clear_time_state() 54 ret = adjtimex(&tx); in clear_time_state() 56 tx.modes = ADJ_STATUS; in clear_time_state() 57 tx.status = 0; in clear_time_state() 58 ret = adjtimex(&tx); in clear_time_state() 73 struct timex tx; in main() local 105 tx.modes = 0; in main() 106 adjtimex(&tx); in main() [all …]
|
D | set-tai.c | 41 struct timex tx; in set_tai() local 43 memset(&tx, 0, sizeof(tx)); in set_tai() 45 tx.modes = ADJ_TAI; in set_tai() 46 tx.constant = offset; in set_tai() 48 return adjtimex(&tx); in set_tai() 53 struct timex tx; in get_tai() local 55 memset(&tx, 0, sizeof(tx)); in get_tai() 57 adjtimex(&tx); in get_tai() 58 return tx.tai; in get_tai()
|
D | change_skew.c | 49 struct timex tx; in change_skew_test() local 52 tx.modes = ADJ_FREQUENCY; in change_skew_test() 53 tx.freq = ppm << 16; in change_skew_test() 55 ret = adjtimex(&tx); in change_skew_test() 71 struct timex tx; in main() local 80 tx.modes = ADJ_OFFSET; in main() 81 tx.offset = 0; in main() 82 ret = adjtimex(&tx); in main() 97 tx.modes = ADJ_FREQUENCY; in main() 98 tx.offset = 0; in main() [all …]
|
D | skew_consistency.c | 55 struct timex tx; in main() local 71 tx.modes = ADJ_FREQUENCY; in main() 72 tx.freq = ppm << 16; in main() 73 adjtimex(&tx); in main() 78 tx.modes = ADJ_FREQUENCY; in main() 79 tx.offset = 0; in main() 80 adjtimex(&tx); in main()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_proto.c | 55 ksock_tx_t *tx = conn->ksnc_tx_carrier; in ksocknal_next_tx_carrier() local 59 LASSERT(tx != NULL); in ksocknal_next_tx_carrier() 62 if (tx->tx_list.next == &conn->ksnc_tx_queue) { in ksocknal_next_tx_carrier() 66 conn->ksnc_tx_carrier = list_entry(tx->tx_list.next, in ksocknal_next_tx_carrier() 68 LASSERT(conn->ksnc_tx_carrier->tx_msg.ksm_type == tx->tx_msg.ksm_type); in ksocknal_next_tx_carrier() 76 ksock_tx_t *tx = conn->ksnc_tx_carrier; in ksocknal_queue_tx_zcack_v2() local 88 if (tx == NULL) { in ksocknal_queue_tx_zcack_v2() 97 if (tx->tx_msg.ksm_type == KSOCK_MSG_NOOP) { in ksocknal_queue_tx_zcack_v2() 105 LASSERT(tx->tx_msg.ksm_type == KSOCK_MSG_LNET); in ksocknal_queue_tx_zcack_v2() 106 LASSERT(tx->tx_msg.ksm_zc_cookies[1] == 0); in ksocknal_queue_tx_zcack_v2() [all …]
|
D | socklnd_cb.c | 32 ksock_tx_t *tx = NULL; in ksocknal_alloc_tx() local 41 tx = list_entry(ksocknal_data.ksnd_idle_noop_txs. \ in ksocknal_alloc_tx() 43 LASSERT(tx->tx_desc_size == size); in ksocknal_alloc_tx() 44 list_del(&tx->tx_list); in ksocknal_alloc_tx() 50 if (tx == NULL) in ksocknal_alloc_tx() 51 LIBCFS_ALLOC(tx, size); in ksocknal_alloc_tx() 53 if (tx == NULL) in ksocknal_alloc_tx() 56 atomic_set(&tx->tx_refcount, 1); in ksocknal_alloc_tx() 57 tx->tx_zc_aborted = 0; in ksocknal_alloc_tx() 58 tx->tx_zc_capable = 0; in ksocknal_alloc_tx() [all …]
|
D | socklnd_lib-linux.c | 78 ksocknal_lib_send_iov(ksock_conn_t *conn, ksock_tx_t *tx) in ksocknal_lib_send_iov() argument 86 tx->tx_nob == tx->tx_resid && /* frist sending */ in ksocknal_lib_send_iov() 87 tx->tx_msg.ksm_csum == 0) /* not checksummed */ in ksocknal_lib_send_iov() 88 ksocknal_lib_csum_tx(tx); in ksocknal_lib_send_iov() 100 unsigned int niov = tx->tx_niov; in ksocknal_lib_send_iov() 106 scratchiov[i] = tx->tx_iov[i]; in ksocknal_lib_send_iov() 111 nob < tx->tx_resid) in ksocknal_lib_send_iov() 120 ksocknal_lib_send_kiov(ksock_conn_t *conn, ksock_tx_t *tx) in ksocknal_lib_send_kiov() argument 123 lnet_kiov_t *kiov = tx->tx_kiov; in ksocknal_lib_send_kiov() 128 LASSERT(tx->tx_lnetmsg != NULL); in ksocknal_lib_send_kiov() [all …]
|
D | socklnd.h | 463 ksocknal_tx_addref(ksock_tx_t *tx) in ksocknal_tx_addref() argument 465 LASSERT(atomic_read(&tx->tx_refcount) > 0); in ksocknal_tx_addref() 466 atomic_inc(&tx->tx_refcount); in ksocknal_tx_addref() 469 extern void ksocknal_tx_prep(ksock_conn_t *, ksock_tx_t *tx); 470 extern void ksocknal_tx_done(lnet_ni_t *ni, ksock_tx_t *tx); 473 ksocknal_tx_decref(ksock_tx_t *tx) in ksocknal_tx_decref() argument 475 LASSERT(atomic_read(&tx->tx_refcount) > 0); in ksocknal_tx_decref() 476 if (atomic_dec_and_test(&tx->tx_refcount)) in ksocknal_tx_decref() 477 ksocknal_tx_done(NULL, tx); in ksocknal_tx_decref() 538 ksock_tx_t *tx, int nonblk); [all …]
|
/linux-4.1.27/crypto/async_tx/ |
D | async_tx.c | 79 struct dma_async_tx_descriptor *tx) in async_tx_channel_switch() argument 87 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { in async_tx_channel_switch() 88 txd_chain(depend_tx, tx); in async_tx_channel_switch() 113 txd_chain(intr_tx, tx); in async_tx_channel_switch() 134 tx->tx_submit(tx); in async_tx_channel_switch() 156 async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, in async_tx_submit() argument 161 tx->callback = submit->cb_fn; in async_tx_submit() 162 tx->callback_param = submit->cb_param; in async_tx_submit() 174 txd_parent(tx)); in async_tx_submit() 186 txd_chain(depend_tx, tx); in async_tx_submit() [all …]
|
D | async_raid6_recov.c | 49 struct dma_async_tx_descriptor *tx; in async_sum_product() local 64 tx = dma->device_prep_dma_pq(chan, pq, unmap->addr, 2, coef, in async_sum_product() 66 if (tx) { in async_sum_product() 67 dma_set_unmap(tx, unmap); in async_sum_product() 68 async_tx_submit(chan, tx, submit); in async_sum_product() 70 return tx; in async_sum_product() 113 struct dma_async_tx_descriptor *tx; in async_mult() local 129 tx = dma->device_prep_dma_pq(chan, dma_dest, unmap->addr, in async_mult() 132 if (tx) { in async_mult() 133 dma_set_unmap(tx, unmap); in async_mult() [all …]
|
D | async_xor.c | 40 struct dma_async_tx_descriptor *tx = NULL; in do_async_xor() local 78 tx = dma->device_prep_dma_xor(chan, dma_dest, src_list, in do_async_xor() 82 if (unlikely(!tx)) in do_async_xor() 86 while (unlikely(!tx)) { in do_async_xor() 88 tx = dma->device_prep_dma_xor(chan, dma_dest, in do_async_xor() 95 dma_set_unmap(tx, unmap); in do_async_xor() 96 async_tx_submit(chan, tx, submit); in do_async_xor() 97 submit->depend_tx = tx; in do_async_xor() 109 return tx; in do_async_xor() 188 struct dma_async_tx_descriptor *tx; in async_xor() local [all …]
|
D | async_pq.c | 55 struct dma_async_tx_descriptor *tx = NULL; in do_async_gen_syndrome() local 93 tx = dma->device_prep_dma_pq(chan, dma_dest, in do_async_gen_syndrome() 98 if (likely(tx)) in do_async_gen_syndrome() 104 dma_set_unmap(tx, unmap); in do_async_gen_syndrome() 105 async_tx_submit(chan, tx, submit); in do_async_gen_syndrome() 106 submit->depend_tx = tx; in do_async_gen_syndrome() 115 return tx; in do_async_gen_syndrome() 198 struct dma_async_tx_descriptor *tx; in async_gen_syndrome() local 243 tx = do_async_gen_syndrome(chan, coefs, j, unmap, dma_flags, submit); in async_gen_syndrome() 245 return tx; in async_gen_syndrome() [all …]
|
D | raid6test.c | 72 struct dma_async_tx_descriptor *tx = NULL; in raid6_dual_recov() local 82 tx = async_gen_syndrome(ptrs, 0, disks, bytes, &submit); in raid6_dual_recov() 100 tx = async_xor(dest, blocks, 0, count, bytes, &submit); in raid6_dual_recov() 102 init_async_submit(&submit, 0, tx, NULL, NULL, addr_conv); in raid6_dual_recov() 103 tx = async_gen_syndrome(ptrs, 0, disks, bytes, &submit); in raid6_dual_recov() 109 tx = async_raid6_datap_recov(disks, bytes, faila, ptrs, &submit); in raid6_dual_recov() 113 tx = async_raid6_2data_recov(disks, bytes, faila, failb, ptrs, &submit); in raid6_dual_recov() 117 init_async_submit(&submit, ASYNC_TX_ACK, tx, callback, &cmp, addr_conv); in raid6_dual_recov() 118 tx = async_syndrome_val(ptrs, 0, disks, bytes, &result, spare, &submit); in raid6_dual_recov() 119 async_tx_issue_pending(tx); in raid6_dual_recov() [all …]
|
D | async_memcpy.c | 52 struct dma_async_tx_descriptor *tx = NULL; in async_memcpy() local 74 tx = device->device_prep_dma_memcpy(chan, unmap->addr[1], in async_memcpy() 79 if (tx) { in async_memcpy() 82 dma_set_unmap(tx, unmap); in async_memcpy() 83 async_tx_submit(chan, tx, submit); in async_memcpy() 104 return tx; in async_memcpy()
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 52 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_prepared_descs, "%u"); 53 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_cmplt, "%u"); 54 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_prepared, "%u"); 55 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_prepared, "%u"); 56 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_template_programmed, "%u"); 57 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_data_programmed, "%u"); 58 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_burst_programmed, "%u"); 59 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_starts, "%u"); 60 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_imm_resp, "%u"); 61 WL18XX_DEBUGFS_FWSTATS_FILE(tx, tx_start_templates, "%u"); [all …]
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | gdm_sdio.c | 41 static struct sdio_tx *alloc_tx_struct(struct tx_cxt *tx) in alloc_tx_struct() argument 54 t->tx_cxt = tx; in alloc_tx_struct() 83 static struct sdio_tx *get_tx_struct(struct tx_cxt *tx, int *no_spc) in get_tx_struct() argument 87 if (list_empty(&tx->free_list)) in get_tx_struct() 90 t = list_entry(tx->free_list.prev, struct sdio_tx, list); in get_tx_struct() 93 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_struct() 99 static void put_tx_struct(struct tx_cxt *tx, struct sdio_tx *t) in put_tx_struct() argument 101 list_add_tail(&t->list, &tx->free_list); in put_tx_struct() 126 struct tx_cxt *tx = &sdev->tx; in release_sdio() local 131 kfree(tx->sdu_buf); in release_sdio() [all …]
|
D | gdm_usb.c | 52 static struct usb_tx *alloc_tx_struct(struct tx_cxt *tx) in alloc_tx_struct() argument 68 t->tx_cxt = tx; in alloc_tx_struct() 112 static struct usb_tx *get_tx_struct(struct tx_cxt *tx, int *no_spc) in get_tx_struct() argument 116 if (list_empty(&tx->free_list)) { in get_tx_struct() 121 t = list_entry(tx->free_list.next, struct usb_tx, list); in get_tx_struct() 124 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_struct() 130 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx *t) in put_tx_struct() argument 132 list_add_tail(&t->list, &tx->free_list); in put_tx_struct() 162 struct tx_cxt *tx = &udev->tx; in release_usb() local 168 spin_lock_irqsave(&tx->lock, flags); in release_usb() [all …]
|
/linux-4.1.27/drivers/staging/iio/meter/ |
D | ade7854-spi.c | 26 .tx_buf = st->tx, in ade7854_spi_write_reg_8() 32 st->tx[0] = ADE7854_WRITE_REG; in ade7854_spi_write_reg_8() 33 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg_8() 34 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg_8() 35 st->tx[3] = value & 0xFF; in ade7854_spi_write_reg_8() 51 .tx_buf = st->tx, in ade7854_spi_write_reg_16() 57 st->tx[0] = ADE7854_WRITE_REG; in ade7854_spi_write_reg_16() 58 st->tx[1] = (reg_address >> 8) & 0xFF; in ade7854_spi_write_reg_16() 59 st->tx[2] = reg_address & 0xFF; in ade7854_spi_write_reg_16() 60 st->tx[3] = (value >> 8) & 0xFF; in ade7854_spi_write_reg_16() [all …]
|
D | ade7854-i2c.c | 27 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_8() 28 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg_8() 29 st->tx[2] = value; in ade7854_i2c_write_reg_8() 31 ret = i2c_master_send(st->i2c, st->tx, 3); in ade7854_i2c_write_reg_8() 46 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_16() 47 st->tx[1] = reg_address & 0xFF; in ade7854_i2c_write_reg_16() 48 st->tx[2] = (value >> 8) & 0xFF; in ade7854_i2c_write_reg_16() 49 st->tx[3] = value & 0xFF; in ade7854_i2c_write_reg_16() 51 ret = i2c_master_send(st->i2c, st->tx, 4); in ade7854_i2c_write_reg_16() 66 st->tx[0] = (reg_address >> 8) & 0xFF; in ade7854_i2c_write_reg_24() [all …]
|
D | ade7758_core.c | 36 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_8() 37 st->tx[1] = val; in ade7758_spi_write_reg_8() 39 ret = spi_write(st->us, st->tx, 2); in ade7758_spi_write_reg_8() 54 .tx_buf = st->tx, in ade7758_spi_write_reg_16() 61 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_16() 62 st->tx[1] = (value >> 8) & 0xFF; in ade7758_spi_write_reg_16() 63 st->tx[2] = value & 0xFF; in ade7758_spi_write_reg_16() 80 .tx_buf = st->tx, in ade7758_spi_write_reg_24() 87 st->tx[0] = ADE7758_WRITE_REG(reg_address); in ade7758_spi_write_reg_24() 88 st->tx[1] = (value >> 16) & 0xFF; in ade7758_spi_write_reg_24() [all …]
|
D | ade7754.c | 35 st->tx[0] = ADE7754_WRITE_REG(reg_address); in ade7754_spi_write_reg_8() 36 st->tx[1] = val; in ade7754_spi_write_reg_8() 38 ret = spi_write(st->us, st->tx, 2); in ade7754_spi_write_reg_8() 53 st->tx[0] = ADE7754_WRITE_REG(reg_address); in ade7754_spi_write_reg_16() 54 st->tx[1] = (value >> 8) & 0xFF; in ade7754_spi_write_reg_16() 55 st->tx[2] = value & 0xFF; in ade7754_spi_write_reg_16() 56 ret = spi_write(st->us, st->tx, 3); in ade7754_spi_write_reg_16() 110 .tx_buf = st->tx, in ade7754_spi_read_reg_24() 118 st->tx[0] = ADE7754_READ_REG(reg_address); in ade7754_spi_read_reg_24() 119 st->tx[1] = 0; in ade7754_spi_read_reg_24() [all …]
|
D | ade7759.c | 35 st->tx[0] = ADE7759_WRITE_REG(reg_address); in ade7759_spi_write_reg_8() 36 st->tx[1] = val; in ade7759_spi_write_reg_8() 38 ret = spi_write(st->us, st->tx, 2); in ade7759_spi_write_reg_8() 53 st->tx[0] = ADE7759_WRITE_REG(reg_address); in ade7759_spi_write_reg_16() 54 st->tx[1] = (value >> 8) & 0xFF; in ade7759_spi_write_reg_16() 55 st->tx[2] = value & 0xFF; in ade7759_spi_write_reg_16() 56 ret = spi_write(st->us, st->tx, 3); in ade7759_spi_write_reg_16() 110 .tx_buf = st->tx, in ade7759_spi_read_reg_40() 118 st->tx[0] = ADE7759_READ_REG(reg_address); in ade7759_spi_read_reg_40() 119 memset(&st->tx[1], 0, 5); in ade7759_spi_read_reg_40()
|
D | ade7753.c | 35 st->tx[0] = ADE7753_WRITE_REG(reg_address); in ade7753_spi_write_reg_8() 36 st->tx[1] = val; in ade7753_spi_write_reg_8() 38 ret = spi_write(st->us, st->tx, 2); in ade7753_spi_write_reg_8() 53 st->tx[0] = ADE7753_WRITE_REG(reg_address); in ade7753_spi_write_reg_16() 54 st->tx[1] = (value >> 8) & 0xFF; in ade7753_spi_write_reg_16() 55 st->tx[2] = value & 0xFF; in ade7753_spi_write_reg_16() 56 ret = spi_write(st->us, st->tx, 3); in ade7753_spi_write_reg_16() 110 .tx_buf = st->tx, in ade7753_spi_read_reg_24() 114 .rx_buf = st->tx, in ade7753_spi_read_reg_24() 121 st->tx[0] = ADE7753_READ_REG(reg_address); in ade7753_spi_read_reg_24()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd_cb.c | 44 kiblnd_tx_done(lnet_ni_t *ni, kib_tx_t *tx) in kiblnd_tx_done() argument 53 LASSERT(!tx->tx_queued); /* mustn't be queued for sending */ in kiblnd_tx_done() 54 LASSERT(tx->tx_sending == 0); /* mustn't be awaiting sent callback */ in kiblnd_tx_done() 55 LASSERT(!tx->tx_waiting); /* mustn't be awaiting peer response */ in kiblnd_tx_done() 56 LASSERT(tx->tx_pool != NULL); in kiblnd_tx_done() 58 kiblnd_unmap_tx(ni, tx); in kiblnd_tx_done() 61 lntmsg[0] = tx->tx_lntmsg[0]; tx->tx_lntmsg[0] = NULL; in kiblnd_tx_done() 62 lntmsg[1] = tx->tx_lntmsg[1]; tx->tx_lntmsg[1] = NULL; in kiblnd_tx_done() 63 rc = tx->tx_status; in kiblnd_tx_done() 65 if (tx->tx_conn != NULL) { in kiblnd_tx_done() [all …]
|
D | o2iblnd.c | 1196 kib_tx_t *tx; in kiblnd_unmap_tx_pool() local 1205 tx = &tpo->tpo_tx_descs[i]; in kiblnd_unmap_tx_pool() 1207 KIBLND_UNMAP_ADDR(tx, tx_msgunmap, in kiblnd_unmap_tx_pool() 1208 tx->tx_msgaddr), in kiblnd_unmap_tx_pool() 1248 kib_tx_t *tx; in kiblnd_map_tx_pool() local 1267 tx = &tpo->tpo_tx_descs[i]; in kiblnd_map_tx_pool() 1269 tx->tx_msg = (kib_msg_t *)(((char *)page_address(page)) + in kiblnd_map_tx_pool() 1272 tx->tx_msgaddr = kiblnd_dma_map_single( in kiblnd_map_tx_pool() 1273 tpo->tpo_hdev->ibh_ibdev, tx->tx_msg, in kiblnd_map_tx_pool() 1276 tx->tx_msgaddr)); in kiblnd_map_tx_pool() [all …]
|
/linux-4.1.27/drivers/staging/media/lirc/ |
D | lirc_zilog.c | 115 struct IR_tx *tx; member 276 struct IR_tx *tx; in get_ir_tx() local 279 tx = ir->tx; in get_ir_tx() 280 if (tx != NULL) in get_ir_tx() 281 kref_get(&tx->ref); in get_ir_tx() 283 return tx; in get_ir_tx() 288 struct IR_tx *tx = container_of(ref, struct IR_tx, ref); in release_ir_tx() local 289 struct IR *ir = tx->ir; in release_ir_tx() 293 ir->tx = NULL; in release_ir_tx() 294 kfree(tx); in release_ir_tx() [all …]
|
D | lirc_sasem.c | 111 } tx; member 332 init_completion(&context->tx.finished); in send_packet() 333 atomic_set(&context->tx.busy, 1); in send_packet() 337 atomic_set(&context->tx.busy, 0); in send_packet() 343 wait_for_completion(&context->tx.finished); in send_packet() 346 retval = context->tx.status; in send_packet() 396 memcpy(context->tx.data_buf, data_buf, n_bytes); in vfd_write() 400 context->tx.data_buf[i] = ' '; in vfd_write() 420 memcpy(context->usb_tx_buf, context->tx.data_buf, 8); in vfd_write() 424 context->tx.data_buf + 8, 8); in vfd_write() [all …]
|
D | lirc_imon.c | 108 } tx; member 339 init_completion(&context->tx.finished); in send_packet() 340 atomic_set(&context->tx.busy, 1); in send_packet() 344 atomic_set(&context->tx.busy, 0); in send_packet() 351 &context->tx.finished); in send_packet() 357 retval = context->tx.status; in send_packet() 418 memcpy(context->tx.data_buf, data_buf, n_bytes); in vfd_write() 422 context->tx.data_buf[i] = ' '; in vfd_write() 425 context->tx.data_buf[i] = 0xFF; in vfd_write() 431 memcpy(context->usb_tx_buf, context->tx.data_buf + offset, 7); in vfd_write() [all …]
|
/linux-4.1.27/sound/soc/fsl/ |
D | fsl_sai.h | 38 #define FSL_SAI_xCSR(tx) (tx ? FSL_SAI_TCSR : FSL_SAI_RCSR) argument 39 #define FSL_SAI_xCR1(tx) (tx ? FSL_SAI_TCR1 : FSL_SAI_RCR1) argument 40 #define FSL_SAI_xCR2(tx) (tx ? FSL_SAI_TCR2 : FSL_SAI_RCR2) argument 41 #define FSL_SAI_xCR3(tx) (tx ? FSL_SAI_TCR3 : FSL_SAI_RCR3) argument 42 #define FSL_SAI_xCR4(tx) (tx ? FSL_SAI_TCR4 : FSL_SAI_RCR4) argument 43 #define FSL_SAI_xCR5(tx) (tx ? FSL_SAI_TCR5 : FSL_SAI_RCR5) argument 44 #define FSL_SAI_xDR(tx) (tx ? FSL_SAI_TDR : FSL_SAI_RDR) argument 45 #define FSL_SAI_xFR(tx) (tx ? FSL_SAI_TFR : FSL_SAI_RFR) argument 46 #define FSL_SAI_xMR(tx) (tx ? FSL_SAI_TMR : FSL_SAI_RMR) argument
|
D | fsl_esai.c | 122 static int fsl_esai_divisor_cal(struct snd_soc_dai *dai, bool tx, u32 ratio, in fsl_esai_divisor_cal() argument 184 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal() 193 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal() 215 bool tx = clk_id <= ESAI_HCKT_EXTAL; in fsl_esai_set_dai_sysclk() local 222 if (freq == esai_priv->hck_rate[tx] && dir == esai_priv->hck_dir[tx]) in fsl_esai_set_dai_sysclk() 226 esai_priv->sck_div[tx] = true; in fsl_esai_set_dai_sysclk() 229 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_set_dai_sysclk() 267 tx ? 'T' : 'R'); in fsl_esai_set_dai_sysclk() 274 ecr |= tx ? ESAI_ECR_ETO : ESAI_ECR_ERO; in fsl_esai_set_dai_sysclk() 279 tx ? 'T' : 'R'); in fsl_esai_set_dai_sysclk() [all …]
|
D | fsl_sai.c | 122 bool tx = fsl_dir == FSL_FMT_TRANSMITTER; in fsl_sai_set_dai_sysclk_tr() local 142 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_sysclk_tr() 175 bool tx = fsl_dir == FSL_FMT_TRANSMITTER; in fsl_sai_set_dai_fmt_tr() local 265 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_fmt_tr() 267 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx), in fsl_sai_set_dai_fmt_tr() 296 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_params() local 314 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx), in fsl_sai_hw_params() 317 regmap_update_bits(sai->regmap, FSL_SAI_xCR5(tx), in fsl_sai_hw_params() 320 regmap_write(sai->regmap, FSL_SAI_xMR(tx), ~0UL - ((1 << channels) - 1)); in fsl_sai_hw_params() 329 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_trigger() local [all …]
|
D | fsl_esai.h | 25 #define REG_ESAI_xFCR(tx) (tx ? REG_ESAI_TFCR : REG_ESAI_RFCR) argument 26 #define REG_ESAI_xFSR(tx) (tx ? REG_ESAI_TFSR : REG_ESAI_RFSR) argument 44 #define REG_ESAI_xCR(tx) (tx ? REG_ESAI_TCR : REG_ESAI_RCR) argument 45 #define REG_ESAI_xCCR(tx) (tx ? REG_ESAI_TCCR : REG_ESAI_RCCR) argument 50 #define REG_ESAI_xSMA(tx) (tx ? REG_ESAI_TSMA : REG_ESAI_RSMA) argument 51 #define REG_ESAI_xSMB(tx) (tx ? REG_ESAI_TSMB : REG_ESAI_RSMB) argument
|
D | fsl_ssi.c | 112 struct fsl_ssi_reg_val tx; member 312 vals->rx.sier | vals->tx.sier, in fsl_ssi_rxtx_config() 313 vals->rx.sier | vals->tx.sier); in fsl_ssi_rxtx_config() 315 vals->rx.srcr | vals->tx.srcr, in fsl_ssi_rxtx_config() 316 vals->rx.srcr | vals->tx.srcr); in fsl_ssi_rxtx_config() 318 vals->rx.stcr | vals->tx.stcr, in fsl_ssi_rxtx_config() 319 vals->rx.stcr | vals->tx.stcr); in fsl_ssi_rxtx_config() 322 vals->rx.srcr | vals->tx.srcr, 0); in fsl_ssi_rxtx_config() 324 vals->rx.stcr | vals->tx.stcr, 0); in fsl_ssi_rxtx_config() 326 vals->rx.sier | vals->tx.sier, 0); in fsl_ssi_rxtx_config() [all …]
|
/linux-4.1.27/net/mac80211/ |
D | tx.c | 40 static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, in ieee80211_duration() argument 46 struct ieee80211_local *local = tx->local; in ieee80211_duration() 54 chanctx_conf = rcu_dereference(tx->sdata->vif.chanctx_conf); in ieee80211_duration() 62 if (tx->rate.flags & (IEEE80211_TX_RC_MCS | IEEE80211_TX_RC_VHT_MCS)) in ieee80211_duration() 66 if (WARN_ON_ONCE(tx->rate.idx < 0)) in ieee80211_duration() 70 txrate = &sband->bitrates[tx->rate.idx]; in ieee80211_duration() 139 if (tx->sdata->vif.bss_conf.basic_rates & BIT(i)) in ieee80211_duration() 145 if (tx->sdata->flags & IEEE80211_SDATA_OPERATING_GMODE) in ieee80211_duration() 179 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() 189 tx->sdata->vif.bss_conf.use_short_preamble, in ieee80211_duration() [all …]
|
D | wpa.h | 17 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx); 22 ieee80211_crypto_tkip_encrypt(struct ieee80211_tx_data *tx); 27 ieee80211_crypto_ccmp_encrypt(struct ieee80211_tx_data *tx, 34 ieee80211_crypto_aes_cmac_encrypt(struct ieee80211_tx_data *tx); 36 ieee80211_crypto_aes_cmac_256_encrypt(struct ieee80211_tx_data *tx); 42 ieee80211_crypto_aes_gmac_encrypt(struct ieee80211_tx_data *tx); 46 ieee80211_crypto_hw_encrypt(struct ieee80211_tx_data *tx); 51 ieee80211_crypto_gcmp_encrypt(struct ieee80211_tx_data *tx);
|
D | wpa.c | 30 ieee80211_tx_h_michael_mic_add(struct ieee80211_tx_data *tx) in ieee80211_tx_h_michael_mic_add() argument 36 struct sk_buff *skb = tx->skb; in ieee80211_tx_h_michael_mic_add() 41 if (!tx->key || tx->key->conf.cipher != WLAN_CIPHER_SUITE_TKIP || in ieee80211_tx_h_michael_mic_add() 59 tx->local->ops->set_frag_threshold) && in ieee80211_tx_h_michael_mic_add() 60 !(tx->key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)) { in ieee80211_tx_h_michael_mic_add() 76 key = &tx->key->conf.key[NL80211_TKIP_DATA_OFFSET_TX_MIC_KEY]; in ieee80211_tx_h_michael_mic_add() 184 static int tkip_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in tkip_encrypt_skb() argument 187 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() 223 key->u.tkip.tx.iv16++; in tkip_encrypt_skb() 224 if (key->u.tkip.tx.iv16 == 0) in tkip_encrypt_skb() [all …]
|
D | wep.c | 303 static int wep_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb) in wep_encrypt_skb() argument 309 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb() 310 tx->key->conf.keylen, in wep_encrypt_skb() 311 tx->key->conf.keyidx)) in wep_encrypt_skb() 315 if (!ieee80211_wep_add_iv(tx->local, skb, in wep_encrypt_skb() 316 tx->key->conf.keylen, in wep_encrypt_skb() 317 tx->key->conf.keyidx)) in wep_encrypt_skb() 325 ieee80211_crypto_wep_encrypt(struct ieee80211_tx_data *tx) in ieee80211_crypto_wep_encrypt() argument 329 ieee80211_tx_set_protected(tx); in ieee80211_crypto_wep_encrypt() 331 skb_queue_walk(&tx->skbs, skb) { in ieee80211_crypto_wep_encrypt() [all …]
|
/linux-4.1.27/drivers/spi/ |
D | spi-dln2.c | 110 } tx; in dln2_spi_enable() local 111 unsigned len = sizeof(tx); in dln2_spi_enable() 113 tx.port = dln2->port; in dln2_spi_enable() 117 len -= sizeof(tx.wait_for_completion); in dln2_spi_enable() 119 tx.wait_for_completion = DLN2_TRANSFERS_WAIT_COMPLETE; in dln2_spi_enable() 123 return dln2_transfer_tx(dln2->pdev, cmd, &tx, len); in dln2_spi_enable() 139 } tx; in dln2_spi_cs_set() local 141 tx.port = dln2->port; in dln2_spi_cs_set() 148 tx.cs = ~cs_mask; in dln2_spi_cs_set() 150 return dln2_transfer_tx(dln2->pdev, DLN2_SPI_SET_SS, &tx, sizeof(tx)); in dln2_spi_cs_set() [all …]
|
D | spi-omap2-mcspi.c | 403 struct dma_async_tx_descriptor *tx; in omap2_mcspi_tx_dma() local 412 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_tx, &sg, 1, in omap2_mcspi_tx_dma() 414 if (tx) { in omap2_mcspi_tx_dma() 415 tx->callback = omap2_mcspi_tx_callback; in omap2_mcspi_tx_dma() 416 tx->callback_param = spi; in omap2_mcspi_tx_dma() 417 dmaengine_submit(tx); in omap2_mcspi_tx_dma() 458 struct dma_async_tx_descriptor *tx; in omap2_mcspi_rx_dma() local 470 tx = dmaengine_prep_slave_sg(mcspi_dma->dma_rx, &sg, 1, in omap2_mcspi_rx_dma() 473 if (tx) { in omap2_mcspi_rx_dma() 474 tx->callback = omap2_mcspi_rx_callback; in omap2_mcspi_rx_dma() [all …]
|
D | spi-bfin5xx.c | 87 void *tx; member 232 while (drv_data->tx < drv_data->tx_end) { in bfin_spi_u8_writer() 233 bfin_write(&drv_data->regs->tdbr, (*(u8 *) (drv_data->tx++))); in bfin_spi_u8_writer() 264 bfin_write(&drv_data->regs->tdbr, (*(u8 *) (drv_data->tx++))); in bfin_spi_u8_duplex() 282 while (drv_data->tx < drv_data->tx_end) { in bfin_spi_u16_writer() 283 bfin_write(&drv_data->regs->tdbr, (*(u16 *) (drv_data->tx))); in bfin_spi_u16_writer() 284 drv_data->tx += 2; in bfin_spi_u16_writer() 316 bfin_write(&drv_data->regs->tdbr, (*(u16 *) (drv_data->tx))); in bfin_spi_u16_duplex() 317 drv_data->tx += 2; in bfin_spi_u16_duplex() 391 if ((drv_data->tx && drv_data->tx >= drv_data->tx_end) || in bfin_spi_pio_irq_handler() [all …]
|
D | spi-sirf.c | 150 const void *tx; member 196 const u8 *tx = sspi->tx; in spi_sirfsoc_tx_word_u8() local 198 if (tx) { in spi_sirfsoc_tx_word_u8() 199 data = *tx++; in spi_sirfsoc_tx_word_u8() 200 sspi->tx = tx; in spi_sirfsoc_tx_word_u8() 225 const u16 *tx = sspi->tx; in spi_sirfsoc_tx_word_u16() local 227 if (tx) { in spi_sirfsoc_tx_word_u16() 228 data = *tx++; in spi_sirfsoc_tx_word_u16() 229 sspi->tx = tx; in spi_sirfsoc_tx_word_u16() 255 const u32 *tx = sspi->tx; in spi_sirfsoc_tx_word_u32() local [all …]
|
D | spi-fsl-lib.c | 46 const type *tx = mpc8xxx_spi->tx; \ 47 if (!tx) \ 49 data = *tx++ << mpc8xxx_spi->tx_shift; \ 50 mpc8xxx_spi->tx = tx; \
|
D | spi-adi-v3.c | 72 void *tx; member 238 while (drv_data->tx < drv_data->tx_end) { in adi_spi_u8_write() 239 iowrite32(*(u8 *)(drv_data->tx++), &drv_data->regs->tfifo); in adi_spi_u8_write() 263 iowrite32(*(u8 *)(drv_data->tx++), &drv_data->regs->tfifo); in adi_spi_u8_duplex() 279 while (drv_data->tx < drv_data->tx_end) { in adi_spi_u16_write() 280 iowrite32(*(u16 *)drv_data->tx, &drv_data->regs->tfifo); in adi_spi_u16_write() 281 drv_data->tx += 2; in adi_spi_u16_write() 306 iowrite32(*(u16 *)drv_data->tx, &drv_data->regs->tfifo); in adi_spi_u16_duplex() 307 drv_data->tx += 2; in adi_spi_u16_duplex() 324 while (drv_data->tx < drv_data->tx_end) { in adi_spi_u32_write() [all …]
|
D | spi-bitbang.c | 69 const u8 *tx = t->tx_buf; in bitbang_txrx_8() local 75 if (tx) in bitbang_txrx_8() 76 word = *tx++; in bitbang_txrx_8() 95 const u16 *tx = t->tx_buf; in bitbang_txrx_16() local 101 if (tx) in bitbang_txrx_16() 102 word = *tx++; in bitbang_txrx_16() 121 const u32 *tx = t->tx_buf; in bitbang_txrx_32() local 127 if (tx) in bitbang_txrx_32() 128 word = *tx++; in bitbang_txrx_32()
|
D | spi-omap-100k.c | 200 const u8 *tx; in omap1_spi100k_txrx_pio() local 203 tx = xfer->tx_buf; in omap1_spi100k_txrx_pio() 207 spi100k_write_data(spi->master, word_len, *tx++); in omap1_spi100k_txrx_pio() 213 const u16 *tx; in omap1_spi100k_txrx_pio() local 216 tx = xfer->tx_buf; in omap1_spi100k_txrx_pio() 220 spi100k_write_data(spi->master, word_len, *tx++); in omap1_spi100k_txrx_pio() 226 const u32 *tx; in omap1_spi100k_txrx_pio() local 229 tx = xfer->tx_buf; in omap1_spi100k_txrx_pio() 233 spi100k_write_data(spi->master, word_len, *tx); in omap1_spi100k_txrx_pio()
|
D | spi-altera.c | 60 const unsigned char *tx; member 107 if (hw->tx) { in hw_txbyte() 110 return hw->tx[count]; in hw_txbyte() 112 return (hw->tx[count * 2] in hw_txbyte() 113 | (hw->tx[count * 2 + 1] << 8)); in hw_txbyte() 123 hw->tx = t->tx_buf; in altera_spi_txrx()
|
D | spi-rockchip.c | 186 const void *tx; member 251 tx_left = (rs->tx_end - rs->tx) / rs->n_bytes; in tx_max() 350 txw = *(u8 *)(rs->tx); in rockchip_spi_pio_writer() 352 txw = *(u16 *)(rs->tx); in rockchip_spi_pio_writer() 355 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer() 379 if (rs->tx) { in rockchip_spi_pio_transfer() 380 remain = rs->tx_end - rs->tx; in rockchip_spi_pio_transfer() 393 if (rs->tx) in rockchip_spi_pio_transfer() 465 if (rs->tx) { in rockchip_spi_prepare_dma() 514 if (rs->tx) in rockchip_spi_config() [all …]
|
D | spi-davinci.c | 126 const void *tx; member 168 if (dspi->tx) { in davinci_spi_tx_buf_u8() 169 const u8 *tx = dspi->tx; in davinci_spi_tx_buf_u8() local 171 data = *tx++; in davinci_spi_tx_buf_u8() 172 dspi->tx = tx; in davinci_spi_tx_buf_u8() 181 if (dspi->tx) { in davinci_spi_tx_buf_u16() 182 const u16 *tx = dspi->tx; in davinci_spi_tx_buf_u16() local 184 data = *tx++; in davinci_spi_tx_buf_u16() 185 dspi->tx = tx; in davinci_spi_tx_buf_u16() 605 dspi->tx = t->tx_buf; in davinci_spi_bufs()
|
D | spi-fsl-dspi.c | 123 void *tx; member 244 d16 = *(u16 *)dspi->tx; in dspi_transfer_write() 245 dspi->tx += 2; in dspi_transfer_write() 259 d8 = *(u8 *)dspi->tx; in dspi_transfer_write() 260 dspi->tx++; in dspi_transfer_write() 351 dspi->tx = (void *)transfer->tx_buf; in dspi_transfer_one_message() 352 dspi->tx_end = dspi->tx + transfer->len; in dspi_transfer_one_message() 360 if (!dspi->tx) in dspi_transfer_one_message()
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_usb.c | 158 static struct usb_tx_sdu *get_tx_sdu_struct(struct tx_cxt *tx, int *no_spc) in get_tx_sdu_struct() argument 162 if (list_empty(&tx->free_list)) in get_tx_sdu_struct() 165 t_sdu = list_entry(tx->free_list.next, struct usb_tx_sdu, list); in get_tx_sdu_struct() 168 tx->avail_count--; in get_tx_sdu_struct() 170 *no_spc = list_empty(&tx->free_list) ? 1 : 0; in get_tx_sdu_struct() 175 static void put_tx_struct(struct tx_cxt *tx, struct usb_tx_sdu *t_sdu) in put_tx_struct() argument 177 list_add_tail(&t_sdu->list, &tx->free_list); in put_tx_struct() 178 tx->avail_count++; in put_tx_struct() 260 struct tx_cxt *tx = &udev->tx; in release_usb() local 266 spin_lock_irqsave(&tx->lock, flags); in release_usb() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/drm/msm/ |
D | hdmi.txt | 5 * "qcom,hdmi-tx-8084" 6 * "qcom,hdmi-tx-8074" 7 * "qcom,hdmi-tx-8660" 8 * "qcom,hdmi-tx-8960" 14 - qcom,hdmi-tx-ddc-clk-gpio: ddc clk pin 15 - qcom,hdmi-tx-ddc-data-gpio: ddc data pin 16 - qcom,hdmi-tx-hpd-gpio: hpd pin 21 - qcom,hdmi-tx-mux-en-gpio: hdmi mux enable pin 22 - qcom,hdmi-tx-mux-sel-gpio: hdmi mux select pin 29 hdmi: qcom,hdmi-tx-8960@4a00000 { [all …]
|
/linux-4.1.27/drivers/iio/gyro/ |
D | adxrs450.c | 77 __be32 tx ____cacheline_aligned; 94 u32 tx; in adxrs450_spi_read_reg_16() local 98 .tx_buf = &st->tx, in adxrs450_spi_read_reg_16() 100 .len = sizeof(st->tx), in adxrs450_spi_read_reg_16() 110 tx = ADXRS450_READ_DATA | (reg_address << 17); in adxrs450_spi_read_reg_16() 112 if (!(hweight32(tx) & 1)) in adxrs450_spi_read_reg_16() 113 tx |= ADXRS450_P; in adxrs450_spi_read_reg_16() 115 st->tx = cpu_to_be32(tx); in adxrs450_spi_read_reg_16() 142 u32 tx; in adxrs450_spi_write_reg_16() local 146 tx = ADXRS450_WRITE_DATA | (reg_address << 17) | (val << 1); in adxrs450_spi_write_reg_16() [all …]
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-dln2.c | 60 } tx; in dln2_i2c_enable() local 62 tx.port = dln2->port; in dln2_i2c_enable() 69 return dln2_transfer_tx(dln2->pdev, cmd, &tx, sizeof(tx)); in dln2_i2c_enable() 83 } __packed *tx = dln2->buf; in dln2_i2c_write() local 86 BUILD_BUG_ON(sizeof(*tx) > DLN2_I2C_BUF_SIZE); in dln2_i2c_write() 88 tx->port = dln2->port; in dln2_i2c_write() 89 tx->addr = addr; in dln2_i2c_write() 90 tx->mem_addr_len = 0; in dln2_i2c_write() 91 tx->mem_addr = 0; in dln2_i2c_write() 92 tx->buf_len = cpu_to_le16(data_len); in dln2_i2c_write() [all …]
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | norm_desc.c | 35 if (unlikely(p->des01.tx.error_summary)) { in ndesc_get_tx_status() 36 if (unlikely(p->des01.tx.underflow_error)) { in ndesc_get_tx_status() 40 if (unlikely(p->des01.tx.no_carrier)) { in ndesc_get_tx_status() 44 if (unlikely(p->des01.tx.loss_carrier)) { in ndesc_get_tx_status() 48 if (unlikely((p->des01.tx.excessive_deferral) || in ndesc_get_tx_status() 49 (p->des01.tx.excessive_collisions) || in ndesc_get_tx_status() 50 (p->des01.tx.late_collision))) in ndesc_get_tx_status() 51 stats->collisions += p->des01.tx.collision_count; in ndesc_get_tx_status() 58 if (unlikely(p->des01.tx.deferred)) in ndesc_get_tx_status() 66 return p->des01.tx.buffer1_size; in ndesc_get_tx_len() [all …]
|
D | descs_com.h | 74 p->des01.tx.end_ring = 1; in ndesc_tx_set_on_ring() 79 p->des01.tx.end_ring = ter; in ndesc_end_tx_desc_on_ring() 88 p->des01.tx.buffer1_size = len; in norm_set_tx_desc_len_on_ring() 122 p->des01.tx.second_address_chained = 1; in ndesc_tx_set_on_chain() 127 p->des01.tx.second_address_chained = 1; in ndesc_end_tx_desc_on_chain() 132 p->des01.tx.buffer1_size = len; in norm_set_tx_desc_len_on_chain()
|
/linux-4.1.27/drivers/iio/imu/ |
D | adis.c | 38 .tx_buf = adis->tx, in adis_write_reg() 44 .tx_buf = adis->tx + 2, in adis_write_reg() 50 .tx_buf = adis->tx + 4, in adis_write_reg() 56 .tx_buf = adis->tx + 6, in adis_write_reg() 61 .tx_buf = adis->tx + 8, in adis_write_reg() 73 adis->tx[0] = ADIS_WRITE_REG(ADIS_REG_PAGE_ID); in adis_write_reg() 74 adis->tx[1] = page; in adis_write_reg() 80 adis->tx[8] = ADIS_WRITE_REG(reg + 3); in adis_write_reg() 81 adis->tx[9] = (value >> 24) & 0xff; in adis_write_reg() 82 adis->tx[6] = ADIS_WRITE_REG(reg + 2); in adis_write_reg() [all …]
|
D | adis_buffer.c | 30 __be16 *tx, *rx; in adis_update_scan_mode() local 46 tx = rx + scan_count; in adis_update_scan_mode() 57 adis->xfer[j].tx_buf = &tx[j]; in adis_update_scan_mode() 68 *tx++ = cpu_to_be16((chan->address + 2) << 8); in adis_update_scan_mode() 69 *tx++ = cpu_to_be16(chan->address << 8); in adis_update_scan_mode() 89 adis->tx[0] = ADIS_WRITE_REG(ADIS_REG_PAGE_ID); in adis_trigger_handler() 90 adis->tx[1] = 0; in adis_trigger_handler() 91 spi_write(adis->spi, adis->tx, 2); in adis_trigger_handler()
|
D | adis16400_buffer.c | 22 u8 *tx; in adis16400_update_scan_mode() local 43 tx = adis->buffer + burst_length; in adis16400_update_scan_mode() 44 tx[0] = ADIS_READ_REG(ADIS16400_GLOB_CMD); in adis16400_update_scan_mode() 45 tx[1] = 0; in adis16400_update_scan_mode() 47 adis->xfer[0].tx_buf = tx; in adis16400_update_scan_mode()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 3014 #define call_tx_stop_cbfn(tx) \ argument 3016 if ((tx)->stop_cbfn) { \ 3019 cbfn = (tx)->stop_cbfn; \ 3020 cbarg = (tx)->stop_cbarg; \ 3021 (tx)->stop_cbfn = NULL; \ 3022 (tx)->stop_cbarg = NULL; \ 3023 cbfn(cbarg, (tx)); \ 3027 #define call_tx_prio_change_cbfn(tx) \ argument 3029 if ((tx)->prio_change_cbfn) { \ 3031 cbfn = (tx)->prio_change_cbfn; \ [all …]
|
/linux-4.1.27/drivers/usb/musb/ |
D | cppi_dma.c | 96 static void cppi_reset_tx(struct cppi_tx_stateram __iomem *tx, u32 ptr) in cppi_reset_tx() argument 98 musb_writel(&tx->tx_head, 0, 0); in cppi_reset_tx() 99 musb_writel(&tx->tx_buf, 0, 0); in cppi_reset_tx() 100 musb_writel(&tx->tx_current, 0, 0); in cppi_reset_tx() 101 musb_writel(&tx->tx_buf_current, 0, 0); in cppi_reset_tx() 102 musb_writel(&tx->tx_info, 0, 0); in cppi_reset_tx() 103 musb_writel(&tx->tx_rem_len, 0, 0); in cppi_reset_tx() 105 musb_writel(&tx->tx_complete, 0, ptr); in cppi_reset_tx() 159 for (i = 0; i < ARRAY_SIZE(controller->tx); i++) { in cppi_controller_start() 160 controller->tx[i].transmit = true; in cppi_controller_start() [all …]
|
D | tusb6010_omap.c | 39 u8 tx; member 81 if (chdat->tx) in tusb_omap_use_shared_dmareq() 131 chdat->epnum, chdat->tx ? "tx" : "rx", in tusb_omap_dma_cb() 134 if (chdat->tx) in tusb_omap_dma_cb() 144 chdat->tx ? "tx" : "rx", chdat->ch, in tusb_omap_dma_cb() 160 if (chdat->tx) { in tusb_omap_dma_cb() 184 if (!chdat->tx) in tusb_omap_dma_cb() 185 musb_dma_completion(musb, chdat->epnum, chdat->tx); in tusb_omap_dma_cb() 195 if (chdat->tx) { in tusb_omap_dma_cb() 244 if (chdat->tx) in tusb_omap_dma_program() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | virt-dma.c | 17 static struct virt_dma_desc *to_virt_desc(struct dma_async_tx_descriptor *tx) in to_virt_desc() argument 19 return container_of(tx, struct virt_dma_desc, tx); in to_virt_desc() 22 dma_cookie_t vchan_tx_submit(struct dma_async_tx_descriptor *tx) in vchan_tx_submit() argument 24 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_submit() 25 struct virt_dma_desc *vd = to_virt_desc(tx); in vchan_tx_submit() 30 cookie = dma_cookie_assign(tx); in vchan_tx_submit() 48 if (vd->tx.cookie == cookie) in vchan_find_desc() 72 cb = vd->tx.callback; in vchan_complete() 73 cb_data = vd->tx.callback_param; in vchan_complete() 82 cb = vd->tx.callback; in vchan_complete() [all …]
|
D | dmaengine.h | 28 static inline dma_cookie_t dma_cookie_assign(struct dma_async_tx_descriptor *tx) in dma_cookie_assign() argument 30 struct dma_chan *chan = tx->chan; in dma_cookie_assign() 36 tx->cookie = chan->cookie = cookie; in dma_cookie_assign() 51 static inline void dma_cookie_complete(struct dma_async_tx_descriptor *tx) in dma_cookie_complete() argument 53 BUG_ON(tx->cookie < DMA_MIN_COOKIE); in dma_cookie_complete() 54 tx->chan->completed_cookie = tx->cookie; in dma_cookie_complete() 55 tx->cookie = 0; in dma_cookie_complete()
|
D | virt-dma.h | 19 struct dma_async_tx_descriptor tx; member 59 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); in vchan_tx_prep() 60 vd->tx.flags = tx_flags; in vchan_tx_prep() 61 vd->tx.tx_submit = vchan_tx_submit; in vchan_tx_prep() 63 return &vd->tx; in vchan_tx_prep() 86 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cookie_complete() 89 cookie = vd->tx.cookie; in vchan_cookie_complete() 90 dma_cookie_complete(&vd->tx); in vchan_cookie_complete() 104 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cyclic_callback()
|
D | mic_x100_dma.c | 90 struct dma_async_tx_descriptor *tx; in mic_dma_cleanup() local 103 tx = &ch->tx_array[last_tail]; in mic_dma_cleanup() 104 if (tx->cookie) { in mic_dma_cleanup() 105 dma_cookie_complete(tx); in mic_dma_cleanup() 106 if (tx->callback) { in mic_dma_cleanup() 107 tx->callback(tx->callback_param); in mic_dma_cleanup() 108 tx->callback = NULL; in mic_dma_cleanup() 242 static dma_cookie_t mic_dma_tx_submit_unlock(struct dma_async_tx_descriptor *tx) in mic_dma_tx_submit_unlock() argument 244 struct mic_dma_chan *mic_ch = to_mic_dma_chan(tx->chan); in mic_dma_tx_submit_unlock() 247 dma_cookie_assign(tx); in mic_dma_tx_submit_unlock() [all …]
|
D | xgene-dma.c | 230 #define to_dma_desc_sw(tx) \ argument 231 container_of(tx, struct xgene_dma_desc_sw, tx) 283 struct dma_async_tx_descriptor tx; member 554 static dma_cookie_t xgene_dma_tx_submit(struct dma_async_tx_descriptor *tx) in xgene_dma_tx_submit() argument 560 if (unlikely(!tx)) in xgene_dma_tx_submit() 563 chan = to_dma_chan(tx->chan); in xgene_dma_tx_submit() 564 desc = to_dma_desc_sw(tx); in xgene_dma_tx_submit() 568 cookie = dma_cookie_assign(tx); in xgene_dma_tx_submit() 583 dma_pool_free(chan->desc_pool, desc, desc->tx.phys); in xgene_dma_clean_descriptor() 601 desc->tx.phys = phys; in xgene_dma_alloc_descriptor() [all …]
|
D | iop-adma.c | 40 #define tx_to_iop_adma_slot(tx) \ argument 41 container_of(tx, struct iop_adma_desc_slot, async_tx) 64 struct dma_async_tx_descriptor *tx = &desc->async_tx; in iop_adma_run_tx_complete_actions() local 66 BUG_ON(tx->cookie < 0); in iop_adma_run_tx_complete_actions() 67 if (tx->cookie > 0) { in iop_adma_run_tx_complete_actions() 68 cookie = tx->cookie; in iop_adma_run_tx_complete_actions() 69 tx->cookie = 0; in iop_adma_run_tx_complete_actions() 74 if (tx->callback) in iop_adma_run_tx_complete_actions() 75 tx->callback(tx->callback_param); in iop_adma_run_tx_complete_actions() 77 dma_descriptor_unmap(tx); in iop_adma_run_tx_complete_actions() [all …]
|
D | mv_xor.c | 38 #define to_mv_xor_slot(tx) \ argument 39 container_of(tx, struct mv_xor_desc_slot, async_tx) 410 mv_xor_tx_submit(struct dma_async_tx_descriptor *tx) in mv_xor_tx_submit() argument 412 struct mv_xor_desc_slot *sw_desc = to_mv_xor_slot(tx); in mv_xor_tx_submit() 413 struct mv_xor_chan *mv_chan = to_mv_xor_chan(tx->chan); in mv_xor_tx_submit() 423 cookie = dma_cookie_assign(tx); in mv_xor_tx_submit() 708 struct dma_async_tx_descriptor *tx; in mv_xor_memcpy_self_test() local 761 tx = mv_xor_prep_dma_memcpy(dma_chan, dest_dma, src_dma, in mv_xor_memcpy_self_test() 763 if (!tx) { in mv_xor_memcpy_self_test() 770 cookie = mv_xor_tx_submit(tx); in mv_xor_memcpy_self_test() [all …]
|
D | fsl_raid.c | 83 #define to_fsl_re_dma_desc(tx) container_of(tx, struct fsl_re_desc, async_tx) argument 86 static dma_cookie_t fsl_re_tx_submit(struct dma_async_tx_descriptor *tx) in fsl_re_tx_submit() argument 93 desc = to_fsl_re_dma_desc(tx); in fsl_re_tx_submit() 94 re_chan = container_of(tx->chan, struct fsl_re_chan, chan); in fsl_re_tx_submit() 97 cookie = dma_cookie_assign(tx); in fsl_re_tx_submit() 438 struct dma_async_tx_descriptor *tx; in fsl_re_prep_dma_pq() local 446 tx = fsl_re_prep_dma_genq(chan, dest[1], dma_src, 2, coef, len, in fsl_re_prep_dma_pq() 448 if (tx) in fsl_re_prep_dma_pq() 449 desc = to_fsl_re_dma_desc(tx); in fsl_re_prep_dma_pq() 451 return tx; in fsl_re_prep_dma_pq()
|
/linux-4.1.27/drivers/atm/ |
D | eni.c | 188 if (eni_dev->tx[i].send) in dump() 190 eni_dev->tx[i].send,eni_dev->tx[i].words*4); in dump() 1036 struct eni_tx *tx; in do_tx() local 1050 tx = eni_vcc->tx; in do_tx() 1051 NULLCHECK(tx); in do_tx() 1090 if (!NEPMOK(tx->tx_pos,size+TX_GAP, in do_tx() 1091 eni_in(MID_TX_RDPTR(tx->index)),tx->words)) { in do_tx() 1108 DPRINTK("dma_wr is %d, tx_pos is %ld\n",dma_wr,tx->tx_pos); in do_tx() 1120 eni_dev->dma[j++] = (((tx->tx_pos+TX_DESCR_SIZE) & (tx->words-1)) << in do_tx() 1121 MID_DMA_COUNT_SHIFT) | (tx->index << MID_DMA_CHAN_SHIFT) | in do_tx() [all …]
|
D | lanai.c | 245 } tx; member 723 dma_addr_t dmaaddr = lvcc->tx.buf.dmaaddr; in host_vcc_start_tx() 731 (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? in host_vcc_start_tx() 736 TXADDR1_SET_SIZE(lanai_buf_size_cardorder(&lvcc->tx.buf)), in host_vcc_start_tx() 777 while ((skb = skb_dequeue(&lvcc->tx.backlog)) != NULL) in lanai_shutdown_tx_vci() 778 lanai_free_skb(lvcc->tx.atmvcc, skb); in lanai_shutdown_tx_vci() 788 (((lanai_buf_size(&lvcc->tx.buf) / 1024) * HZ) >> 7); in lanai_shutdown_tx_vci() 793 (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || in lanai_shutdown_tx_vci() 804 lvcc->tx.atmvcc->dev->number, lvcc->vci); in lanai_shutdown_tx_vci() 1142 r -= ((unsigned long) lvcc->tx.buf.ptr) - in vcc_tx_space() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 58 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_check_stop_queues() 59 priv->tx.queued_cnt++; in ath9k_htc_check_stop_queues() 60 if ((priv->tx.queued_cnt >= ATH9K_HTC_TX_THRESHOLD) && in ath9k_htc_check_stop_queues() 61 !(priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) { in ath9k_htc_check_stop_queues() 62 priv->tx.flags |= ATH9K_HTC_OP_TX_QUEUES_STOP; in ath9k_htc_check_stop_queues() 65 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_htc_check_stop_queues() 70 spin_lock_bh(&priv->tx.tx_lock); in ath9k_htc_check_wake_queues() 71 if ((priv->tx.queued_cnt < ATH9K_HTC_TX_THRESHOLD) && in ath9k_htc_check_wake_queues() 72 (priv->tx.flags & ATH9K_HTC_OP_TX_QUEUES_STOP)) { in ath9k_htc_check_wake_queues() 73 priv->tx.flags &= ~ATH9K_HTC_OP_TX_QUEUES_STOP; in ath9k_htc_check_wake_queues() [all …]
|
D | hif_usb.c | 161 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb() 162 if (hif_dev->tx.flags & HIF_USB_TX_FLUSH) { in hif_usb_mgmt_cb() 163 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb() 168 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_mgmt_cb() 278 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 279 if (hif_dev->tx.flags & HIF_USB_TX_FLUSH) { in hif_usb_tx_cb() 280 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 284 spin_unlock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 299 spin_lock(&hif_dev->tx.tx_lock); in hif_usb_tx_cb() 300 list_move_tail(&tx_buf->list, &hif_dev->tx.tx_buf); in hif_usb_tx_cb() [all …]
|
D | mac.h | 297 } tx; member 315 #define ds_ctl2 u.tx.ctl2 316 #define ds_ctl3 u.tx.ctl3 317 #define ds_ctl4 u.tx.ctl4 318 #define ds_ctl5 u.tx.ctl5 319 #define ds_ctl6 u.tx.ctl6 320 #define ds_ctl7 u.tx.ctl7 321 #define ds_ctl8 u.tx.ctl8 322 #define ds_ctl9 u.tx.ctl9 323 #define ds_ctl10 u.tx.ctl10 [all …]
|
D | htc_drv_debug.c | 296 spin_lock_bh(&priv->tx.tx_lock); in read_file_slot() 300 MAX_TX_BUF_NUM, priv->tx.tx_slot, in read_file_slot() 301 bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM)); in read_file_slot() 302 spin_unlock_bh(&priv->tx.tx_lock); in read_file_slot() 321 "Mgmt endpoint", skb_queue_len(&priv->tx.mgmt_ep_queue)); in read_file_queue() 324 "Cab endpoint", skb_queue_len(&priv->tx.cab_ep_queue)); in read_file_queue() 327 "Data BE endpoint", skb_queue_len(&priv->tx.data_be_queue)); in read_file_queue() 330 "Data BK endpoint", skb_queue_len(&priv->tx.data_bk_queue)); in read_file_queue() 333 "Data VI endpoint", skb_queue_len(&priv->tx.data_vi_queue)); in read_file_queue() 336 "Data VO endpoint", skb_queue_len(&priv->tx.data_vo_queue)); in read_file_queue() [all …]
|
D | wmi.c | 170 spin_lock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet() 171 if (priv->tx.flags & ATH9K_HTC_OP_TX_DRAIN) { in ath9k_wmi_event_tasklet() 172 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet() 175 spin_unlock_bh(&priv->tx.tx_lock); in ath9k_wmi_event_tasklet() 260 connect.ep_callbacks.tx = ath9k_wmi_ctrl_tx; in ath9k_wmi_connect()
|
/linux-4.1.27/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.txt | 33 - dma-names : SSI case "rx" (=playback), "tx" (=capture) 38 - dma-names : "rx" (=playback), "tx" (=capture) 42 - dma-names : "tx" (=playback/capture) 84 dma-names = "tx"; 88 dma-names = "tx"; 96 dma-names = "rx", "tx"; 101 dma-names = "rx", "tx"; 106 dma-names = "rx", "tx"; 111 dma-names = "rx", "tx"; 116 dma-names = "rx", "tx"; [all …]
|
D | adi,axi-spdif-tx.txt | 4 - compatible : Must be "adi,axi-spdif-tx-1.00.a" 13 - dma-names : Must be "tx" 24 compatible = "adi,axi-spdif-tx-1.00.a"; 29 dma-names = "tx";
|
D | davinci-mcasp-audio.txt | 26 identifiers must be "rx" and "tx". 31 - tx-num-evt : FIFO levels. 36 - interrupt-names : Known interrupt names are "tx" and "rx" 50 interrupt-names = "tx", "rx"; 58 tx-num-evt = <1>;
|
D | mxs-saif.txt | 10 - dma-names: Must be "rx-tx". 31 dma-names = "rx-tx"; 39 dma-names = "rx-tx";
|
D | rockchip-i2s.txt | 17 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 19 - dma-names: should include "tx" and "rx". 34 dma-names = "tx", "rx";
|
D | ingenic,jz4740-i2s.txt | 9 - dma-names: Must be "tx" and "rx" 21 dma-names = "tx", "rx";
|
D | fsl,spdif.txt | 18 - dma-names : Two dmas have to be defined, "tx" and "rx". 24 "rxtx<0-7>" Clock source list for tx and rx clock. 43 dma-names = "rx", "tx";
|
D | sirf-audio-port.txt | 11 named "tx") and one for reception (should be named "rx"). 19 dma-names = "rx", "tx";
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
D | fmdrv_tx.c | 238 struct fmtx_data *tx = &fmdev->tx_data; in set_audio_io() local 243 payload = tx->audio_io; in set_audio_io() 256 struct fmtx_data *tx = &fmdev->tx_data; in enable_xmit() local 286 tx->xmit_state = new_xmit_state; in enable_xmit() 295 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_pwr_lvl() local 304 tx->pwr_lvl = new_pwr_lvl; in fm_tx_set_pwr_lvl() 322 tx->pwr_lvl = new_pwr_lvl; in fm_tx_set_pwr_lvl() 333 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_preemph_filter() local 357 tx->preemph = payload; in fm_tx_set_preemph_filter() 385 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_freq() local [all …]
|
/linux-4.1.27/drivers/iio/accel/ |
D | kxsd9.c | 57 u8 tx[KXSD9_STATE_TX_SIZE]; member 86 st->tx[0] = KXSD9_WRITE(KXSD9_REG_CTRL_C); in kxsd9_write_scale() 87 st->tx[1] = (ret & ~KXSD9_FS_MASK) | i; in kxsd9_write_scale() 89 ret = spi_write(st->us, st->tx, 2); in kxsd9_write_scale() 104 .tx_buf = st->tx, in kxsd9_read() 113 st->tx[0] = KXSD9_READ(address); in kxsd9_read() 204 st->tx[0] = 0x0d; in kxsd9_power_up() 205 st->tx[1] = 0x40; in kxsd9_power_up() 206 ret = spi_write(st->us, st->tx, 2); in kxsd9_power_up() 210 st->tx[0] = 0x0c; in kxsd9_power_up() [all …]
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
D | zd_usb.c | 894 struct zd_usb_tx *tx = &usb->tx; in zd_usb_disable_tx() local 897 atomic_set(&tx->enabled, 0); in zd_usb_disable_tx() 900 usb_kill_anchored_urbs(&tx->submitted); in zd_usb_disable_tx() 902 spin_lock_irqsave(&tx->lock, flags); in zd_usb_disable_tx() 903 WARN_ON(!skb_queue_empty(&tx->submitted_skbs)); in zd_usb_disable_tx() 904 WARN_ON(tx->submitted_urbs != 0); in zd_usb_disable_tx() 905 tx->submitted_urbs = 0; in zd_usb_disable_tx() 906 spin_unlock_irqrestore(&tx->lock, flags); in zd_usb_disable_tx() 923 struct zd_usb_tx *tx = &usb->tx; in zd_usb_enable_tx() local 925 spin_lock_irqsave(&tx->lock, flags); in zd_usb_enable_tx() [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-mcp795.c | 46 u8 tx[2]; in mcp795_rtcc_read() local 48 tx[0] = MCP795_READ; in mcp795_rtcc_read() 49 tx[1] = addr; in mcp795_rtcc_read() 50 ret = spi_write_then_read(spi, tx, sizeof(tx), buf, count); in mcp795_rtcc_read() 63 u8 tx[2 + count]; in mcp795_rtcc_write() local 65 tx[0] = MCP795_WRITE; in mcp795_rtcc_write() 66 tx[1] = addr; in mcp795_rtcc_write() 67 memcpy(&tx[2], data, count); in mcp795_rtcc_write() 69 ret = spi_write(spi, tx, 2 + count); in mcp795_rtcc_write()
|
/linux-4.1.27/drivers/mfd/ |
D | ipaq-micro.c | 36 struct ipaq_micro_txdev *tx = µ->tx; in ipaq_micro_trigger_tx() local 43 tx->buf[bp++] = CHAR_SOF; in ipaq_micro_trigger_tx() 46 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx() 49 tx->buf[bp++] = msg->tx_data[i]; in ipaq_micro_trigger_tx() 53 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx() 54 tx->len = bp; in ipaq_micro_trigger_tx() 55 tx->index = 0; in ipaq_micro_trigger_tx() 57 tx->buf, tx->len, true); in ipaq_micro_trigger_tx() 291 struct ipaq_micro_txdev *tx = µ->tx; in micro_tx_chars() local 294 while ((tx->index < tx->len) && in micro_tx_chars() [all …]
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_80211_tx.c | 388 struct hostap_tx_data tx; in hostap_master_start_xmit() local 397 tx.skb = skb; in hostap_master_start_xmit() 398 tx.sta_ptr = NULL; in hostap_master_start_xmit() 413 tx.crypt = local->crypt_info.crypt[local->crypt_info.tx_keyidx]; in hostap_master_start_xmit() 414 tx.host_encrypt = 1; in hostap_master_start_xmit() 416 tx.crypt = NULL; in hostap_master_start_xmit() 417 tx.host_encrypt = 0; in hostap_master_start_xmit() 432 tx_ret = hostap_handle_sta_tx(local, &tx); in hostap_master_start_xmit() 433 skb = tx.skb; in hostap_master_start_xmit() 482 tx.crypt = NULL; in hostap_master_start_xmit() [all …]
|
D | hostap_main.c | 553 void hostap_dump_tx_header(const char *name, const struct hfa384x_tx_frame *tx) in hostap_dump_tx_header() argument 559 name, __le16_to_cpu(tx->status), tx->retry_count, tx->tx_rate, in hostap_dump_tx_header() 560 __le16_to_cpu(tx->tx_control), jiffies); in hostap_dump_tx_header() 562 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header() 567 __le16_to_cpu(tx->duration_id), __le16_to_cpu(tx->seq_ctrl), in hostap_dump_tx_header() 568 __le16_to_cpu(tx->data_len), in hostap_dump_tx_header() 573 tx->addr1, tx->addr2, tx->addr3, tx->addr4); in hostap_dump_tx_header() 576 tx->dst_addr, tx->src_addr, in hostap_dump_tx_header() 577 __be16_to_cpu(tx->len)); in hostap_dump_tx_header()
|
/linux-4.1.27/include/linux/ |
D | async_tx.h | 101 static inline void async_tx_issue_pending(struct dma_async_tx_descriptor *tx) in async_tx_issue_pending() argument 103 if (likely(tx)) { in async_tx_issue_pending() 104 struct dma_chan *chan = tx->chan; in async_tx_issue_pending() 125 static inline void async_tx_issue_pending(struct dma_async_tx_descriptor *tx) in async_tx_issue_pending() argument 160 struct dma_async_tx_descriptor *tx, in init_async_submit() argument 165 args->depend_tx = tx; in init_async_submit() 171 void async_tx_submit(struct dma_chan *chan, struct dma_async_tx_descriptor *tx, 207 void async_tx_quiesce(struct dma_async_tx_descriptor **tx);
|
D | dmaengine.h | 443 dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *tx); 455 static inline void dma_set_unmap(struct dma_async_tx_descriptor *tx, in dma_set_unmap() argument 459 tx->unmap = unmap; in dma_set_unmap() 466 static inline void dma_set_unmap(struct dma_async_tx_descriptor *tx, in dma_set_unmap() argument 480 static inline void dma_descriptor_unmap(struct dma_async_tx_descriptor *tx) in dma_descriptor_unmap() argument 482 if (tx->unmap) { in dma_descriptor_unmap() 483 dmaengine_unmap_put(tx->unmap); in dma_descriptor_unmap() 484 tx->unmap = NULL; in dma_descriptor_unmap() 912 void dma_async_tx_descriptor_init(struct dma_async_tx_descriptor *tx, 915 static inline void async_tx_ack(struct dma_async_tx_descriptor *tx) in async_tx_ack() argument [all …]
|
/linux-4.1.27/Documentation/ptp/ |
D | testptp.c | 53 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument 55 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime() 151 struct timex tx; in main() local 290 memset(&tx, 0, sizeof(tx)); in main() 291 tx.modes = ADJ_FREQUENCY; in main() 292 tx.freq = ppb_to_scaled_ppm(adjfreq); in main() 293 if (clock_adjtime(clkid, &tx)) { in main() 301 memset(&tx, 0, sizeof(tx)); in main() 302 tx.modes = ADJ_SETOFFSET; in main() 303 tx.time.tv_sec = adjtime; in main() [all …]
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 174 struct myri10ge_tx_buf tx; /* transmit ring */ member 1151 ss->tx.req = 0; in myri10ge_reset() 1152 ss->tx.done = 0; in myri10ge_reset() 1153 ss->tx.pkt_start = 0; in myri10ge_reset() 1154 ss->tx.pkt_done = 0; in myri10ge_reset() 1159 ss->tx.wake_queue = 0; in myri10ge_reset() 1160 ss->tx.stop_queue = 0; in myri10ge_reset() 1521 struct myri10ge_tx_buf *tx = &ss->tx; in myri10ge_tx_done() local 1526 while (tx->pkt_done != mcp_index) { in myri10ge_tx_done() 1527 idx = tx->done & tx->mask; in myri10ge_tx_done() [all …]
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-mcp23s08.c | 172 u8 tx[2], rx[1]; in mcp23s08_read() local 175 tx[0] = mcp->addr | 0x01; in mcp23s08_read() 176 tx[1] = reg; in mcp23s08_read() 177 status = spi_write_then_read(mcp->data, tx, sizeof(tx), rx, sizeof(rx)); in mcp23s08_read() 183 u8 tx[3]; in mcp23s08_write() local 185 tx[0] = mcp->addr; in mcp23s08_write() 186 tx[1] = reg; in mcp23s08_write() 187 tx[2] = val; in mcp23s08_write() 188 return spi_write_then_read(mcp->data, tx, sizeof(tx), NULL, 0); in mcp23s08_write() 194 u8 tx[2], *tmp; in mcp23s08_read_regs() local [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/dma/ |
D | fsl-mxs-dma.txt | 41 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty", 43 "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx", 44 "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx"; 59 dma-names = "rx", "tx";
|
D | dma.txt | 64 dma-names = "rx", "tx"; 73 dma-names = "rx-tx", "rx-tx", "rx-tx"; 81 dma-names = "rx", "tx", "error", "error";
|
/linux-4.1.27/drivers/media/platform/omap/ |
D | omap_vout_vrfb.c | 222 struct vid_vrfb_dma *tx; in omap_vout_prepare_vrfb() local 253 tx = &vout->vrfb_dma_tx; in omap_vout_prepare_vrfb() 254 tx->tx_status = 0; in omap_vout_prepare_vrfb() 255 omap_set_dma_transfer_params(tx->dma_ch, OMAP_DMA_DATA_TYPE_S32, in omap_vout_prepare_vrfb() 257 tx->dev_id, 0x0); in omap_vout_prepare_vrfb() 259 omap_set_dma_src_params(tx->dma_ch, 0, OMAP_DMA_AMODE_POST_INC, in omap_vout_prepare_vrfb() 262 omap_set_dma_src_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb() 266 omap_set_dma_dest_params(tx->dma_ch, 0, OMAP_DMA_AMODE_DOUBLE_IDX, in omap_vout_prepare_vrfb() 270 omap_set_dma_dest_burst_mode(tx->dma_ch, OMAP_DMA_DATA_BURST_16); in omap_vout_prepare_vrfb() 273 omap_start_dma(tx->dma_ch); in omap_vout_prepare_vrfb() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sdma.c | 514 struct qib_verbs_txreq *tx) in complete_sdma_err_req() argument 516 atomic_inc(&tx->qp->s_dma_busy); in complete_sdma_err_req() 518 tx->txreq.start_idx = 0; in complete_sdma_err_req() 519 tx->txreq.next_descq_idx = 0; in complete_sdma_err_req() 520 list_add_tail(&tx->txreq.list, &ppd->sdma_activelist); in complete_sdma_err_req() 535 struct qib_verbs_txreq *tx) in qib_sdma_verbs_send() argument 551 complete_sdma_err_req(ppd, tx); in qib_sdma_verbs_send() 555 if (tx->txreq.sg_count > qib_sdma_descq_freecnt(ppd)) { in qib_sdma_verbs_send() 564 dwoffset = tx->hdr_dwords; in qib_sdma_verbs_send() 565 make_sdma_desc(ppd, sdmadesc, (u64) tx->txreq.addr, dwoffset, 0); in qib_sdma_verbs_send() [all …]
|
D | qib_verbs.c | 931 struct qib_verbs_txreq *tx; in __get_txreq() local 943 tx = list_entry(l, struct qib_verbs_txreq, txreq.list); in __get_txreq() 954 tx = ERR_PTR(-EBUSY); in __get_txreq() 956 return tx; in __get_txreq() 962 struct qib_verbs_txreq *tx; in get_txreq() local 972 tx = list_entry(l, struct qib_verbs_txreq, txreq.list); in get_txreq() 976 tx = __get_txreq(dev, qp); in get_txreq() 978 return tx; in get_txreq() 981 void qib_put_txreq(struct qib_verbs_txreq *tx) in qib_put_txreq() argument 987 qp = tx->qp; in qib_put_txreq() [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | ni_usb6501.c | 180 u8 *tx = devpriv->usb_tx_buf; in ni6501_port_command() local 192 memcpy(tx, READ_PORT_REQUEST, request_size); in ni6501_port_command() 193 tx[14] = port[0]; in ni6501_port_command() 198 memcpy(tx, WRITE_PORT_REQUEST, request_size); in ni6501_port_command() 199 tx[14] = port[0]; in ni6501_port_command() 200 tx[17] = bitmap[0]; in ni6501_port_command() 205 memcpy(tx, SET_PORT_DIR_REQUEST, request_size); in ni6501_port_command() 206 tx[14] = port[0]; in ni6501_port_command() 207 tx[15] = port[1]; in ni6501_port_command() 208 tx[16] = port[2]; in ni6501_port_command() [all …]
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | bh.c | 242 int *tx) in cw1200_bh_rx_helper() argument 331 *tx = 1; in cw1200_bh_rx_helper() 426 int rx, tx, term, suspend; in cw1200_bh() local 461 tx = atomic_xchg(&priv->bh_tx, 0); in cw1200_bh() 465 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh() 469 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh() 483 if (priv->hw_bufs_used && (!rx || !tx)) { in cw1200_bh() 548 tx += pending_tx; in cw1200_bh() 556 ret = cw1200_bh_rx_helper(priv, &ctrl_reg, &tx); in cw1200_bh() 561 ret = cw1200_bh_rx_helper(priv, &ctrl_reg, &tx); in cw1200_bh() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/serial/ |
D | mrvl,pxa-ssp.txt | 16 - dmas: Two dma phandles, one for rx, one for tx 17 - dma-names: Must be "rx", "tx" 30 dma-names = "rx", "tx"; 41 dma-names = "rx", "tx"; 52 dma-names = "rx", "tx"; 63 dma-names = "rx", "tx";
|
D | atmel-usart.txt | 16 - atmel,use-dma-tx: use of PDC or DMA for transmitting data 24 - dma-names: "rx" for RX channel, "tx" for TX channel. 39 atmel,use-dma-tx; 56 atmel,use-dma-tx; 59 dma-names = "tx", "rx";
|
/linux-4.1.27/drivers/staging/nvec/ |
D | nvec.c | 477 if (nvec->tx->pos != nvec->tx->size) { in nvec_tx_completed() 479 nvec->tx->pos = 0; in nvec_tx_completed() 556 nvec->tx = &nvec->tx_scratch; in nvec_tx_set() 557 list_add_tail(&nvec->tx->node, &nvec->tx_data); in nvec_tx_set() 559 nvec->tx = list_first_entry(&nvec->tx_data, struct nvec_msg, in nvec_tx_set() 561 nvec->tx->pos = 0; in nvec_tx_set() 566 (uint)nvec->tx->size, nvec->tx->data[1]); in nvec_tx_set() 641 BUG_ON(nvec->tx->size < 1); in nvec_interrupt() 642 to_send = nvec->tx->data[0]; in nvec_interrupt() 643 nvec->tx->pos = 1; in nvec_interrupt() [all …]
|
/linux-4.1.27/Documentation/spi/ |
D | spidev_test.c | 103 static void transfer(int fd, uint8_t const *tx, uint8_t const *rx, size_t len) in transfer() argument 108 .tx_buf = (unsigned long)tx, in transfer() 136 hex_dump(tx, len, 32, "TX"); in transfer() 256 uint8_t *tx; in main() local 305 tx = malloc(size); in main() 307 size = unescape((char *)tx, input_tx, size); in main() 308 transfer(fd, tx, rx, size); in main() 310 free(tx); in main()
|
/linux-4.1.27/sound/firewire/dice/ |
D | dice-proc.c | 99 } tx; in dice_proc_read() member 173 quadlets = min_t(u32, tx_rx_header.size, sizeof(buf.tx) / 4); in dice_proc_read() 175 if (dice_proc_read_mem(dice, &buf.tx, sections[2] + 2 + in dice_proc_read() 180 snd_iprintf(buffer, " iso channel: %d\n", (int)buf.tx.iso); in dice_proc_read() 182 buf.tx.number_audio); in dice_proc_read() 183 snd_iprintf(buffer, " midi ports: %u\n", buf.tx.number_midi); in dice_proc_read() 184 snd_iprintf(buffer, " speed: S%u\n", 100u << buf.tx.speed); in dice_proc_read() 186 dice_proc_fixup_string(buf.tx.names, TX_NAMES_SIZE); in dice_proc_read() 187 snd_iprintf(buffer, " names: %s\n", buf.tx.names); in dice_proc_read() 191 buf.tx.ac3_caps); in dice_proc_read() [all …]
|
/linux-4.1.27/drivers/media/rc/ |
D | nuvoton-cir.c | 555 spin_lock_irqsave(&nvt->tx.lock, flags); in nvt_tx_ir() 558 nvt->tx.buf_count = (ret * sizeof(unsigned)); in nvt_tx_ir() 560 memcpy(nvt->tx.buf, txbuf, nvt->tx.buf_count); in nvt_tx_ir() 562 nvt->tx.cur_buf_num = 0; in nvt_tx_ir() 570 nvt->tx.tx_state = ST_TX_REPLY; in nvt_tx_ir() 579 spin_unlock_irqrestore(&nvt->tx.lock, flags); in nvt_tx_ir() 581 wait_event(nvt->tx.queue, nvt->tx.tx_state == ST_TX_REQUEST); in nvt_tx_ir() 583 spin_lock_irqsave(&nvt->tx.lock, flags); in nvt_tx_ir() 584 nvt->tx.tx_state = ST_TX_NONE; in nvt_tx_ir() 585 spin_unlock_irqrestore(&nvt->tx.lock, flags); in nvt_tx_ir() [all …]
|
/linux-4.1.27/drivers/dma/sh/ |
D | shdma-base.c | 73 static dma_cookie_t shdma_tx_submit(struct dma_async_tx_descriptor *tx) in shdma_tx_submit() argument 76 container_of(tx, struct shdma_desc, async_tx); in shdma_tx_submit() 77 struct shdma_chan *schan = to_shdma_chan(tx->chan); in shdma_tx_submit() 78 dma_async_tx_callback callback = tx->callback; in shdma_tx_submit() 86 cookie = dma_cookie_assign(tx); in shdma_tx_submit() 102 chunk->async_tx.callback_param = tx->callback_param; in shdma_tx_submit() 111 tx->cookie, &chunk->async_tx, schan->id); in shdma_tx_submit() 339 struct dma_async_tx_descriptor *tx = &desc->async_tx; in __ld_cleanup() local 341 BUG_ON(tx->cookie > 0 && tx->cookie != desc->cookie); in __ld_cleanup() 355 if (tx->cookie > 0) in __ld_cleanup() [all …]
|
D | shdma.h | 61 #define tx_to_sh_desc(tx) container_of(tx, struct sh_desc, async_tx) argument
|
/linux-4.1.27/drivers/tty/serial/ |
D | max3100.c | 196 static int max3100_sr(struct max3100_port *s, u16 tx, u16 *rx) in max3100_sr() argument 207 etx = cpu_to_be16(tx); in max3100_sr() 217 dev_dbg(&s->spi->dev, "%04x - %04x\n", tx, *rx); in max3100_sr() 265 u16 tx, rx; in max3100_work() local 293 tx = 0xffff; in max3100_work() 295 tx = s->port.x_char; in max3100_work() 296 s->port.icount.tx++; in max3100_work() 300 tx = xmit->buf[xmit->tail]; in max3100_work() 303 s->port.icount.tx++; in max3100_work() 305 if (tx != 0xffff) { in max3100_work() [all …]
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | omap2430.dtsi | 166 interrupt-names = "common", "tx", "rx", "rx_overflow"; 171 dma-names = "tx", "rx"; 182 interrupt-names = "common", "tx", "rx"; 187 dma-names = "tx", "rx"; 198 interrupt-names = "common", "tx", "rx"; 203 dma-names = "tx", "rx"; 214 interrupt-names = "common", "tx", "rx"; 219 dma-names = "tx", "rx"; 230 interrupt-names = "common", "tx", "rx"; 235 dma-names = "tx", "rx"; [all …]
|
D | omap3.dtsi | 150 dma-names = "tx", "rx"; 288 dma-names = "tx", "rx"; 298 dma-names = "tx", "rx"; 308 dma-names = "tx", "rx"; 318 dma-names = "tx", "rx"; 329 dma-names = "tx", "rx"; 340 dma-names = "tx", "rx"; 355 ti,mbox-tx = <0 0 0>; 436 dma-names = "tx", "rx"; 446 dma-names = "tx", "rx"; [all …]
|
D | imx23.dtsi | 88 dma-names = "rx-tx"; 97 dma-names = "rx-tx"; 331 interrupt-names = "audio-adc", "audio-dac", "spdif-tx", "i2c", 332 "saif0", "empty", "auart0-rx", "auart0-tx", 333 "auart1-rx", "auart1-tx", "saif1", "empty", 376 dma-names = "rx-tx"; 402 dma-names = "rx-tx"; 414 dma-names = "rx-tx"; 421 dma-names = "tx"; 444 dma-names = "tx"; [all …]
|
D | omap2420.dtsi | 141 interrupt-names = "tx", "rx"; 145 dma-names = "tx", "rx"; 155 interrupt-names = "tx", "rx"; 159 dma-names = "tx", "rx"; 169 dma-names = "tx", "rx"; 182 ti,mbox-tx = <0 0 0>; 186 ti,mbox-tx = <2 1 3>;
|
D | imx28.dtsi | 112 dma-names = "rx-tx"; 123 dma-names = "rx-tx"; 134 dma-names = "rx-tx"; 145 dma-names = "rx-tx"; 156 dma-names = "rx-tx"; 916 interrupt-names = "auart4-rx", "auart4-tx", "spdif-tx", "empty", 918 "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx", 919 "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx"; 1033 dma-names = "rx-tx"; 1048 dma-names = "rx-tx"; [all …]
|
D | r8a7790.dtsi | 421 dma-names = "tx", "rx"; 433 dma-names = "tx", "rx"; 445 dma-names = "tx", "rx"; 457 dma-names = "tx", "rx"; 467 dma-names = "tx", "rx"; 478 dma-names = "tx", "rx"; 494 dma-names = "tx", "rx"; 504 dma-names = "tx", "rx"; 514 dma-names = "tx", "rx"; 524 dma-names = "tx", "rx"; [all …]
|
D | tegra20.dtsi | 276 dma-names = "rx", "tx"; 288 dma-names = "rx", "tx"; 300 dma-names = "rx", "tx"; 320 dma-names = "rx", "tx"; 333 dma-names = "rx", "tx"; 346 dma-names = "rx", "tx"; 359 dma-names = "rx", "tx"; 372 dma-names = "rx", "tx"; 405 dma-names = "rx", "tx"; 419 dma-names = "rx", "tx"; [all …]
|
D | r8a7791.dtsi | 431 dma-names = "tx", "rx"; 443 dma-names = "tx", "rx"; 455 dma-names = "tx", "rx"; 471 dma-names = "tx", "rx"; 482 dma-names = "tx", "rx"; 492 dma-names = "tx", "rx"; 502 dma-names = "tx", "rx"; 1282 dma-names = "tx", "rx"; 1295 dma-names = "tx", "rx"; 1307 dma-names = "tx", "rx"; [all …]
|
D | ste-dbx5x0.dtsi | 721 dma-names = "rx", "tx"; 735 dma-names = "rx", "tx"; 750 dma-names = "rx", "tx"; 765 dma-names = "rx", "tx"; 780 dma-names = "rx", "tx"; 795 dma-names = "rx", "tx"; 806 dma-names = "rx", "tx"; 821 dma-names = "rx", "tx"; 836 dma-names = "rx", "tx"; 851 dma-names = "rx", "tx"; [all …]
|
D | omap2.dtsi | 64 dma-names = "tx", "rx"; 102 dma-names = "tx", "rx"; 113 dma-names = "tx", "rx"; 158 dma-names = "tx", "rx"; 168 dma-names = "tx", "rx"; 178 dma-names = "tx", "rx";
|
D | tegra114.dtsi | 268 dma-names = "rx", "tx"; 281 dma-names = "rx", "tx"; 294 dma-names = "rx", "tx"; 307 dma-names = "rx", "tx"; 332 dma-names = "rx", "tx"; 347 dma-names = "rx", "tx"; 362 dma-names = "rx", "tx"; 377 dma-names = "rx", "tx"; 392 dma-names = "rx", "tx"; 407 dma-names = "rx", "tx"; [all …]
|
D | tegra30.dtsi | 383 dma-names = "rx", "tx"; 396 dma-names = "rx", "tx"; 409 dma-names = "rx", "tx"; 422 dma-names = "rx", "tx"; 435 dma-names = "rx", "tx"; 468 dma-names = "rx", "tx"; 484 dma-names = "rx", "tx"; 500 dma-names = "rx", "tx"; 516 dma-names = "rx", "tx"; 532 dma-names = "rx", "tx"; [all …]
|
D | spear1310-evb.dts | 363 pl022,slave-tx-disable; 366 pl022,tx-level-trig = <0>; 396 pl022,slave-tx-disable; 399 pl022,tx-level-trig = <0>; 412 pl022,slave-tx-disable; 415 pl022,tx-level-trig = <0>;
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_verbs.c | 1004 struct ipath_verbs_txreq *tx = NULL; in get_txreq() local 1012 tx = list_entry(l, struct ipath_verbs_txreq, txreq.list); in get_txreq() 1015 return tx; in get_txreq() 1019 struct ipath_verbs_txreq *tx) in put_txreq() argument 1024 list_add(&tx->txreq.list, &dev->txreq_free); in put_txreq() 1030 struct ipath_verbs_txreq *tx = cookie; in sdma_complete() local 1031 struct ipath_qp *qp = tx->qp; in sdma_complete() 1039 if (tx->wqe) in sdma_complete() 1040 ipath_send_complete(qp, tx->wqe, ibs); in sdma_complete() 1047 } else if (tx->wqe) { in sdma_complete() [all …]
|
D | ipath_sdma.c | 666 struct ipath_verbs_txreq *tx) in ipath_sdma_verbs_send() argument 678 if ((tx->map_len + (dwords<<2)) > dd->ipath_ibmaxlen) { in ipath_sdma_verbs_send() 680 tx->map_len + (dwords<<2), dd->ipath_ibmaxlen); in ipath_sdma_verbs_send() 693 if (tx->txreq.sg_count > ipath_sdma_descq_freecnt(dd)) { in ipath_sdma_verbs_send() 700 addr = dma_map_single(&dd->pcidev->dev, tx->txreq.map_addr, in ipath_sdma_verbs_send() 701 tx->map_len, DMA_TO_DEVICE); in ipath_sdma_verbs_send() 705 dwoffset = tx->map_len >> 2; in ipath_sdma_verbs_send() 710 if (tx->txreq.flags & IPATH_SDMA_TXREQ_F_USELARGEBUF) in ipath_sdma_verbs_send() 719 if (tx->txreq.flags & IPATH_SDMA_TXREQ_F_FREEDESC) in ipath_sdma_verbs_send() 720 tx->txreq.start_idx = tail; in ipath_sdma_verbs_send() [all …]
|
/linux-4.1.27/drivers/input/gameport/ |
D | gameport.c | 84 unsigned int i, t, tx; in gameport_measure_speed() local 91 tx = ~0; in gameport_measure_speed() 103 if (t < tx) in gameport_measure_speed() 104 tx = t; in gameport_measure_speed() 109 if (tx) in gameport_measure_speed() 110 t /= tx; in gameport_measure_speed() 118 unsigned int i, t, t1, t2, t3, tx; in old_gameport_measure_speed() local 124 tx = 1 << 30; in old_gameport_measure_speed() 134 if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t; in old_gameport_measure_speed() 138 return 59659 / (tx < 1 ? 1 : tx); in old_gameport_measure_speed() [all …]
|
/linux-4.1.27/drivers/staging/iio/accel/ |
D | lis3l02dq_core.c | 58 .tx_buf = st->tx, in lis3l02dq_spi_read_reg_8() 65 st->tx[0] = LIS3L02DQ_READ_REG(reg_address); in lis3l02dq_spi_read_reg_8() 66 st->tx[1] = 0; in lis3l02dq_spi_read_reg_8() 89 st->tx[0] = LIS3L02DQ_WRITE_REG(reg_address); in lis3l02dq_spi_write_reg_8() 90 st->tx[1] = val; in lis3l02dq_spi_write_reg_8() 91 ret = spi_write(st->us, st->tx, 2); in lis3l02dq_spi_write_reg_8() 111 .tx_buf = st->tx, in lis3l02dq_spi_write_reg_s16() 116 .tx_buf = st->tx + 2, in lis3l02dq_spi_write_reg_s16() 123 st->tx[0] = LIS3L02DQ_WRITE_REG(lower_reg_address); in lis3l02dq_spi_write_reg_s16() 124 st->tx[1] = value & 0xFF; in lis3l02dq_spi_write_reg_s16() [all …]
|
D | lis3l02dq_ring.c | 75 xfers[j].tx_buf = st->tx + 2*j; in lis3l02dq_read_all() 76 st->tx[2*j] = read_all_tx_array[i*4]; in lis3l02dq_read_all() 77 st->tx[2*j + 1] = 0; in lis3l02dq_read_all() 86 xfers[j].tx_buf = st->tx + 2*j; in lis3l02dq_read_all() 87 st->tx[2*j] = read_all_tx_array[i*4 + 2]; in lis3l02dq_read_all() 88 st->tx[2*j + 1] = 0; in lis3l02dq_read_all()
|
D | sca3000_core.c | 85 st->tx[0] = SCA3000_WRITE_REG(address); in sca3000_write_reg() 86 st->tx[1] = val; in sca3000_write_reg() 87 return spi_write(st->us, st->tx, 2); in sca3000_write_reg() 97 .tx_buf = st->tx, in sca3000_read_data_short() 103 st->tx[0] = SCA3000_READ_REG(reg_address_high); in sca3000_read_data_short() 137 .tx_buf = st->tx, in __sca3000_unlock_reg_lock() 141 .tx_buf = st->tx + 2, in __sca3000_unlock_reg_lock() 144 .tx_buf = st->tx + 4, in __sca3000_unlock_reg_lock() 147 st->tx[0] = SCA3000_WRITE_REG(SCA3000_REG_ADDR_UNLOCK); in __sca3000_unlock_reg_lock() 148 st->tx[1] = 0x00; in __sca3000_unlock_reg_lock() [all …]
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 695 struct ipoib_cm_tx *tx, in post_send() argument 707 return ib_post_send(tx->qp, &priv->tx_wr, &bad_wr); in post_send() 710 void ipoib_cm_send(struct net_device *dev, struct sk_buff *skb, struct ipoib_cm_tx *tx) in ipoib_cm_send() argument 717 if (unlikely(skb->len > tx->mtu)) { in ipoib_cm_send() 719 skb->len, tx->mtu); in ipoib_cm_send() 722 ipoib_cm_skb_too_long(dev, skb, tx->mtu - IPOIB_ENCAP_LEN); in ipoib_cm_send() 727 tx->tx_head, skb->len, tx->qp->qp_num); in ipoib_cm_send() 736 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send() 750 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), in ipoib_cm_send() 759 ++tx->tx_head; in ipoib_cm_send() [all …]
|
/linux-4.1.27/drivers/misc/echo/ |
D | echo.c | 347 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update() argument 360 ec->tx = tx; in oslec_update() 362 tx >>= 1; in oslec_update() 418 new = (int)tx * (int)tx; in oslec_update() 429 ec->ltxacc += abs(tx) - ec->ltx; in oslec_update() 437 echo_value = fir16(&ec->fir_state, tx); in oslec_update() 444 echo_value = fir16(&ec->fir_state_bg, tx); in oslec_update() 639 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx) in oslec_hpf_tx() argument 645 tmp = tx << 15; in oslec_hpf_tx() 663 tx = tmp1; in oslec_hpf_tx() [all …]
|
D | oslec.h | 83 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx); 92 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx);
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-class-net-queues | 19 What: /sys/class/<iface>/queues/tx-<queue>/tx_timeout 27 What: /sys/class/<iface>/queues/tx-<queue>/tx_maxrate 35 What: /sys/class/<iface>/queues/tx-<queue>/xps_cpus 45 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/hold_time 54 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/inflight 62 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit 71 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_max 80 What: /sys/class/<iface>/queues/tx-<queue>/byte_queue_limits/limit_min
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_clock.c | 127 static int ptp_clock_adjtime(struct posix_clock *pc, struct timex *tx) in ptp_clock_adjtime() argument 135 if (tx->modes & ADJ_SETOFFSET) { in ptp_clock_adjtime() 140 ts.tv_sec = tx->time.tv_sec; in ptp_clock_adjtime() 141 ts.tv_nsec = tx->time.tv_usec; in ptp_clock_adjtime() 143 if (!(tx->modes & ADJ_NANO)) in ptp_clock_adjtime() 152 } else if (tx->modes & ADJ_FREQUENCY) { in ptp_clock_adjtime() 153 s32 ppb = scaled_ppm_to_ppb(tx->freq); in ptp_clock_adjtime() 157 ptp->dialed_frequency = tx->freq; in ptp_clock_adjtime() 158 } else if (tx->modes == 0) { in ptp_clock_adjtime() 159 tx->freq = ptp->dialed_frequency; in ptp_clock_adjtime()
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma_v3.c | 395 struct dma_async_tx_descriptor *tx; in __cleanup() local 406 tx = &desc->txd; in __cleanup() 407 if (tx->cookie) { in __cleanup() 408 dma_cookie_complete(tx); in __cleanup() 409 dma_descriptor_unmap(tx); in __cleanup() 410 if (tx->callback) { in __cleanup() 411 tx->callback(tx->callback_param); in __cleanup() 412 tx->callback = NULL; in __cleanup() 416 if (tx->phys == phys_complete) in __cleanup() 497 struct dma_async_tx_descriptor *tx; in ioat3_eh() local [all …]
|
D | dma.c | 226 static dma_cookie_t ioat1_tx_submit(struct dma_async_tx_descriptor *tx) in ioat1_tx_submit() argument 228 struct dma_chan *c = tx->chan; in ioat1_tx_submit() 230 struct ioat_desc_sw *desc = tx_to_ioat_desc(tx); in ioat1_tx_submit() 238 cookie = dma_cookie_assign(tx); in ioat1_tx_submit() 606 struct dma_async_tx_descriptor *tx; in __cleanup() local 615 tx = &desc->txd; in __cleanup() 622 if (tx->cookie) { in __cleanup() 623 dma_cookie_complete(tx); in __cleanup() 624 dma_descriptor_unmap(tx); in __cleanup() 626 if (tx->callback) { in __cleanup() [all …]
|
D | dma.h | 36 #define tx_to_ioat_desc(tx) container_of(tx, struct ioat_desc_sw, txd) argument 199 struct dma_async_tx_descriptor *tx, int id) in __dump_desc_dbg() argument 205 (unsigned long long) tx->phys, in __dump_desc_dbg() 206 (unsigned long long) hw->next, tx->cookie, tx->flags, in __dump_desc_dbg()
|
D | dma_v2.c | 130 struct dma_async_tx_descriptor *tx; in __cleanup() local 144 tx = &desc->txd; in __cleanup() 146 if (tx->cookie) { in __cleanup() 147 dma_descriptor_unmap(tx); in __cleanup() 148 dma_cookie_complete(tx); in __cleanup() 149 if (tx->callback) { in __cleanup() 150 tx->callback(tx->callback_param); in __cleanup() 151 tx->callback = NULL; in __cleanup() 155 if (tx->phys == phys_complete) in __cleanup() 411 static dma_cookie_t ioat2_tx_submit_unlock(struct dma_async_tx_descriptor *tx) in ioat2_tx_submit_unlock() argument [all …]
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 4965-debug.c | 479 struct stats_tx *tx, *accum_tx, *delta_tx, *max_tx; in il4965_ucode_tx_stats_read() local 494 tx = &il->_4965.stats.tx; in il4965_ucode_tx_stats_read() 495 accum_tx = &il->_4965.accum_stats.tx; in il4965_ucode_tx_stats_read() 496 delta_tx = &il->_4965.delta_stats.tx; in il4965_ucode_tx_stats_read() 497 max_tx = &il->_4965.max_delta.tx; in il4965_ucode_tx_stats_read() 503 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, in il4965_ucode_tx_stats_read() 507 le32_to_cpu(tx->rx_detected_cnt), in il4965_ucode_tx_stats_read() 512 le32_to_cpu(tx->bt_prio_defer_cnt), in il4965_ucode_tx_stats_read() 517 le32_to_cpu(tx->bt_prio_kill_cnt), in il4965_ucode_tx_stats_read() 522 le32_to_cpu(tx->few_bytes_cnt), accum_tx->few_bytes_cnt, in il4965_ucode_tx_stats_read() [all …]
|
D | 3945-debug.c | 325 struct iwl39_stats_tx *tx, *accum_tx, *delta_tx, *max_tx; in il3945_ucode_tx_stats_read() local 341 tx = &il->_3945.stats.tx; in il3945_ucode_tx_stats_read() 342 accum_tx = &il->_3945.accum_stats.tx; in il3945_ucode_tx_stats_read() 343 delta_tx = &il->_3945.delta_stats.tx; in il3945_ucode_tx_stats_read() 344 max_tx = &il->_3945.max_delta.tx; in il3945_ucode_tx_stats_read() 354 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, in il3945_ucode_tx_stats_read() 359 le32_to_cpu(tx->rx_detected_cnt), in il3945_ucode_tx_stats_read() 365 le32_to_cpu(tx->bt_prio_defer_cnt), in il3945_ucode_tx_stats_read() 371 le32_to_cpu(tx->bt_prio_kill_cnt), in il3945_ucode_tx_stats_read() 377 le32_to_cpu(tx->few_bytes_cnt), accum_tx->few_bytes_cnt, in il3945_ucode_tx_stats_read() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 55 int tx = DCB_TX_CONFIG; in ixgbe_copy_dcb_cfg() local 73 if (dst->path[tx].prio_type != src->path[tx].prio_type) { in ixgbe_copy_dcb_cfg() 74 dst->path[tx].prio_type = src->path[tx].prio_type; in ixgbe_copy_dcb_cfg() 78 if (dst->path[tx].bwg_id != src->path[tx].bwg_id) { in ixgbe_copy_dcb_cfg() 79 dst->path[tx].bwg_id = src->path[tx].bwg_id; in ixgbe_copy_dcb_cfg() 83 if (dst->path[tx].bwg_percent != src->path[tx].bwg_percent) { in ixgbe_copy_dcb_cfg() 84 dst->path[tx].bwg_percent = src->path[tx].bwg_percent; in ixgbe_copy_dcb_cfg() 88 if (dst->path[tx].up_to_tc_bitmap != in ixgbe_copy_dcb_cfg() 89 src->path[tx].up_to_tc_bitmap) { in ixgbe_copy_dcb_cfg() 90 dst->path[tx].up_to_tc_bitmap = in ixgbe_copy_dcb_cfg() [all …]
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00config.c | 142 if (config.tx == ANTENNA_SW_DIVERSITY) { in rt2x00lib_config_antenna() 145 if (def->tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna() 146 config.tx = ANTENNA_B; in rt2x00lib_config_antenna() 148 config.tx = def->tx; in rt2x00lib_config_antenna() 150 } else if (config.tx == ANTENNA_SW_DIVERSITY) in rt2x00lib_config_antenna() 151 config.tx = active->tx; in rt2x00lib_config_antenna()
|
/linux-4.1.27/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 17 - apm,tx-eye-tuning : Manual control to fine tune the capture of the serial 22 - apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample 27 - apm,tx-boost-gain : Frequency boost AC (LSB 3-bit) and DC (2-bit) 31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for 35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of 39 - apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of 43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of 46 - apm,tx-speed : Tx operating speed. One set of 3-tuple for each
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_mipi_dsi.c | 356 const u8 *tx = msg->tx_buf; in mipi_dsi_create_packet() local 358 packet->header[1] = (msg->tx_len > 0) ? tx[0] : 0; in mipi_dsi_create_packet() 359 packet->header[2] = (msg->tx_len > 1) ? tx[1] : 0; in mipi_dsi_create_packet() 380 u8 tx[2] = { value & 0xff, value >> 8 }; in mipi_dsi_set_maximum_return_packet_size() local 384 .tx_len = sizeof(tx), in mipi_dsi_set_maximum_return_packet_size() 385 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size() 541 u8 *tx; in mipi_dsi_dcs_write() local 546 tx = kmalloc(size, GFP_KERNEL); in mipi_dsi_dcs_write() 547 if (!tx) in mipi_dsi_dcs_write() 551 tx[0] = cmd; in mipi_dsi_dcs_write() [all …]
|
/linux-4.1.27/drivers/net/can/softing/ |
D | softing_main.c | 80 (card->tx.pending >= TXMAX) || in softing_netdev_start_xmit() 81 (priv->tx.pending >= TX_ECHO_SKB_MAX)) in softing_netdev_start_xmit() 115 card->tx.last_bus = priv->index; in softing_netdev_start_xmit() 116 ++card->tx.pending; in softing_netdev_start_xmit() 117 ++priv->tx.pending; in softing_netdev_start_xmit() 118 can_put_echo_skb(skb, dev, priv->tx.echo_put); in softing_netdev_start_xmit() 119 ++priv->tx.echo_put; in softing_netdev_start_xmit() 120 if (priv->tx.echo_put >= TX_ECHO_SKB_MAX) in softing_netdev_start_xmit() 121 priv->tx.echo_put = 0; in softing_netdev_start_xmit() 126 if (card->tx.pending >= TXMAX) { in softing_netdev_start_xmit() [all …]
|
/linux-4.1.27/drivers/net/ |
D | xen-netfront.c | 115 struct xen_netif_tx_front_ring tx; member 239 return (queue->tx.req_prod_pvt - queue->tx.rsp_cons) < in netfront_tx_slot_available() 373 prod = queue->tx.sring->rsp_prod; in xennet_tx_buf_gc() 376 for (cons = queue->tx.rsp_cons; cons != prod; cons++) { in xennet_tx_buf_gc() 379 txrsp = RING_GET_RESPONSE(&queue->tx, cons); in xennet_tx_buf_gc() 401 queue->tx.rsp_cons = prod; in xennet_tx_buf_gc() 411 queue->tx.sring->rsp_event = in xennet_tx_buf_gc() 412 prod + ((queue->tx.sring->req_prod - prod) >> 1) + 1; in xennet_tx_buf_gc() 414 } while ((cons == prod) && (prod != queue->tx.sring->rsp_prod)); in xennet_tx_buf_gc() 424 struct xen_netif_tx_request *tx; in xennet_make_one_txreq() local [all …]
|
/linux-4.1.27/drivers/isdn/sc/ |
D | message.h | 38 #define IS_CM_MESSAGE(mesg, tx, cx, dx) \ argument 39 ((mesg.type == cmRspType##tx) \ 46 #define IS_CE_MESSAGE(mesg, tx, cx, dx) \ argument 47 ((mesg.type == ceRspType##tx) \ 49 && (mesg.code == ceRsp##tx##dx))
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | keystone-netcp.txt | 92 - tx-channel: the navigator packet dma channel name for tx. 93 - tx-queue: the navigator queue number associated with the tx dma channel. 122 - tx-pool: specifies the number of descriptors to be used & the region-id 123 for creating the tx descriptor pool. 128 - tx-completion-queue: the navigator queue number where the descriptors are 164 tx-queue = <648>; 165 tx-channel = <8>; 195 tx-pool = <1024 12>; 199 tx-completion-queue = <8706>; 207 tx-pool = <1024 12>; [all …]
|
D | marvell-orion-net.txt | 30 - marvell,tx-checksum-limit: max tx packet size for hardware checksum. 42 - marvell,tx-queue-size: size of the transmit ring buffer. 43 - marvell,tx-sram-addr: address of transmit descriptor buffer located in SRAM. 44 - marvell,tx-sram-size: size of transmit descriptor buffer located in SRAM. 73 marvell,tx-checksum-limit = <1600>;
|
D | allwinner,sun7i-a20-gmac.txt | 8 - clocks: Should contain the GMAC main clock, and tx clock 9 The tx clock type should be "allwinner,sun7i-a20-gmac-clk"
|
/linux-4.1.27/drivers/net/irda/ |
D | donauboe.c | 283 printk (" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumpregs() 490 self->ring->tx[i].len = 0; in toshoboe_initring() 491 self->ring->tx[i].control = 0x00; in toshoboe_initring() 492 self->ring->tx[i].address = virt_to_bus (self->tx_bufs[i]); in toshoboe_initring() 654 PROBE_DEBUG(" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumptx() 712 if (self->ring->tx[txp].control & OBOE_CTL_TX_HW_OWNS) in toshoboe_probeinterrupt() 840 self->ring->tx[self->txs].control = in toshoboe_probe() 845 self->ring->tx[self->txs].len = in toshoboe_probe() 850 self->ring->tx[self->txs].control = in toshoboe_probe() 853 self->ring->tx[self->txs].len = in toshoboe_probe() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | hw.c | 144 u32 cycles, busy, rx, tx; in ath_hw_cycle_counters_update() local 154 tx = REG_READ(ah, AR_TFCNT); in ath_hw_cycle_counters_update() 169 common->cc_ani.tx_frame += tx; in ath_hw_cycle_counters_update() 174 common->cc_survey.tx_frame += tx; in ath_hw_cycle_counters_update()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | trace.h | 91 __field(unsigned int, tx) 105 __entry->tx = 1; 107 __entry->tx = 0; 112 __entry->tx ? "tx" : "rx", 126 __field(unsigned int, tx) 146 __entry->tx = 1; 148 __entry->tx = 0; 165 __entry->tx ? "tx" : "rx",
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 92 struct pasemi_mac_txring *tx; member 110 #define TX_DESC(tx, num) ((tx)->chan.ring_virt[(num) & (TX_RING_SIZE-1)]) argument 111 #define TX_DESC_INFO(tx, num) ((tx)->ring_info[(num) & (TX_RING_SIZE-1)]) argument
|
/linux-4.1.27/Documentation/devicetree/bindings/spi/ |
D | spi_pl022.txt | 22 least one channel named "tx" for transmit and named "rx" for 35 - pl022,tx-level-trig : Tx FIFO watermark level 51 dma-names = "rx", "tx"; 61 pl022,slave-tx-disable; 64 pl022,tx-level-trig = <0>;
|
D | spi-rspi.txt | 26 - "tx" to SPTI, 38 - dma-names : Must contain a list of two DMA names, "tx" and "rx". 51 interrupt-names = "error", "rx", "tx"; 68 dma-names = "tx", "rx";
|
D | sh-msiof.txt | 32 - dma-names : Must contain a list of two DMA names, "tx" and "rx". 51 - renesas,tx-fifo-size : Overrides the default tx fifo size given in words 67 dma-names = "tx", "rx";
|
D | fsl-imx-cspi.txt | 20 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 22 - dma-names: DMA request names should include "tx" and "rx" if present. 36 dma-names = "rx", "tx";
|
D | spi-rockchip.txt | 24 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 26 - dma-names: DMA request names should include "tx" and "rx" if present. 38 dma-names = "tx", "rx";
|
/linux-4.1.27/Documentation/devicetree/bindings/usb/ |
D | dwc2.txt | 25 - g-np-tx-fifo-size: size of non-periodic tx fifo size in gadget mode. 26 - g-tx-fifo-size: size of periodic tx fifo per endpoint (except ep0) in gadget mode.
|
/linux-4.1.27/Documentation/devicetree/bindings/crypto/ |
D | qcom-qce.txt | 11 - dmas : DMA specifiers for tx and rx dma channels. For more see 13 - dma-names : DMA request names should be "rx" and "tx" 24 dma-names = "rx", "tx";
|
D | omap-aes.txt | 17 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 19 - dma-names: DMA request names should include "tx" and "rx" if present. 30 dma-names = "tx", "rx";
|
D | atmel-crypto.txt | 23 dma-names = "tx", "rx"; 45 dma-names = "tx", "rx"; 59 in the dmas property. Only one "tx" string needed. 67 dma-names = "tx";
|
D | omap-des.txt | 14 - dmas: DMA specifiers for tx and rx dma. See the DMA client binding, 17 - dma-names: DMA request names should include "tx" and "rx" if present 27 dma-names = "tx", "rx";
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | gk104.c | 27 gk104_aux_stat(struct nvkm_i2c *i2c, u32 *hi, u32 *lo, u32 *rq, u32 *tx) in gk104_aux_stat() argument 31 for (i = 0, *hi = *lo = *rq = *tx = 0; i < 8; i++) { in gk104_aux_stat() 35 if ((stat & (8 << (i * 4)))) *tx |= 1 << i; in gk104_aux_stat()
|
/linux-4.1.27/net/nfc/nci/ |
D | spi.c | 186 struct spi_transfer tx, rx; in __nci_spi_read() local 192 memset(&tx, 0, sizeof(struct spi_transfer)); in __nci_spi_read() 195 tx.tx_buf = req; in __nci_spi_read() 196 tx.len = 2; in __nci_spi_read() 197 tx.cs_change = 0; in __nci_spi_read() 198 spi_message_add_tail(&tx, &m); in __nci_spi_read()
|
/linux-4.1.27/Documentation/devicetree/bindings/mailbox/ |
D | omap-mailbox.txt | 17 and tx interrupt source per h/w fifo. Communication between different processors 18 is achieved through the appropriate programming of the rx and tx interrupt 62 - ti,mbox-tx: sub-mailbox descriptor property defining a Tx fifo 67 Each of the above ti,mbox-tx and ti,mbox-rx properties should have 3 cells of 70 (ti,mbox-tx) or for receiving (ti,mbox-rx) 76 associated with generating a tx/rx fifo interrupt. 103 ti,mbox-tx = <0 0 0>; 107 ti,mbox-tx = <3 0 0>; 128 ti,mbox-tx = <0 0 0>;
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | mpc5121.dtsi | 189 dma-names = "rx-tx"; 351 fsl,tx-fifo-size = <16>; 363 fsl,tx-fifo-size = <16>; 375 fsl,tx-fifo-size = <16>; 387 fsl,tx-fifo-size = <16>; 399 fsl,tx-fifo-size = <16>; 411 fsl,tx-fifo-size = <16>; 423 fsl,tx-fifo-size = <16>; 435 fsl,tx-fifo-size = <16>; 447 fsl,tx-fifo-size = <16>; [all …]
|
D | eiger.dts | 124 num-tx-chans = <4>; 313 mal-tx-channel = <0>; 318 tx-fifo-size = <2048>; 343 mal-tx-channel = <1>; 348 tx-fifo-size = <2048>; 374 mal-tx-channel = <2>; 379 tx-fifo-size = <2048>; 381 tx-fifo-size-gige = <16384>; /* emac2&3 only */ 404 mal-tx-channel = <3>; 409 tx-fifo-size = <2048>; [all …]
|
D | taishan.dts | 146 num-tx-chans = <4>; 293 mal-tx-channel = <0>; 298 tx-fifo-size = <2048>; 313 mal-tx-channel = <1>; 318 tx-fifo-size = <2048>; 333 mal-tx-channel = <2>; 338 tx-fifo-size = <2048>; 357 mal-tx-channel = <3>; 362 tx-fifo-size = <2048>;
|
D | arches.dts | 160 num-tx-chans = <3>; 279 mal-tx-channel = <0>; 284 tx-fifo-size = <2048>; 308 mal-tx-channel = <1>; 313 tx-fifo-size = <2048>; 338 mal-tx-channel = <2>; 343 tx-fifo-size = <2048>; 345 tx-fifo-size-gige = <16384>; /* emac2&3 only */
|
/linux-4.1.27/drivers/net/xen-netback/ |
D | netback.c | 619 RING_FINAL_CHECK_FOR_REQUESTS(&queue->tx, more_to_do); in xenvif_napi_schedule_or_enable_events() 633 max_burst = RING_GET_REQUEST(&queue->tx, queue->tx.req_cons)->size; in tx_add_credit() 655 RING_IDX cons = queue->tx.req_cons; in xenvif_tx_err() 665 txp = RING_GET_REQUEST(&queue->tx, cons++); in xenvif_tx_err() 667 queue->tx.req_cons = cons; in xenvif_tx_err() 684 RING_IDX cons = queue->tx.req_cons; in xenvif_count_requests() 732 memcpy(txp, RING_GET_REQUEST(&queue->tx, cons + slots), in xenvif_count_requests() 1070 RING_IDX cons = queue->tx.req_cons; in xenvif_get_extras() 1079 memcpy(&extra, RING_GET_REQUEST(&queue->tx, cons), in xenvif_get_extras() 1083 queue->tx.req_cons = ++cons; in xenvif_get_extras() [all …]
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | dma.c | 162 ring->tx ? "TX" : "RX", in update_max_used_slots() 178 B43legacy_WARN_ON(!ring->tx); in request_slot() 263 int tx) in map_descbuffer() argument 267 if (tx) in map_descbuffer() 283 int tx) in unmap_descbuffer() argument 285 if (tx) in unmap_descbuffer() 300 B43legacy_WARN_ON(ring->tx); in sync_descbuffer_for_cpu() 311 B43legacy_WARN_ON(ring->tx); in sync_descbuffer_for_device() 463 B43legacy_WARN_ON(ring->tx); in setup_rx_descbuffer() 548 if (ring->tx) { in dmacontroller_setup() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | st-rc.txt | 13 - tx-mode: should be "infrared". This property specifies the L1 14 protocol used for transmitting remote control signals. tx-mode should 15 be present iff the tx pins are wired up.
|
/linux-4.1.27/drivers/acpi/ |
D | processor_throttling.c | 254 if (p_limit->thermal.tx > target_state) in acpi_processor_throttling_notifier() 255 target_state = p_limit->thermal.tx; in acpi_processor_throttling_notifier() 256 if (p_limit->user.tx > target_state) in acpi_processor_throttling_notifier() 257 target_state = p_limit->user.tx; in acpi_processor_throttling_notifier() 350 if (limit->thermal.tx > target_state) in acpi_processor_tstate_has_changed() 351 target_state = limit->thermal.tx; in acpi_processor_tstate_has_changed() 352 if (limit->user.tx > target_state) in acpi_processor_tstate_has_changed() 353 target_state = limit->user.tx; in acpi_processor_tstate_has_changed() 550 struct acpi_processor_tx_tss *tx = in acpi_processor_get_throttling_states() local 555 state.pointer = tx; in acpi_processor_get_throttling_states() [all …]
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-velocity.c | 1417 for (i = 0; i < vptr->tx.numq; i++) { in velocity_init_registers() 1418 writel(vptr->tx.pool_dma[i], ®s->TDBaseLo[i]); in velocity_init_registers() 1493 pool = dma_alloc_coherent(vptr->dev, tx_ring_size * vptr->tx.numq + in velocity_init_dma_rings() 1507 for (i = 0; i < vptr->tx.numq; i++) { in velocity_init_dma_rings() 1508 vptr->tx.rings[i] = pool; in velocity_init_dma_rings() 1509 vptr->tx.pool_dma[i] = pool_dma; in velocity_init_dma_rings() 1666 for (j = 0; j < vptr->tx.numq; j++) { in velocity_init_td_ring() 1668 vptr->tx.infos[j] = kcalloc(vptr->options.numtx, in velocity_init_td_ring() 1671 if (!vptr->tx.infos[j]) { in velocity_init_td_ring() 1673 kfree(vptr->tx.infos[j]); in velocity_init_td_ring() [all …]
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
D | Makefile | 12 tx.o \ 20 usb-tx.o \
|
/linux-4.1.27/Documentation/devicetree/bindings/net/can/ |
D | xilinx_can.txt | 17 - tx-fifo-depth : Can Tx fifo depth. 31 tx-fifo-depth = <0x40>; 42 tx-fifo-depth = <0x40>;
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 236 STAT_MIB_TX("tx_64_octets", mib.tx.pkt_cnt.cnt_64), 237 STAT_MIB_TX("tx_65_127_oct", mib.tx.pkt_cnt.cnt_127), 238 STAT_MIB_TX("tx_128_255_oct", mib.tx.pkt_cnt.cnt_255), 239 STAT_MIB_TX("tx_256_511_oct", mib.tx.pkt_cnt.cnt_511), 240 STAT_MIB_TX("tx_512_1023_oct", mib.tx.pkt_cnt.cnt_1023), 241 STAT_MIB_TX("tx_1024_1518_oct", mib.tx.pkt_cnt.cnt_1518), 242 STAT_MIB_TX("tx_vlan_1519_1522_oct", mib.tx.pkt_cnt.cnt_mgv), 243 STAT_MIB_TX("tx_1522_2047_oct", mib.tx.pkt_cnt.cnt_2047), 244 STAT_MIB_TX("tx_2048_4095_oct", mib.tx.pkt_cnt.cnt_4095), 245 STAT_MIB_TX("tx_4096_9216_oct", mib.tx.pkt_cnt.cnt_9216), [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/4xx/ |
D | emac.txt | 25 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated 36 - tx-fifo-size : 1 cell, Tx fifo size in bytes for 10 and 100 Mb/sec 77 - tx-fifo-size-gige : 1 cell, Tx fifo size in bytes for 1000 Mb/sec 79 tx-fifo-size). For Axon, either absent or 2048. 95 mal-tx-channel = <0 1>; 100 tx-fifo-size = <800>; 125 - num-tx-chans : 1 cell, number of Tx channels
|
/linux-4.1.27/fs/ncpfs/ |
D | sock.c | 123 if (server->tx.creq) in ncp_tcp_write_space() 124 schedule_work(&server->tx.tq); in ncp_tcp_write_space() 150 while (!list_empty(&server->tx.requests)) { in __abort_ncp_connection() 151 req = list_entry(server->tx.requests.next, struct ncp_request_reply, req); in __abort_ncp_connection() 163 req = server->tx.creq; in __abort_ncp_connection() 165 server->tx.creq = NULL; in __abort_ncp_connection() 222 rq = server->tx.creq; in __ncptcp_try_send() 241 server->tx.creq = NULL; in __ncptcp_try_send() 314 server->tx.creq = req; in ncptcp_start_request() 340 if (server->tx.creq || server->rcv.creq) { in ncp_add_request() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 256 static int dibx000_i2c_gate_ctrl(struct dibx000_i2c_master *mst, u8 tx[4], in dibx000_i2c_gate_ctrl() 270 tx[0] = (((mst->base_reg + 1) >> 8) & 0xff); in dibx000_i2c_gate_ctrl() 271 tx[1] = ((mst->base_reg + 1) & 0xff); in dibx000_i2c_gate_ctrl() 272 tx[2] = val >> 8; in dibx000_i2c_gate_ctrl() 273 tx[3] = val & 0xff; in dibx000_i2c_gate_ctrl() 406 u8 tx[4]; in dibx000_reset_i2c_master() local 407 struct i2c_msg m = {.addr = mst->i2c_addr,.buf = tx,.len = 4 }; in dibx000_reset_i2c_master() 409 dibx000_i2c_gate_ctrl(mst, tx, 0, 0); in dibx000_reset_i2c_master()
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | rmt.c | 323 int tx ; in rmt_fsm() local 329 if ((tx = sm_mac_get_tx_state(smc)) == 4 || tx == 5) { in rmt_fsm() 349 tx,smc->r.bn_flag) ; in rmt_fsm() 402 int tx ; in rmt_fsm() local 408 if ((tx = sm_mac_get_tx_state(smc)) == 4 || tx == 5) { in rmt_fsm() 428 tx,smc->r.bn_flag) ; in rmt_fsm()
|
/linux-4.1.27/Documentation/devicetree/bindings/misc/ |
D | atmel-ssc.txt | 16 the memory interface and SSC DMA channel ID (for tx and rx). 18 - dma-names: Must be "tx", "rx". 45 dma-names = "tx", "rx";
|
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe/ |
D | ucc.txt | 28 - tx-clock-name: the UCC transmit clock source 33 with rx-clock-name, and tx-clock has been replaced with tx-clock-name. 41 - tx-clock: represents the UCC transmit clock source; 66 tx-clock = "clk9";
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | rx.c | 319 struct statistics_tx *tx, in iwlagn_recover_from_statistics() argument 416 struct statistics_tx *tx, in iwlagn_accumulative_statistics() argument 432 ACCUM(tx); in iwlagn_accumulative_statistics() 445 struct statistics_tx *tx, in iwlagn_accumulative_statistics() argument 466 struct statistics_tx *tx; in iwlagn_rx_statistics() local 483 tx = &stats->tx; in iwlagn_rx_statistics() 501 tx = &stats->tx; in iwlagn_rx_statistics() 516 rx_ofdm_ht, rx_cck, tx, bt_activity); in iwlagn_rx_statistics() 518 iwlagn_recover_from_statistics(priv, rx_ofdm, rx_ofdm_ht, tx, stamp); in iwlagn_rx_statistics() 526 memcpy(&priv->statistics.tx, tx, sizeof(*tx)); in iwlagn_rx_statistics()
|
D | debugfs.c | 1157 struct statistics_tx *tx, *accum_tx, *delta_tx, *max_tx; in iwl_dbgfs_ucode_tx_stats_read() local 1172 tx = &priv->statistics.tx; in iwl_dbgfs_ucode_tx_stats_read() 1173 accum_tx = &priv->accum_stats.tx; in iwl_dbgfs_ucode_tx_stats_read() 1174 delta_tx = &priv->delta_stats.tx; in iwl_dbgfs_ucode_tx_stats_read() 1175 max_tx = &priv->max_delta_stats.tx; in iwl_dbgfs_ucode_tx_stats_read() 1182 le32_to_cpu(tx->preamble_cnt), in iwl_dbgfs_ucode_tx_stats_read() 1187 le32_to_cpu(tx->rx_detected_cnt), in iwl_dbgfs_ucode_tx_stats_read() 1192 le32_to_cpu(tx->bt_prio_defer_cnt), in iwl_dbgfs_ucode_tx_stats_read() 1198 le32_to_cpu(tx->bt_prio_kill_cnt), in iwl_dbgfs_ucode_tx_stats_read() 1204 le32_to_cpu(tx->few_bytes_cnt), in iwl_dbgfs_ucode_tx_stats_read() [all …]
|
/linux-4.1.27/arch/mips/netlogic/xlp/ |
D | cop2-ex.c | 52 : "r"(r->tx), "r"(r->rx)); in nlm_cop2_save() 82 : : "m"(*r), "r"(r->tx), "r"(r->rx)); in nlm_cop2_restore()
|
/linux-4.1.27/Documentation/devicetree/bindings/mmc/ |
D | fsl-imx-mmc.txt | 11 - dma-names: Has to be "rx-tx". 20 dma-names = "rx-tx";
|
D | moxa,moxart-mmc.txt | 18 - dma-names : Must be "tx", "rx" 29 dma-names = "tx", "rx";
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | isphist.c | 180 struct dma_async_tx_descriptor *tx; in hist_buf_dma() local 207 tx = dmaengine_prep_slave_single(hist->dma_ch, dma_addr, in hist_buf_dma() 210 if (tx == NULL) { in hist_buf_dma() 216 tx->callback = hist_dma_cb; in hist_buf_dma() 217 tx->callback_param = hist; in hist_buf_dma() 218 cookie = tx->tx_submit(tx); in hist_buf_dma()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_mbx.c | 348 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_write_copy() 399 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_pull_head() 633 head = fm10k_fifo_head_offset(&mbx->tx, mbx->pulled); in fm10k_mbx_update_local_crc() 636 mbx->local = fm10k_fifo_crc(&mbx->tx, head, len, mbx->local); in fm10k_mbx_update_local_crc() 689 u16 fifo_unused = fm10k_fifo_unused(&mbx->tx); in fm10k_mbx_tx_ready() 702 return fm10k_fifo_empty(&mbx->tx); in fm10k_mbx_tx_complete() 765 err = fm10k_fifo_enqueue(&mbx->tx, msg); in fm10k_mbx_enqueue_tx() 772 err = fm10k_fifo_enqueue(&mbx->tx, msg); in fm10k_mbx_enqueue_tx() 867 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_create_data_hdr() 1079 for (len = fm10k_fifo_head_len(&mbx->tx); in fm10k_mbx_update_max_size() [all …]
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | dma.c | 302 ring->tx ? "TX" : "RX", ring->index); in update_max_used_slots() 317 B43_WARN_ON(!ring->tx); in request_slot() 361 unsigned char *buf, size_t len, int tx) in map_descbuffer() argument 365 if (tx) { in map_descbuffer() 378 dma_addr_t addr, size_t len, int tx) in unmap_descbuffer() argument 380 if (tx) { in unmap_descbuffer() 393 B43_WARN_ON(ring->tx); in sync_descbuffer_for_cpu() 402 B43_WARN_ON(ring->tx); in sync_descbuffer_for_device() 412 if (ring->tx) in free_descriptor_buffer() 612 B43_WARN_ON(ring->tx); in setup_rx_descbuffer() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/i2c/ |
D | i2c-mxs.txt | 12 - dma-names: Must be "rx-tx". 24 dma-names = "rx-tx";
|
/linux-4.1.27/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 621 int tx; in tsi108_complete_tx() local 626 tx = data->txtail; in tsi108_complete_tx() 628 if (data->txring[tx].misc & TSI108_TX_OWN) in tsi108_complete_tx() 631 skb = data->txskbs[tx]; in tsi108_complete_tx() 633 if (!(data->txring[tx].misc & TSI108_TX_OK)) in tsi108_complete_tx() 635 dev->name, data->txring[tx].misc); in tsi108_complete_tx() 640 if (data->txring[tx].misc & TSI108_TX_EOF) { in tsi108_complete_tx() 685 int tx = data->txhead; in tsi108_send_packet() local 697 if ((tx % TSI108_TX_INT_FREQ == 0) && in tsi108_send_packet() 701 data->txskbs[tx] = skb; in tsi108_send_packet() [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | p2p.c | 314 static void brcmf_p2p_print_actframe(bool tx, void *frame, u32 frame_len) in brcmf_p2p_print_actframe() argument 328 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 332 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 336 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 340 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 344 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 348 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 352 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 356 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() 360 (tx) ? "TX" : "RX"); in brcmf_p2p_print_actframe() [all …]
|