Lines Matching refs:value
34 * @value: The value to write to device (up to 4 bytes)
35 * @size: The size of the @value (in bytes)
37 int __adis_write_reg(struct adis *adis, unsigned int reg, unsigned int value,
49 .delay.value = adis->data->write_delay,
51 .cs_change_delay.value = adis->data->cs_change_delay,
58 .delay.value = adis->data->write_delay,
60 .cs_change_delay.value = adis->data->cs_change_delay,
67 .delay.value = adis->data->write_delay,
69 .cs_change_delay.value = adis->data->cs_change_delay,
75 .delay.value = adis->data->write_delay,
81 .delay.value = adis->data->write_delay,
97 adis->tx[9] = (value >> 24) & 0xff;
99 adis->tx[7] = (value >> 16) & 0xff;
103 adis->tx[5] = (value >> 8) & 0xff;
107 adis->tx[3] = value & 0xff;
134 * @val: The value read back from the device
149 .delay.value = adis->data->write_delay,
151 .cs_change_delay.value = adis->data->cs_change_delay,
158 .delay.value = adis->data->read_delay,
160 .cs_change_delay.value = adis->data->cs_change_delay,
168 .delay.value = adis->data->read_delay,
170 .cs_change_delay.value = adis->data->cs_change_delay,
176 .delay.value = adis->data->read_delay,
472 * processes the value accordingly to the channel spec. If a error_mask is given
473 * the function will check if the mask is set in the returned raw value. If it
475 * a error bit in the channels raw value set error_mask to 0.