Lines Matching defs:value
30 * @value: The value to write to device (up to 4 bytes)
31 * @size: The size of the @value (in bytes)
33 int __adis_write_reg(struct adis *adis, unsigned int reg, unsigned int value,
45 .delay.value = adis->data->write_delay,
47 .cs_change_delay.value = adis->data->cs_change_delay,
54 .delay.value = adis->data->write_delay,
56 .cs_change_delay.value = adis->data->cs_change_delay,
63 .delay.value = adis->data->write_delay,
65 .cs_change_delay.value = adis->data->cs_change_delay,
71 .delay.value = adis->data->write_delay,
77 .delay.value = adis->data->write_delay,
93 adis->tx[9] = (value >> 24) & 0xff;
95 adis->tx[7] = (value >> 16) & 0xff;
99 adis->tx[5] = (value >> 8) & 0xff;
103 adis->tx[3] = value & 0xff;
130 * @val: The value read back from the device
145 .delay.value = adis->data->write_delay,
147 .cs_change_delay.value = adis->data->cs_change_delay,
154 .delay.value = adis->data->read_delay,
156 .cs_change_delay.value = adis->data->cs_change_delay,
164 .delay.value = adis->data->read_delay,
166 .cs_change_delay.value = adis->data->cs_change_delay,
172 .delay.value = adis->data->read_delay,
468 * processes the value accordingly to the channel spec. If a error_mask is given
469 * the function will check if the mask is set in the returned raw value. If it
471 * a error bit in the channels raw value set error_mask to 0.