Home
last modified time | relevance | path

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

/drivers/net/ethernet/8390/
Dzorro8390.c116 short *ptrs; in zorro8390_get_8390_hdr() local
137 ptrs = (short *)hdr; in zorro8390_get_8390_hdr()
139 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_get_8390_hdr()
159 short *ptrs; in zorro8390_block_input() local
178 ptrs = (short *)buf; in zorro8390_block_input()
180 *ptrs++ = z_readw(NE_BASE + NE_DATAPORT); in zorro8390_block_input()
194 short *ptrs; in zorro8390_block_output() local
225 ptrs = (short *)buf; in zorro8390_block_output()
227 z_writew(*ptrs++, NE_BASE + NE_DATAPORT); in zorro8390_block_output()
Dapne.c389 short *ptrs; in apne_get_8390_hdr() local
409 ptrs = (short*)hdr; in apne_get_8390_hdr()
411 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
435 short *ptrs; in apne_block_input() local
454 ptrs = (short*)buf; in apne_block_input()
456 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
477 short *ptrs; in apne_block_output() local
507 ptrs = (short*)buf; in apne_block_output()
509 outw(*ptrs++, NE_BASE+NE_DATAPORT); in apne_block_output()
Dhydra.c205 short *ptrs; in hydra_get_8390_hdr() local
208 ptrs = (short *)hdr; in hydra_get_8390_hdr()
210 *(ptrs++) = z_readw(hdr_start); in hydra_get_8390_hdr()
213 *(ptrs++) = z_readw(hdr_start); in hydra_get_8390_hdr()
/drivers/atm/
Dambassador.c543 volatile amb_cq_ptrs * ptrs = &cq->ptrs; in command_do() local
556 my_slot = ptrs->in; in command_do()
562 *ptrs->in = *cmd; in command_do()
564 ptrs->in = NEXTQ (ptrs->in, ptrs->start, ptrs->limit); in command_do()
567 wr_mem (dev, offsetof(amb_mem, mb.adapter.cmd_address), virt_to_bus (ptrs->in)); in command_do()
579 while (ptrs->out != my_slot) { in command_do()
580 PRINTD (DBG_CMD, "wait: command slot (now at %p)", ptrs->out); in command_do()
586 while (ptrs->out->request != cpu_to_be32 (SRB_COMPLETE)) { in command_do()
597 *cmd = *ptrs->out; in command_do()
598 ptrs->out = NEXTQ (ptrs->out, ptrs->start, ptrs->limit); in command_do()
[all …]
Dambassador.h541 amb_cq_ptrs ptrs; member
/drivers/tty/
Dmips_ejtag_fdc.c216 static struct fdc_word mips_ejtag_fdc_encode(const char **ptrs, in mips_ejtag_fdc_encode() argument
221 const char **ptrs_end = ptrs + ranges; in mips_ejtag_fdc_encode()
223 for (; ptrs < ptrs_end; ++ptrs) { in mips_ejtag_fdc_encode()
224 const char *ptr = *(ptrs++); in mips_ejtag_fdc_encode()
420 const char *ptrs[2]; in mips_ejtag_fdc_put_chan() local
428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
432 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
434 word = mips_ejtag_fdc_encode(ptrs, sizes, 1 + !!sizes[1]); in mips_ejtag_fdc_put_chan()
438 min_t(int, word.bytes, sizes[0]), ptrs[0], in mips_ejtag_fdc_put_chan()
439 max_t(int, 0, word.bytes - sizes[0]), ptrs[1]); in mips_ejtag_fdc_put_chan()
/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h23 const struct nvkm_memory_ptrs *ptrs; member
73 #define nvkm_ro32(o,a) (o)->ptrs->rd32((o), (a))
74 #define nvkm_wo32(o,a,d) (o)->ptrs->wr32((o), (a), (d))
Dgpuobj.h13 const struct nvkm_gpuobj_func *ptrs; member
/drivers/media/common/videobuf2/
Dframe_vector.c54 (struct page **)(vec->ptrs)); in get_vaddr_frames()
140 pages = (struct page **)(vec->ptrs); in frame_vector_to_pfns()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k.c114 u64 ptrs[NPA_MAX_BURST]; in cn10k_refill_pool_ptrs() local
122 __cn10k_aura_freeptr(pfvf, cq->cq_idx, ptrs, in cn10k_refill_pool_ptrs()
127 ptrs[num_ptrs] = (u64)bufptr + OTX2_HEAD_ROOM; in cn10k_refill_pool_ptrs()
130 __cn10k_aura_freeptr(pfvf, cq->cq_idx, ptrs, in cn10k_refill_pool_ptrs()
Dotx2_common.h571 u64 *ptrs, u64 num_ptrs) in __cn10k_aura_freeptr() argument
584 ptrs[0] = (count_eot << 32) | (aura & 0xFFFFF); in __cn10k_aura_freeptr()
597 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
605 u64 ptrs[2]; in cn10k_aura_freeptr() local
607 ptrs[1] = buf; in cn10k_aura_freeptr()
610 __cn10k_aura_freeptr(pfvf, aura, ptrs, 2); in cn10k_aura_freeptr()
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c210 iobj->base.memory.ptrs = NULL; in nv50_instobj_release()
249 iobj->base.memory.ptrs = &nv50_instobj_fast; in nv50_instobj_acquire()
251 iobj->base.memory.ptrs = &nv50_instobj_slow; in nv50_instobj_acquire()
Dgk20a.c395 node->base.memory.ptrs = &gk20a_instobj_ptrs; in gk20a_instobj_ctor_dma()
442 node->base.memory.ptrs = &gk20a_instobj_ptrs; in gk20a_instobj_ctor_iommu()
Dnv04.c132 iobj->base.memory.ptrs = &nv04_instobj_ptrs; in nv04_instobj_new()
Dnv40.c132 iobj->base.memory.ptrs = &nv40_instobj_ptrs; in nv40_instobj_new()
/drivers/platform/goldfish/
Dgoldfish_pipe.c99 u64 ptrs[MAX_BUFFERS_PER_COMMAND]; member
307 command->rw_params.ptrs[0] = (u64)(xaddr | (address & ~PAGE_MASK)); in populate_rw_params()
317 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params()
/drivers/gpu/drm/i915/display/
Dintel_bios.c198 const struct bdb_lvds_lfp_data_ptrs *ptrs, in get_lvds_fp_timing() argument
205 if (index >= ARRAY_SIZE(ptrs->ptr)) in get_lvds_fp_timing()
207 ofs = ptrs->ptr[index].fp_timing_offset; in get_lvds_fp_timing()