Searched refs:sr1 (Results 1 – 4 of 4) sorted by relevance
37 static int nor_fm_read_status1(unsigned char *sr1) in nor_fm_read_status1() argument49 *sr1 = reg[1]; in nor_fm_read_status1()89 unsigned char sr1; in nor_fm_set_wps() local91 ret = nor_fm_read_status1(&sr1); in nor_fm_set_wps()96 sr[1] = sr1 | NOR_FM_WPS_BIT; in nor_fm_set_wps()98 sr[1] = sr1 & ~NOR_FM_WPS_BIT; in nor_fm_set_wps()100 if (sr1 == sr[1]) in nor_fm_set_wps()111 ret = nor_fm_read_status1(&sr1); in nor_fm_set_wps()115 if ((sr1 & NOR_FM_WPS_BIT) != (sr[1] & NOR_FM_WPS_BIT)) { in nor_fm_set_wps()116 SPINOR_ERR("set fm wps %d failed (0x%x)\n", wps, sr1); in nor_fm_set_wps()
30 static int nor_xtx_read_status1(unsigned char *sr1) in nor_xtx_read_status1() argument42 *sr1 = reg[1]; in nor_xtx_read_status1()82 unsigned char sr1; in nor_xtx_set_wps() local84 ret = nor_xtx_read_status1(&sr1); in nor_xtx_set_wps()89 sr[1] = sr1 | NOR_XTX_WPS_BIT; in nor_xtx_set_wps()91 sr[1] = sr1 & ~NOR_XTX_WPS_BIT; in nor_xtx_set_wps()93 if (sr1 == sr[1]) in nor_xtx_set_wps()104 ret = nor_xtx_read_status1(&sr1); in nor_xtx_set_wps()108 if ((sr1 & NOR_XTX_WPS_BIT) != (sr[1] & NOR_XTX_WPS_BIT)) { in nor_xtx_set_wps()109 SPINOR_ERR("set xtx wps %d failed (0x%x)\n", wps, sr1); in nor_xtx_set_wps()
195 p_status = (void *)((rt_uint32_t)(&PL041->sr1) + channel * 0x14); in aaci_pl041_channel_read()209 p_status = (void *)((rt_uint32_t)(&PL041->sr1) + channel * 0x14); in aaci_pl041_channel_write()312 p_status = (void *)((rt_uint32_t)(&PL041->sr1) + channel * 0x14); in aaci_pl041_irq_handle()355 PL041_DUMP(PL041->sr1);
156 volatile rt_uint32_t sr1; /* 0x008 */ member
Completed in 14 milliseconds