Lines Matching defs:data
29 * * enable/disable x/y/z axis data ready
52 u8 data[2] = {0xc0 | reg};
59 t.tx_buf = &data[0];
60 t.rx_buf = &data[0];
69 return data[1];
76 u8 data[2] = {reg, val};
82 t.tx_buf = &data[0];
83 t.rx_buf = &data[0];
199 /* make sure we're powered up and generate data ready */
249 u8 data[(LIS302DL_REG_OUT_Z - LIS302DL_REG_STATUS) + 2] = {0xC0 | LIS302DL_REG_STATUS};
250 u8 *read = data + 1;
258 t.len = sizeof(data);
260 t.tx_buf = &data[0];
261 t.rx_buf = &data[0];
263 /* grab the set of register containing status and XYZ data */
619 * disable the data ready events */