Searched refs:sbr (Results 1 – 1 of 1) sorted by relevance
/hardware/broadcom/wlan/bcm4329/src/shared/ |
D | sbutils.c | 56 #define R_SBREG(sii, sbr) sb_read_sbreg((sii), (sbr)) argument 57 #define W_SBREG(sii, sbr, v) sb_write_sbreg((sii), (sbr), (v)) argument 58 #define AND_SBREG(sii, sbr, v) W_SBREG((sii), (sbr), (R_SBREG((sii), (sbr)) & (v))) argument 59 #define OR_SBREG(sii, sbr, v) W_SBREG((sii), (sbr), (R_SBREG((sii), (sbr)) | (v))) argument 62 sb_read_sbreg(si_info_t *sii, volatile uint32 *sbr) in sb_read_sbreg() argument 78 sbr = (volatile uint32 *)((uintptr)sbr & ~(1 << 11)); /* mask out bit 11 */ in sb_read_sbreg() 81 val = R_REG(sii->osh, sbr); in sb_read_sbreg() 93 sb_write_sbreg(si_info_t *sii, volatile uint32 *sbr, uint32 v) in sb_write_sbreg() argument 110 sbr = (volatile uint32 *)((uintptr)sbr & ~(1 << 11)); /* mask out bit 11 */ in sb_write_sbreg() 115 dummy = R_REG(sii->osh, sbr); in sb_write_sbreg() [all …]
|