Searched refs:lutval (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-nxp-fspi.c | 549 u32 lutval[4] = {}; in nxp_fspi_prepare_lut() local 555 lutval[0] |= LUT_DEF(0, LUT_CMD, LUT_PAD(op->cmd.buswidth), in nxp_fspi_prepare_lut() 560 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_ADDR, in nxp_fspi_prepare_lut() 568 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_DUMMY, in nxp_fspi_prepare_lut() 581 lutval[lutidx / 2] |= LUT_DEF(lutidx, in nxp_fspi_prepare_lut() 590 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_STOP, 0, 0); in nxp_fspi_prepare_lut() 597 for (i = 0; i < ARRAY_SIZE(lutval); i++) { in nxp_fspi_prepare_lut() 599 fspi_writel(f, lutval[i], base + target_lut_reg); in nxp_fspi_prepare_lut() 603 op->cmd.opcode, lutval[0], lutval[1], lutval[2], lutval[3], op->data.nbytes); in nxp_fspi_prepare_lut()
|
H A D | spi-fsl-qspi.c | 419 u32 lutval[4] = {}; in fsl_qspi_prepare_lut() local 422 lutval[0] |= LUT_DEF(0, LUT_CMD, LUT_PAD(op->cmd.buswidth), in fsl_qspi_prepare_lut() 433 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_MODE, in fsl_qspi_prepare_lut() 440 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_DUMMY, in fsl_qspi_prepare_lut() 448 lutval[lutidx / 2] |= LUT_DEF(lutidx, in fsl_qspi_prepare_lut() 456 lutval[lutidx / 2] |= LUT_DEF(lutidx, LUT_STOP, 0, 0); in fsl_qspi_prepare_lut() 463 for (i = 0; i < ARRAY_SIZE(lutval); i++) in fsl_qspi_prepare_lut() 464 qspi_writel(q, lutval[i], base + QUADSPI_LUT_REG(i)); in fsl_qspi_prepare_lut()
|