Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A 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/arch/arm/include/asm/hardware/
H A Dscoop.h41 unsigned short io_dir; member
/linux/drivers/comedi/drivers/
H A 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/include/linux/mfd/
H A Ducb1x00.h129 u16 io_dir; member
/linux/drivers/nvme/target/
H A Dfc.c80 enum nvmet_fcp_datadir io_dir; member
2107 ((fod->io_dir == NVMET_FCP_WRITE) ? in nvmet_fc_alloc_tgt_pgs()
2125 ((fod->io_dir == NVMET_FCP_WRITE) ? in nvmet_fc_free_tgt_pgs()
2493 if ((fod->io_dir == NVMET_FCP_READ) && (fod->data_sg_cnt)) { in __nvmet_fc_fcp_nvme_cmd_done()
2543 fod->io_dir = NVMET_FCP_WRITE; in nvmet_fc_handle_fcp_rqst()
2547 fod->io_dir = NVMET_FCP_READ; in nvmet_fc_handle_fcp_rqst()
2551 fod->io_dir = NVMET_FCP_NODATA; in nvmet_fc_handle_fcp_rqst()
2594 if (fod->io_dir == NVMET_FCP_WRITE) { in nvmet_fc_handle_fcp_rqst()
/linux/drivers/scsi/
H A 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/include/linux/
H A Dnvme-fc-driver.h220 enum nvmefc_fcp_datadir io_dir; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_nvme.c646 if (fd->io_dir == NVMEFC_FCP_READ) { in qla2x00_start_nvme_mq()
650 } else if (fd->io_dir == NVMEFC_FCP_WRITE) { in qla2x00_start_nvme_mq()
663 } else if (fd->io_dir == 0) { in qla2x00_start_nvme_mq()
667 if (sp->fcport->edif.enable && fd->io_dir != 0) in qla2x00_start_nvme_mq()
/linux/arch/arm/common/
H A Dscoop.c206 iowrite16(inf->io_dir & 0xffff, devptr->base + SCOOP_GPCR); in scoop_probe()
/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.c1176 nCmd->io_dir == NVMEFC_FCP_READ && in lpfc_nvme_io_cmd_cmpl()
1224 if (nCmd->io_dir == NVMEFC_FCP_WRITE) { in lpfc_nvme_prep_io_cmd()
1638 pnvme_fcreq->io_dir == NVMEFC_FCP_READ && in lpfc_nvme_fcp_io_submit()
1717 if (pnvme_fcreq->io_dir == NVMEFC_FCP_WRITE) in lpfc_nvme_fcp_io_submit()
1719 else if (pnvme_fcreq->io_dir == NVMEFC_FCP_READ) in lpfc_nvme_fcp_io_submit()
1795 if (lpfc_ncmd->nvmeCmd->io_dir == NVMEFC_FCP_WRITE) in lpfc_nvme_fcp_io_submit()
/linux/arch/arm/mach-sa1100/
H A Dcollie.c61 .io_dir = COLLIE_SCOOP_IO_DIR,
/linux/arch/arm/mach-pxa/
H A Dspitz.c161 .io_dir = SPITZ_SCP_IO_DIR,
188 .io_dir = SPITZ_SCP2_IO_DIR,
/linux/drivers/nvme/host/
H A Dfc.c2673 enum nvmefc_fcp_datadir io_dir) in nvme_fc_start_fcp_op() argument
2692 switch (io_dir) { in nvme_fc_start_fcp_op()
2704 op->fcp_req.io_dir = io_dir; in nvme_fc_start_fcp_op()
2795 enum nvmefc_fcp_datadir io_dir; in nvme_fc_queue_rq() local
2818 io_dir = ((rq_data_dir(rq) == WRITE) ? in nvme_fc_queue_rq()
2822 io_dir = NVMEFC_FCP_NODATA; in nvme_fc_queue_rq()
2826 return nvme_fc_start_fcp_op(ctrl, queue, op, data_len, io_dir); in nvme_fc_queue_rq()