Lines Matching refs:data
97 u32 data;
100 regmap_read(spifc->regmap, REG_SLAVE, &data);
101 if (data & SLAVE_TRST_DONE)
110 * meson_spifc_drain_buffer() - copy data from device buffer to memory
118 u32 data;
122 regmap_read(spifc->regmap, REG_C0 + i, &data);
125 *((u32 *)buf) = data;
128 memcpy(buf, &data, len - i);
136 * meson_spifc_fill_buffer() - copy data from memory to device buffer
144 u32 data;
149 data = *(u32 *)buf;
151 memcpy(&data, buf, len - i);
153 regmap_write(spifc->regmap, REG_C0 + i, data);
185 * meson_spifc_txrx() - transfer a chunk of data
188 * @offset: offset of the data to transfer
189 * @len: length of the data to transfer
211 /* enable data input during DOUT */