Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/nand/raw/
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()
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()
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()
3297 host->status = NAND_STATUS_READY | NAND_STATUS_WP; in qcom_nand_host_init_and_register()
Dnandsim.c192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
Dnand_base.c375 return status & NAND_STATUS_WP ? 0 : 1; in nand_check_wp()
/Linux-v6.6/include/linux/mtd/
Drawnand.h82 #define NAND_STATUS_WP 0x80 macro
/Linux-v6.6/drivers/mtd/nand/raw/brcmnand/
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()