Lines Matching refs:ctrl
53 struct fsl_lbc_ctrl *ctrl; member
149 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in set_addr() local
150 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in set_addr()
151 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = ctrl->nand; in set_addr()
200 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_run_command() local
201 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = ctrl->nand; in fsl_elbc_run_command()
202 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_elbc_run_command()
218 ctrl->irq_status = 0; in fsl_elbc_run_command()
223 wait_event_timeout(ctrl->irq_wait, ctrl->irq_status, in fsl_elbc_run_command()
225 elbc_fcm_ctrl->status = ctrl->irq_status; in fsl_elbc_run_command()
272 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_do_read() local
273 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_elbc_do_read()
305 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_cmdfunc() local
306 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = ctrl->nand; in fsl_elbc_cmdfunc()
307 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_elbc_cmdfunc()
530 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = priv->ctrl->nand; in fsl_elbc_write_buf()
568 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = priv->ctrl->nand; in fsl_elbc_read_byte()
585 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = priv->ctrl->nand; in fsl_elbc_read_buf()
609 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = priv->ctrl->nand; in fsl_elbc_wait()
624 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_chip_init_tail() local
625 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_elbc_chip_init_tail()
701 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_read_page() local
702 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = ctrl->nand; in fsl_elbc_read_page()
741 struct fsl_lbc_ctrl *ctrl = priv->ctrl; in fsl_elbc_chip_init() local
742 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_elbc_chip_init()
743 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = ctrl->nand; in fsl_elbc_chip_init()
799 struct fsl_elbc_fcm_ctrl *elbc_fcm_ctrl = priv->ctrl->nand; in fsl_elbc_chip_remove()
879 priv->ctrl = fsl_lbc_ctrl_dev; in fsl_elbc_nand_probe()