/openbmc/linux/drivers/pinctrl/ti/ |
H A D | pinctrl-ti-iodelay.c | 209 static int ti_iodelay_pinconf_set(struct ti_iodelay_device *iod, in ti_iodelay_pinconf_set() argument 212 const struct ti_iodelay_reg_data *reg = iod->reg_data; in ti_iodelay_pinconf_set() 213 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_set() 214 struct device *dev = iod->dev; in ti_iodelay_pinconf_set() 267 r = regmap_update_bits(iod->regmap, cfg->offset, reg_mask, reg_val); in ti_iodelay_pinconf_set() 284 struct ti_iodelay_device *iod = data; in ti_iodelay_pinconf_deinit_dev() local 285 const struct ti_iodelay_reg_data *reg = iod->reg_data; in ti_iodelay_pinconf_deinit_dev() 288 regmap_update_bits(iod->regmap, reg->reg_global_lock_offset, in ti_iodelay_pinconf_deinit_dev() 300 static int ti_iodelay_pinconf_init_dev(struct ti_iodelay_device *iod) in ti_iodelay_pinconf_init_dev() argument 302 const struct ti_iodelay_reg_data *reg = iod->reg_data; in ti_iodelay_pinconf_init_dev() [all …]
|
/openbmc/linux/drivers/soc/rockchip/ |
H A D | io-domain.c | 61 struct rockchip_iodomain *iod; member 70 void (*init)(struct rockchip_iodomain *iod); 84 struct rockchip_iodomain *iod = supply->iod; in rk3568_iodomain_write() local 98 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() 99 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val1); in rk3568_iodomain_write() 113 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL0, val0); in rk3568_iodomain_write() 114 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL1, val1); in rk3568_iodomain_write() 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() 139 dev_err(iod->dev, "Couldn't write to GRF\n"); in rockchip_iodomain_write() [all …]
|
/openbmc/linux/drivers/nvme/target/ |
H A D | loop.c | 76 struct nvme_loop_iod *iod = blk_mq_rq_to_pdu(req); in nvme_loop_complete_rq() local 78 sg_free_table_chained(&iod->sg_table, NVME_INLINE_SG_CNT); in nvme_loop_complete_rq() 125 struct nvme_loop_iod *iod = in nvme_loop_execute_work() local 128 iod->req.execute(&iod->req); in nvme_loop_execute_work() 137 struct nvme_loop_iod *iod = blk_mq_rq_to_pdu(req); in nvme_loop_queue_rq() local 149 iod->cmd.common.flags |= NVME_CMD_SGL_METABUF; in nvme_loop_queue_rq() 150 iod->req.port = queue->ctrl->port; in nvme_loop_queue_rq() 151 if (!nvmet_req_init(&iod->req, &queue->nvme_cq, in nvme_loop_queue_rq() 156 iod->sg_table.sgl = iod->first_sgl; in nvme_loop_queue_rq() 157 if (sg_alloc_table_chained(&iod->sg_table, in nvme_loop_queue_rq() [all …]
|
H A D | fc.c | 103 struct nvmet_fc_ls_iod *iod; member 180 return (iodptr - iodptr->tgtport->iod); in nvmet_fc_iodnum() 265 struct nvmet_fc_ls_iod *iod); 546 struct nvmet_fc_ls_iod *iod; in nvmet_fc_alloc_ls_iodlist() local 549 iod = kcalloc(NVMET_LS_CTX_COUNT, sizeof(struct nvmet_fc_ls_iod), in nvmet_fc_alloc_ls_iodlist() 551 if (!iod) in nvmet_fc_alloc_ls_iodlist() 554 tgtport->iod = iod; in nvmet_fc_alloc_ls_iodlist() 556 for (i = 0; i < NVMET_LS_CTX_COUNT; iod++, i++) { in nvmet_fc_alloc_ls_iodlist() 557 INIT_WORK(&iod->work, nvmet_fc_handle_ls_rqst_work); in nvmet_fc_alloc_ls_iodlist() 558 iod->tgtport = tgtport; in nvmet_fc_alloc_ls_iodlist() [all …]
|
/openbmc/linux/drivers/nvme/host/ |
H A D | apple.c | 337 struct apple_nvme_iod *iod = blk_mq_rq_to_pdu(req); in apple_nvme_iod_list() local 339 return (void **)(iod->sg + blk_rq_nr_phys_segments(req)); in apple_nvme_iod_list() 345 struct apple_nvme_iod *iod = blk_mq_rq_to_pdu(req); in apple_nvme_free_prps() local 346 dma_addr_t dma_addr = iod->first_dma; in apple_nvme_free_prps() 349 for (i = 0; i < iod->npages; i++) { in apple_nvme_free_prps() 360 struct apple_nvme_iod *iod = blk_mq_rq_to_pdu(req); in apple_nvme_unmap_data() local 362 if (iod->dma_len) { in apple_nvme_unmap_data() 363 dma_unmap_page(anv->dev, iod->first_dma, iod->dma_len, in apple_nvme_unmap_data() 368 WARN_ON_ONCE(!iod->nents); in apple_nvme_unmap_data() 370 dma_unmap_sg(anv->dev, iod->sg, iod->nents, rq_dma_dir(req)); in apple_nvme_unmap_data() [all …]
|
H A D | pci.c | 424 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_pci_init_request() local 427 nvme_req(req)->cmd = &iod->cmd; in nvme_pci_init_request() 528 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_free_prps() local 529 dma_addr_t dma_addr = iod->first_dma; in nvme_free_prps() 532 for (i = 0; i < iod->nr_allocations; i++) { in nvme_free_prps() 533 __le64 *prp_list = iod->list[i].prp_list; in nvme_free_prps() 543 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_unmap_data() local 545 if (iod->dma_len) { in nvme_unmap_data() 546 dma_unmap_page(dev->dev, iod->first_dma, iod->dma_len, in nvme_unmap_data() 551 WARN_ON_ONCE(!iod->sgt.nents); in nvme_unmap_data() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-versaclock7.c | 172 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() 961 struct vc7_iod_data *iod = container_of(hw, struct vc7_iod_data, hw); in vc7_iod_recalc_rate() local [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | ublk_cmd.h | 300 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 D | board.c | 746 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 D | io.c | 72 U_BOOT_CMD(iod, 2, 0, do_io_iod,
|
H A D | Kconfig | 816 Provides an 'iod' command to display I/O space and an 'iow' command
|
/openbmc/linux/drivers/block/ |
H A D | ublk_drv.c | 407 struct ublksrv_io_desc *iod = ublk_get_iod(ubq, req->tag); in ublk_setup_iod_zoned() local 438 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() 1002 struct ublksrv_io_desc *iod = ublk_get_iod(ubq, req->tag); in ublk_setup_iod() local 1034 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod() [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | io.c | 657 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 D | README.x86 | 561 iod - Display I/O memory
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | devices.txt | 2625 2 = /dev/vx/iod Volume i/o daemon access node
|