Home
last modified time | relevance | path

Searched refs:iop (Results 1 – 25 of 49) sorted by relevance

12

/linux/lib/
H A Dirq_poll.c53 list_del(&iop->list); in __irq_poll_complete()
73 __irq_poll_complete(iop); in irq_poll_complete()
87 struct irq_poll *iop; in irq_poll_softirq() local
107 weight = iop->weight; in irq_poll_softirq()
110 work = iop->poll(iop, weight); in irq_poll_softirq()
126 __irq_poll_complete(iop); in irq_poll_softirq()
128 list_move_tail(&iop->list, list); in irq_poll_softirq()
181 memset(iop, 0, sizeof(*iop)); in irq_poll_init()
182 INIT_LIST_HEAD(&iop->list); in irq_poll_init()
183 iop->weight = weight; in irq_poll_init()
[all …]
/linux/arch/m68k/mac/
H A Diop.c172 iop->ram_addr_lo = addr; in iop_loadaddr()
173 iop->ram_addr_hi = addr >> 8; in iop_loadaddr()
178 iop->ram_addr_lo = addr; in iop_readb()
179 iop->ram_addr_hi = addr >> 8; in iop_readb()
180 return iop->ram_data; in iop_readb()
185 iop->ram_addr_lo = addr; in iop_writeb()
186 iop->ram_addr_hi = addr >> 8; in iop_writeb()
187 iop->ram_data = data; in iop_writeb()
192 iop->status_ctrl = IOP_AUTOINC; in iop_stop()
370 iop_interrupt(iop); in iop_do_send()
[all …]
H A DMakefile6 obj-y := config.o macints.o iop.o via.o oss.o psc.o \
/linux/drivers/md/bcache/
H A Drequest.c721 if (s->iop.bio) in CLOSURE_CALLBACK()
751 s->iop.c = d->c; in search_alloc()
752 s->iop.bio = NULL; in search_alloc()
757 s->iop.flags = 0; in search_alloc()
784 if (s->iop.bio) in CLOSURE_CALLBACK()
826 if (s->iop.bio) in CLOSURE_CALLBACK()
846 if (s->iop.bio) { in CLOSURE_CALLBACK()
866 if (s->iop.bio && in CLOSURE_CALLBACK()
884 if (s->iop.status) in CLOSURE_CALLBACK()
913 s->iop.replace_key = KEY(s->iop.inode, in cached_dev_cache_miss()
[all …]
/linux/drivers/iommu/
H A Dio-pgtable.c61 struct io_pgtable *iop; in alloc_io_pgtable_ops() local
74 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
75 if (!iop) in alloc_io_pgtable_ops()
78 iop->fmt = fmt; in alloc_io_pgtable_ops()
79 iop->cookie = cookie; in alloc_io_pgtable_ops()
80 iop->cfg = *cfg; in alloc_io_pgtable_ops()
82 return &iop->ops; in alloc_io_pgtable_ops()
92 struct io_pgtable *iop; in free_io_pgtable_ops() local
97 iop = io_pgtable_ops_to_pgtable(ops); in free_io_pgtable_ops()
98 io_pgtable_tlb_flush_all(iop); in free_io_pgtable_ops()
[all …]
H A Dio-pgtable-arm.c143 struct io_pgtable iop; member
420 if (data->iop.fmt == ARM_64_LPAE_S1 || in arm_lpae_prot_to_pte()
421 data->iop.fmt == ARM_32_LPAE_S1) { in arm_lpae_prot_to_pte()
439 if (data->iop.fmt == ARM_64_LPAE_S2 || in arm_lpae_prot_to_pte()
440 data->iop.fmt == ARM_32_LPAE_S2) { in arm_lpae_prot_to_pte()
473 if (data->iop.fmt != ARM_MALI_LPAE) in arm_lpae_prot_to_pte()
542 __arm_lpae_free_pages(start, table_size, &data->iop.cfg, data->iop.cookie); in __arm_lpae_free_pgtable()
619 struct io_pgtable *iop = &data->iop; in __arm_lpae_unmap() local
909 return &data->iop; in arm_64_lpae_alloc_pgtable_s1()
1011 return &data->iop; in arm_64_lpae_alloc_pgtable_s2()
[all …]
H A Dio-pgtable-dart.c35 container_of((x), struct dart_io_pgtable, iop)
69 struct io_pgtable iop; member
85 if (data->iop.fmt == APPLE_DART) in paddr_to_iopte()
100 if (data->iop.fmt == APPLE_DART) in iopte_to_paddr()
125 size_t sz = data->iop.cfg.pgsize_bitmap; in dart_init_pte()
213 if (data->iop.fmt == APPLE_DART) { in dart_prot_to_pte()
219 if (data->iop.fmt == APPLE_DART2) { in dart_prot_to_pte()
236 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_map_pages()
353 iova &= (data->iop.cfg.pgsize_bitmap - 1); in dart_iova_to_phys()
383 data->iop.ops = (struct io_pgtable_ops) { in dart_alloc_pgtable()
[all …]
H A Dio-pgtable-arm-v7s.c40 container_of((x), struct arm_v7s_io_pgtable, iop)
165 struct io_pgtable iop; member
242 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
302 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
435 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
552 paddr >= (1ULL << data->iop.cfg.oas))) in arm_v7s_map_pages()
599 struct io_pgtable *iop = &data->iop; in arm_v7s_split_cont() local
672 struct io_pgtable *iop = &data->iop; in __arm_v7s_unmap() local
831 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
838 data->iop.cfg = *cfg; in arm_v7s_alloc_pgtable()
[all …]
H A Dipmmu-vmsa.c75 struct io_pgtable_ops *iop; member
455 domain->iop = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &domain->cfg, in ipmmu_domain_init_context()
457 if (!domain->iop) { in ipmmu_domain_init_context()
587 free_io_pgtable_ops(domain->iop); in ipmmu_domain_free()
674 return domain->iop->map_pages(domain->iop, iova, paddr, pgsize, pgcount, in ipmmu_map()
684 return domain->iop->unmap_pages(domain->iop, iova, pgsize, pgcount, gather); in ipmmu_unmap()
708 return domain->iop->iova_to_phys(domain->iop, iova); in ipmmu_iova_to_phys()
H A Dmsm_iommu.c44 struct io_pgtable_ops *iop; member
349 priv->iop = alloc_io_pgtable_ops(ARM_V7S, &priv->cfg, priv); in msm_iommu_domain_config()
350 if (!priv->iop) { in msm_iommu_domain_config()
457 free_io_pgtable_ops(priv->iop); in msm_iommu_identity_attach()
494 ret = priv->iop->map_pages(priv->iop, iova, pa, pgsize, pgcount, prot, in msm_iommu_map()
519 ret = priv->iop->unmap_pages(priv->iop, iova, pgsize, pgcount, gather); in msm_iommu_unmap()
/linux/arch/powerpc/platforms/8xx/
H A Dcpm1.c169 setbits32(&iop->dir, pin); in cpm1_set_pin32()
171 clrbits32(&iop->dir, pin); in cpm1_set_pin32()
174 setbits32(&iop->par, pin); in cpm1_set_pin32()
176 clrbits32(&iop->par, pin); in cpm1_set_pin32()
187 setbits32(&iop->sor, pin); in cpm1_set_pin32()
189 clrbits32(&iop->sor, pin); in cpm1_set_pin32()
206 iop += port - 1; in cpm1_set_pin16()
209 setbits16(&iop->dir, pin); in cpm1_set_pin16()
211 clrbits16(&iop->dir, pin); in cpm1_set_pin16()
214 setbits16(&iop->par, pin); in cpm1_set_pin16()
[all …]
/linux/include/linux/
H A Dio-pgtable.h245 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all() argument
247 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_all) in io_pgtable_tlb_flush_all()
248 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all()
252 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk() argument
255 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_walk) in io_pgtable_tlb_flush_walk()
256 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
260 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page() argument
264 if (iop->cfg.tlb && iop->cfg.tlb->tlb_add_page) in io_pgtable_tlb_add_page()
265 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
286 void (*free)(struct io_pgtable *iop);
/linux/drivers/iommu/amd/
H A Dio_pgtable.c166 if (address <= PM_LEVEL_SIZE(domain->iop.mode)) in increase_address_space()
173 *pte = PM_LEVEL_PDE(domain->iop.mode, iommu_virt_to_phys(domain->iop.root)); in increase_address_space()
175 domain->iop.root = pte; in increase_address_space()
176 domain->iop.mode += 1; in increase_address_space()
208 while (address > PM_LEVEL_SIZE(domain->iop.mode)) { in alloc_pte()
218 level = domain->iop.mode - 1; in alloc_pte()
561 static void v1_free_pgtable(struct io_pgtable *iop) in v1_free_pgtable() argument
563 struct amd_io_pgtable *pgtable = container_of(iop, struct amd_io_pgtable, iop); in v1_free_pgtable()
596 pgtable->iop.ops.map_pages = iommu_v1_map_pages; in v1_alloc_pgtable()
597 pgtable->iop.ops.unmap_pages = iommu_v1_unmap_pages; in v1_alloc_pgtable()
[all …]
H A Dio_pgtable_v2.c237 struct io_pgtable_cfg *cfg = &pdom->iop.iop.cfg; in iommu_v2_map_pages()
254 pte = v2_alloc_pte(pdom->nid, pdom->iop.pgd, in iommu_v2_map_pages()
284 struct io_pgtable_cfg *cfg = &pgtable->iop.cfg; in iommu_v2_unmap_pages()
347 static void v2_free_pgtable(struct io_pgtable *iop) in v2_free_pgtable() argument
349 struct amd_io_pgtable *pgtable = container_of(iop, struct amd_io_pgtable, iop); in v2_free_pgtable()
372 pgtable->iop.ops.map_pages = iommu_v2_map_pages; in v2_alloc_pgtable()
373 pgtable->iop.ops.unmap_pages = iommu_v2_unmap_pages; in v2_alloc_pgtable()
374 pgtable->iop.ops.iova_to_phys = iommu_v2_iova_to_phys; in v2_alloc_pgtable()
381 return &pgtable->iop; in v2_alloc_pgtable()
/linux/arch/powerpc/sysdev/
H A Dcpm_common.c111 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_save_regs() local
113 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()
119 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_get() local
124 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
131 struct cpm2_ioports __iomem *iop = mm_gc->regs; in __cpm2_gpio32_set() local
138 out_be32(&iop->dat, cpm2_gc->cpdata); in __cpm2_gpio32_set()
159 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_out() local
165 setbits32(&iop->dir, pin_mask); in cpm2_gpio32_dir_out()
177 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_in() local
183 clrbits32(&iop->dir, pin_mask); in cpm2_gpio32_dir_in()
H A Dcpm2.c320 struct cpm2_ioports __iomem *iop = in cpm2_set_pin() local
326 setbits32(&iop[port].dir, pin); in cpm2_set_pin()
328 clrbits32(&iop[port].dir, pin); in cpm2_set_pin()
331 setbits32(&iop[port].par, pin); in cpm2_set_pin()
333 clrbits32(&iop[port].par, pin); in cpm2_set_pin()
336 setbits32(&iop[port].sor, pin); in cpm2_set_pin()
338 clrbits32(&iop[port].sor, pin); in cpm2_set_pin()
341 setbits32(&iop[port].odr, pin); in cpm2_set_pin()
343 clrbits32(&iop[port].odr, pin); in cpm2_set_pin()
/linux/drivers/spi/
H A Dspi-intel.c362 if (!iop->replacement_op) in intel_spi_hw_cycle()
370 val |= iop->replacement_op; in intel_spi_hw_cycle()
738 for (iop = ispi->mem_ops; iop->mem_op.cmd.opcode; iop++) { in intel_spi_match_mem_op()
741 return iop; in intel_spi_match_mem_op()
754 if (!iop) { in intel_spi_supports_mem_op()
785 if (!iop) in intel_spi_exec_mem_op()
788 return iop->exec_op(ispi, mem, iop, op); in intel_spi_exec_mem_op()
808 if (!iop) in intel_spi_dirmap_create()
811 desc->priv = (void *)iop; in intel_spi_dirmap_create()
828 ret = iop->exec_op(ispi, desc->mem, iop, &op); in intel_spi_dirmap_read()
[all …]
/linux/drivers/net/fddi/skfp/h/
H A Dskfbi.h697 #define ADDR(a) (char far *) smc->hw.iop+(a)
698 #define ADDRS(smc,a) (char far *) (smc)->hw.iop+(a)
700 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), \
701 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \
702 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
704 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \
705 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
742 #define GET_ISR_SMP(iop) inpd((iop)+B0_ISRC) argument
744 #define CHECK_ISR_SMP(iop) (inpd((iop)+B0_ISRC) & inpd((iop)+B0_IMSK)) argument
764 #define CLI_FBI_SMP(iop) outpd((iop)+B0_IMSK,0) argument
[all …]
H A Dtargetos.h51 #define ADDR(a) (smc->hw.iop+(a))
53 …ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), (smc->hw.iop+( ((a)&0x7F) | ((a)>>7 ? 0x80:0…
/linux/include/uapi/linux/
H A Di2o-dev.h50 unsigned int iop; /* IOP unit number */ member
55 unsigned int iop; /* IOP unit number */ member
60 unsigned int iop; /* IOP unit number */ member
66 unsigned int iop; /* IOP unit number */ member
75 unsigned int iop; /* IOP unit number */ member
86 unsigned int iop; /* IOP unit number */ member
98 unsigned int iop; member
/linux/drivers/scsi/
H A Dhptiop.c115 struct hpt_iopmu_itl __iomem *iop = hba->u.itl.iop; in iop_intr_itl() local
123 status = readl(&iop->outbound_intstatus); in iop_intr_itl()
307 &hba->u.itl.iop->inbound_queue); in iop_send_sync_request_itl()
552 &hba->u.itl.iop->outbound_intmask); in hptiop_enable_intr_itl()
615 if (hba->u.itl.iop == NULL) in hptiop_map_pci_bar_itl()
618 hba->u.itl.plx = hba->u.itl.iop; in hptiop_map_pci_bar_itl()
620 if (hba->u.itl.iop == NULL) { in hptiop_map_pci_bar_itl()
632 iounmap(hba->u.itl.iop); in hptiop_unmap_pci_bar_itl()
894 &hba->u.itl.iop->inbound_queue); in hptiop_post_req_itl()
897 &hba->u.itl.iop->inbound_queue); in hptiop_post_req_itl()
[all …]
/linux/arch/alpha/kernel/
H A Dcore_wildfire.c187 wildfire_iop *iop; in wildfire_hardware_probe() local
286 iop = WILDFIRE_iop(soft_qbb); in wildfire_hardware_probe()
290 if ((iop->iop_hose[i].init.csr & 1) == 1 && in wildfire_hardware_probe()
552 wildfire_iop *iop = WILDFIRE_iop(qbbno); in wildfire_dump_iop_regs() local
555 printk(KERN_ERR "IOP registers for QBB %d (%p)\n", qbbno, iop); in wildfire_dump_iop_regs()
557 printk(KERN_ERR " IOA_CONFIG: 0x%16lx\n", iop->ioa_config.csr); in wildfire_dump_iop_regs()
558 printk(KERN_ERR " IOD_CONFIG: 0x%16lx\n", iop->iod_config.csr); in wildfire_dump_iop_regs()
560 iop->iop_switch_credits.csr); in wildfire_dump_iop_regs()
562 iop->iop_hose_credits.csr); in wildfire_dump_iop_regs()
566 i, iop->iop_hose[i].init.csr); in wildfire_dump_iop_regs()
[all …]
/linux/drivers/infiniband/core/
H A Dcq.c151 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument
153 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler()
159 irq_poll_complete(&cq->iop); in ib_poll_handler()
162 irq_poll_sched(&cq->iop); in ib_poll_handler()
175 irq_poll_sched(&cq->iop); in ib_cq_completion_softirq()
253 irq_poll_init(&cq->iop, IB_POLL_BUDGET_IRQ, ib_poll_handler); in __ib_alloc_cq()
331 irq_poll_disable(&cq->iop); in ib_free_cq()
/linux/Documentation/devicetree/bindings/timer/
H A Dhpe,gxp-timer.yaml27 const: iop
46 clock-names = "iop";
/linux/fs/fuse/
H A Dcontrol.c213 const struct inode_operations *iop, in fuse_ctl_add_dentry() argument
236 if (iop) in fuse_ctl_add_dentry()
237 inode->i_op = iop; in fuse_ctl_add_dentry()

12