Lines Matching +full:conf +full:- +full:tx
1 /* ieee802154_rf2xx_iface.c - ATMEL RF2XX IEEE 802.15.4 Interface */
4 * Copyright (c) 2019-2020 Gerson Fernando Budke
6 * SPDX-License-Identifier: Apache-2.0
29 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_phy_rst() local
32 gpio_pin_set_dt(&conf->reset_gpio, 0); in rf2xx_iface_phy_rst()
33 gpio_pin_set_dt(&conf->slptr_gpio, 0); in rf2xx_iface_phy_rst()
38 gpio_pin_set_dt(&conf->reset_gpio, 1); in rf2xx_iface_phy_rst()
40 gpio_pin_set_dt(&conf->reset_gpio, 0); in rf2xx_iface_phy_rst()
44 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_phy_tx_start() local
46 /* Start TX transmission at rise edge */ in rf2xx_iface_phy_tx_start()
47 gpio_pin_set_dt(&conf->slptr_gpio, 1); in rf2xx_iface_phy_tx_start()
51 gpio_pin_set_dt(&conf->slptr_gpio, 0); in rf2xx_iface_phy_tx_start()
57 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_reg_read() local
67 const struct spi_buf_set tx = { in rf2xx_iface_reg_read() local
86 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_reg_read()
101 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_reg_write() local
116 const struct spi_buf_set tx = { in rf2xx_iface_reg_write() local
129 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_reg_write()
172 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_frame_read() local
179 const struct spi_buf_set tx = { in rf2xx_iface_frame_read() local
192 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_frame_read()
204 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_frame_write() local
230 const struct spi_buf_set tx = { in rf2xx_iface_frame_write() local
243 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_frame_write()
256 const struct rf2xx_config *conf = dev->config; in rf2xx_iface_sram_read() local
270 const struct spi_buf_set tx = { in rf2xx_iface_sram_read() local
289 if (spi_transceive_dt(&conf->spi, &tx, &rx) != 0) { in rf2xx_iface_sram_read()