Lines Matching refs:at86rf230_write_subreg

183 at86rf230_write_subreg(struct at86rf230_local *lp,  in at86rf230_write_subreg()  function
939 at86rf230_write_subreg(lp, SR_CSMA_SEED_0, csma_seed[0]); in at86rf230_stop()
940 at86rf230_write_subreg(lp, SR_CSMA_SEED_1, csma_seed[1]); in at86rf230_stop()
948 return at86rf230_write_subreg(lp, SR_CHANNEL, channel); in at86rf23x_set_channel()
1006 rc = at86rf230_write_subreg(lp, SR_SUB_MODE, 0); in at86rf212_set_channel()
1008 rc = at86rf230_write_subreg(lp, SR_SUB_MODE, 1); in at86rf212_set_channel()
1013 rc = at86rf230_write_subreg(lp, SR_BPSK_QPSK, 0); in at86rf212_set_channel()
1016 rc = at86rf230_write_subreg(lp, SR_BPSK_QPSK, 1); in at86rf212_set_channel()
1026 return at86rf230_write_subreg(lp, SR_CHANNEL, channel); in at86rf212_set_channel()
1079 at86rf230_write_subreg(lp, SR_AACK_I_AM_COORD, 1); in at86rf230_set_hw_addr_filt()
1081 at86rf230_write_subreg(lp, SR_AACK_I_AM_COORD, 0); in at86rf230_set_hw_addr_filt()
1112 return at86rf230_write_subreg(lp, SR_TX_PWR_23X, i); in at86rf23x_set_txpower()
1125 return at86rf230_write_subreg(lp, SR_TX_PWR_212, i); in at86rf212_set_txpower()
1144 return at86rf230_write_subreg(lp, SR_CSMA_LBT_MODE, on); in at86rf230_set_lbt()
1178 return at86rf230_write_subreg(lp, SR_CCA_MODE, val); in at86rf230_set_cca_mode()
1189 return at86rf230_write_subreg(lp, SR_CCA_ED_THRES, i); in at86rf230_set_cca_ed_level()
1202 rc = at86rf230_write_subreg(lp, SR_MIN_BE, min_be); in at86rf230_set_csma_params()
1206 rc = at86rf230_write_subreg(lp, SR_MAX_BE, max_be); in at86rf230_set_csma_params()
1210 return at86rf230_write_subreg(lp, SR_MAX_CSMA_RETRIES, retries); in at86rf230_set_csma_params()
1218 return at86rf230_write_subreg(lp, SR_MAX_FRAME_RETRIES, retries); in at86rf230_set_frame_retries()
1228 rc = at86rf230_write_subreg(lp, SR_AACK_DIS_ACK, 1); in at86rf230_set_promiscuous_mode()
1232 rc = at86rf230_write_subreg(lp, SR_AACK_PROM_MODE, 1); in at86rf230_set_promiscuous_mode()
1236 rc = at86rf230_write_subreg(lp, SR_AACK_PROM_MODE, 0); in at86rf230_set_promiscuous_mode()
1240 rc = at86rf230_write_subreg(lp, SR_AACK_DIS_ACK, 0); in at86rf230_set_promiscuous_mode()
1325 rc = at86rf230_write_subreg(lp, SR_IRQ_POLARITY, irq_pol); in at86rf230_hw_init()
1329 rc = at86rf230_write_subreg(lp, SR_RX_SAFE_MODE, 1); in at86rf230_hw_init()
1333 rc = at86rf230_write_subreg(lp, SR_IRQ_MASK, IRQ_TRX_END); in at86rf230_hw_init()
1338 rc = at86rf230_write_subreg(lp, SR_IRQ_MASK_MODE, 0); in at86rf230_hw_init()
1343 rc = at86rf230_write_subreg(lp, SR_CSMA_SEED_0, csma_seed[0]); in at86rf230_hw_init()
1346 rc = at86rf230_write_subreg(lp, SR_CSMA_SEED_1, csma_seed[1]); in at86rf230_hw_init()
1351 rc = at86rf230_write_subreg(lp, SR_CLKM_SHA_SEL, 0x00); in at86rf230_hw_init()
1356 rc = at86rf230_write_subreg(lp, SR_CLKM_CTRL, 0x00); in at86rf230_hw_init()
1398 rc = at86rf230_write_subreg(lp, SR_XTAL_TRIM, xtal_trim); in at86rf230_hw_init()
1414 return at86rf230_write_subreg(lp, SR_SLOTTED_OPERATION, 0); in at86rf230_hw_init()
1637 at86rf230_write_subreg(lp, SR_IRQ_MASK, 0); in at86rf230_remove()