Lines Matching refs:ofs
97 u32 __iwl_read_prph(struct iwl_trans *trans, u32 ofs) in __iwl_read_prph() argument
99 u32 val = iwl_trans_read_prph(trans, ofs); in __iwl_read_prph()
100 trace_iwlwifi_dev_ioread_prph32(trans->dev, ofs, val); in __iwl_read_prph()
104 void __iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in __iwl_write_prph() argument
106 trace_iwlwifi_dev_iowrite_prph32(trans->dev, ofs, val); in __iwl_write_prph()
107 iwl_trans_write_prph(trans, ofs, val); in __iwl_write_prph()
110 u32 iwl_read_prph(struct iwl_trans *trans, u32 ofs) in iwl_read_prph() argument
116 val = __iwl_read_prph(trans, ofs); in iwl_read_prph()
123 void iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) in iwl_write_prph() argument
128 __iwl_write_prph(trans, ofs, val); in iwl_write_prph()
149 void iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) in iwl_set_bits_prph() argument
154 __iwl_write_prph(trans, ofs, in iwl_set_bits_prph()
155 __iwl_read_prph(trans, ofs) | mask); in iwl_set_bits_prph()
161 void iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, in iwl_set_bits_mask_prph() argument
167 __iwl_write_prph(trans, ofs, in iwl_set_bits_mask_prph()
168 (__iwl_read_prph(trans, ofs) & mask) | bits); in iwl_set_bits_mask_prph()
174 void iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) in iwl_clear_bits_prph() argument
180 val = __iwl_read_prph(trans, ofs); in iwl_clear_bits_prph()
181 __iwl_write_prph(trans, ofs, (val & ~mask)); in iwl_clear_bits_prph()