Home
last modified time | relevance | path

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

12

/drivers/md/bcache/
Drequest.c486 struct data_insert_op iop; member
503 s->iop.status = bio->bi_status; in bch_cache_read_endio()
505 ptr_stale(s->iop.c, &b->key, 0)) { in bch_cache_read_endio()
506 atomic_long_inc(&s->iop.c->cache_read_races); in bch_cache_read_endio()
507 s->iop.status = BLK_STS_IOERR; in bch_cache_read_endio()
510 bch_bbio_endio(s->iop.c, bio, bio->bi_status, "reading from cache"); in bch_cache_read_endio()
524 if (bkey_cmp(k, &KEY(s->iop.inode, bio->bi_iter.bi_sector, 0)) <= 0) in cache_lookup_fn()
527 if (KEY_INODE(k) != s->iop.inode || in cache_lookup_fn()
530 unsigned int sectors = KEY_INODE(k) == s->iop.inode in cache_lookup_fn()
561 bch_cut_front(&KEY(s->iop.inode, n->bi_iter.bi_sector, 0), bio_key); in cache_lookup_fn()
[all …]
/drivers/iommu/
Dio-pgtable.c33 struct io_pgtable *iop; in alloc_io_pgtable_ops() local
43 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops()
44 if (!iop) in alloc_io_pgtable_ops()
47 iop->fmt = fmt; in alloc_io_pgtable_ops()
48 iop->cookie = cookie; in alloc_io_pgtable_ops()
49 iop->cfg = *cfg; in alloc_io_pgtable_ops()
51 return &iop->ops; in alloc_io_pgtable_ops()
61 struct io_pgtable *iop; in free_io_pgtable_ops() local
66 iop = container_of(ops, struct io_pgtable, ops); in free_io_pgtable_ops()
67 io_pgtable_tlb_flush_all(iop); in free_io_pgtable_ops()
[all …]
Dio-pgtable-arm.c29 container_of((x), struct arm_lpae_io_pgtable, iop)
181 struct io_pgtable iop; member
305 if (data->iop.cfg.quirks & IO_PGTABLE_QUIRK_ARM_NS) in __arm_lpae_init_pte()
308 if (data->iop.fmt != ARM_MALI_LPAE && lvl == ARM_LPAE_MAX_LEVELS - 1) in __arm_lpae_init_pte()
313 if (data->iop.fmt != ARM_MALI_LPAE) in __arm_lpae_init_pte()
318 __arm_lpae_set_pte(ptep, pte, &data->iop.cfg); in __arm_lpae_init_pte()
328 if (iopte_leaf(pte, lvl, data->iop.fmt)) { in arm_lpae_init_pte()
389 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map()
416 if (pte && !iopte_leaf(pte, lvl, data->iop.fmt)) { in __arm_lpae_map()
433 if (data->iop.fmt == ARM_64_LPAE_S1 || in arm_lpae_prot_to_pte()
[all …]
Dio-pgtable-arm-v7s.c40 container_of((x), struct arm_v7s_io_pgtable, iop)
167 struct io_pgtable iop; member
229 return phys_to_virt(iopte_to_paddr(pte, lvl, &data->iop.cfg)); in iopte_deref()
235 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
283 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
416 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
477 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map()
524 struct io_pgtable *iop = &data->iop; in arm_v7s_map() local
531 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias) || in arm_v7s_map()
532 paddr >= (1ULL << data->iop.cfg.oas))) in arm_v7s_map()
[all …]
Dmtk_iommu.c107 struct io_pgtable_ops *iop; member
348 dom->iop = alloc_io_pgtable_ops(ARM_V7S, &dom->cfg, data); in mtk_iommu_domain_finalise()
349 if (!dom->iop) { in mtk_iommu_domain_finalise()
393 free_io_pgtable_ops(dom->iop); in mtk_iommu_domain_free()
442 ret = dom->iop->map(dom->iop, iova, paddr, size, prot); in mtk_iommu_map()
457 unmapsz = dom->iop->unmap(dom->iop, iova, size, gather); in mtk_iommu_unmap()
488 pa = dom->iop->iova_to_phys(dom->iop, iova); in mtk_iommu_iova_to_phys()
Dipmmu-vmsa.c76 struct io_pgtable_ops *iop; member
504 domain->iop = alloc_io_pgtable_ops(ARM_32_LPAE_S1, &domain->cfg, in ipmmu_domain_init_context()
506 if (!domain->iop) { in ipmmu_domain_init_context()
658 free_io_pgtable_ops(domain->iop); in ipmmu_domain_free()
734 return domain->iop->map(domain->iop, iova, paddr, size, prot); in ipmmu_map()
742 return domain->iop->unmap(domain->iop, iova, size, gather); in ipmmu_unmap()
766 return domain->iop->iova_to_phys(domain->iop, iova); in ipmmu_iova_to_phys()
Dmsm_iommu.c45 struct io_pgtable_ops *iop; member
361 priv->iop = alloc_io_pgtable_ops(ARM_V7S, &priv->cfg, priv); in msm_iommu_domain_config()
362 if (!priv->iop) { in msm_iommu_domain_config()
488 free_io_pgtable_ops(priv->iop); in msm_iommu_detach_dev()
514 ret = priv->iop->map(priv->iop, iova, pa, len, prot); in msm_iommu_map()
527 len = priv->iop->unmap(priv->iop, iova, len, gather); in msm_iommu_unmap()
/drivers/net/fddi/skfp/h/
Dskfbi.h702 #define ADDR(a) (char far *) smc->hw.iop+(a)
703 #define ADDRS(smc,a) (char far *) (smc)->hw.iop+(a)
705 #define ADDR(a) (((a)>>7) ? (outp(smc->hw.iop+B0_RAP,(a)>>7), \
706 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \
707 (smc->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
708 #define ADDRS(smc,a) (((a)>>7) ? (outp((smc)->hw.iop+B0_RAP,(a)>>7), \
709 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0)))) : \
710 ((smc)->hw.iop+(((a)&0x7F)|((a)>>7 ? 0x80:0))))
747 #define GET_ISR_SMP(iop) inpd((iop)+B0_ISRC) argument
749 #define CHECK_ISR_SMP(iop) (inpd((iop)+B0_ISRC) & inpd((iop)+B0_IMSK)) argument
[all …]
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…
Dtargethw.h60 HW_PTR iop ; /* IO base address */ member
/drivers/infiniband/core/
Dcq.c125 static int ib_poll_handler(struct irq_poll *iop, int budget) in ib_poll_handler() argument
127 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler()
133 irq_poll_complete(&cq->iop); in ib_poll_handler()
135 irq_poll_sched(&cq->iop); in ib_poll_handler()
146 irq_poll_sched(&cq->iop); in ib_cq_completion_softirq()
226 irq_poll_init(&cq->iop, IB_POLL_BUDGET_IRQ, ib_poll_handler); in __ib_alloc_cq_user()
297 irq_poll_disable(&cq->iop); in ib_free_cq_user()
/drivers/scsi/
Dhptiop.c52 req = readl(&hba->u.itl.iop->inbound_queue); in iop_wait_ready_itl()
59 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl()
60 readl(&hba->u.itl.iop->outbound_intstatus); in iop_wait_ready_itl()
90 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl()
99 ((char __iomem *)hba->u.itl.iop + req); in hptiop_drain_outbound_queue_itl()
115 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()
126 u32 msg = readl(&iop->outbound_msgaddr0); in iop_intr_itl()
129 writel(IOPMU_OUTBOUND_INT_MSG0, &iop->outbound_intstatus); in iop_intr_itl()
306 writel((unsigned long)req - (unsigned long)hba->u.itl.iop, in iop_send_sync_request_itl()
[all …]
Dhptiop.h273 struct hpt_iopmu_itl __iomem *iop; member
Dadvansys.c790 #define ASC_GET_EISA_SLOT(iop) (PortAddr)((iop) & 0xF000) argument
10906 static int advansys_board_found(struct Scsi_Host *shost, unsigned int iop, in advansys_board_found() argument
10923 asc_dvc_varp->iop_base = iop; in advansys_board_found()
10958 boardp->ioport = iop; in advansys_board_found()
10961 (ushort)inp(iop + 1), (ushort)inpw(iop)); in advansys_board_found()
11194 shost->io_port = iop; in advansys_board_found()
Dipr.c3748 static int ipr_iopoll(struct irq_poll *iop, int budget);
5763 static int ipr_iopoll(struct irq_poll *iop, int budget) in ipr_iopoll() argument
5772 hrrq = container_of(iop, struct ipr_hrr_queue, iopoll); in ipr_iopoll()
5779 irq_poll_complete(iop); in ipr_iopoll()
/drivers/video/fbdev/
Dcyber2000fb.c1662 unsigned char __iomem *iop; in cyberpro_pci_enable_mmio() local
1664 iop = ioremap(0x3000000, 0x5000); in cyberpro_pci_enable_mmio()
1665 if (iop == NULL) { in cyberpro_pci_enable_mmio()
1670 writeb(0x18, iop + 0x46e8); in cyberpro_pci_enable_mmio()
1671 writeb(0x01, iop + 0x102); in cyberpro_pci_enable_mmio()
1672 writeb(0x08, iop + 0x46e8); in cyberpro_pci_enable_mmio()
1673 writeb(EXT_BIU_MISC, iop + 0x3ce); in cyberpro_pci_enable_mmio()
1674 writeb(EXT_BIU_MISC_LIN_ENABLE, iop + 0x3cf); in cyberpro_pci_enable_mmio()
1676 iounmap(iop); in cyberpro_pci_enable_mmio()
/drivers/scsi/qla2xxx/
Dqla_isr.c1687 uint32_t iop[2]; in qla24xx_logio_entry() local
1726 lio->u.logio.iop[0] = in qla24xx_logio_entry()
1728 lio->u.logio.iop[1] = in qla24xx_logio_entry()
1736 iop[0] = le32_to_cpu(logio->io_parameter[0]); in qla24xx_logio_entry()
1737 if (iop[0] & BIT_4) { in qla24xx_logio_entry()
1739 if (iop[0] & BIT_8) in qla24xx_logio_entry()
1741 } else if (iop[0] & BIT_5) in qla24xx_logio_entry()
1744 if (iop[0] & BIT_7) in qla24xx_logio_entry()
1755 iop[0] = le32_to_cpu(logio->io_parameter[0]); in qla24xx_logio_entry()
1756 iop[1] = le32_to_cpu(logio->io_parameter[1]); in qla24xx_logio_entry()
[all …]
Dqla_init.c285 ea.iop[0] = lio->u.logio.iop[0]; in qla2x00_async_login_sp_done()
286 ea.iop[1] = lio->u.logio.iop[1]; in qla2x00_async_login_sp_done()
557 ea.iop[0] = lio->u.logio.iop[0]; in qla2x00_async_adisc_sp_done()
558 ea.iop[1] = lio->u.logio.iop[1]; in qla2x00_async_adisc_sp_done()
1205 ea.iop[0] = lio->u.logio.iop[0]; in qla2x00_async_prli_sp_done()
1206 ea.iop[1] = lio->u.logio.iop[1]; in qla2x00_async_prli_sp_done()
1865 ea->fcport->nvme_prli_service_param = ea->iop[0]; in qla24xx_handle_prli_done_event()
1866 if (ea->iop[0] & NVME_PRLI_SP_FIRST_BURST) in qla24xx_handle_prli_done_event()
1868 (ea->iop[1] & 0xffff) * 512; in qla24xx_handle_prli_done_event()
1874 if ((ea->iop[0] == LSC_SCODE_ELS_REJECT) && in qla24xx_handle_prli_done_event()
[all …]
Dqla_mbx.c2366 uint32_t iop[2]; in qla24xx_login_fabric() local
2409 iop[0] = le32_to_cpu(lg->io_parameter[0]); in qla24xx_login_fabric()
2410 iop[1] = le32_to_cpu(lg->io_parameter[1]); in qla24xx_login_fabric()
2415 iop[0], iop[1]); in qla24xx_login_fabric()
2417 switch (iop[0]) { in qla24xx_login_fabric()
2420 mb[1] = LSW(iop[1]); in qla24xx_login_fabric()
2446 iop[0] = le32_to_cpu(lg->io_parameter[0]); in qla24xx_login_fabric()
2450 if (iop[0] & BIT_4) { in qla24xx_login_fabric()
2451 if (iop[0] & BIT_8) in qla24xx_login_fabric()
Dqla_def.h447 u32 iop[2]; member
2493 u32 iop[2]; member
/drivers/macintosh/
DMakefile24 obj-$(CONFIG_ADB_IOP) += adb-iop.o
/drivers/dma/
DMakefile44 obj-$(CONFIG_INTEL_IOP_ADMA) += iop-adma.o
/drivers/net/fddi/skfp/
Dskfddi.c268 smc->hw.iop = mem; in skfp_init_one()
341 iounmap(lp->hw.iop); in skfp_remove_one()
343 ioport_unmap(lp->hw.iop); in skfp_remove_one()
/drivers/gpio/
DMakefile65 obj-$(CONFIG_GPIO_IOP) += gpio-iop.o
/drivers/scsi/be2iscsi/
Dbe_main.c2032 static int be_iopoll(struct irq_poll *iop, int budget) in be_iopoll() argument
2040 pbe_eq = container_of(iop, struct be_eq_obj, iopoll); in be_iopoll()
2043 irq_poll_complete(iop); in be_iopoll()
2062 irq_poll_complete(iop); in be_iopoll()

12