Home
last modified time | relevance | path

Searched refs:iod (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/pinctrl/ti/
H A Dpinctrl-ti-iodelay.c315 iod); in ti_iodelay_pinconf_init_dev()
445 if (!iod) in ti_iodelay_node_iterator()
504 if (!iod) in ti_iodelay_dt_node_to_map()
621 dev = iod->dev; in ti_iodelay_pinconf_group_set()
763 if (!iod->pa) in ti_iodelay_alloc_pins()
766 iod->desc.pins = iod->pa; in ti_iodelay_alloc_pins()
841 iod = devm_kzalloc(dev, sizeof(*iod), GFP_KERNEL); in ti_iodelay_probe()
842 if (!iod) in ti_iodelay_probe()
845 iod->dev = dev; in ti_iodelay_probe()
859 iod->regmap = devm_regmap_init_mmio(dev, iod->reg_base, in ti_iodelay_probe()
[all …]
/openbmc/linux/drivers/soc/rockchip/
H A Dio-domain.c84 struct rockchip_iodomain *iod = supply->iod; in rk3568_iodomain_write() local
126 struct rockchip_iodomain *iod = supply->iod; in rockchip_iodomain_write() local
137 ret = regmap_write(iod->grf, iod->soc_data->grf_offset, val); in rockchip_iodomain_write()
582 iod = devm_kzalloc(&pdev->dev, sizeof(*iod), GFP_KERNEL); in rockchip_iodomain_probe()
583 if (!iod) in rockchip_iodomain_probe()
586 iod->dev = &pdev->dev; in rockchip_iodomain_probe()
593 iod->write = iod->soc_data->write; in rockchip_iodomain_probe()
605 if (IS_ERR(iod->grf)) { in rockchip_iodomain_probe()
644 dev_crit(iod->dev, in rockchip_iodomain_probe()
653 supply->iod = iod; in rockchip_iodomain_probe()
[all …]
/openbmc/linux/drivers/nvme/target/
H A Dloop.c125 struct nvme_loop_iod *iod = in nvme_loop_execute_work() local
128 iod->req.execute(&iod->req); in nvme_loop_execute_work()
156 iod->sg_table.sgl = iod->first_sgl; in nvme_loop_queue_rq()
164 iod->req.sg = iod->sg_table.sgl; in nvme_loop_queue_rq()
165 iod->req.sg_cnt = blk_rq_map_sg(req->q, req, iod->sg_table.sgl); in nvme_loop_queue_rq()
169 queue_work(nvmet_wq, &iod->work); in nvme_loop_queue_rq()
179 memset(&iod->cmd, 0, sizeof(iod->cmd)); in nvme_loop_submit_async_event()
190 queue_work(nvmet_wq, &iod->work); in nvme_loop_submit_async_event()
196 iod->req.cmd = &iod->cmd; in nvme_loop_init_iod()
197 iod->req.cqe = &iod->cqe; in nvme_loop_init_iod()
[all …]
H A Dfc.c551 if (!iod) in nvmet_fc_alloc_ls_iodlist()
554 tgtport->iod = iod; in nvmet_fc_alloc_ls_iodlist()
581 for (iod--, i--; i >= 0; iod--, i--) { in nvmet_fc_alloc_ls_iodlist()
588 kfree(iod); in nvmet_fc_alloc_ls_iodlist()
596 struct nvmet_fc_ls_iod *iod = tgtport->iod; in nvmet_fc_free_ls_iodlist() local
601 iod->rspdma, sizeof(*iod->rspbuf), in nvmet_fc_free_ls_iodlist()
618 if (iod) in nvmet_fc_alloc_ls_iod()
621 return iod; in nvmet_fc_alloc_ls_iod()
1965 iod->lsrsp->nvme_fc_private = iod; in nvmet_fc_handle_ls_rqst()
1966 iod->lsrsp->rspbuf = iod->rspbuf; in nvmet_fc_handle_ls_rqst()
[all …]
/openbmc/linux/drivers/nvme/host/
H A Dapple.c363 dma_unmap_page(anv->dev, iod->first_dma, iod->dma_len, in apple_nvme_unmap_data()
370 dma_unmap_sg(anv->dev, iod->sg, iod->nents, rq_dma_dir(req)); in apple_nvme_unmap_data()
432 iod->npages = 0; in apple_nvme_setup_prps()
481 WARN(DO_ONCE(apple_nvme_print_sgl, iod->sg, iod->nents), in apple_nvme_setup_prps()
525 if (!iod->sg) in apple_nvme_map_data()
528 iod->nents = blk_rq_map_sg(req->q, req, iod->sg); in apple_nvme_map_data()
529 if (!iod->nents) in apple_nvme_map_data()
532 nr_mapped = dma_map_sg_attrs(anv->dev, iod->sg, iod->nents, in apple_nvme_map_data()
543 dma_unmap_sg(anv->dev, iod->sg, iod->nents, rq_dma_dir(req)); in apple_nvme_map_data()
744 iod->nents = 0; in apple_nvme_queue_rq()
[all …]
H A Dpci.c544 if (iod->dma_len) { in nvme_unmap_data()
545 dma_unmap_page(dev->dev, iod->first_dma, iod->dma_len, in nvme_unmap_data()
595 iod->first_dma = 0; in nvme_pci_setup_prps()
636 iod->list[iod->nr_allocations++].prp_list = prp_list; in nvme_pci_setup_prps()
663 WARN(DO_ONCE(nvme_print_sgl, iod->sgt.sgl, iod->sgt.nents), in nvme_pci_setup_prps()
793 iod->dma_len = 0; in nvme_map_data()
795 if (!iod->sgt.sgl) in nvme_map_data()
798 iod->sgt.orig_nents = blk_rq_map_sg(req->q, req, iod->sgt.sgl); in nvme_map_data()
843 iod->aborted = false; in nvme_prep_rq()
845 iod->sgt.nents = 0; in nvme_prep_rq()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-versaclock7.c172 struct vc7_iod_data *iod; member
379 map->src.iod = &vc7->clk_iod[0]; in vc7_get_bank_clk()
383 map->src.iod = &vc7->clk_iod[1]; in vc7_get_bank_clk()
400 map->src.iod = &vc7->clk_iod[1]; in vc7_get_bank_clk()
437 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
463 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
467 map->src.iod = &vc7->clk_iod[3]; in vc7_get_bank_clk()
490 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
494 map->src.iod = &vc7->clk_iod[3]; in vc7_get_bank_clk()
966 err = vc7_read_iod(vc7, iod->num); in vc7_iod_recalc_rate()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dublk_cmd.h300 static inline __u8 ublksrv_get_op(const struct ublksrv_io_desc *iod) in ublksrv_get_op() argument
302 return iod->op_flags & 0xff; in ublksrv_get_op()
305 static inline __u32 ublksrv_get_flags(const struct ublksrv_io_desc *iod) in ublksrv_get_flags() argument
307 return iod->op_flags >> 8; in ublksrv_get_flags()
/openbmc/u-boot/board/ti/am57xx/
H A Dboard.c746 const struct iodelay_cfg_entry *iod, *delta_iod; in recalibrate_iodelay() local
753 iod = iodelay_cfg_array_am572x_idk; in recalibrate_iodelay()
758 iod = iodelay_cfg_array_am574x_idk; in recalibrate_iodelay()
763 iod = iodelay_cfg_array_am571x_idk; in recalibrate_iodelay()
771 iod = iodelay_cfg_array_x15_sr1_1; in recalibrate_iodelay()
775 iod = iodelay_cfg_array_x15_sr2_0; in recalibrate_iodelay()
816 ret = do_set_iodelay((*ctrl)->iodelay_config_base, iod, iod_sz); in recalibrate_iodelay()
/openbmc/u-boot/cmd/
H A Dio.c72 U_BOOT_CMD(iod, 2, 0, do_io_iod,
H A DKconfig816 Provides an 'iod' command to display I/O space and an 'iow' command
/openbmc/linux/drivers/block/
H A Dublk_drv.c438 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod_zoned()
439 iod->nr_zones = desc->nr_zones; in ublk_setup_iod_zoned()
440 iod->start_sector = desc->sector; in ublk_setup_iod_zoned()
452 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod_zoned()
453 iod->nr_sectors = blk_rq_sectors(req); in ublk_setup_iod_zoned()
454 iod->start_sector = blk_rq_pos(req); in ublk_setup_iod_zoned()
455 iod->addr = io->addr; in ublk_setup_iod_zoned()
1025 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod()
1026 iod->nr_sectors = blk_rq_sectors(req); in ublk_setup_iod()
1027 iod->start_sector = blk_rq_pos(req); in ublk_setup_iod()
[all …]
/openbmc/linux/arch/alpha/kernel/
H A Dio.c657 u16 __iomem *iod = (u16 __iomem *) d; in scr_memcpyw() local
669 __raw_writew(tmp, iod++); in scr_memcpyw()
676 memcpy_toio(iod, s, count); in scr_memcpyw()
/openbmc/u-boot/doc/
H A DREADME.x86561 iod - Display I/O memory
/openbmc/linux/Documentation/admin-guide/
H A Ddevices.txt2625 2 = /dev/vx/iod Volume i/o daemon access node