Lines Matching refs:atusb_write_subreg

77 static int atusb_write_subreg(struct atusb *atusb, u8 reg, u8 mask,  in atusb_write_subreg()  function
385 atusb_write_subreg(atusb, SR_AACK_I_AM_COORD, 1); in atusb_set_hw_addr_filt()
387 atusb_write_subreg(atusb, SR_AACK_I_AM_COORD, 0); in atusb_set_hw_addr_filt()
446 return atusb_write_subreg(atusb, SR_TX_PWR_23X, i); in atusb_set_txpower()
459 return atusb_write_subreg(hw->priv, SR_TX_PWR_212, i); in hulusb_set_txpower()
519 return atusb_write_subreg(atusb, SR_CCA_MODE, val); in atusb_set_cca_mode()
556 return atusb_write_subreg(atusb, SR_CCA_ED_THRES, i); in atusb_set_cca_ed_level()
581 ret = atusb_write_subreg(atusb, SR_CHANNEL, channel); in atusb_set_channel()
595 rc = atusb_write_subreg(lp, SR_SUB_MODE, 0); in hulusb_set_channel()
597 rc = atusb_write_subreg(lp, SR_SUB_MODE, 1); in hulusb_set_channel()
602 rc = atusb_write_subreg(lp, SR_BPSK_QPSK, 0); in hulusb_set_channel()
605 rc = atusb_write_subreg(lp, SR_BPSK_QPSK, 1); in hulusb_set_channel()
615 return atusb_write_subreg(lp, SR_CHANNEL, channel); in hulusb_set_channel()
624 ret = atusb_write_subreg(atusb, SR_MIN_BE, min_be); in atusb_set_csma_params()
628 ret = atusb_write_subreg(atusb, SR_MAX_BE, max_be); in atusb_set_csma_params()
632 return atusb_write_subreg(atusb, SR_MAX_CSMA_RETRIES, retries); in atusb_set_csma_params()
640 return atusb_write_subreg(atusb, SR_CSMA_LBT_MODE, on); in hulusb_set_lbt()
648 return atusb_write_subreg(atusb, SR_MAX_FRAME_RETRIES, retries); in atusb_set_frame_retries()
658 ret = atusb_write_subreg(atusb, SR_AACK_DIS_ACK, 1); in atusb_set_promiscuous_mode()
662 ret = atusb_write_subreg(atusb, SR_AACK_PROM_MODE, 1); in atusb_set_promiscuous_mode()
666 ret = atusb_write_subreg(atusb, SR_AACK_PROM_MODE, 0); in atusb_set_promiscuous_mode()
670 ret = atusb_write_subreg(atusb, SR_AACK_DIS_ACK, 0); in atusb_set_promiscuous_mode()
1017 atusb_write_subreg(atusb, SR_RX_SAFE_MODE, 1); in atusb_probe()