Lines Matching refs:flag

429 	unsigned int flag = 0;  in hisi_nfc_cmdfunc()  local
470 flag = hinfc_read(host, HINFC504_CON); in hisi_nfc_cmdfunc()
473 flag & ~(HINFC504_CON_ECCTYPE_MASK << in hisi_nfc_cmdfunc()
479 hinfc_write(host, flag, HINFC504_CON); in hisi_nfc_cmdfunc()
500 unsigned int flag; in hinfc_irq_handle() local
502 flag = hinfc_read(host, HINFC504_INTS); in hinfc_irq_handle()
504 host->irq_status |= flag; in hinfc_irq_handle()
506 if (flag & HINFC504_INTS_DMA) { in hinfc_irq_handle()
509 } else if (flag & HINFC504_INTS_CE) { in hinfc_irq_handle()
511 } else if (flag & HINFC504_INTS_UE) { in hinfc_irq_handle()
583 unsigned int flag = 0; in hisi_nfc_host_init() local
594 flag = HINFC504_CON_OP_MODE_NORMAL | HINFC504_CON_READY_BUSY_SEL in hisi_nfc_host_init()
601 hinfc_write(host, flag, HINFC504_CON); in hisi_nfc_host_init()
638 unsigned int flag; in hisi_nfc_ecc_probe() local
679 flag = hinfc_read(host, HINFC504_CON); in hisi_nfc_ecc_probe()
681 flag |= ((ecc_bits & HINFC504_CON_ECCTYPE_MASK) in hisi_nfc_ecc_probe()
683 hinfc_write(host, flag, HINFC504_CON); in hisi_nfc_ecc_probe()
686 flag = hinfc_read(host, HINFC504_INTEN) & 0xfff; in hisi_nfc_ecc_probe()
687 hinfc_write(host, flag | HINFC504_INTEN_UE | HINFC504_INTEN_CE, in hisi_nfc_ecc_probe()
697 int flag; in hisi_nfc_attach_chip() local
708 flag = hinfc_read(host, HINFC504_CON); in hisi_nfc_attach_chip()
709 flag &= ~(HINFC504_CON_PAGESIZE_MASK << HINFC504_CON_PAGEISZE_SHIFT); in hisi_nfc_attach_chip()
712 flag |= (0x001 << HINFC504_CON_PAGEISZE_SHIFT); in hisi_nfc_attach_chip()
722 hinfc_write(host, flag, HINFC504_CON); in hisi_nfc_attach_chip()