/drivers/md/bcache/ |
D | request.c | 476 struct data_insert_op iop; member 493 s->iop.error = bio->bi_error; in bch_cache_read_endio() 495 ptr_stale(s->iop.c, &b->key, 0)) { in bch_cache_read_endio() 496 atomic_long_inc(&s->iop.c->cache_read_races); in bch_cache_read_endio() 497 s->iop.error = -EINTR; in bch_cache_read_endio() 500 bch_bbio_endio(s->iop.c, bio, bio->bi_error, "reading from cache"); in bch_cache_read_endio() 514 if (bkey_cmp(k, &KEY(s->iop.inode, bio->bi_iter.bi_sector, 0)) <= 0) in cache_lookup_fn() 517 if (KEY_INODE(k) != s->iop.inode || in cache_lookup_fn() 520 unsigned sectors = KEY_INODE(k) == s->iop.inode in cache_lookup_fn() 551 bch_cut_front(&KEY(s->iop.inode, n->bi_iter.bi_sector, 0), bio_key); in cache_lookup_fn() [all …]
|
/drivers/iommu/ |
D | io-pgtable.c | 44 struct io_pgtable *iop; in alloc_io_pgtable_ops() local 54 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops() 55 if (!iop) in alloc_io_pgtable_ops() 58 iop->fmt = fmt; in alloc_io_pgtable_ops() 59 iop->cookie = cookie; in alloc_io_pgtable_ops() 60 iop->cfg = *cfg; in alloc_io_pgtable_ops() 62 return &iop->ops; in alloc_io_pgtable_ops() 71 struct io_pgtable *iop; in free_io_pgtable_ops() local 76 iop = container_of(ops, struct io_pgtable, ops); in free_io_pgtable_ops() 77 io_pgtable_tlb_flush_all(iop); in free_io_pgtable_ops() [all …]
|
D | io-pgtable.h | 169 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all() argument 171 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all() 172 iop->tlb_sync_pending = true; in io_pgtable_tlb_flush_all() 175 static inline void io_pgtable_tlb_add_flush(struct io_pgtable *iop, in io_pgtable_tlb_add_flush() argument 178 iop->cfg.tlb->tlb_add_flush(iova, size, granule, leaf, iop->cookie); in io_pgtable_tlb_add_flush() 179 iop->tlb_sync_pending = true; in io_pgtable_tlb_add_flush() 182 static inline void io_pgtable_tlb_sync(struct io_pgtable *iop) in io_pgtable_tlb_sync() argument 184 if (iop->tlb_sync_pending) { in io_pgtable_tlb_sync() 185 iop->cfg.tlb->tlb_sync(iop->cookie); in io_pgtable_tlb_sync() 186 iop->tlb_sync_pending = false; in io_pgtable_tlb_sync() [all …]
|
D | io-pgtable-arm-v7s.c | 50 container_of((x), struct arm_v7s_io_pgtable, iop) 166 struct io_pgtable iop; member 189 struct device *dev = data->iop.cfg.iommu_dev; in __arm_v7s_alloc_table() 227 struct device *dev = data->iop.cfg.iommu_dev; in __arm_v7s_free_table() 350 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte() 393 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map() 437 struct io_pgtable *iop = &data->iop; in arm_v7s_map() local 449 if (iop->cfg.quirks & IO_PGTABLE_QUIRK_TLBI_ON_MAP) { in arm_v7s_map() 450 io_pgtable_tlb_add_flush(iop, iova, size, in arm_v7s_map() 452 io_pgtable_tlb_sync(iop); in arm_v7s_map() [all …]
|
D | io-pgtable-arm.c | 40 container_of((x), struct arm_lpae_io_pgtable, iop) 191 struct io_pgtable iop; member 273 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_init_pte() 313 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map() 355 if (data->iop.fmt == ARM_64_LPAE_S1 || in arm_lpae_prot_to_pte() 356 data->iop.fmt == ARM_32_LPAE_S1) { in arm_lpae_prot_to_pte() 439 __arm_lpae_free_pages(start, table_size, &data->iop.cfg); in __arm_lpae_free_pgtable() 442 static void arm_lpae_free_pgtable(struct io_pgtable *iop) in arm_lpae_free_pgtable() argument 444 struct arm_lpae_io_pgtable *data = io_pgtable_to_data(iop); in arm_lpae_free_pgtable() 483 __arm_lpae_set_pte(ptep, table, &data->iop.cfg); in arm_lpae_split_blk_unmap() [all …]
|
D | ipmmu-vmsa.c | 44 struct io_pgtable_ops *iop; member 322 domain->iop = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &domain->cfg, in ipmmu_domain_init_context() 324 if (!domain->iop) in ipmmu_domain_init_context() 481 free_io_pgtable_ops(domain->iop); in ipmmu_domain_free() 550 return domain->iop->map(domain->iop, iova, paddr, size, prot); in ipmmu_map() 558 return domain->iop->unmap(domain->iop, iova, size); in ipmmu_unmap() 568 return domain->iop->iova_to_phys(domain->iop, iova); in ipmmu_iova_to_phys()
|
D | mtk_iommu.c | 100 struct io_pgtable_ops *iop; member 238 dom->iop = alloc_io_pgtable_ops(ARM_V7S, &dom->cfg, data); in mtk_iommu_domain_finalise() 239 if (!dom->iop) { in mtk_iommu_domain_finalise() 331 ret = dom->iop->map(dom->iop, iova, paddr, size, prot); in mtk_iommu_map() 345 unmapsz = dom->iop->unmap(dom->iop, iova, size); in mtk_iommu_unmap() 359 pa = dom->iop->iova_to_phys(dom->iop, iova); in mtk_iommu_iova_to_phys() 618 free_io_pgtable_ops(data->m4u_dom->iop); in mtk_iommu_remove()
|
D | msm_iommu.c | 56 struct io_pgtable_ops *iop; member 363 priv->iop = alloc_io_pgtable_ops(ARM_V7S, &priv->cfg, priv); in msm_iommu_domain_config() 364 if (!priv->iop) { in msm_iommu_domain_config() 432 free_io_pgtable_ops(priv->iop); in msm_iommu_detach_dev() 458 ret = priv->iop->map(priv->iop, iova, pa, len, prot); in msm_iommu_map() 471 len = priv->iop->unmap(priv->iop, iova, len); in msm_iommu_unmap()
|
/drivers/infiniband/core/ |
D | cq.c | 77 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument 79 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler() 84 irq_poll_complete(&cq->iop); in ib_poll_handler() 86 irq_poll_sched(&cq->iop); in ib_poll_handler() 94 irq_poll_sched(&cq->iop); in ib_cq_completion_softirq() 158 irq_poll_init(&cq->iop, IB_POLL_BUDGET_IRQ, ib_poll_handler); in ib_alloc_cq() 196 irq_poll_disable(&cq->iop); in ib_free_cq()
|
/drivers/net/fddi/skfp/h/ |
D | skfbi.h | 929 #define ADDR(a) (char far *) smc->hw.iop+(a) 930 #define ADDRS(smc,a) (char far *) (smc)->hw.iop+(a) 932 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), \ 933 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \ 934 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) 935 #define ADDRS(smc,a) (((a)>>7) ? (outp((smc)->hw.iop+B0_RAP,(a)>>7), \ 936 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \ 937 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) 974 #define GET_ISR_SMP(iop) inpd((iop)+B0_ISRC) argument 976 #define CHECK_ISR_SMP(iop) (inpd((iop)+B0_ISRC) & inpd((iop)+B0_IMSK)) argument [all …]
|
D | targetos.h | 55 #define ADDR(a) (smc->hw.iop+(a)) 57 …ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), (smc->hw.iop+( ((a)&0x7F) | ((a)>>7 ? 0x80:0…
|
D | targethw.h | 64 HW_PTR iop ; /* IO base address */ member
|
/drivers/scsi/ |
D | hptiop.c | 60 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl() 67 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl() 68 readl(&hba->u.itl.iop->outbound_intstatus); in iop_wait_ready_itl() 98 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl() 107 ((char __iomem *)hba->u.itl.iop + req); in hptiop_drain_outbound_queue_itl() 123 struct hpt_iopmu_itl __iomem *iop = hba->u.itl.iop; in iop_intr_itl() local 131 status = readl(&iop->outbound_intstatus); in iop_intr_itl() 134 u32 msg = readl(&iop->outbound_msgaddr0); in iop_intr_itl() 137 writel(IOPMU_OUTBOUND_INT_MSG0, &iop->outbound_intstatus); in iop_intr_itl() 314 writel((unsigned long)req - (unsigned long)hba->u.itl.iop, in iop_send_sync_request_itl() [all …]
|
D | hptiop.h | 281 struct hpt_iopmu_itl __iomem *iop; member
|
D | advansys.c | 794 #define ASC_GET_EISA_SLOT(iop) (PortAddr)((iop) & 0xF000) argument 10920 static int advansys_board_found(struct Scsi_Host *shost, unsigned int iop, in advansys_board_found() argument 10937 asc_dvc_varp->iop_base = iop; in advansys_board_found() 10972 boardp->ioport = iop; in advansys_board_found() 10975 (ushort)inp(iop + 1), (ushort)inpw(iop)); in advansys_board_found() 11208 shost->io_port = iop; in advansys_board_found()
|
D | ipr.c | 3670 static int ipr_iopoll(struct irq_poll *iop, int budget); 5662 static int ipr_iopoll(struct irq_poll *iop, int budget) in ipr_iopoll() argument 5671 hrrq = container_of(iop, struct ipr_hrr_queue, iopoll); in ipr_iopoll() 5678 irq_poll_complete(iop); in ipr_iopoll()
|
/drivers/video/fbdev/ |
D | cyber2000fb.c | 1670 unsigned char __iomem *iop; in cyberpro_pci_enable_mmio() local 1672 iop = ioremap(0x3000000, 0x5000); in cyberpro_pci_enable_mmio() 1673 if (iop == NULL) { in cyberpro_pci_enable_mmio() 1678 writeb(0x18, iop + 0x46e8); in cyberpro_pci_enable_mmio() 1679 writeb(0x01, iop + 0x102); in cyberpro_pci_enable_mmio() 1680 writeb(0x08, iop + 0x46e8); in cyberpro_pci_enable_mmio() 1681 writeb(EXT_BIU_MISC, iop + 0x3ce); in cyberpro_pci_enable_mmio() 1682 writeb(EXT_BIU_MISC_LIN_ENABLE, iop + 0x3cf); in cyberpro_pci_enable_mmio() 1684 iounmap(iop); in cyberpro_pci_enable_mmio()
|
/drivers/macintosh/ |
D | Makefile | 24 obj-$(CONFIG_ADB_IOP) += adb-iop.o
|
/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 1509 uint32_t iop[2]; in qla24xx_logio_entry() local 1547 iop[0] = le32_to_cpu(logio->io_parameter[0]); in qla24xx_logio_entry() 1548 if (iop[0] & BIT_4) { in qla24xx_logio_entry() 1550 if (iop[0] & BIT_8) in qla24xx_logio_entry() 1552 } else if (iop[0] & BIT_5) in qla24xx_logio_entry() 1555 if (iop[0] & BIT_7) in qla24xx_logio_entry() 1566 iop[0] = le32_to_cpu(logio->io_parameter[0]); in qla24xx_logio_entry() 1567 iop[1] = le32_to_cpu(logio->io_parameter[1]); in qla24xx_logio_entry() 1568 switch (iop[0]) { in qla24xx_logio_entry() 1571 data[1] = LSW(iop[1]); in qla24xx_logio_entry()
|
D | qla_mbx.c | 2148 uint32_t iop[2]; in qla24xx_login_fabric() local 2192 iop[0] = le32_to_cpu(lg->io_parameter[0]); in qla24xx_login_fabric() 2193 iop[1] = le32_to_cpu(lg->io_parameter[1]); in qla24xx_login_fabric() 2198 iop[0], iop[1]); in qla24xx_login_fabric() 2200 switch (iop[0]) { in qla24xx_login_fabric() 2203 mb[1] = LSW(iop[1]); in qla24xx_login_fabric() 2229 iop[0] = le32_to_cpu(lg->io_parameter[0]); in qla24xx_login_fabric() 2233 if (iop[0] & BIT_4) { in qla24xx_login_fabric() 2234 if (iop[0] & BIT_8) in qla24xx_login_fabric()
|
/drivers/dma/ |
D | Makefile | 39 obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
|
/drivers/gpio/ |
D | Makefile | 53 obj-$(CONFIG_GPIO_IOP) += gpio-iop.o
|
/drivers/net/fddi/skfp/ |
D | skfddi.c | 273 smc->hw.iop = mem; in skfp_init_one() 346 iounmap(lp->hw.iop); in skfp_remove_one() 348 ioport_unmap(lp->hw.iop); in skfp_remove_one()
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 2059 static int be_iopoll(struct irq_poll *iop, int budget) in be_iopoll() argument 2067 pbe_eq = container_of(iop, struct be_eq_obj, iopoll); in be_iopoll() 2070 irq_poll_complete(iop); in be_iopoll() 2089 irq_poll_complete(iop); in be_iopoll()
|