Lines Matching defs:data
85 const u16 data, const u16 count)
92 * Clear data flags.
105 eeprom->reg_data_in = !!(data & (1 << (i - 1)));
124 u16 *data, const u16 count)
132 * Clear data flags.
160 *data = buf;
167 * @data: target pointer where the information will have to be stored
169 * This function will read the eeprom data as host-endian word
170 * into the given data pointer.
173 u16 *data)
192 eeprom_93cx6_read_bits(eeprom, data, 16);
205 * @data: target pointer where the information will have to be stored
215 __le16 *data, const u16 words)
223 data[i] = cpu_to_le16(tmp);
232 * @data: target pointer where the information will have to be stored
234 * This function will read a byte of the eeprom data
235 * into the given data pointer.
238 u8 *data)
259 *data = tmp & 0xff;
272 * @data: target pointer where the information will have to be stored
279 u8 *data, const u16 bytes)
284 eeprom_93cx6_readb(eeprom, byte + i, &data[i]);
316 * eeprom_93cx6_write - write data to the EEPROM
318 * @addr: Address to write data to.
319 * @data: The data to write to address @addr.
321 * Write the @data to the specified @addr in the EEPROM and
328 void eeprom_93cx6_write(struct eeprom_93cx6 *eeprom, u8 addr, u16 data)
343 /* send data */
344 eeprom_93cx6_write_bits(eeprom, data, 16);