Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/ti/
Dpinctrl-ti-iodelay.c208 static int ti_iodelay_pinconf_set(struct ti_iodelay_device *iod, in ti_iodelay_pinconf_set() argument
211 const struct ti_iodelay_reg_data *reg = iod->reg_data; in ti_iodelay_pinconf_set()
212 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_set()
213 struct device *dev = iod->dev; in ti_iodelay_pinconf_set()
266 r = regmap_update_bits(iod->regmap, cfg->offset, reg_mask, reg_val); in ti_iodelay_pinconf_set()
283 static int ti_iodelay_pinconf_init_dev(struct ti_iodelay_device *iod) in ti_iodelay_pinconf_init_dev() argument
285 const struct ti_iodelay_reg_data *reg = iod->reg_data; in ti_iodelay_pinconf_init_dev()
286 struct device *dev = iod->dev; in ti_iodelay_pinconf_init_dev()
287 struct ti_iodelay_reg_values *ival = &iod->reg_init_conf_values; in ti_iodelay_pinconf_init_dev()
292 r = regmap_update_bits(iod->regmap, reg->reg_global_lock_offset, in ti_iodelay_pinconf_init_dev()
[all …]
/Linux-v6.6/drivers/soc/rockchip/
Dio-domain.c61 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 …]
/Linux-v6.6/drivers/nvme/target/
Dloop.c76 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 …]
Dfc.c103 struct nvmet_fc_ls_iod *iod; member
178 return (iodptr - iodptr->tgtport->iod); in nvmet_fc_iodnum()
256 struct nvmet_fc_ls_iod *iod);
536 struct nvmet_fc_ls_iod *iod; in nvmet_fc_alloc_ls_iodlist() local
539 iod = kcalloc(NVMET_LS_CTX_COUNT, sizeof(struct nvmet_fc_ls_iod), in nvmet_fc_alloc_ls_iodlist()
541 if (!iod) in nvmet_fc_alloc_ls_iodlist()
544 tgtport->iod = iod; in nvmet_fc_alloc_ls_iodlist()
546 for (i = 0; i < NVMET_LS_CTX_COUNT; iod++, i++) { in nvmet_fc_alloc_ls_iodlist()
547 INIT_WORK(&iod->work, nvmet_fc_handle_ls_rqst_work); in nvmet_fc_alloc_ls_iodlist()
548 iod->tgtport = tgtport; in nvmet_fc_alloc_ls_iodlist()
[all …]
/Linux-v6.6/drivers/nvme/host/
Dapple.c337 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 …]
Dpci.c423 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_pci_init_request() local
426 nvme_req(req)->cmd = &iod->cmd; in nvme_pci_init_request()
527 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_free_prps() local
528 dma_addr_t dma_addr = iod->first_dma; in nvme_free_prps()
531 for (i = 0; i < iod->nr_allocations; i++) { in nvme_free_prps()
532 __le64 *prp_list = iod->list[i].prp_list; in nvme_free_prps()
542 struct nvme_iod *iod = blk_mq_rq_to_pdu(req); in nvme_unmap_data() local
544 if (iod->dma_len) { in nvme_unmap_data()
545 dma_unmap_page(dev->dev, iod->first_dma, iod->dma_len, in nvme_unmap_data()
550 WARN_ON_ONCE(!iod->sgt.nents); in nvme_unmap_data()
[all …]
/Linux-v6.6/drivers/clk/
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()
961 struct vc7_iod_data *iod = container_of(hw, struct vc7_iod_data, hw); in vc7_iod_recalc_rate() local
[all …]
/Linux-v6.6/include/uapi/linux/
Dublk_cmd.h294 static inline __u8 ublksrv_get_op(const struct ublksrv_io_desc *iod) in ublksrv_get_op() argument
296 return iod->op_flags & 0xff; in ublksrv_get_op()
299 static inline __u32 ublksrv_get_flags(const struct ublksrv_io_desc *iod) in ublksrv_get_flags() argument
301 return iod->op_flags >> 8; in ublksrv_get_flags()
/Linux-v6.6/drivers/block/
Dublk_drv.c376 struct ublksrv_io_desc *iod = ublk_get_iod(ubq, req->tag); in ublk_setup_iod_zoned() local
404 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod_zoned()
405 iod->nr_zones = pdu->nr_zones; in ublk_setup_iod_zoned()
406 iod->start_sector = pdu->sector; in ublk_setup_iod_zoned()
418 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod_zoned()
419 iod->nr_sectors = blk_rq_sectors(req); in ublk_setup_iod_zoned()
420 iod->start_sector = blk_rq_pos(req); in ublk_setup_iod_zoned()
421 iod->addr = io->addr; in ublk_setup_iod_zoned()
959 struct ublksrv_io_desc *iod = ublk_get_iod(ubq, req->tag); in ublk_setup_iod() local
991 iod->op_flags = ublk_op | ublk_req_build_flags(req); in ublk_setup_iod()
[all …]
/Linux-v6.6/arch/alpha/kernel/
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()
/Linux-v6.6/Documentation/admin-guide/
Ddevices.txt2625 2 = /dev/vx/iod Volume i/o daemon access node