Searched refs:chan (Results 1 – 6 of 6) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | iio_driver.c | 29 printword(uint16_t input, mraa_iio_channel* chan) in printword() argument 33 if (!chan->lendian) { in printword() 39 input >>= chan->shift; in printword() 40 input &= chan->mask; in printword() 41 if (chan->signedd) { in printword() 42 res = (int16_t)(input << (16 - chan->bits_used)) >> (16 - chan->bits_used); in printword()
|
/hardware/bsp/intel/peripheral/libmraa/src/iio/ |
D | iio.c | 105 mraa_iio_channel* chan; in mraa_iio_get_channel_data() local 118 chan = &dev->channels[chan_num]; in mraa_iio_get_channel_data() 119 chan->index = chan_num; in mraa_iio_get_channel_data() 129 ret = sscanf(readbuf, "%ce:%c%u/%u>>%u", &shortbuf, &signchar, &chan->bits_used, in mraa_iio_get_channel_data() 130 &padint, &chan->shift); in mraa_iio_get_channel_data() 131 chan->bytes = padint / 8; in mraa_iio_get_channel_data() 132 if (curr_bytes % chan->bytes == 0) { in mraa_iio_get_channel_data() 133 chan->location = curr_bytes; in mraa_iio_get_channel_data() 135 chan->location = curr_bytes - curr_bytes % chan->bytes + chan->bytes; in mraa_iio_get_channel_data() 137 curr_bytes = chan->location + chan->bytes; in mraa_iio_get_channel_data() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmwifi_channels.h | 308 #define LCHSPEC_CREATE(chan, band, bw, sb) ((uint16)((chan) | (sb) | (bw) | (band))) argument
|
D | wlioctl.h | 2127 uint8 chan; /* channel */ member 5482 uint8 chan; member 5491 uint8 chan; member
|
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/ |
D | nrf24l01.cxx | 502 NRF24L01::blePacketEncode(uint8_t* packet, uint8_t len, uint8_t chan) { in blePacketEncode() argument 515 bleWhiten(packet, len, (swapbits(chan) | 2)); in blePacketEncode()
|
D | nrf24l01.h | 412 void blePacketEncode(uint8_t* packet, uint8_t len, uint8_t chan);
|