Searched refs:dreg (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_mcr20a.c | 155 uint8_t z_mcr20a_read_reg(const struct device *dev, bool dreg, uint8_t addr) in z_mcr20a_read_reg() argument 159 dreg ? (MCR20A_REG_READ | addr) : in z_mcr20a_read_reg() 161 dreg ? 0 : (addr | MCR20A_REG_READ), in z_mcr20a_read_reg() 164 uint8_t len = dreg ? 2 : 3; in z_mcr20a_read_reg() 188 bool z_mcr20a_write_reg(const struct device *dev, bool dreg, uint8_t addr, in z_mcr20a_write_reg() argument 193 dreg ? (MCR20A_REG_WRITE | addr) : in z_mcr20a_write_reg() 195 dreg ? value : (addr | MCR20A_REG_WRITE), in z_mcr20a_write_reg() 196 dreg ? 0 : value in z_mcr20a_write_reg() 200 .len = dreg ? 2 : 3 in z_mcr20a_write_reg() 211 bool z_mcr20a_write_burst(const struct device *dev, bool dreg, uint16_t addr, in z_mcr20a_write_burst() argument [all …]
|
D | ieee802154_mcr20a.h | 46 uint8_t z_mcr20a_read_reg(const struct device *dev, bool dreg, uint8_t addr); 47 bool z_mcr20a_write_reg(const struct device *dev, bool dreg, uint8_t addr, 49 bool z_mcr20a_write_burst(const struct device *dev, bool dreg, uint16_t addr, 51 bool z_mcr20a_read_burst(const struct device *dev, bool dreg, uint16_t addr,
|