Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c73 #define READ_INDEX(i) ((i + RADIO_REGISTER_NUM - 0x0a) % READ_REG_NUM) macro
99 radio->registers[regnr] = __be16_to_cpu(buf[READ_INDEX(regnr)]); in si470x_get_register()
155 radio->registers[i] = __be16_to_cpu(buf[READ_INDEX(i)]); in si470x_get_all_registers()