/linux-3.4.99/drivers/net/ethernet/sfc/ |
D | rx.c | 141 struct efx_rx_buffer *rx_buf; in efx_init_rx_buffers_skb() local 148 rx_buf = efx_rx_buffer(rx_queue, index); in efx_init_rx_buffers_skb() 150 rx_buf->u.skb = skb = netdev_alloc_skb(net_dev, skb_len); in efx_init_rx_buffers_skb() 156 rx_buf->len = skb_len - NET_IP_ALIGN; in efx_init_rx_buffers_skb() 157 rx_buf->flags = 0; in efx_init_rx_buffers_skb() 159 rx_buf->dma_addr = pci_map_single(efx->pci_dev, in efx_init_rx_buffers_skb() 160 skb->data, rx_buf->len, in efx_init_rx_buffers_skb() 163 rx_buf->dma_addr))) { in efx_init_rx_buffers_skb() 165 rx_buf->u.skb = NULL; in efx_init_rx_buffers_skb() 189 struct efx_rx_buffer *rx_buf; in efx_init_rx_buffers_page() local [all …]
|
/linux-3.4.99/drivers/spi/ |
D | spi-sh-msiof.c | 200 const void *tx_buf, void *rx_buf, in sh_msiof_spi_set_mode_regs() argument 210 if (rx_buf) in sh_msiof_spi_set_mode_regs() 292 void *rx_buf, int words, int fs) in sh_msiof_spi_read_fifo_8() argument 294 u8 *buf_8 = rx_buf; in sh_msiof_spi_read_fifo_8() 302 void *rx_buf, int words, int fs) in sh_msiof_spi_read_fifo_16() argument 304 u16 *buf_16 = rx_buf; in sh_msiof_spi_read_fifo_16() 312 void *rx_buf, int words, int fs) in sh_msiof_spi_read_fifo_16u() argument 314 u16 *buf_16 = rx_buf; in sh_msiof_spi_read_fifo_16u() 322 void *rx_buf, int words, int fs) in sh_msiof_spi_read_fifo_32() argument 324 u32 *buf_32 = rx_buf; in sh_msiof_spi_read_fifo_32() [all …]
|
D | spi-orion.c | 183 const u8 **tx_buf, u8 **rx_buf) in orion_spi_write_read_8bit() argument 206 if (rx_buf && *rx_buf) in orion_spi_write_read_8bit() 207 *(*rx_buf)++ = readl(rx_reg); in orion_spi_write_read_8bit() 214 const u16 **tx_buf, u16 **rx_buf) in orion_spi_write_read_16bit() argument 237 if (rx_buf && *rx_buf) in orion_spi_write_read_16bit() 238 put_unaligned(__le16_to_cpu(readl(rx_reg)), (*rx_buf)++); in orion_spi_write_read_16bit() 256 u8 *rx = xfer->rx_buf; in orion_spi_write_read() 265 u16 *rx = xfer->rx_buf; in orion_spi_write_read() 396 if (t->tx_buf == NULL && t->rx_buf == NULL && t->len) { in orion_spi_transfer()
|
D | spi-fsl-espi.c | 41 void *rx_buf; member 238 mpc8xxx_spi->rx = t->rx_buf; in fsl_espi_bufs() 311 trans.rx_buf = espi_trans->rx_buf; in fsl_espi_do_trans() 361 espi_trans->rx_buf = local_buf + espi_trans->n_tx; in fsl_espi_cmd_trans() 376 u8 *rx_buf = rx_buff; in fsl_espi_rw_trans() local 410 espi_trans->rx_buf = local_buf + n_tx; in fsl_espi_rw_trans() 413 memcpy(rx_buf + pos, espi_trans->rx_buf + n_tx, trans_len); in fsl_espi_rw_trans() 427 u8 *rx_buf = NULL; in fsl_espi_do_one_msg() local 435 if (t->rx_buf) { in fsl_espi_do_one_msg() 437 rx_buf = t->rx_buf; in fsl_espi_do_one_msg() [all …]
|
D | spi-ti-ssp.c | 66 u8 *rx = t->rx_buf; in ti_ssp_spi_txrx() 72 if (t->rx_buf) in ti_ssp_spi_txrx() 76 u16 *rx = t->rx_buf; in ti_ssp_spi_txrx() 82 if (t->rx_buf) in ti_ssp_spi_txrx() 86 u32 *rx = t->rx_buf; in ti_ssp_spi_txrx() 92 if (t->rx_buf) in ti_ssp_spi_txrx() 100 t->tx_buf ? "tx" : "", t->rx_buf ? "rx" : "", t->len, in ti_ssp_spi_txrx() 263 if (t->len && !(t->rx_buf || t->tx_buf)) { in ti_ssp_spi_transfer() 268 if (t->len && t->rx_buf && t->tx_buf) { in ti_ssp_spi_transfer()
|
D | spi-omap-100k.c | 230 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio() 236 if (xfer->rx_buf != NULL) in omap1_spi100k_txrx_pio() 243 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio() 249 if (xfer->rx_buf != NULL) in omap1_spi100k_txrx_pio() 256 rx = xfer->rx_buf; in omap1_spi100k_txrx_pio() 262 if (xfer->rx_buf != NULL) in omap1_spi100k_txrx_pio() 367 if (t->tx_buf == NULL && t->rx_buf == NULL && t->len) { in omap1_spi100k_work() 452 void *rx_buf = t->rx_buf; in omap1_spi100k_transfer() local 456 || (len && !(rx_buf || tx_buf)) in omap1_spi100k_transfer() 464 rx_buf ? "rx" : "", in omap1_spi100k_transfer()
|
D | spi-omap2-mcspi.c | 321 rx = xfer->rx_buf; in omap2_mcspi_txrx_dma() 407 ((u8 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_txrx_dma() 409 ((u16 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_txrx_dma() 411 ((u32 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_txrx_dma() 429 ((u8 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_txrx_dma() 431 ((u16 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_txrx_dma() 433 ((u32 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_txrx_dma() 478 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio() 526 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio() 573 rx = xfer->rx_buf; in omap2_mcspi_txrx_pio() [all …]
|
D | spidev.c | 149 .rx_buf = spidev->buffer, in spidev_sync_read() 249 if (u_tmp->rx_buf) { in spidev_message() 250 k_tmp->rx_buf = buf; in spidev_message() 252 (uintptr_t) u_tmp->rx_buf, in spidev_message() 273 u_tmp->rx_buf ? "rx " : "", in spidev_message() 290 if (u_tmp->rx_buf) { in spidev_message() 292 (uintptr_t) u_tmp->rx_buf, buf, in spidev_message()
|
D | spi-topcliff-pch.c | 520 if (!transfer->tx_buf && !transfer->rx_buf) { in pch_spi_transfer() 792 u8 *rx_buf; in pch_spi_copy_rx_data() local 796 if (!data->cur_trans->rx_buf) in pch_spi_copy_rx_data() 800 rx_buf = data->cur_trans->rx_buf; in pch_spi_copy_rx_data() 802 *rx_buf++ = data->pkt_rx_buff[j] & 0xFF; in pch_spi_copy_rx_data() 804 rx_sbuf = data->cur_trans->rx_buf; in pch_spi_copy_rx_data() 813 u8 *rx_buf; in pch_spi_copy_rx_data_for_dma() local 819 if (!data->cur_trans->rx_buf) in pch_spi_copy_rx_data_for_dma() 823 rx_buf = data->cur_trans->rx_buf; in pch_spi_copy_rx_data_for_dma() 826 *rx_buf++ = *rx_dma_buf++ & 0xFF; in pch_spi_copy_rx_data_for_dma() [all …]
|
/linux-3.4.99/drivers/mfd/ |
D | tps65912-spi.c | 35 u32 tx_buf, rx_buf; in tps65912_spi_write() local 38 rx_buf = 0; in tps65912_spi_write() 41 xfer.rx_buf = NULL; in tps65912_spi_write() 62 u32 tx_buf, rx_buf; in tps65912_spi_read() local 65 rx_buf = 0; in tps65912_spi_read() 68 xfer.rx_buf = &rx_buf; in tps65912_spi_read() 80 *data = (u8) (rx_buf & 0xFF); in tps65912_spi_read()
|
/linux-3.4.99/drivers/input/touchscreen/ |
D | ad7879-spi.c | 31 u16 cmd, u8 count, u16 *tx_buf, u16 *rx_buf) in ad7879_spi_xfer() argument 53 _rx_buf = rx_buf; in ad7879_spi_xfer() 54 rx_buf = &command[2]; in ad7879_spi_xfer() 64 if (rx_buf) in ad7879_spi_xfer() 65 xfers[idx].rx_buf = &rx_buf[idx]; in ad7879_spi_xfer()
|
D | ads7846.c | 326 req->xfer[1].rx_buf = &req->scratch; in ads7846_read12_ser() 346 req->xfer[3].rx_buf = &req->sample; in ads7846_read12_ser() 358 req->xfer[5].rx_buf = &req->scratch; in ads7846_read12_ser() 395 req->xfer[0].rx_buf = req->sample; in ads7845_read12_ser() 699 return be16_to_cpup((__be16 *)&(((char*)t->rx_buf)[1])) >> 3; in ads7846_get_value() 705 return be16_to_cpup((__be16 *)t->rx_buf) >> 3; in ads7846_get_value() 714 *(u16 *)t->rx_buf = val; in ads7846_update_value() 1023 x->rx_buf = &packet->tc.y_buf[0]; in ads7846_setup_spi_msg() 1034 x->rx_buf = &packet->tc.y; in ads7846_setup_spi_msg() 1053 x->rx_buf = &packet->tc.y; in ads7846_setup_spi_msg() [all …]
|
/linux-3.4.99/drivers/hwmon/ |
D | adcxx.c | 67 u8 rx_buf[2]; in adcxx_read() local 75 status = spi_read(spi, rx_buf, sizeof(rx_buf)); in adcxx_read() 79 rx_buf, sizeof(rx_buf)); in adcxx_read() 87 value = (rx_buf[0] << 8) + rx_buf[1]; in adcxx_read()
|
D | max1111.c | 42 uint8_t rx_buf[MAX1111_RX_BUF_SIZE]; member 67 v1 = data->rx_buf[0]; in max1111_read() 68 v2 = data->rx_buf[1]; in max1111_read() 153 x->rx_buf = &data->rx_buf[0]; in setup_transfer()
|
/linux-3.4.99/drivers/net/caif/ |
D | caif_hsi.c | 551 u8 *rx_ptr, *rx_buf; in cfhsi_rx_done() local 554 desc = (struct cfhsi_desc *)cfhsi->rx_buf; in cfhsi_rx_done() 573 rx_buf = cfhsi->rx_buf; in cfhsi_rx_done() 578 rx_buf = cfhsi->rx_flip_buf; in cfhsi_rx_done() 580 rx_buf = cfhsi->rx_flip_buf; in cfhsi_rx_done() 608 memcpy(rx_buf, (u8 *)piggy_desc, in cfhsi_rx_done() 619 rx_ptr = rx_buf + CFHSI_DESC_SZ; in cfhsi_rx_done() 622 rx_ptr = rx_buf; in cfhsi_rx_done() 665 if (rx_buf != cfhsi->rx_buf) in cfhsi_rx_done() 666 swap(cfhsi->rx_buf, cfhsi->rx_flip_buf); in cfhsi_rx_done() [all …]
|
D | caif_shmcore.c | 657 struct buf_list *rx_buf = in caif_shmcore_probe() local 660 if (rx_buf == NULL) { in caif_shmcore_probe() 667 rx_buf->index = j; in caif_shmcore_probe() 668 rx_buf->phy_addr = pshm_drv->shm_rx_addr + (RX_BUF_SZ * j); in caif_shmcore_probe() 669 rx_buf->len = RX_BUF_SZ; in caif_shmcore_probe() 672 rx_buf->desc_vptr = (unsigned char *)rx_buf->phy_addr; in caif_shmcore_probe() 674 rx_buf->desc_vptr = in caif_shmcore_probe() 675 ioremap(rx_buf->phy_addr, RX_BUF_SZ); in caif_shmcore_probe() 676 list_add_tail(&rx_buf->list, &pshm_drv->rx_empty_list); in caif_shmcore_probe()
|
/linux-3.4.99/drivers/staging/iio/meter/ |
D | ade7758_ring.c | 72 *dat32 = get_unaligned_be32(&st->rx_buf[5]) & 0xFFFFFF; in ade7758_trigger_handler() 176 st->ring_xfer[1].rx_buf = &st->rx_buf[1]; in ade7758_configure_ring() 185 st->ring_xfer[3].rx_buf = &st->rx_buf[5]; in ade7758_configure_ring()
|
/linux-3.4.99/net/sunrpc/xprtrdma/ |
D | transport.c | 245 rpcrdma_buffer_destroy(&r_xprt->rx_buf); in xprt_rdma_destroy() 374 rc = rpcrdma_buffer_create(&new_xprt->rx_buf, new_ep, &new_xprt->rx_ia, in xprt_setup_rdma() 460 int credits = atomic_read(&r_xprt->rx_buf.rb_credits); in xprt_rdma_reserve_xprt() 463 if (r_xprt->rx_buf.rb_cwndscale == 0UL) { in xprt_rdma_reserve_xprt() 464 r_xprt->rx_buf.rb_cwndscale = xprt->cwnd; in xprt_rdma_reserve_xprt() 466 r_xprt->rx_buf.rb_cwndscale); in xprt_rdma_reserve_xprt() 467 BUG_ON(r_xprt->rx_buf.rb_cwndscale <= 0); in xprt_rdma_reserve_xprt() 469 xprt->cwnd = credits * r_xprt->rx_buf.rb_cwndscale; in xprt_rdma_reserve_xprt() 487 req = rpcrdma_buffer_get(&rpcx_to_rdmax(xprt)->rx_buf); in xprt_rdma_allocate() 579 struct rpcrdma_xprt, rx_buf); in xprt_rdma_free() [all …]
|
/linux-3.4.99/drivers/net/usb/ |
D | ipheth.c | 133 unsigned char *rx_buf; member 147 u8 *rx_buf = NULL; in ipheth_alloc_urbs() local 162 rx_buf = usb_alloc_coherent(iphone->udev, IPHETH_BUF_SIZE, in ipheth_alloc_urbs() 164 if (rx_buf == NULL) in ipheth_alloc_urbs() 171 iphone->rx_buf = rx_buf; in ipheth_alloc_urbs() 187 usb_free_coherent(iphone->udev, IPHETH_BUF_SIZE, iphone->rx_buf, in ipheth_free_urbs() 341 dev->rx_buf, IPHETH_BUF_SIZE, in ipheth_rx_submit()
|
/linux-3.4.99/drivers/staging/iio/adc/ |
D | ad7298_ring.c | 72 st->ring_xfer[i + 2].rx_buf = &st->rx_buf[i]; in ad7298_ring_preenable() 111 buf[i] = be16_to_cpu(st->rx_buf[i]); in ad7298_trigger_handler()
|
D | ad7887_core.c | 141 st->xfer[0].rx_buf = &st->data[0]; in ad7887_probe() 158 st->xfer[1].rx_buf = &st->data[0]; in ad7887_probe() 162 st->xfer[2].rx_buf = &st->data[2]; in ad7887_probe() 170 st->xfer[3].rx_buf = &st->data[0]; in ad7887_probe()
|
/linux-3.4.99/drivers/staging/comedi/drivers/ |
D | vmk80xx.c | 719 unsigned char *rx_buf; in vmk80xx_di_bits() local 731 rx_buf = dev->usb_rx_buf; in vmk80xx_di_bits() 744 data[1] = (((rx_buf[reg] >> 4) & 0x03) | in vmk80xx_di_bits() 745 ((rx_buf[reg] << 2) & 0x04) | in vmk80xx_di_bits() 746 ((rx_buf[reg] >> 3) & 0x18)); in vmk80xx_di_bits() 748 data[1] = rx_buf[reg]; in vmk80xx_di_bits() 764 unsigned char *rx_buf; in vmk80xx_di_rinsn() local 778 rx_buf = dev->usb_rx_buf; in vmk80xx_di_rinsn() 791 inp = (((rx_buf[reg] >> 4) & 0x03) | in vmk80xx_di_rinsn() 792 ((rx_buf[reg] << 2) & 0x04) | in vmk80xx_di_rinsn() [all …]
|
/linux-3.4.99/drivers/net/wan/ |
D | z85230.c | 882 c->rx_buf[0]=(void *)get_zeroed_page(GFP_KERNEL|GFP_DMA); in z8530_sync_dma_open() 883 if(c->rx_buf[0]==NULL) in z8530_sync_dma_open() 885 c->rx_buf[1]=c->rx_buf[0]+PAGE_SIZE/2; in z8530_sync_dma_open() 890 free_page((unsigned long)c->rx_buf[0]); in z8530_sync_dma_open() 891 c->rx_buf[0]=NULL; in z8530_sync_dma_open() 942 set_dma_addr(c->rxdma, virt_to_bus(c->rx_buf[0])); in z8530_sync_dma_open() 1021 if(c->rx_buf[0]) in z8530_sync_dma_close() 1023 free_page((unsigned long)c->rx_buf[0]); in z8530_sync_dma_close() 1024 c->rx_buf[0]=NULL; in z8530_sync_dma_close() 1590 unsigned char *rxb=c->rx_buf[c->dma_num]; in z8530_rx_done() [all …]
|
/linux-3.4.99/drivers/net/irda/ |
D | ksdazzle-sir.c | 152 __u8 *rx_buf; member 440 kingsun->rx_buf, KINGSUN_RCV_MAX, ksdazzle_rcv_irq, in ksdazzle_net_open() 639 kingsun->rx_buf = NULL; in ksdazzle_probe() 651 kingsun->rx_buf = kmalloc(KINGSUN_RCV_MAX, GFP_KERNEL); in ksdazzle_probe() 652 if (!kingsun->rx_buf) in ksdazzle_probe() 715 kfree(kingsun->rx_buf); in ksdazzle_probe() 748 kfree(kingsun->rx_buf); in ksdazzle_disconnect()
|
/linux-3.4.99/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_cpm1.c | 117 pinfo->rx_buf = mem_addr; in cpm_uart_allocbuf() 118 pinfo->tx_buf = pinfo->rx_buf + L1_CACHE_ALIGN(pinfo->rx_nrfifos in cpm_uart_allocbuf()
|