Home
last modified time | relevance | path

Searched refs:sr1 (Results 1 – 4 of 4) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/spinor/
A Dfactory_fm.c37 static int nor_fm_read_status1(unsigned char *sr1) in nor_fm_read_status1() argument
49 *sr1 = reg[1]; in nor_fm_read_status1()
89 unsigned char sr1; in nor_fm_set_wps() local
91 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()
A Dfactory_xtx.c30 static int nor_xtx_read_status1(unsigned char *sr1) in nor_xtx_read_status1() argument
42 *sr1 = reg[1]; in nor_xtx_read_status1()
82 unsigned char sr1; in nor_xtx_set_wps() local
84 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()
/bsp/qemu-vexpress-a9/drivers/audio/
A Ddrv_pl041.c195 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);
A Ddrv_pl041.h156 volatile rt_uint32_t sr1; /* 0x008 */ member

Completed in 14 milliseconds