Home
last modified time | relevance | path

Searched refs:iomode (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dpnfs.c506 .iomode = iomode, in pnfs_layout_io_set_failed()
675 lseg_range->iomode == recall_range->iomode) && in pnfs_should_free_range()
1229 args->range.iomode = iomode; in pnfs_init_layoutreturn_args()
1281 .iomode = iomode, in pnfs_layout_segments_returnable()
1792 (range->iomode != ls_range->iomode && in pnfs_lseg_range_match()
1971 .iomode = iomode, in pnfs_update_layout()
2343 u32 iomode; in pnfs_parse_lgopen() local
2380 iomode = lgp->args.range.iomode; in pnfs_parse_lgopen()
2575 .iomode = lseg->pls_range.iomode, in pnfs_error_mark_layout_for_return()
2604 if (lseg->pls_range.iomode != iomode && iomode != IOMODE_ANY) in pnfs_find_first_lseg()
[all …]
H A Dnfs4trace.h1700 __field(u32, iomode)
1716 __entry->iomode = args->iomode;
1744 show_pnfs_layout_iomode(__entry->iomode),
1794 enum pnfs_iomode iomode,
1806 __field(enum pnfs_iomode, iomode)
1818 __entry->iomode = iomode;
1838 show_pnfs_layout_iomode(__entry->iomode),
1851 enum pnfs_iomode iomode,
1862 __field(enum pnfs_iomode, iomode)
1873 __entry->iomode = iomode;
[all …]
H A Dcallback_xdr.c218 uint32_t iomode; in decode_layoutrecall_args() local
228 iomode = ntohl(*p++); in decode_layoutrecall_args()
233 args->cbl_range.iomode = iomode; in decode_layoutrecall_args()
H A Dpnfs.h321 enum pnfs_iomode iomode,
344 enum pnfs_iomode iomode);
H A Dnfs4state.c2579 int iomode = 0; in nfs4_layoutreturn_any_run() local
2582 iomode += IOMODE_READ; in nfs4_layoutreturn_any_run()
2584 iomode += IOMODE_RW; in nfs4_layoutreturn_any_run()
2586 if (iomode) { in nfs4_layoutreturn_any_run()
2587 pnfs_layout_return_unused_byclid(clp, iomode); in nfs4_layoutreturn_any_run()
H A Dnfs4xdr.c2005 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutget()
2015 args->range.iomode, in encode_layoutget()
2069 *p++ = cpu_to_be32(args->range.iomode); in encode_layoutreturn()
6008 res->range.iomode = be32_to_cpup(p++); in decode_layoutget()
6016 res->range.iomode, in decode_layoutget()
/openbmc/linux/drivers/spi/
H A Dspi-qup.c696 u32 config, iomode, control; in spi_qup_io_config() local
765 iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
770 iomode &= ~(QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN); in spi_qup_io_config()
772 iomode |= QUP_IO_M_PACK_EN | QUP_IO_M_UNPACK_EN; in spi_qup_io_config()
777 writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); in spi_qup_io_config()
1001 u32 max_freq, iomode, num_cs; in spi_qup_probe() local
1092 iomode = readl_relaxed(base + QUP_IO_M_MODES); in spi_qup_probe()
1094 size = QUP_IO_M_OUTPUT_BLOCK_SIZE(iomode); in spi_qup_probe()
1100 size = QUP_IO_M_INPUT_BLOCK_SIZE(iomode); in spi_qup_probe()
1106 size = QUP_IO_M_OUTPUT_FIFO_SIZE(iomode); in spi_qup_probe()
[all …]
H A Dspi-qcom-qspi.c202 u32 iomode; in qcom_qspi_pio_xfer_cfg() local
214 iomode = qspi_buswidth_to_iomode(ctrl, xfer->buswidth); in qcom_qspi_pio_xfer_cfg()
215 pio_xfer_cfg |= iomode << MULTI_IO_MODE_SHFT; in qcom_qspi_pio_xfer_cfg()
/openbmc/linux/fs/nfsd/
H A Dblocklayout.c48 &iomap, seg->iomode != IOMODE_READ, in nfsd4_block_proc_layoutget()
63 if (seg->iomode == IOMODE_READ) in nfsd4_block_proc_layoutget()
70 if (seg->iomode & IOMODE_RW) { in nfsd4_block_proc_layoutget()
85 if (seg->iomode == IOMODE_READ) { in nfsd4_block_proc_layoutget()
H A Dnfs4layouts.c359 if (s->iomode != IOMODE_ANY && s->iomode != lo->lo_seg.iomode) in layouts_overlapping()
371 if (lo->iomode != new->iomode) in layouts_try_merge()
556 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
557 lrp->lr_seg.iomode == lp->lo_seg.iomode) in nfsd4_return_client_layouts()
H A Dflexfilelayout.c53 if (seg->iomode == IOMODE_READ) { in nfsd4_ff_proc_layoutget()
72 seg->iomode); in nfsd4_ff_proc_layoutget()
H A Dxdr4.h466 u32 iomode; member
H A Dnfs4proc.c2223 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget()
2232 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget()
2379 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2386 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
H A Dnfs4xdr.c1799 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget()
1826 if (xdr_stream_decode_u32(argp->xdr, &lrp->lr_seg.iomode) < 0) in nfsd4_decode_layoutreturn()
4740 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget()
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c285 ff_layout_get_mirror_cred(struct nfs4_ff_layout_mirror *mirror, u32 iomode) in ff_layout_get_mirror_cred() argument
289 if (iomode == IOMODE_READ) in ff_layout_get_mirror_cred()
428 cred = ff_layout_get_mirror_cred(mirror, range->iomode); in ff_layout_get_ds_cred()
596 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds()
610 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
H A Dflexfilelayout.c297 if (l1->iomode != l2->iomode) in ff_lseg_range_is_after()
298 return l1->iomode != IOMODE_READ; in ff_lseg_range_is_after()
316 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge()
509 if (lgr->range.iomode == IOMODE_READ) in ff_layout_alloc_lseg()
517 if (lgr->range.iomode == IOMODE_READ) { in ff_layout_alloc_lseg()
529 lgr->range.iomode == IOMODE_READ ? "READ" : "RW", in ff_layout_alloc_lseg()
566 if (lseg->pls_range.iomode == IOMODE_RW) { in ff_layout_free_lseg()
/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c752 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg()
841 enum pnfs_iomode iomode, in fl_pnfs_update_layout() argument
850 lseg = pnfs_update_layout(ino, ctx, pos, count, iomode, strict_iomode, in fl_pnfs_update_layout()
/openbmc/linux/drivers/mtd/nand/raw/
H A Domap2.c162 } iomode; member
495 if (info->iomode == OMAP_NAND_IO_WRITE) { /* checks for write io */ in omap_nand_irq()
543 info->iomode = OMAP_NAND_IO_READ; in omap_nand_data_in_irq_pref()
587 info->iomode = OMAP_NAND_IO_WRITE; in omap_nand_data_out_irq_pref()
/openbmc/linux/fs/nfs/blocklayout/
H A Dblocklayout.c650 .mode = lgr->range.iomode, in bl_alloc_lseg()
768 ext_tree_remove(bl, range->iomode & IOMODE_RW, offset, end); in bl_return_range()
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c1166 u32 iomode; in aspeed_spi_xfer() local
1206 iomode = flash->read_iomode; in aspeed_spi_xfer()
1212 flash->read_iomode = iomode; in aspeed_spi_xfer()
/openbmc/linux/include/linux/
H A Dnfs_xdr.h249 u32 iomode; member
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c207 static uint iomode[MAX_CARDS]; variable
236 module_param_array(iomode, uint, NULL, S_IRUGO | S_IWUSR);
5004 hc->io_mode = iomode[HFC_cnt]; in hfcmulti_init()