Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c265 struct meson_nfc_nand_chip *meson_chip = to_meson_nand(nand); in meson_nfc_select_chip() local
269 if (chip < 0 || WARN_ON_ONCE(chip >= meson_chip->nsels)) in meson_nfc_select_chip()
272 nfc->param.chip_select = meson_chip->sels[chip] ? NAND_CE1 : NAND_CE0; in meson_nfc_select_chip()
274 nfc->timing.twb = meson_chip->twb; in meson_nfc_select_chip()
275 nfc->timing.tadl = meson_chip->tadl; in meson_nfc_select_chip()
276 nfc->timing.tbers_max = meson_chip->tbers_max; in meson_nfc_select_chip()
278 if (nfc->clk_rate != meson_chip->clk_rate) { in meson_nfc_select_chip()
279 ret = clk_set_rate(nfc->nand_clk, meson_chip->clk_rate); in meson_nfc_select_chip()
284 nfc->clk_rate = meson_chip->clk_rate; in meson_nfc_select_chip()
286 if (nfc->bus_timing != meson_chip->bus_timing) { in meson_nfc_select_chip()
[all …]