/linux/drivers/leds/ |
H A D | leds-ipaq-micro.c | 42 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/drivers/net/ethernet/qualcomm/ |
H A D | qca_7k.c | 32 __be16 tx_data; in qcaspi_read_register() local 41 tx_data = cpu_to_be16(QCA7K_SPI_READ | QCA7K_SPI_INTERNAL | reg); in qcaspi_read_register() 44 transfer[0].tx_buf = &tx_data; in qcaspi_read_register() 72 __be16 tx_data[2]; in __qcaspi_write_register() local 81 tx_data[0] = cpu_to_be16(QCA7K_SPI_WRITE | QCA7K_SPI_INTERNAL | reg); in __qcaspi_write_register() 82 tx_data[1] = cpu_to_be16(value); in __qcaspi_write_register() 84 transfer[0].tx_buf = &tx_data[0]; in __qcaspi_write_register() 86 transfer[1].tx_buf = &tx_data[1]; in __qcaspi_write_register()
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_mbox.c | 61 scnprintf(core->tx_data.name, sizeof(core->tx_data.name) - 1, "tx1"); in vpu_mbox_init() 62 core->tx_data.block = false; in vpu_mbox_init() 77 ret = vpu_mbox_request_channel(core->dev, &core->tx_data); in vpu_mbox_request() 94 mbox_free_channel(core->tx_data.ch); in vpu_mbox_free() 97 core->tx_data.ch = NULL; in vpu_mbox_free() 109 mbox_send_message(core->tx_data.ch, &data); in vpu_mbox_send_msg()
|
/linux/sound/soc/loongson/ |
H A D | loongson_i2s_pci.c | 77 struct loongson_dma_data *tx_data, *rx_data; in loongson_i2s_pci_probe() local 107 tx_data = &i2s->tx_dma_data; in loongson_i2s_pci_probe() 110 tx_data->dev_addr = pci_resource_start(pdev, 0) + LS_I2S_TX_DATA; in loongson_i2s_pci_probe() 111 tx_data->order_addr = i2s->reg_base + LS_I2S_TX_ORDER; in loongson_i2s_pci_probe() 116 tx_data->irq = fwnode_irq_get_byname(fwnode, "tx"); in loongson_i2s_pci_probe() 117 if (tx_data->irq < 0) in loongson_i2s_pci_probe() 118 return dev_err_probe(dev, tx_data->irq, "dma tx irq invalid\n"); in loongson_i2s_pci_probe()
|
/linux/drivers/media/i2c/ |
H A D | dw9807-vcm.c | 78 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() 239 const char tx_data[2] = { DW9807_CTL_ADDR, 0x01 }; in dw9807_vcm_suspend() local 251 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_suspend() 271 const char tx_data[2] = { DW9807_CTL_ADDR, 0x00 }; in dw9807_vcm_resume() local 275 ret = i2c_master_send(client, tx_data, sizeof(tx_data)); in dw9807_vcm_resume()
|
/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv_tx.c | 19 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()
|
/linux/drivers/video/backlight/ |
H A D | ipaq_micro_bl.c | 30 msg.tx_data[0] = 0x01; in micro_bl_update_status() 31 msg.tx_data[1] = intensity > 0 ? 1 : 0; in micro_bl_update_status() 32 msg.tx_data[2] = intensity; in micro_bl_update_status()
|
/linux/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_spi_device.c | 42 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()
|
H A D | cxd2880_spi.h | 28 const u8 *tx_data, u32 tx_size,
|
/linux/drivers/spi/ |
H A D | spi-ljca.c | 159 const u8 *tx_data, u8 *rx_data, u16 len) in ljca_spi_transfer() argument 166 if (tx_data && rx_data) in ljca_spi_transfer() 168 else if (tx_data) in ljca_spi_transfer() 180 tx_data ? tx_data + offset : NULL, in ljca_spi_transfer()
|
H A D | spi-dln2.c | 489 static int dln2_spi_read_write_one(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_read_write_one() argument 523 dln2_spi_copy_to_buf(tx->buf, tx_data, data_len, dln2->bpw); in dln2_spi_read_write_one() 546 static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data, in dln2_spi_rdwr() argument 566 if (tx_data && rx_data) { in dln2_spi_rdwr() 568 tx_data + offset, in dln2_spi_rdwr() 571 } else if (tx_data) { in dln2_spi_rdwr() 573 tx_data + offset, in dln2_spi_rdwr()
|
H A D | spi-xlp.c | 202 u32 tx_data, txfifo_cnt; in xlp_spi_fill_txfifo() local 210 tx_data = 0; in xlp_spi_fill_txfifo() 213 tx_data |= xspi->tx_buf[i] << (j * 8); in xlp_spi_fill_txfifo() 215 xlp_spi_reg_write(xspi, xspi->cs, XLP_SPI_TXDATA_FIFO, tx_data); in xlp_spi_fill_txfifo()
|
/linux/drivers/net/caif/ |
H A D | caif_serial.c | 78 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()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 1107 struct cpl_tx_data *tx_data; in chcr_ktls_xmit_wr_complete() local 1172 sizeof(*tx_data)); in chcr_ktls_xmit_wr_complete() 1220 tx_data = (void *)pos; in chcr_ktls_xmit_wr_complete() 1224 tx_data->rsvd = htonl(tcp_seq); in chcr_ktls_xmit_wr_complete() 1231 pos = tx_data + 1; in chcr_ktls_xmit_wr_complete() 1283 struct cpl_tx_data *tx_data; in chcr_ktls_xmit_wr_short() local 1396 tx_data = (void *)pos; in chcr_ktls_xmit_wr_short() 1400 tx_data->rsvd = htonl(tcp_seq); in chcr_ktls_xmit_wr_short() 1406 pos = tx_data + 1; in chcr_ktls_xmit_wr_short() 1467 struct cpl_tx_data *tx_data; in chcr_ktls_tx_plaintxt() local [all …]
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | netdev.c | 736 struct tx_complete_data *tx_data = NULL; in wilc_mac_xmit() local 745 tx_data = kmalloc(sizeof(*tx_data), GFP_ATOMIC); in wilc_mac_xmit() 746 if (!tx_data) { in wilc_mac_xmit() 752 tx_data->buff = skb->data; in wilc_mac_xmit() 753 tx_data->size = skb->len; in wilc_mac_xmit() 754 tx_data->skb = skb; in wilc_mac_xmit() 757 vif->netstats.tx_bytes += tx_data->size; in wilc_mac_xmit() 758 queue_count = wilc_wlan_txq_add_net_pkt(ndev, tx_data, in wilc_mac_xmit() 759 tx_data->buff, tx_data->size, in wilc_mac_xmit()
|
/linux/net/wireless/ |
H A D | scan.c | 2440 .ftype = tx_data->ftype, in cfg80211_parse_mbssid_data() 2441 .tsf = tx_data->tsf, in cfg80211_parse_mbssid_data() 2457 tx_data->ie, tx_data->ielen)) in cfg80211_parse_mbssid_data() 2463 tx_data->ie, tx_data->ielen)) in cfg80211_parse_mbssid_data() 2475 tx_data->ie, tx_data->ielen) { in cfg80211_parse_mbssid_data() 2499 tx_data->ielen, in cfg80211_parse_mbssid_data() 2535 tx_data->ielen, in cfg80211_parse_mbssid_data() 2901 .ftype = tx_data->ftype, in cfg80211_parse_ml_elem_sta_data() 2946 mle = cfg80211_defrag_mle(elem, tx_data->ie, tx_data->ielen, gfp); in cfg80211_parse_ml_elem_sta_data() 3085 data.ielen = cfg80211_gen_new_ie(tx_data->ie, tx_data->ielen, in cfg80211_parse_ml_elem_sta_data() [all …]
|
/linux/drivers/staging/nvec/ |
H A D | nvec.c | 271 list_add_tail(&msg->node, &nvec->tx_data); in nvec_write_async() 387 while (!list_empty(&nvec->tx_data)) { in nvec_request_master() 388 msg = list_first_entry(&nvec->tx_data, struct nvec_msg, node); in nvec_request_master() 555 if (list_empty(&nvec->tx_data)) { in nvec_tx_set() 561 list_add_tail(&nvec->tx->node, &nvec->tx_data); in nvec_tx_set() 563 nvec->tx = list_first_entry(&nvec->tx_data, struct nvec_msg, in nvec_tx_set() 838 INIT_LIST_HEAD(&nvec->tx_data); in tegra_nvec_probe()
|
H A D | nvec.h | 142 struct list_head rx_data, tx_data; member
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm.c | 224 data = &graph->tx_data; in q6apm_map_memory_regions() 242 data = &graph->tx_data; in q6apm_map_memory_regions() 279 data = &graph->tx_data; in q6apm_unmap_memory_regions() 468 graph->tx_data.dsp_buf, graph->port->id, iid); in q6apm_read() 475 port = &graph->tx_data; in q6apm_read() 544 graph->tx_data.mem_map_handle = rsp->mem_map_handle; in graph_callback() 554 phys = graph->tx_data.buf[hdr->token].phys; in graph_callback() 581 graph->tx_data.mem_map_handle = 0; in graph_callback()
|
/linux/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 381 all_conf = 1, tx_data = 0; in dsp_cmx_hardware() local 424 dsp->echo.software = dsp->tx_data; in dsp_cmx_hardware() 593 if (member->dsp->tx_data) { in dsp_cmx_hardware() 598 tx_data = 1; in dsp_cmx_hardware() 735 conf->software = tx_data; in dsp_cmx_hardware() 797 conf->software = tx_data; in dsp_cmx_hardware() 827 conf->software = tx_data; in dsp_cmx_hardware() 907 conf->software = tx_data; in dsp_cmx_hardware() 933 conf->software = tx_data; in dsp_cmx_hardware() 1009 conf->software = tx_data; in dsp_cmx_hardware() [all …]
|
/linux/drivers/mfd/ |
H A D | ipaq-micro.c | 46 tx->buf[bp++] = msg->tx_data[i]; in ipaq_micro_trigger_tx() 47 checksum += msg->tx_data[i]; in ipaq_micro_trigger_tx() 212 msg.tx_data[0] = address + i; in ipaq_micro_eeprom_read() 213 msg.tx_data[1] = 1; in ipaq_micro_eeprom_read()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | pci.c | 96 struct rtw_pci_tx_data *tx_data; in rtw_pci_free_tx_ring_skbs() local 103 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_free_tx_ring_skbs() 104 dma = tx_data->dma; in rtw_pci_free_tx_ring_skbs() 670 struct rtw_pci_tx_data *tx_data; in rtw_pci_release_rsvd_page() local 676 tx_data = rtw_pci_get_tx_data(prev); in rtw_pci_release_rsvd_page() 677 dma = tx_data->dma; in rtw_pci_release_rsvd_page() 806 struct rtw_pci_tx_data *tx_data; in rtw_pci_tx_write_data() local 846 tx_data = rtw_pci_get_tx_data(skb); in rtw_pci_tx_write_data() 847 tx_data->dma = dma; in rtw_pci_tx_write_data() 848 tx_data->sn = pkt_info->sn; in rtw_pci_tx_write_data() [all …]
|
/linux/drivers/staging/greybus/ |
H A D | spilib.c | 175 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()
|
/linux/drivers/net/wireless/intersil/p54/ |
H A D | p54pci.c | 291 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()
|
/linux/drivers/iio/dac/ |
H A D | ltc2688.c | 96 u8 tx_data[6] __aligned(IIO_DMA_MINALIGN); 106 .tx_buf = st->tx_data, in ltc2688_spi_read() 111 .tx_buf = st->tx_data + 3, in ltc2688_spi_read() 119 memcpy(st->tx_data, reg, reg_size); in ltc2688_spi_read() 962 st->tx_data[3] = LTC2688_CMD_NOOP; in ltc2688_probe()
|