Home
last modified time | relevance | path

Searched refs:devrec (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ieee802154/
Dmrf24j40.c542 struct mrf24j40 *devrec = context; in write_tx_buf_complete() local
543 __le16 fc = ieee802154_get_fc_from_skb(devrec->tx_skb); in write_tx_buf_complete()
553 devrec->tx_post_msg.complete = NULL; in write_tx_buf_complete()
554 devrec->tx_post_buf[0] = MRF24J40_WRITESHORT(REG_TXNCON); in write_tx_buf_complete()
555 devrec->tx_post_buf[1] = val; in write_tx_buf_complete()
557 ret = spi_async(devrec->spi, &devrec->tx_post_msg); in write_tx_buf_complete()
559 dev_err(printdev(devrec), "SPI write Failed for transmit buf\n"); in write_tx_buf_complete()
565 static int write_tx_buf(struct mrf24j40 *devrec, u16 reg, in write_tx_buf() argument
573 …dev_err(printdev(devrec), "write_tx_buf() was passed too large a buffer. Performing short write.\n… in write_tx_buf()
578 devrec->tx_hdr_buf[0] = cmd >> 8 & 0xff; in write_tx_buf()
[all …]