Searched refs:NAND_STATUS_WP (Results 1 – 12 of 12) sorted by relevance
549 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()
462 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()
327 if (!(chip->read_byte(mtd) & NAND_STATUS_WP)) { in nand_unlock()
496 return (chip->read_byte(mtd) & NAND_STATUS_WP) ? 0 : 1; in nand_check_wp()
479 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()
512 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()
2693 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()
192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
375 return status & NAND_STATUS_WP ? 0 : 1; in nand_check_wp()
130 #define NAND_STATUS_WP 0x80 macro
82 #define NAND_STATUS_WP 0x80 macro
1395 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()