Home
last modified time | relevance | path

Searched refs:data_ptr (Results 1 – 17 of 17) sorted by relevance

/drivers/scsi/
Dnsp32_io.h179 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read1() local
182 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read1()
185 return readb(data_ptr); in nsp32_mmio_index_read1()
192 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write1() local
195 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write1()
198 writeb(val, data_ptr ); in nsp32_mmio_index_write1()
204 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read2() local
207 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read2()
210 return le16_to_cpu(readw(data_ptr)); in nsp32_mmio_index_read2()
217 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write2() local
[all …]
Dmesh.c158 int data_ptr; member
324 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs()
432 ms->data_ptr = 0; in mesh_start_cmd()
605 cmd->result, ms->data_ptr, scsi_bufflen(cmd)); in mesh_done()
616 cmd->SCp.this_residual -= ms->data_ptr; in mesh_done()
797 ms->data_ptr += nb; in start_phase()
965 ms->data_ptr = tp->saved_ptr; in reselected()
974 ms->data_ptr = 0; in reselected()
1189 ms->data_ptr += (ms->msgin[3] << 24) + ms->msgin[6] in handle_msgin()
1213 tp->saved_ptr = ms->data_ptr; in handle_msgin()
[all …]
/drivers/isdn/hardware/eicon/
Distream.c80 byte* data_ptr = (byte*)data; in diva_istream_write() local
103 data_ptr, in diva_istream_write()
107 data_ptr += to_write; in diva_istream_write()
158 byte* data_ptr = (byte*)data; in diva_istream_read() local
187 data_ptr, in diva_istream_read()
191 data_ptr += to_read; in diva_istream_read()
/drivers/block/
Dxsysace.c187 void *data_ptr; /* pointer to I/O buffer */ member
244 u8 *dst = ace->data_ptr; in ace_datain_8()
248 ace->data_ptr = dst; in ace_datain_8()
254 u8 *src = ace->data_ptr; in ace_dataout_8()
258 ace->data_ptr = src; in ace_dataout_8()
282 u16 *dst = ace->data_ptr; in ace_datain_be16()
285 ace->data_ptr = dst; in ace_datain_be16()
291 u16 *src = ace->data_ptr; in ace_dataout_be16()
294 ace->data_ptr = src; in ace_dataout_be16()
311 u16 *dst = ace->data_ptr; in ace_datain_le16()
[all …]
Dcciss.c1067 BYTE __user *data_ptr; in cciss_ioctl() local
1110 data_ptr = ioc->buf; in cciss_ioctl()
1123 (buff[sg_used], data_ptr, sz)) { in cciss_ioctl()
1131 data_ptr += sz; in cciss_ioctl()
/drivers/net/netxen/
Dnetxen_nic_hw.h57 static inline void netxen_nic_hw_block_write64(u64 __iomem * data_ptr, in netxen_nic_hw_block_write64() argument
63 writeq(readq((void __iomem *)data_ptr), addr); in netxen_nic_hw_block_write64()
65 data_ptr++; in netxen_nic_hw_block_write64()
69 static inline void netxen_nic_hw_block_read64(u64 __iomem * data_ptr, in netxen_nic_hw_block_read64() argument
74 writeq(readq((void __iomem *)addr), data_ptr); in netxen_nic_hw_block_read64()
76 data_ptr++; in netxen_nic_hw_block_read64()
/drivers/scsi/pcmcia/
Dnsp_io.h201 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_read() local
204 return readb(data_ptr); in nsp_mmio_index_read()
212 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_write() local
215 writeb(val, data_ptr); in nsp_mmio_index_write()
/drivers/net/ibm_newemac/
Ddebug.c41 i, p->tx_desc[i].data_ptr, p->tx_skb[i] ? 'V' : ' ', in emac_desc_dump()
44 p->tx_desc[NUM_TX_BUFF / 2 + i].data_ptr, in emac_desc_dump()
58 i, p->rx_desc[i].data_ptr, p->rx_skb[i] ? 'V' : ' ', in emac_desc_dump()
61 p->rx_desc[NUM_RX_BUFF / 2 + i].data_ptr, in emac_desc_dump()
Dmal.h152 u32 data_ptr; /* pointer to actual data buffer */ member
Dcore.c1001 dev->rx_desc[i].data_ptr = in emac_resize_rx_ring()
1067 dev->tx_desc[i].data_ptr = 0; in emac_clean_tx_ring()
1080 dev->rx_desc[i].data_ptr = 0; in emac_clean_rx_ring()
1100 dev->rx_desc[slot].data_ptr = in emac_alloc_rx_skb()
1367 dev->tx_desc[slot].data_ptr = dma_map_single(&dev->ofdev->dev, in emac_start_xmit()
1393 dev->tx_desc[slot].data_ptr = pd; in emac_xmit_split()
1436 dev->tx_desc[slot].data_ptr = pd = in emac_start_xmit_sg()
/drivers/net/arm/
Dks8695net.c61 __le32 data_ptr; member
75 __le32 data_ptr; member
293 ksp->rx_ring[buff_n].data_ptr = cpu_to_le32(mapping); in ks8695_refill_rxbuffers()
376 ksp->tx_ring[buff_n].data_ptr = 0; in ks8695_tx_irq()
456 ksp->rx_ring[buff_n].data_ptr = 0; in ks8695_rx_irq()
614 ksp->tx_ring[buff_n].data_ptr = 0; in ks8695_shutdown()
631 ksp->rx_ring[buff_n].data_ptr = 0; in ks8695_shutdown()
1218 ksp->tx_ring[buff_n].data_ptr = in ks8695_start_xmit()
/drivers/mmc/host/
Dimxmmc.c63 u16 *data_ptr; member
261 host->data_ptr = (u16 *)sg_virt(data->sg); in imxmci_setup_data()
580 *(host->data_ptr++) = data; in imxmci_cpu_driven_data()
583 *(u8 *)(host->data_ptr) = data; in imxmci_cpu_driven_data()
622 writew(*(host->data_ptr++), host->base + MMC_REG_BUFFER_ACCESS); in imxmci_cpu_driven_data()
/drivers/net/
Ddnet.c400 unsigned int *data_ptr; in dnet_poll() local
433 data_ptr = (unsigned int *)skb_put(skb, pkt_len); in dnet_poll()
435 *data_ptr++ = dnet_readl(bp, RX_DATA_FIFO); in dnet_poll()
/drivers/usb/storage/
Dusb.c377 unsigned char data_ptr[36] = { in usb_stor_control_thread() local
382 fill_inquiry_response(us, data_ptr, 36); in usb_stor_control_thread()
/drivers/staging/android/
Dbinder.c1874 void __user *data_ptr; in binder_thread_write() local
1877 if (get_user(data_ptr, (void * __user *)ptr)) in binder_thread_write()
1881 buffer = binder_buffer_lookup(proc, data_ptr); in binder_thread_write()
1885 proc->pid, thread->pid, data_ptr); in binder_thread_write()
1892 proc->pid, thread->pid, data_ptr); in binder_thread_write()
1897 proc->pid, thread->pid, data_ptr, buffer->debug_id, in binder_thread_write()
/drivers/gpu/drm/i915/
Di915_gem.c182 read = vfs_read(obj->filp, (char __user *)(uintptr_t)args->data_ptr, in i915_gem_pread_ioctl()
258 user_data = (char __user *) (uintptr_t) args->data_ptr; in i915_gem_gtt_pwrite()
338 (char __user *)(uintptr_t) args->data_ptr, in i915_gem_shmem_pwrite()
3615 user_data = (char __user *) (uintptr_t) args->data_ptr; in i915_gem_phys_pwrite()
/drivers/s390/net/
Dqeth_core_main.c3946 void *data_ptr; in qeth_core_get_next_skb() local
3995 data_ptr = element->addr + offset; in qeth_core_get_next_skb()
4004 memcpy(skb_put(skb, data_len), data_ptr, in qeth_core_get_next_skb()
4024 data_ptr = element->addr; in qeth_core_get_next_skb()