Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_ifc_nand.c549 ifc_in16(ctrl->addr) | NAND_STATUS_WP); in fsl_ifc_cmdfunc()
551 out_8(ctrl->addr, in_8(ctrl->addr) | NAND_STATUS_WP); in fsl_ifc_cmdfunc()
700 return status | NAND_STATUS_WP; in fsl_ifc_wait()
H A Dfsl_elbc_nand.c462 out_8(ctrl->addr, in_8(ctrl->addr) | NAND_STATUS_WP); in fsl_elbc_cmdfunc()
593 out_8(ctrl->addr, in_8(ctrl->addr) | NAND_STATUS_WP); in fsl_elbc_wait()
H A Dnand_util.c327 if (!(chip->read_byte(mtd) & NAND_STATUS_WP)) { in nand_unlock()
H A Dnand_base.c496 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; in nand_check_wp()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsl_ifc_nand.c479 ifc_out16(ifc_in16(addr) | (NAND_STATUS_WP), addr); in fsl_ifc_cmdfunc()
481 ifc_out8(ifc_in8(addr) | (NAND_STATUS_WP), addr); in fsl_ifc_cmdfunc()
631 return status | NAND_STATUS_WP; in fsl_ifc_wait()
H A Dfsl_elbc_nand.c512 setbits8(elbc_fcm_ctrl->addr, NAND_STATUS_WP); in fsl_elbc_cmdfunc()
629 return (elbc_fcm_ctrl->mdr & 0xff) | NAND_STATUS_WP; in fsl_elbc_wait()
H A Dqcom_nandc.c2693 host->status = NAND_STATUS_READY | NAND_STATUS_WP; in qcom_read_status_exec()
2728 host->status &= ~NAND_STATUS_WP; in qcom_read_status_exec()
3296 host->status = NAND_STATUS_READY | NAND_STATUS_WP; in qcom_nand_host_init_and_register()
H A Dnandsim.c192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
H A Dnand_base.c375 return status & NAND_STATUS_WP ? 0 : 1; in nand_check_wp()
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h130 #define NAND_STATUS_WP 0x80 macro
/openbmc/linux/include/linux/mtd/
H A Drawnand.h82 #define NAND_STATUS_WP 0x80 macro
/openbmc/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1395 NAND_STATUS_WP, in brcmnand_wp()
1398 (wp ? 0 : NAND_STATUS_WP), 0); in brcmnand_wp()
1882 ret |= NAND_STATUS_WP; in brcmnand_read_byte()