Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 10 of 10) sorted by relevance

/drivers/mtd/maps/
Dvmu-flash.c120 __be32 sendbuf; in maple_vmu_read_block() local
147 sendbuf = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_read_block()
172 MAPLE_COMMAND_BREAD, 2, &sendbuf); in maple_vmu_read_block()
194 kfree(mdev->mq->sendbuf); in maple_vmu_read_block()
195 mdev->mq->sendbuf = NULL; in maple_vmu_read_block()
235 __be32 *sendbuf; in maple_vmu_write_block() local
244 sendbuf = kmalloc(phaselen + 4, GFP_KERNEL); in maple_vmu_write_block()
245 if (!sendbuf) { in maple_vmu_write_block()
250 sendbuf[0] = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_write_block()
251 memcpy(&sendbuf[1], buf + phaselen * x, phaselen); in maple_vmu_write_block()
[all …]
/drivers/isdn/hisax/
Dnetjet.c200 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; \
210 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; \
230 bcs->hw.tiger.sendbuf[s_cnt++] = HDLC_FLAG_VALUE; in make_raw_data()
251 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; in make_raw_data()
264 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; in make_raw_data()
265 bcs->hw.tiger.sendbuf[s_cnt++] = 0xff; // NJ<->NJ thoughput bug fix in make_raw_data()
269 bcs->hw.tiger.sp = bcs->hw.tiger.sendbuf; in make_raw_data()
288 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; \
300 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; \
331 bcs->hw.tiger.sendbuf[s_cnt++] = s_val; in make_raw_data_56k()
[all …]
Dhisax.h445 u_char *sendbuf; member
/drivers/sh/maple/
Dmaple.c161 void *sendbuf = NULL; in maple_add_packet() local
164 sendbuf = kzalloc(length * 4, GFP_KERNEL); in maple_add_packet()
165 if (!sendbuf) { in maple_add_packet()
169 ((__be32 *)sendbuf)[0] = cpu_to_be32(function); in maple_add_packet()
175 memcpy(sendbuf + 4, data, (length - 1) * 4); in maple_add_packet()
176 mdev->mq->sendbuf = sendbuf; in maple_add_packet()
250 unsigned long *lsendbuf = mq->sendbuf; in maple_build_block()
648 kfree(mq->sendbuf); in maple_dma_handler()
/drivers/isdn/hardware/avm/
Db1.c741 p->sendbuf.size = ssize; in avmcard_dma_alloc()
742 buf = pci_alloc_consistent(pdev, ssize, &p->sendbuf.dmaaddr); in avmcard_dma_alloc()
748 p->sendbuf.dmabuf = buf; in avmcard_dma_alloc()
766 pci_free_consistent(p->pcidev, p->sendbuf.size, in avmcard_dma_free()
767 p->sendbuf.dmabuf, p->sendbuf.dmaaddr); in avmcard_dma_free()
Db1dma.c385 p = dma->sendbuf.dmabuf; in b1dma_dispatch_tx()
396 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; in b1dma_dispatch_tx()
410 skb_copy_from_linear_data_offset(skb, 2, dma->sendbuf.dmabuf, in b1dma_dispatch_tx()
415 b1dma_writel(card, dma->sendbuf.dmaaddr, AMCC_TXPTR); in b1dma_dispatch_tx()
925 txoff = (dma_addr_t)b1dma_readl(card, AMCC_TXPTR)-card->dma->sendbuf.dmaaddr; in b1dmactl_proc_show()
Dc4.c438 p = dma->sendbuf.dmabuf; in c4_dispatch_tx()
449 txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; in c4_dispatch_tx()
463 skb_copy_from_linear_data_offset(skb, 2, dma->sendbuf.dmabuf, in c4_dispatch_tx()
468 c4outmeml(card->mbase + MBOX_DOWN_ADDR, dma->sendbuf.dmaaddr); in c4_dispatch_tx()
Davmcard.h56 avmcard_dmabuf sendbuf; member
/drivers/staging/media/lirc/
Dlirc_zilog.c330 unsigned char sendbuf[1] = { 0 }; in add_to_buf() local
380 ret = i2c_master_send(rx->c, sendbuf, 1); in add_to_buf()
/drivers/net/wireless/
Dairo.c1974 u8 *sendbuf; in mpi_send_packet() local
2007 sendbuf = ai->txfids[0].virtual_host_addr + in mpi_send_packet()
2024 memcpy (sendbuf, buffer, sizeof(etherHead)); in mpi_send_packet()
2026 sendbuf += sizeof(etherHead); in mpi_send_packet()
2027 memcpy (sendbuf, &pMic, sizeof(pMic)); in mpi_send_packet()
2028 sendbuf += sizeof(pMic); in mpi_send_packet()
2029 memcpy (sendbuf, buffer, len - sizeof(etherHead)); in mpi_send_packet()
2036 memcpy(sendbuf, buffer, len); in mpi_send_packet()