Home
last modified time | relevance | path

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

12

/linux/lib/
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/
A Diop.c170 iop->ram_addr_lo = addr; in iop_loadaddr()
171 iop->ram_addr_hi = addr >> 8; in iop_loadaddr()
176 iop->ram_addr_lo = addr; in iop_readb()
177 iop->ram_addr_hi = addr >> 8; in iop_readb()
178 return iop->ram_data; in iop_readb()
183 iop->ram_addr_lo = addr; in iop_writeb()
184 iop->ram_addr_hi = addr >> 8; in iop_writeb()
185 iop->ram_data = data; in iop_writeb()
190 iop->status_ctrl = IOP_AUTOINC; in iop_stop()
368 iop_interrupt(iop); in iop_do_send()
[all …]
/linux/drivers/md/bcache/
A Drequest.c708 if (s->iop.bio) in search_free()
738 s->iop.c = d->c; in search_alloc()
739 s->iop.bio = NULL; in search_alloc()
744 s->iop.flags = 0; in search_alloc()
771 if (s->iop.bio) in cached_dev_read_error_done()
813 if (s->iop.bio) in cached_dev_cache_miss_done()
833 if (s->iop.bio) { in cached_dev_read_done()
853 if (s->iop.bio && in cached_dev_read_done()
871 if (s->iop.status) in cached_dev_read_done_bh()
900 s->iop.replace_key = KEY(s->iop.inode, in cached_dev_cache_miss()
[all …]
/linux/drivers/iommu/
A Dio-pgtable.c37 struct io_pgtable *iop; in alloc_io_pgtable_ops() local
47 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
48 if (!iop) in alloc_io_pgtable_ops()
51 iop->fmt = fmt; in alloc_io_pgtable_ops()
52 iop->cookie = cookie; in alloc_io_pgtable_ops()
53 iop->cfg = *cfg; in alloc_io_pgtable_ops()
55 return &iop->ops; in alloc_io_pgtable_ops()
65 struct io_pgtable *iop; in free_io_pgtable_ops() local
70 iop = io_pgtable_ops_to_pgtable(ops); in free_io_pgtable_ops()
71 io_pgtable_tlb_flush_all(iop); in free_io_pgtable_ops()
[all …]
A Dio-pgtable-arm.c145 struct io_pgtable iop; member
408 if (data->iop.fmt == APPLE_DART) { in arm_lpae_prot_to_pte()
417 if (data->iop.fmt == ARM_64_LPAE_S1 || in arm_lpae_prot_to_pte()
418 data->iop.fmt == ARM_32_LPAE_S1) { in arm_lpae_prot_to_pte()
436 if (data->iop.fmt == ARM_64_LPAE_S2 || in arm_lpae_prot_to_pte()
470 if (data->iop.fmt != ARM_MALI_LPAE) in arm_lpae_prot_to_pte()
623 struct io_pgtable *iop = &data->iop; in __arm_lpae_unmap() local
921 return &data->iop; in arm_64_lpae_alloc_pgtable_s1()
1023 return &data->iop; in arm_64_lpae_alloc_pgtable_s2()
1102 return &data->iop; in arm_mali_lpae_alloc_pgtable()
[all …]
A Dio-pgtable-arm-v7s.c40 container_of((x), struct arm_v7s_io_pgtable, iop)
165 struct io_pgtable iop; member
237 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
285 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
418 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
530 paddr >= (1ULL << data->iop.cfg.oas))) in arm_v7s_map_pages()
584 struct io_pgtable *iop = &data->iop; in arm_v7s_split_cont() local
657 struct io_pgtable *iop = &data->iop; in __arm_v7s_unmap() local
807 data->iop.ops = (struct io_pgtable_ops) { in arm_v7s_alloc_pgtable()
816 data->iop.cfg = *cfg; in arm_v7s_alloc_pgtable()
[all …]
A Dipmmu-vmsa.c76 struct io_pgtable_ops *iop; member
460 domain->iop = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &domain->cfg, in ipmmu_domain_init_context()
462 if (!domain->iop) { in ipmmu_domain_init_context()
595 free_io_pgtable_ops(domain->iop); in ipmmu_domain_free()
671 return domain->iop->map(domain->iop, iova, paddr, size, prot, gfp); in ipmmu_map()
679 return domain->iop->unmap(domain->iop, iova, size, gather); in ipmmu_unmap()
703 return domain->iop->iova_to_phys(domain->iop, iova); in ipmmu_iova_to_phys()
A Dmtk_iommu.c127 struct io_pgtable_ops *iop; member
394 dom->iop = data->m4u_dom->iop; in mtk_iommu_domain_finalise()
414 dom->iop = alloc_io_pgtable_ops(ARM_V7S, &dom->cfg, data); in mtk_iommu_domain_finalise()
415 if (!dom->iop) { in mtk_iommu_domain_finalise()
508 return dom->iop->map(dom->iop, iova, paddr, size, prot, gfp); in mtk_iommu_map()
518 return dom->iop->unmap(dom->iop, iova, size, gather); in mtk_iommu_unmap()
552 pa = dom->iop->iova_to_phys(dom->iop, iova); in mtk_iommu_iova_to_phys()
A Dmsm_iommu.c44 struct io_pgtable_ops *iop; member
352 priv->iop = alloc_io_pgtable_ops(ARM_V7S, &priv->cfg, priv); in msm_iommu_domain_config()
353 if (!priv->iop) { in msm_iommu_domain_config()
459 free_io_pgtable_ops(priv->iop); in msm_iommu_detach_dev()
485 ret = priv->iop->map(priv->iop, iova, pa, len, prot, GFP_ATOMIC); in msm_iommu_map()
506 len = priv->iop->unmap(priv->iop, iova, len, gather); in msm_iommu_unmap()
/linux/include/linux/
A Dio-pgtable.h216 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all() argument
218 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_all) in io_pgtable_tlb_flush_all()
219 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all()
223 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk() argument
226 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_walk) in io_pgtable_tlb_flush_walk()
227 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
231 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page() argument
235 if (iop->cfg.tlb && iop->cfg.tlb->tlb_add_page) in io_pgtable_tlb_add_page()
236 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
248 void (*free)(struct io_pgtable *iop);
/linux/arch/powerpc/platforms/8xx/
A Dcpm1.c310 setbits32(&iop->dir, pin); in cpm1_set_pin32()
312 clrbits32(&iop->dir, pin); in cpm1_set_pin32()
315 setbits32(&iop->par, pin); in cpm1_set_pin32()
317 clrbits32(&iop->par, pin); in cpm1_set_pin32()
328 setbits32(&iop->sor, pin); in cpm1_set_pin32()
330 clrbits32(&iop->sor, pin); in cpm1_set_pin32()
347 iop += port - 1; in cpm1_set_pin16()
350 setbits16(&iop->dir, pin); in cpm1_set_pin16()
352 clrbits16(&iop->dir, pin); in cpm1_set_pin16()
355 setbits16(&iop->par, pin); in cpm1_set_pin16()
[all …]
/linux/fs/iomap/
A Dbuffered-io.c58 return iop; in iomap_page_create()
60 iop = kzalloc(struct_size(iop, uptodate, BITS_TO_LONGS(nr_blocks)), in iomap_page_create()
66 return iop; in iomap_page_create()
75 if (!iop) in iomap_page_release()
81 kfree(iop); in iomap_page_release()
105 if (iop) { in iomap_adjust_read_range()
284 if (iop) in iomap_readpage_iter()
453 if (iop) { in iomap_is_partially_uptodate()
1022 if (!iop || atomic_sub_and_test(len, &iop->write_bytes_pending)) in iomap_finish_page_writeback()
1271 if (iop) in iomap_add_to_ioend()
[all …]
/linux/drivers/iommu/amd/
A Dio_pgtable.c191 if (address <= PM_LEVEL_SIZE(domain->iop.mode)) in increase_address_space()
198 *pte = PM_LEVEL_PDE(domain->iop.mode, iommu_virt_to_phys(domain->iop.root)); in increase_address_space()
200 domain->iop.root = pte; in increase_address_space()
201 domain->iop.mode += 1; in increase_address_space()
233 while (address > PM_LEVEL_SIZE(domain->iop.mode)) { in alloc_pte()
243 level = domain->iop.mode - 1; in alloc_pte()
510 static void v1_free_pgtable(struct io_pgtable *iop) in v1_free_pgtable() argument
512 struct amd_io_pgtable *pgtable = container_of(iop, struct amd_io_pgtable, iop); in v1_free_pgtable()
547 pgtable->iop.ops.map = iommu_v1_map_page; in v1_alloc_pgtable()
548 pgtable->iop.ops.unmap = iommu_v1_unmap_page; in v1_alloc_pgtable()
[all …]
A Damd_iommu.h106 atomic64_set(&domain->iop.pt_root, root); in amd_iommu_domain_set_pt_root()
107 domain->iop.root = (u64 *)(root & PAGE_MASK); in amd_iommu_domain_set_pt_root()
108 domain->iop.mode = root & 7; /* lowest 3 bits encode pgtable mode */ in amd_iommu_domain_set_pt_root()
A Diommu.c1465 if (domain->iop.mode != PAGE_MODE_NONE) in set_dte_entry()
1896 if (domain->iop.pgtbl_cfg.tlb) in protection_domain_free()
1897 free_io_pgtable_ops(&domain->iop.iop.ops); in protection_domain_free()
2071 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iotlb_sync_map()
2082 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_map()
2127 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_unmap()
2145 struct io_pgtable_ops *ops = &domain->iop.iop.ops; in amd_iommu_iova_to_phys()
2322 if (domain->iop.pgtbl_cfg.tlb) in amd_iommu_domain_direct_map()
2323 free_io_pgtable_ops(&domain->iop.iop.ops); in amd_iommu_domain_direct_map()
2511 if (domain->iop.mode != PAGE_MODE_NONE) in __set_gcr3()
[all …]
A Damd_iommu_types.h490 container_of((x), struct amd_io_pgtable, iop)
497 struct protection_domain, iop)
504 struct io_pgtable iop; member
518 struct amd_io_pgtable iop; member
/linux/drivers/net/fddi/skfp/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 …]
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/arch/powerpc/sysdev/
A Dcpm_common.c113 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_save_regs() local
115 cpm2_gc->cpdata = in_be32(&iop->dat); in cpm2_gpio32_save_regs()
121 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_get() local
126 return !!(in_be32(&iop->dat) & pin_mask); in cpm2_gpio32_get()
133 struct cpm2_ioports __iomem *iop = mm_gc->regs; in __cpm2_gpio32_set() local
140 out_be32(&iop->dat, cpm2_gc->cpdata); in __cpm2_gpio32_set()
161 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_out() local
167 setbits32(&iop->dir, pin_mask); in cpm2_gpio32_dir_out()
179 struct cpm2_ioports __iomem *iop = mm_gc->regs; in cpm2_gpio32_dir_in() local
185 clrbits32(&iop->dir, pin_mask); in cpm2_gpio32_dir_in()
A Dcpm2.c331 struct cpm2_ioports __iomem *iop = in cpm2_set_pin() local
337 setbits32(&iop[port].dir, pin); in cpm2_set_pin()
339 clrbits32(&iop[port].dir, pin); in cpm2_set_pin()
342 setbits32(&iop[port].par, pin); in cpm2_set_pin()
344 clrbits32(&iop[port].par, pin); in cpm2_set_pin()
347 setbits32(&iop[port].sor, pin); in cpm2_set_pin()
349 clrbits32(&iop[port].sor, pin); in cpm2_set_pin()
352 setbits32(&iop[port].odr, pin); in cpm2_set_pin()
354 clrbits32(&iop[port].odr, pin); in cpm2_set_pin()
/linux/include/uapi/linux/
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/
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/
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/
A Dcq.c152 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument
154 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler()
160 irq_poll_complete(&cq->iop); in ib_poll_handler()
163 irq_poll_sched(&cq->iop); in ib_poll_handler()
176 irq_poll_sched(&cq->iop); in ib_cq_completion_softirq()
254 irq_poll_init(&cq->iop, IB_POLL_BUDGET_IRQ, ib_poll_handler); in __ib_alloc_cq()
332 irq_poll_disable(&cq->iop); in ib_free_cq()
/linux/fs/fuse/
A Dcontrol.c234 const struct inode_operations *iop, in fuse_ctl_add_dentry() argument
257 if (iop) in fuse_ctl_add_dentry()
258 inode->i_op = iop; in fuse_ctl_add_dentry()

Completed in 67 milliseconds

12