Lines Matching refs:cc2520_private
201 struct cc2520_private { struct
217 cc2520_cmd_strobe(struct cc2520_private *priv, u8 cmd) in cc2520_cmd_strobe() argument
245 cc2520_get_status(struct cc2520_private *priv, u8 *status) in cc2520_get_status()
274 cc2520_write_register(struct cc2520_private *priv, u8 reg, u8 value) in cc2520_write_register()
307 cc2520_write_ram(struct cc2520_private *priv, u16 reg, u8 len, u8 *data) in cc2520_write_ram()
341 cc2520_read_register(struct cc2520_private *priv, u8 reg, u8 *data) in cc2520_read_register()
376 cc2520_write_txfifo(struct cc2520_private *priv, u8 pkt_len, u8 *data, u8 len) in cc2520_write_txfifo()
423 cc2520_read_rxfifo(struct cc2520_private *priv, u8 *data, u8 len) in cc2520_read_rxfifo()
475 struct cc2520_private *priv = hw->priv; in cc2520_tx()
536 static int cc2520_rx(struct cc2520_private *priv) in cc2520_rx()
608 struct cc2520_private *priv = hw->priv; in cc2520_ed()
633 struct cc2520_private *priv = hw->priv; in cc2520_set_channel()
652 struct cc2520_private *priv = hw->priv; in cc2520_filter()
698 static inline int cc2520_set_tx_power(struct cc2520_private *priv, s32 mbm) in cc2520_set_tx_power()
737 static inline int cc2520_cc2591_set_tx_power(struct cc2520_private *priv, in cc2520_cc2591_set_tx_power()
781 struct cc2520_private *priv = hw->priv; in cc2520_set_txpower()
792 struct cc2520_private *priv = hw->priv; in cc2520_set_promiscuous_mode()
825 static int cc2520_register(struct cc2520_private *priv) in cc2520_register()
872 struct cc2520_private *priv in cc2520_fifop_irqwork()
873 = container_of(work, struct cc2520_private, fifop_irqwork); in cc2520_fifop_irqwork()
888 struct cc2520_private *priv = data; in cc2520_fifop_isr()
897 struct cc2520_private *priv = data; in cc2520_sfd_isr()
914 static int cc2520_hw_init(struct cc2520_private *priv) in cc2520_hw_init()
1034 struct cc2520_private *priv; in cc2520_probe()
1157 struct cc2520_private *priv = spi_get_drvdata(spi); in cc2520_remove()