Home
last modified time | relevance | path

Searched refs:tx_data (Results 1 – 25 of 51) sorted by relevance

123

/drivers/leds/
Dleds-ipaq-micro.c42 msg.tx_data[0] = LED_GREEN; in micro_leds_brightness_set()
43 msg.tx_data[1] = 0; in micro_leds_brightness_set()
45 msg.tx_data[2] = 0; /* Duty cycle 256 */ in micro_leds_brightness_set()
46 msg.tx_data[3] = 1; in micro_leds_brightness_set()
48 msg.tx_data[2] = 1; in micro_leds_brightness_set()
49 msg.tx_data[3] = 0; /* Duty cycle 256 */ in micro_leds_brightness_set()
79 msg.tx_data[0] = LED_GREEN; in micro_leds_blink_set()
89 msg.tx_data[1] = 0; in micro_leds_blink_set()
91 msg.tx_data[2] = 0; in micro_leds_blink_set()
93 msg.tx_data[2] = (u8) DIV_ROUND_CLOSEST(*delay_on, 100); in micro_leds_blink_set()
[all …]
/drivers/net/ethernet/qualcomm/
Dqca_7k.c47 __be16 tx_data; in qcaspi_read_register() local
56 tx_data = cpu_to_be16(QCA7K_SPI_READ | QCA7K_SPI_INTERNAL | reg); in qcaspi_read_register()
59 transfer[0].tx_buf = &tx_data; in qcaspi_read_register()
87 __be16 tx_data[2]; in __qcaspi_write_register() local
96 tx_data[0] = cpu_to_be16(QCA7K_SPI_WRITE | QCA7K_SPI_INTERNAL | reg); in __qcaspi_write_register()
97 tx_data[1] = cpu_to_be16(value); in __qcaspi_write_register()
99 transfer[0].tx_buf = &tx_data[0]; in __qcaspi_write_register()
101 transfer[1].tx_buf = &tx_data[1]; in __qcaspi_write_register()
/drivers/media/i2c/
Ddw9807-vcm.c78 const char tx_data[3] = { in dw9807_set_dac() local
101 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_set_dac()
241 const char tx_data[2] = { DW9807_CTL_ADDR, 0x01 }; in dw9807_vcm_suspend() local
253 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_suspend()
273 const char tx_data[2] = { DW9807_CTL_ADDR, 0x00 }; in dw9807_vcm_resume() local
277 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_resume()
/drivers/media/radio/wl128x/
Dfmdrv_tx.c19 if (fmdev->tx_data.aud_mode == mode) in fm_tx_set_stereo_mono()
31 fmdev->tx_data.aud_mode = mode; in fm_tx_set_stereo_mono()
133 fmdev->tx_data.rds.flag = rds_en_dis; in fm_tx_set_rds_mode()
225 struct fmtx_data *tx = &fmdev->tx_data; in set_audio_io()
243 struct fmtx_data *tx = &fmdev->tx_data; in enable_xmit()
282 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_pwr_lvl()
320 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_preemph_filter()
372 struct fmtx_data *tx = &fmdev->tx_data; in fm_tx_set_freq()
/drivers/video/backlight/
Dipaq_micro_bl.c36 msg.tx_data[0] = 0x01; in micro_bl_update_status()
37 msg.tx_data[1] = intensity > 0 ? 1 : 0; in micro_bl_update_status()
38 msg.tx_data[2] = intensity; in micro_bl_update_status()
/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_spi_device.c42 const u8 *tx_data, in cxd2880_spi_device_write_read() argument
50 if (!spi || !spi->user || !tx_data || in cxd2880_spi_device_write_read()
56 result = spi_write_then_read(spi_device->spi, tx_data, in cxd2880_spi_device_write_read()
Dcxd2880_spi.h28 const u8 *tx_data, u32 tx_size,
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1111 struct cpl_tx_data *tx_data; in chcr_ktls_xmit_wr_complete() local
1176 sizeof(*tx_data)); in chcr_ktls_xmit_wr_complete()
1224 tx_data = (void *)pos; in chcr_ktls_xmit_wr_complete()
1225 OPCODE_TID(tx_data) = htonl(MK_OPCODE_TID(CPL_TX_DATA, tx_info->tid)); in chcr_ktls_xmit_wr_complete()
1226 tx_data->len = htonl(TX_DATA_MSS_V(mss) | TX_LENGTH_V(data_len)); in chcr_ktls_xmit_wr_complete()
1228 tx_data->rsvd = htonl(tcp_seq); in chcr_ktls_xmit_wr_complete()
1230 tx_data->flags = htonl(TX_BYPASS_F); in chcr_ktls_xmit_wr_complete()
1232 tx_data->flags |= htonl(TX_PUSH_F | TX_SHOVE_F); in chcr_ktls_xmit_wr_complete()
1235 pos = tx_data + 1; in chcr_ktls_xmit_wr_complete()
1287 struct cpl_tx_data *tx_data; in chcr_ktls_xmit_wr_short() local
[all …]
/drivers/net/caif/
Dcaif_serial.c78 u8 tx_data[128]; member
110 ser->tx_blob.data = ser->tx_data; in debugfs_init()
132 if (size > sizeof(ser->tx_data)) in debugfs_tx()
133 size = sizeof(ser->tx_data); in debugfs_tx()
134 memcpy(ser->tx_data, data, size); in debugfs_tx()
135 ser->tx_blob.data = ser->tx_data; in debugfs_tx()
/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c722 struct tx_complete_data *tx_data = NULL; in wilc_mac_xmit() local
731 tx_data = kmalloc(sizeof(*tx_data), GFP_ATOMIC); in wilc_mac_xmit()
732 if (!tx_data) { in wilc_mac_xmit()
738 tx_data->buff = skb->data; in wilc_mac_xmit()
739 tx_data->size = skb->len; in wilc_mac_xmit()
740 tx_data->skb = skb; in wilc_mac_xmit()
743 vif->netstats.tx_bytes += tx_data->size; in wilc_mac_xmit()
744 queue_count = wilc_wlan_txq_add_net_pkt(ndev, tx_data, in wilc_mac_xmit()
745 tx_data->buff, tx_data->size, in wilc_mac_xmit()
Dwlan.c412 struct tx_complete_data *tx_data, u8 *buffer, in wilc_wlan_txq_add_net_pkt() argument
424 tx_complete_fn(tx_data, 0); in wilc_wlan_txq_add_net_pkt()
431 tx_complete_fn(tx_data, 0); in wilc_wlan_txq_add_net_pkt()
438 tqe->priv = tx_data; in wilc_wlan_txq_add_net_pkt()
441 q_num = ac_classify(wilc, tx_data->skb); in wilc_wlan_txq_add_net_pkt()
444 tx_complete_fn(tx_data, 0); in wilc_wlan_txq_add_net_pkt()
455 tx_complete_fn(tx_data, 0); in wilc_wlan_txq_add_net_pkt()
/drivers/staging/nvec/
Dnvec.c271 list_add_tail(&msg->node, &nvec->tx_data); in nvec_write_async()
382 while (!list_empty(&nvec->tx_data)) { in nvec_request_master()
383 msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node); in nvec_request_master()
550 if (list_empty(&nvec->tx_data)) { in nvec_tx_set()
556 list_add_tail(&nvec->tx->node, &nvec->tx_data); in nvec_tx_set()
558 nvec->tx = list_first_entry(&nvec->tx_data, struct nvec_msg, in nvec_tx_set()
825 INIT_LIST_HEAD(&nvec->tx_data); in tegra_nvec_probe()
Dnvec.h142 struct list_head rx_data, tx_data; member
/drivers/spi/
Dspi-dln2.c488 static int dln2_spi_read_write_one(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_read_write_one() argument
522 dln2_spi_copy_to_buf(tx->buf, tx_data, data_len, dln2->bpw); in dln2_spi_read_write_one()
545 static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_rdwr() argument
565 if (tx_data && rx_data) { in dln2_spi_rdwr()
567 tx_data + offset, in dln2_spi_rdwr()
570 } else if (tx_data) { in dln2_spi_rdwr()
572 tx_data + offset, in dln2_spi_rdwr()
Dspi-xlp.c203 u32 tx_data, txfifo_cnt; in xlp_spi_fill_txfifo() local
211 tx_data = 0; in xlp_spi_fill_txfifo()
214 tx_data |= xspi->tx_buf[i] << (j * 8); in xlp_spi_fill_txfifo()
216 xlp_spi_reg_write(xspi, xspi->cs, XLP_SPI_TXDATA_FIFO, tx_data); in xlp_spi_fill_txfifo()
/drivers/isdn/mISDN/
Ddsp_cmx.c187 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
392 all_conf = 1, tx_data = 0; in dsp_cmx_hardware() local
435 dsp->echo.software = dsp->tx_data; in dsp_cmx_hardware()
604 if (member->dsp->tx_data) { in dsp_cmx_hardware()
609 tx_data = 1; in dsp_cmx_hardware()
746 conf->software = tx_data; in dsp_cmx_hardware()
808 conf->software = tx_data; in dsp_cmx_hardware()
838 conf->software = tx_data; in dsp_cmx_hardware()
918 conf->software = tx_data; in dsp_cmx_hardware()
944 conf->software = tx_data; in dsp_cmx_hardware()
[all …]
/drivers/net/wireless/realtek/rtw88/
Dpci.c102 struct rtw_pci_tx_data *tx_data; in rtw_pci_free_tx_ring_skbs() local
109 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_free_tx_ring_skbs()
110 dma = tx_data->dma; in rtw_pci_free_tx_ring_skbs()
701 struct rtw_pci_tx_data *tx_data; in rtw_pci_release_rsvd_page() local
707 tx_data = rtw_pci_get_tx_data(prev); in rtw_pci_release_rsvd_page()
708 dma = tx_data->dma; in rtw_pci_release_rsvd_page()
832 struct rtw_pci_tx_data *tx_data; in rtw_pci_tx_write_data() local
872 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_tx_write_data()
873 tx_data->dma = dma; in rtw_pci_tx_write_data()
874 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data()
[all …]
/drivers/mfd/
Dipaq-micro.c46 tx->buf[bp++] = msg->tx_data[i]; in ipaq_micro_trigger_tx()
47 checksum += msg->tx_data[i]; in ipaq_micro_trigger_tx()
217 msg.tx_data[0] = address + i; in ipaq_micro_eeprom_read()
218 msg.tx_data[1] = 1; in ipaq_micro_eeprom_read()
/drivers/staging/greybus/
Dspilib.c175 void *tx_data; in gb_spi_operation_create() local
243 tx_data = gb_xfer + count; /* place tx data after last gb_xfer */ in gb_spi_operation_create()
273 memcpy(tx_data, xfer->tx_buf + spi->tx_xfer_offset, in gb_spi_operation_create()
275 tx_data += xfer_len; in gb_spi_operation_create()
/drivers/net/wireless/intersil/p54/
Dp54pci.c291 p54p_check_tx_ring(dev, &priv->tx_idx_data, 1, ring_control->tx_data, in p54p_tasklet()
292 ARRAY_SIZE(ring_control->tx_data), in p54p_tasklet()
340 i = idx % ARRAY_SIZE(ring_control->tx_data); in p54p_tx()
353 desc = &ring_control->tx_data[i]; in p54p_tx()
407 desc = &ring_control->tx_data[i]; in p54p_stop()
Dp54pci.h81 struct p54p_desc tx_data[32]; member
/drivers/thunderbolt/
Dusb4.c77 const void *tx_data, size_t tx_dwords, in usb4_native_switch_op() argument
89 ret = tb_sw_write(sw, tx_data, TB_CFG_SWITCH, ROUTER_CS_9, in usb4_native_switch_op()
131 u8 *status, const void *tx_data, size_t tx_dwords, in __usb4_switch_op() argument
148 tx_data, tx_dwords, rx_data, in __usb4_switch_op()
159 return usb4_native_switch_op(sw, opcode, metadata, status, tx_data, in __usb4_switch_op()
171 const void *tx_data, size_t tx_dwords, in usb4_switch_op_data() argument
174 return __usb4_switch_op(sw, opcode, metadata, status, tx_data, in usb4_switch_op_data()
/drivers/net/fddi/skfp/
Dhwmtm.c1676 smc->os.hwm.tx_data = in hwm_tx_frag()
1680 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1689 memcpy(smc->os.hwm.tx_data,virt,len) ; in hwm_tx_frag()
1690 smc->os.hwm.tx_data += len ; in hwm_tx_frag()
1702 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1706 smc->os.hwm.tx_data = in hwm_tx_frag()
1709 *smc->os.hwm.tx_data ; in hwm_tx_frag()
1710 smc->os.hwm.tx_data++ ; in hwm_tx_frag()
/drivers/rapidio/devices/
Drio_mport_cdev.c618 struct rio_dma_data tx_data; in prep_dma_xfer() local
620 tx_data.sg = sgt->sgl; in prep_dma_xfer()
621 tx_data.sg_len = nents; in prep_dma_xfer()
622 tx_data.rio_addr_u = 0; in prep_dma_xfer()
623 tx_data.rio_addr = transfer->rio_addr; in prep_dma_xfer()
627 tx_data.wr_type = RDW_ALL_NWRITE; in prep_dma_xfer()
630 tx_data.wr_type = RDW_ALL_NWRITE_R; in prep_dma_xfer()
633 tx_data.wr_type = RDW_LAST_NWRITE_R; in prep_dma_xfer()
636 tx_data.wr_type = RDW_DEFAULT; in prep_dma_xfer()
643 return rio_dma_prep_xfer(chan, transfer->rioid, &tx_data, dir, flags); in prep_dma_xfer()
/drivers/target/iscsi/
Discsi_target_util.h67 extern int tx_data(struct iscsi_conn *, struct kvec *, int, int);

123