Lines Matching defs:data
152 uintptr_t addr = (uintptr_t)op->data.buf.in;
159 if (!IS_ALIGNED(addr, 4) && op->data.nbytes >= 4)
160 op->data.nbytes = 4 - (addr % 4);
161 else if (op->data.nbytes > max_byte_count)
162 op->data.nbytes = max_byte_count;
179 if (op->data.buswidth > 4 || op->dummy.buswidth > 4 ||
195 * For efficient data read/write, we try to put any start 32b unaligned data
277 int len = op->data.nbytes, buswidth_mode;
283 if (op->data.buswidth == 0 || op->data.buswidth == 1) {
288 data_idx = (op->data.buswidth - 1) / 2;
297 if (op->data.dir != SPI_MEM_NO_DATA) {
302 if (op->data.dir == SPI_MEM_DATA_IN)
329 if (op->data.dir == SPI_MEM_DATA_OUT)
330 hisi_sfc_v3xx_write_databuf(host, op->data.buf.out, op->data.nbytes);
353 if (op->data.dir == SPI_MEM_DATA_IN)
354 hisi_sfc_v3xx_read_databuf(host, op->data.buf.in, op->data.nbytes);
377 static irqreturn_t hisi_sfc_v3xx_isr(int irq, void *data)
379 struct hisi_sfc_v3xx_host *host = data;