Home
last modified time | relevance | path

Searched refs:io_dir (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/mfd/
Ducb1x00-core.c55 ucb->io_dir |= out; in ucb1x00_io_set_dir()
56 ucb->io_dir &= ~in; in ucb1x00_io_set_dir()
58 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_io_set_dir()
142 ucb->io_dir &= ~(1 << offset); in ucb1x00_gpio_direction_input()
144 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_input()
169 if (!(ucb->io_dir & mask)) { in ucb1x00_gpio_direction_output()
170 ucb->io_dir |= mask; in ucb1x00_gpio_direction_output()
171 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_gpio_direction_output()
706 ucb1x00_reg_write(ucb, UCB_IO_DIR, ucb->io_dir); in ucb1x00_resume()
/linux-6.6.21/arch/arm/include/asm/hardware/
Dscoop.h41 unsigned short io_dir; member
/linux-6.6.21/drivers/comedi/drivers/
Dni_660x.c266 u64 io_dir; member
614 devpriv->io_dir |= bit; in ni_660x_set_pfi_direction()
618 devpriv->io_dir &= ~bit; in ni_660x_set_pfi_direction()
636 return (devpriv->io_dir & bit) ? COMEDI_OUTPUT : COMEDI_INPUT; in ni_660x_get_pfi_direction()
/linux-6.6.21/include/linux/mfd/
Ducb1x00.h129 u16 io_dir; member
/linux-6.6.21/drivers/nvme/target/
Dfc.c80 enum nvmet_fcp_datadir io_dir; member
2103 ((fod->io_dir == NVMET_FCP_WRITE) ? in nvmet_fc_alloc_tgt_pgs()
2121 ((fod->io_dir == NVMET_FCP_WRITE) ? in nvmet_fc_free_tgt_pgs()
2489 if ((fod->io_dir == NVMET_FCP_READ) && (fod->data_sg_cnt)) { in __nvmet_fc_fcp_nvme_cmd_done()
2539 fod->io_dir = NVMET_FCP_WRITE; in nvmet_fc_handle_fcp_rqst()
2543 fod->io_dir = NVMET_FCP_READ; in nvmet_fc_handle_fcp_rqst()
2547 fod->io_dir = NVMET_FCP_NODATA; in nvmet_fc_handle_fcp_rqst()
2590 if (fod->io_dir == NVMET_FCP_WRITE) { in nvmet_fc_handle_fcp_rqst()
/linux-6.6.21/drivers/scsi/
Ddc395x.c361 struct ScsiReqBlk *srb, u16 io_dir);
2245 struct ScsiReqBlk *srb, u16 io_dir) in data_io_transfer() argument
2252 ((io_dir & DMACMD_DIR) ? 'r' : 'w'), in data_io_transfer()
2281 io_dir |= DMACMD_SG; in data_io_transfer()
2291 io_dir &= ~DMACMD_SG; in data_io_transfer()
2301 if (io_dir & DMACMD_DIR) { /* read */ in data_io_transfer()
2304 DC395x_write16(acb, TRM_S1040_DMA_COMMAND, io_dir); in data_io_transfer()
2306 DC395x_write16(acb, TRM_S1040_DMA_COMMAND, io_dir); in data_io_transfer()
2323 if (io_dir & DMACMD_DIR) { /* read */ in data_io_transfer()
2390 if (io_dir & DMACMD_DIR) { in data_io_transfer()
[all …]
/linux-6.6.21/include/linux/
Dnvme-fc-driver.h220 enum nvmefc_fcp_datadir io_dir; member
/linux-6.6.21/arch/arm/common/
Dscoop.c206 iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); in scoop_probe()
/linux-6.6.21/arch/arm/mach-pxa/
Dspitz.c146 .io_dir = SPITZ_SCP_IO_DIR,
173 .io_dir = SPITZ_SCP2_IO_DIR,
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_nvme.c643 if (fd->io_dir == NVMEFC_FCP_READ) { in qla2x00_start_nvme_mq()
647 } else if (fd->io_dir == NVMEFC_FCP_WRITE) { in qla2x00_start_nvme_mq()
660 } else if (fd->io_dir == 0) { in qla2x00_start_nvme_mq()
664 if (sp->fcport->edif.enable && fd->io_dir != 0) in qla2x00_start_nvme_mq()
/linux-6.6.21/arch/arm/mach-sa1100/
Dcollie.c61 .io_dir = COLLIE_SCOOP_IO_DIR,
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_nvme.c1174 nCmd->io_dir == NVMEFC_FCP_READ && in lpfc_nvme_io_cmd_cmpl()
1222 if (nCmd->io_dir == NVMEFC_FCP_WRITE) { in lpfc_nvme_prep_io_cmd()
1636 pnvme_fcreq->io_dir == NVMEFC_FCP_READ && in lpfc_nvme_fcp_io_submit()
1715 if (pnvme_fcreq->io_dir == NVMEFC_FCP_WRITE) in lpfc_nvme_fcp_io_submit()
1717 else if (pnvme_fcreq->io_dir == NVMEFC_FCP_READ) in lpfc_nvme_fcp_io_submit()
1793 if (lpfc_ncmd->nvmeCmd->io_dir == NVMEFC_FCP_WRITE) in lpfc_nvme_fcp_io_submit()
/linux-6.6.21/drivers/nvme/host/
Dfc.c2671 enum nvmefc_fcp_datadir io_dir) in nvme_fc_start_fcp_op() argument
2690 switch (io_dir) { in nvme_fc_start_fcp_op()
2702 op->fcp_req.io_dir = io_dir; in nvme_fc_start_fcp_op()
2793 enum nvmefc_fcp_datadir io_dir; in nvme_fc_queue_rq() local
2816 io_dir = ((rq_data_dir(rq) == WRITE) ? in nvme_fc_queue_rq()
2820 io_dir = NVMEFC_FCP_NODATA; in nvme_fc_queue_rq()
2824 return nvme_fc_start_fcp_op(ctrl, queue, op, data_len, io_dir); in nvme_fc_queue_rq()