Searched refs:wcreg (Results 1 – 5 of 5) sorted by relevance
184 u32 wcreg; /* cached write control register value */ member222 #define RME32_ISWORKING(rme32) ((rme32)->wcreg & RME32_WCR_START)383 writel(rme32->wcreg | RME32_WCR_PD, in snd_rme32_reset_dac()385 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_reset_dac()392 rate = ((rme32->wcreg >> RME32_WCR_BITPOS_FREQ_0) & 1) + in snd_rme32_playback_getrate()393 (((rme32->wcreg >> RME32_WCR_BITPOS_FREQ_1) & 1) << 1); in snd_rme32_playback_getrate()407 return (rme32->wcreg & RME32_WCR_DS_BM) ? rate << 1 : rate; in snd_rme32_playback_getrate()475 ds = rme32->wcreg & RME32_WCR_DS_BM; in snd_rme32_playback_setrate()478 rme32->wcreg &= ~RME32_WCR_DS_BM; in snd_rme32_playback_setrate()479 rme32->wcreg = (rme32->wcreg | RME32_WCR_FREQ_0) & in snd_rme32_playback_setrate()[all …]
214 u32 wcreg; /* cached write control register value */ member254 #define RME96_ISPLAYING(rme96) ((rme96)->wcreg & RME96_WCR_START)255 #define RME96_ISRECORDING(rme96) ((rme96)->wcreg & RME96_WCR_START_2)511 writel(rme96->wcreg | RME96_WCR_PD, in snd_rme96_reset_dac()513 writel(rme96->wcreg, rme96->iobase + RME96_IO_CONTROL_REGISTER); in snd_rme96_reset_dac()519 return ((rme96->wcreg >> RME96_WCR_BITPOS_MONITOR_0) & 1) + in snd_rme96_getmontracks()520 (((rme96->wcreg >> RME96_WCR_BITPOS_MONITOR_1) & 1) << 1); in snd_rme96_getmontracks()528 rme96->wcreg |= RME96_WCR_MONITOR_0; in snd_rme96_setmontracks()530 rme96->wcreg &= ~RME96_WCR_MONITOR_0; in snd_rme96_setmontracks()533 rme96->wcreg |= RME96_WCR_MONITOR_1; in snd_rme96_setmontracks()[all …]
711 reg = &dpit->wcreg; in bnxt_qplib_alloc_dpi()795 reg = &dpit->wcreg; in bnxt_qplib_alloc_dpi_tbl()801 dpit->wcreg.offset = dbr_offset; in bnxt_qplib_alloc_dpi_tbl()922 struct bnxt_qplib_reg_desc *wcreg; in bnxt_qplib_map_db_bar() local924 wcreg = &res->dpi_tbl.wcreg; in bnxt_qplib_map_db_bar()925 wcreg->bar_id = RCFW_DBR_PCI_BAR_REGION; in bnxt_qplib_map_db_bar()926 wcreg->bar_base = pci_resource_start(res->pdev, wcreg->bar_id); in bnxt_qplib_map_db_bar()
252 struct bnxt_qplib_reg_desc wcreg; member
114 res->dpi_tbl.wcreg.offset = en_dev->l2_db_size; in bnxt_re_set_db_offset()118 res->dpi_tbl.wcreg.offset = res->dpi_tbl.ucreg.offset; in bnxt_re_set_db_offset()128 res->dpi_tbl.wcreg.offset = en_dev->l2_db_size; in bnxt_re_set_db_offset()