Home
last modified time | relevance | path

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

123

/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/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()
249 const char tx_data[2] = { DW9807_CTL_ADDR, 0x01 }; in dw9807_vcm_suspend() local
261 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_suspend()
281 const char tx_data[2] = { DW9807_CTL_ADDR, 0x00 }; in dw9807_vcm_resume() local
285 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_resume()
/Linux-v5.4/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()
Dfmdrv.h220 struct fmtx_data tx_data; member
/Linux-v5.4/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()
/Linux-v5.4/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,
/Linux-v5.4/drivers/net/caif/
Dcaif_serial.c78 u8 tx_data[128]; member
111 ser->tx_blob.data = ser->tx_data; in debugfs_init()
133 if (size > sizeof(ser->tx_data)) in debugfs_tx()
134 size = sizeof(ser->tx_data); in debugfs_tx()
135 memcpy(ser->tx_data, data, size); in debugfs_tx()
136 ser->tx_blob.data = ser->tx_data; in debugfs_tx()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_netdev.c715 struct tx_complete_data *tx_data = NULL; in wilc_mac_xmit() local
723 tx_data = kmalloc(sizeof(*tx_data), GFP_ATOMIC); in wilc_mac_xmit()
724 if (!tx_data) { in wilc_mac_xmit()
730 tx_data->buff = skb->data; in wilc_mac_xmit()
731 tx_data->size = skb->len; in wilc_mac_xmit()
732 tx_data->skb = skb; in wilc_mac_xmit()
735 vif->netstats.tx_bytes += tx_data->size; in wilc_mac_xmit()
736 queue_count = wilc_wlan_txq_add_net_pkt(ndev, (void *)tx_data, in wilc_mac_xmit()
737 tx_data->buff, tx_data->size, in wilc_mac_xmit()
/Linux-v5.4/drivers/staging/nvec/
Dnvec.c270 list_add_tail(&msg->node, &nvec->tx_data); in nvec_write_async()
381 while (!list_empty(&nvec->tx_data)) { in nvec_request_master()
382 msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node); in nvec_request_master()
549 if (list_empty(&nvec->tx_data)) { in nvec_tx_set()
555 list_add_tail(&nvec->tx->node, &nvec->tx_data); in nvec_tx_set()
557 nvec->tx = list_first_entry(&nvec->tx_data, struct nvec_msg, in nvec_tx_set()
824 INIT_LIST_HEAD(&nvec->tx_data); in tegra_nvec_probe()
Dnvec.h142 struct list_head rx_data, tx_data; member
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dpci.c97 struct rtw_pci_tx_data *tx_data; in rtw_pci_free_tx_ring_skbs() local
104 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_free_tx_ring_skbs()
105 dma = tx_data->dma; in rtw_pci_free_tx_ring_skbs()
569 struct rtw_pci_tx_data *tx_data; in rtw_pci_release_rsvd_page() local
575 tx_data = rtw_pci_get_tx_data(prev); in rtw_pci_release_rsvd_page()
576 dma = tx_data->dma; in rtw_pci_release_rsvd_page()
610 struct rtw_pci_tx_data *tx_data; in rtw_pci_xmit() local
651 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_xmit()
652 tx_data->dma = dma; in rtw_pci_xmit()
653 tx_data->sn = pkt_info->sn; in rtw_pci_xmit()
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Dtc35876x-dsi-lvds.c227 u8 tx_data[] = { in tc35876x_regw() local
240 .buf = tx_data, in tc35876x_regw()
241 .len = ARRAY_SIZE(tx_data), in tc35876x_regw()
275 u8 tx_data[] = { in tc35876x_regr() local
284 .buf = tx_data, in tc35876x_regr()
285 .len = ARRAY_SIZE(tx_data), in tc35876x_regr()
/Linux-v5.4/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
564 if (tx_data && rx_data) { in dln2_spi_rdwr()
566 tx_data + offset, in dln2_spi_rdwr()
569 } else if (tx_data) { in dln2_spi_rdwr()
571 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()
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/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()
269 memcpy(tx_data, xfer->tx_buf + spi->tx_xfer_offset, in gb_spi_operation_create()
271 tx_data += xfer_len; in gb_spi_operation_create()
/Linux-v5.4/drivers/net/wireless/intersil/p54/
Dp54pci.c287 p54p_check_tx_ring(dev, &priv->tx_idx_data, 1, ring_control->tx_data, in p54p_tasklet()
288 ARRAY_SIZE(ring_control->tx_data), in p54p_tasklet()
335 i = idx % ARRAY_SIZE(ring_control->tx_data); in p54p_tx()
347 desc = &ring_control->tx_data[i]; in p54p_tx()
401 desc = &ring_control->tx_data[i]; in p54p_stop()
Dp54pci.h81 struct p54p_desc tx_data[32]; member
/Linux-v5.4/include/linux/mfd/
Dipaq-micro.h86 u8 tx_data[TX_BUF_SIZE]; member
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_util.h67 extern int tx_data(struct iscsi_conn *, struct kvec *, int, int);
/Linux-v5.4/drivers/net/fddi/skfp/
Dhwmtm.c1680 smc->os.hwm.tx_data = in hwm_tx_frag()
1684 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1693 memcpy(smc->os.hwm.tx_data,virt,len) ; in hwm_tx_frag()
1694 smc->os.hwm.tx_data += len ; in hwm_tx_frag()
1706 hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, in hwm_tx_frag()
1710 smc->os.hwm.tx_data = in hwm_tx_frag()
1713 *smc->os.hwm.tx_data ; in hwm_tx_frag()
1714 smc->os.hwm.tx_data++ ; in hwm_tx_frag()
/Linux-v5.4/drivers/rapidio/devices/
Drio_mport_cdev.c620 struct rio_dma_data tx_data; in prep_dma_xfer() local
622 tx_data.sg = sgt->sgl; in prep_dma_xfer()
623 tx_data.sg_len = nents; in prep_dma_xfer()
624 tx_data.rio_addr_u = 0; in prep_dma_xfer()
625 tx_data.rio_addr = transfer->rio_addr; in prep_dma_xfer()
629 tx_data.wr_type = RDW_ALL_NWRITE; in prep_dma_xfer()
632 tx_data.wr_type = RDW_ALL_NWRITE_R; in prep_dma_xfer()
635 tx_data.wr_type = RDW_LAST_NWRITE_R; in prep_dma_xfer()
638 tx_data.wr_type = RDW_DEFAULT; in prep_dma_xfer()
645 return rio_dma_prep_xfer(chan, transfer->rioid, &tx_data, dir, flags); in prep_dma_xfer()

123