Home
last modified time | relevance | path

Searched refs:ptrs (Results 1 – 14 of 14) 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.c394 short *ptrs; in apne_get_8390_hdr() local
414 ptrs = (short*)hdr; in apne_get_8390_hdr()
416 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_get_8390_hdr()
440 short *ptrs; in apne_block_input() local
459 ptrs = (short*)buf; in apne_block_input()
461 *ptrs++ = inw(NE_BASE + NE_DATAPORT); in apne_block_input()
482 short *ptrs; in apne_block_output() local
512 ptrs = (short*)buf; in apne_block_output()
514 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()
419 const char *ptrs[2]; in mips_ejtag_fdc_put_chan() local
427 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
431 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
433 word = mips_ejtag_fdc_encode(ptrs, sizes, 1 + !!sizes[1]); in mips_ejtag_fdc_put_chan()
437 min_t(int, word.bytes, sizes[0]), ptrs[0], in mips_ejtag_fdc_put_chan()
438 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/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
322 command->rw_params.ptrs[0] = (u64)(xaddr | (address & ~PAGE_MASK)); in populate_rw_params()
332 command->rw_params.ptrs[buffer_idx] = (u64)xaddr; in populate_rw_params()
/drivers/gpu/drm/i915/display/
Dintel_bios.c189 const struct bdb_lvds_lfp_data_ptrs *ptrs, in get_lvds_fp_timing() argument
196 if (index >= ARRAY_SIZE(ptrs->ptr)) in get_lvds_fp_timing()
198 ofs = ptrs->ptr[index].fp_timing_offset; in get_lvds_fp_timing()