Home
last modified time | relevance | path

Searched full:iop (Results 1 – 25 of 96) sorted by relevance

1234

/linux-6.14.4/lib/
Dirq_poll.c21 * @iop: The parent iopoll structure
27 void irq_poll_sched(struct irq_poll *iop) in irq_poll_sched() argument
31 if (test_bit(IRQ_POLL_F_DISABLE, &iop->state)) in irq_poll_sched()
33 if (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state)) in irq_poll_sched()
37 list_add_tail(&iop->list, this_cpu_ptr(&blk_cpu_iopoll)); in irq_poll_sched()
44 * __irq_poll_complete - Mark this @iop as un-polled again
45 * @iop: The parent iopoll structure
51 static void __irq_poll_complete(struct irq_poll *iop) in __irq_poll_complete() argument
53 list_del(&iop->list); in __irq_poll_complete()
55 clear_bit_unlock(IRQ_POLL_F_SCHED, &iop->state); in __irq_poll_complete()
[all …]
/linux-6.14.4/arch/m68k/mac/
Diop.c2 * I/O Processor (IOP) management
16 * The IOP chips are used in the IIfx and some Quadras (900, 950) to manage
19 * 990429 (jmt) - Initial implementation, just enough to knock the SCC IOP
22 * 990603 (jmt) - Added code to grab the correct ISM IOP interrupt for OSS
26 * 990605 (jmt) - Rearranged things a bit wrt IOP detection; iop_present is
27 * gone, IOP base addresses are now in an array and the
28 * globally-visible functions take an IOP number instead of
33 * IOP. The trick now is figuring out the message formats.
41 * unsolicited messages from the IOP (and our replies to them
45 * 990729 (jmt) - Added passing of pt_regs structure to IOP handlers. This is
[all …]
/linux-6.14.4/drivers/md/bcache/
Drequest.c496 struct data_insert_op iop; member
513 s->iop.status = bio->bi_status; in bch_cache_read_endio()
515 ptr_stale(s->iop.c, &b->key, 0)) { in bch_cache_read_endio()
516 atomic_long_inc(&s->iop.c->cache_read_races); in bch_cache_read_endio()
517 s->iop.status = BLK_STS_IOERR; in bch_cache_read_endio()
520 bch_bbio_endio(s->iop.c, bio, bio->bi_status, "reading from cache"); in bch_cache_read_endio()
534 if (bkey_cmp(k, &KEY(s->iop.inode, bio->bi_iter.bi_sector, 0)) <= 0) in cache_lookup_fn()
537 if (KEY_INODE(k) != s->iop.inode || in cache_lookup_fn()
540 unsigned int sectors = KEY_INODE(k) == s->iop.inode in cache_lookup_fn()
571 bch_cut_front(&KEY(s->iop.inode, n->bi_iter.bi_sector, 0), bio_key); in cache_lookup_fn()
[all …]
/linux-6.14.4/arch/powerpc/platforms/8xx/
Dcpm1.c158 struct cpm_ioport32e __iomem *iop; in cpm1_set_pin32() local
162 iop = (struct cpm_ioport32e __iomem *) in cpm1_set_pin32()
165 iop = (struct cpm_ioport32e __iomem *) in cpm1_set_pin32()
169 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()
200 struct cpm_ioport16 __iomem *iop = in cpm1_set_pin16() local
[all …]
/linux-6.14.4/drivers/iommu/
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 …]
Dio-pgtable-arm.c32 container_of((x), struct arm_lpae_io_pgtable, iop)
166 struct io_pgtable iop; member
348 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_init_pte()
352 if (data->iop.fmt != ARM_MALI_LPAE && lvl == ARM_LPAE_MAX_LEVELS - 1) in __arm_lpae_init_pte()
372 if (iopte_leaf(ptep[i], lvl, data->iop.fmt)) { in arm_lpae_init_pte()
402 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_lpae_install_table()
436 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_lpae_map()
461 cptep = __arm_lpae_alloc_pages(tblsz, gfp, cfg, data->iop.cookie); in __arm_lpae_map()
467 __arm_lpae_free_pages(cptep, tblsz, cfg, data->iop.cookie); in __arm_lpae_map()
472 if (pte && !iopte_leaf(pte, lvl, data->iop.fmt)) { in __arm_lpae_map()
[all …]
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()
212 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()
297 struct io_pgtable_cfg *cfg = &data->iop.cfg; in dart_unmap_pages()
325 io_pgtable_tlb_add_page(&data->iop, gather, in dart_unmap_pages()
[all …]
Dio-pgtable-arm-v7s.c40 container_of((x), struct arm_v7s_io_pgtable, iop)
165 struct io_pgtable iop; member
235 return phys_to_virt(iopte_to_paddr(pte, lvl, &data->iop.cfg)); in iopte_deref()
241 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_alloc_table()
301 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_free_table()
398 struct io_pgtable_cfg *cfg = &data->iop.cfg; in arm_v7s_init_pte()
464 struct io_pgtable_cfg *cfg = &data->iop.cfg; in __arm_v7s_map()
514 if (WARN_ON(iova >= (1ULL << data->iop.cfg.ias) || in arm_v7s_map_pages()
515 paddr >= (1ULL << data->iop.cfg.oas))) in arm_v7s_map_pages()
540 static void arm_v7s_free_pgtable(struct io_pgtable *iop) in arm_v7s_free_pgtable() argument
[all …]
/linux-6.14.4/arch/m68k/include/asm/
Dmac_iop.h3 * I/O Processor (IOP) defines and structures, mostly snagged from A/UX
13 * a "struct iop" (see below) to see where the actual registers fall.
22 /* IOP status/control register bits: */
26 #define IOP_RUN 0x04 /* set to 0 to reset IOP chip */
27 #define IOP_IRQ 0x08 /* generate IRQ to IOP if 1 */
28 #define IOP_INT0 0x10 /* intr priority from IOP to host */
29 #define IOP_INT1 0x20 /* intr priority from IOP to host */
38 /* IOP reference numbers, used by the globally-visible iop_xxx functions */
43 /* IOP channel states */
50 /* IOP message status codes */
[all …]
Dadb_iop.h3 * ADB through the IOP
7 /* IOP number and channel number for ADB */
/linux-6.14.4/include/linux/
Dio-pgtable.h265 static inline void io_pgtable_tlb_flush_all(struct io_pgtable *iop) in io_pgtable_tlb_flush_all() argument
267 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_all) in io_pgtable_tlb_flush_all()
268 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all()
272 io_pgtable_tlb_flush_walk(struct io_pgtable *iop, unsigned long iova, in io_pgtable_tlb_flush_walk() argument
275 if (iop->cfg.tlb && iop->cfg.tlb->tlb_flush_walk) in io_pgtable_tlb_flush_walk()
276 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
280 io_pgtable_tlb_add_page(struct io_pgtable *iop, in io_pgtable_tlb_add_page() argument
284 if (iop->cfg.tlb && iop->cfg.tlb->tlb_add_page) in io_pgtable_tlb_add_page()
285 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
301 * @free: Free the page tables associated with iop.
[all …]
/linux-6.14.4/drivers/spi/
Dspi-intel.c185 const struct intel_spi_mem_op *iop,
361 const struct intel_spi_mem_op *iop, size_t len) in intel_spi_hw_cycle() argument
366 if (!iop->replacement_op) in intel_spi_hw_cycle()
374 val |= iop->replacement_op; in intel_spi_hw_cycle()
462 const struct intel_spi_mem_op *iop, in intel_spi_read_reg() argument
476 ret = intel_spi_hw_cycle(ispi, iop, nbytes); in intel_spi_read_reg()
485 const struct intel_spi_mem_op *iop, in intel_spi_write_reg() argument
542 return intel_spi_hw_cycle(ispi, iop, nbytes); in intel_spi_write_reg()
546 const struct intel_spi_mem_op *iop, in intel_spi_read() argument
607 const struct intel_spi_mem_op *iop, in intel_spi_write() argument
[all …]
/linux-6.14.4/Documentation/scsi/
Dhptiop.rst11 For RR44xx Intel IOP based adapters, the controller IOP is accessed via PCI BAR0 and BAR2
36 For Intel IOP based adapters, the controller IOP is accessed via PCI BAR0:
54 For Marvell not Frey IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1:
78 For Marvell Frey IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1:
83 0x0 IOP configuration information.
111 A request packet can be allocated in either IOP or host memory.
119 relative to the IOP BAR0.
125 - Post the packet to IOP by writing it to inbound queue. For requests
126 allocated in IOP memory, write the offset to inbound queue port. For
130 - The IOP process the request. When the request is completed, it
[all …]
/linux-6.14.4/drivers/macintosh/
Dadb-iop.c3 * I/O Processor (IOP) ADB Driver
52 .name = "ISM IOP",
77 * Completion routine for ADB commands sent to the IOP.
94 * Listen for ADB messages from the IOP.
96 * This will be called when unsolicited IOP messages are received.
97 * These IOP messages can carry ADB autopoll responses and also occur
112 * produced when the IOP polls devices. They are mostly timeouts. in adb_iop_listen()
151 * Start sending an ADB packet, IOP style
153 * There isn't much to do other than hand the packet over to the IOP
167 /* The IOP takes MacII-style packets, so strip the initial in adb_iop_start()
[all …]
/linux-6.14.4/arch/powerpc/sysdev/
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()
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-6.14.4/include/uapi/linux/
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-6.14.4/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.h125 /* host-to-iop messages */
134 /* iop-to-host messages */
273 struct hpt_iopmu_itl __iomem *iop; member
303 /* IOP config info */
/linux-6.14.4/arch/alpha/kernel/
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-6.14.4/drivers/infiniband/core/
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-6.14.4/drivers/net/fddi/skfp/h/
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-6.14.4/drivers/scsi/arcmsr/
Darcmsr.h122 ** IOP Message Transfer Data for user space
131 /* IOP message transfer */
191 ** Q Buffer of IOP Message Transfer
201 ** FIRMWARE INFO for Intel IOP R 80331 processor (Type A)
257 /* window of "instruction flags" from driver to iop */
260 /* window of "instruction flags" from iop to driver */
263 /* window of "instruction flags" from iop to driver */
266 /* window of "instruction flags" from driver to iop */
307 /* user space data to iop 128bytes */
309 /* iop data to user space 128bytes */
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/timer/
Dhpe,gxp-timer.yaml27 const: iop
46 clock-names = "iop";
/linux-6.14.4/arch/arm64/crypto/
Dsm3-neon-core.S121 #define R(i, a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
125 IOP(1, iop_param); \
129 IOP(2, iop_param); \
132 IOP(3, iop_param); \
136 IOP(4, iop_param); \
140 IOP(5, iop_param); \
145 IOP(6, iop_param); \
149 IOP(7, iop_param); \
152 IOP(8, iop_param); \
155 #define R1(a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument
[all …]

1234