Home
last modified time | relevance | path

Searched refs:IDLY_CODE_VAL (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dmxic_nand.c158 #define IDLY_CODE_VAL(x, v) ((v) << (((x) % 4) * 8)) macro
219 writel(IDLY_CODE_VAL(0, idly_code) | in mxic_nfc_set_input_delay()
220 IDLY_CODE_VAL(1, idly_code) | in mxic_nfc_set_input_delay()
221 IDLY_CODE_VAL(2, idly_code) | in mxic_nfc_set_input_delay()
222 IDLY_CODE_VAL(3, idly_code), in mxic_nfc_set_input_delay()
224 writel(IDLY_CODE_VAL(4, idly_code) | in mxic_nfc_set_input_delay()
225 IDLY_CODE_VAL(5, idly_code) | in mxic_nfc_set_input_delay()
226 IDLY_CODE_VAL(6, idly_code) | in mxic_nfc_set_input_delay()
227 IDLY_CODE_VAL(7, idly_code), in mxic_nfc_set_input_delay()
/openbmc/linux/drivers/spi/
H A Dspi-mxic.c159 #define IDLY_CODE_VAL(x, v) ((v) << (((x) % 4) * 8)) macro
219 writel(IDLY_CODE_VAL(0, idly_code) | in mxic_spi_set_input_delay_dqs()
220 IDLY_CODE_VAL(1, idly_code) | in mxic_spi_set_input_delay_dqs()
221 IDLY_CODE_VAL(2, idly_code) | in mxic_spi_set_input_delay_dqs()
222 IDLY_CODE_VAL(3, idly_code), in mxic_spi_set_input_delay_dqs()
224 writel(IDLY_CODE_VAL(4, idly_code) | in mxic_spi_set_input_delay_dqs()
225 IDLY_CODE_VAL(5, idly_code) | in mxic_spi_set_input_delay_dqs()
226 IDLY_CODE_VAL(6, idly_code) | in mxic_spi_set_input_delay_dqs()
227 IDLY_CODE_VAL(7, idly_code), in mxic_spi_set_input_delay_dqs()