Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c62 u8 addr_cycles; member
126 enum addr_cycles { enum
293 switch (curr_cmd->addr_cycles) { in arasan_nand_get_addrcycle()
331 u8 addr_cycles; in arasan_nand_read_page() local
362 NAND_CMD_RNDOUT | (addr_cycles << in arasan_nand_read_page()
692 u8 page_val, addr_cycles; in arasan_nand_send_wrcmd() local
712 reg_val |= (addr_cycles << in arasan_nand_send_wrcmd()
843 u8 addr_cycles; in arasan_nand_read_status() local
857 reg_val |= (addr_cycles << in arasan_nand_read_status()
893 u32 reg_val, addr_cycles, page; in arasan_nand_send_rdcmd() local
[all …]
H A Dsunxi_nand_spl.c89 int addr_cycles; member
227 ((conf->addr_cycles - 1) << NFC_ADDR_NUM_OFFSET)); in nand_load_page()
449 for (conf->addr_cycles = 5; in nand_detect_config()
450 conf->addr_cycles >= 4; in nand_detect_config()
451 conf->addr_cycles--) { in nand_detect_config()
452 int max_page_size = conf->addr_cycles == 4 ? 2048 : 16384; in nand_detect_config()
H A Dzynq_nand.c149 u8 addr_cycles; member
784 u8 addr_cycles = 0; in zynq_nand_cmd_function() local
837 addr_cycles = chip->onfi_params.addr_cycles & in zynq_nand_cmd_function()
839 addr_cycles += ((chip->onfi_params.addr_cycles & in zynq_nand_cmd_function()
842 addr_cycles = curr_cmd->addr_cycles; in zynq_nand_cmd_function()
846 (addr_cycles << ADDR_CYCLES_SHIFT) | in zynq_nand_cmd_function()
H A Dsunxi_nand.c242 int addr_cycles; member
561 if (!sunxi_nand->addr_cycles && !sunxi_nand->cmd_cycles) in sunxi_nfc_cmd_ctrl()
575 if (sunxi_nand->addr_cycles) { in sunxi_nfc_cmd_ctrl()
577 NFC_ADR_NUM(sunxi_nand->addr_cycles); in sunxi_nfc_cmd_ctrl()
582 if (sunxi_nand->addr_cycles > 4) in sunxi_nfc_cmd_ctrl()
589 sunxi_nand->addr_cycles = 0; in sunxi_nfc_cmd_ctrl()
596 sunxi_nand->addr[sunxi_nand->addr_cycles / 4] |= in sunxi_nfc_cmd_ctrl()
597 dat << ((sunxi_nand->addr_cycles % 4) * 8); in sunxi_nfc_cmd_ctrl()
598 sunxi_nand->addr_cycles++; in sunxi_nfc_cmd_ctrl()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c120 unsigned int addr_cycles; member
510 unsigned int nrows = plnand->addr_cycles; in pl35x_nand_write_page_hwecc()
521 PL35X_SMC_CMD_PHASE_NADDRS(plnand->addr_cycles) | in pl35x_nand_write_page_hwecc()
535 if (plnand->addr_cycles > 4) in pl35x_nand_write_page_hwecc()
601 unsigned int nrows = plnand->addr_cycles; in pl35x_nand_read_page_hwecc()
611 PL35X_SMC_CMD_PHASE_NADDRS(plnand->addr_cycles) | in pl35x_nand_read_page_hwecc()
627 if (plnand->addr_cycles > 4) in pl35x_nand_read_page_hwecc()
962 plnand->addr_cycles = 1; in pl35x_nand_attach_chip()
964 plnand->addr_cycles = 2; in pl35x_nand_attach_chip()
967 plnand->addr_cycles += 3; in pl35x_nand_attach_chip()
[all …]
/openbmc/linux/include/linux/mtd/
H A Djedec.h51 u8 addr_cycles; member
H A Donfi.h88 u8 addr_cycles; member
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h315 u8 addr_cycles; member
445 u8 addr_cycles; member