Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dfsl_ifc_nand.c491 ifc_out16(ifc_in16(addr) | (NAND_STATUS_WP), addr); in fsl_ifc_cmdfunc()
493 ifc_out8(ifc_in8(addr) | (NAND_STATUS_WP), addr); in fsl_ifc_cmdfunc()
645 return status | NAND_STATUS_WP; in fsl_ifc_wait()
Dfsl_elbc_nand.c518 setbits8(elbc_fcm_ctrl->addr, NAND_STATUS_WP); in fsl_elbc_cmdfunc()
637 return (elbc_fcm_ctrl->mdr & 0xff) | NAND_STATUS_WP; in fsl_elbc_wait()
Ddocg4.c323 int status = NAND_STATUS_WP; /* inverse logic?? */ in docg4_wait()
511 status = NAND_STATUS_WP | NAND_STATUS_READY; in docg4_read_byte()
Dqcom_nandc.c1409 host->status &= ~NAND_STATUS_WP; in parse_erase_write_errors()
2297 host->status = NAND_STATUS_READY | NAND_STATUS_WP; in qcom_nandc_read_byte()
2836 host->status = NAND_STATUS_READY | NAND_STATUS_WP; in qcom_nand_host_init_and_register()
Dnandsim.c206 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
Dnand_base.c575 return status & NAND_STATUS_WP ? 0 : 1; in nand_check_wp()
/Linux-v4.19/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c1079 NAND_STATUS_WP, in brcmnand_wp()
1082 (wp ? 0 : NAND_STATUS_WP), 0); in brcmnand_wp()
1446 ret |= NAND_STATUS_WP; in brcmnand_read_byte()
/Linux-v4.19/include/linux/mtd/
Drawnand.h92 #define NAND_STATUS_WP 0x80 macro