Lines Matching refs:dma_size
401 u8 dma_size = 0; in ismt_access() local
447 dma_size = 1; in ismt_access()
461 dma_size = 2; in ismt_access()
471 dma_size = 1; in ismt_access()
481 dma_size = 3; in ismt_access()
492 dma_size = 2; in ismt_access()
501 dma_size = 3; in ismt_access()
515 dma_size = data->block[0] + 1; in ismt_access()
517 desc->wr_len_cmd = dma_size; in ismt_access()
520 memcpy(&dma_buffer[1], &data->block[1], dma_size - 1); in ismt_access()
524 dma_size = I2C_SMBUS_BLOCK_MAX; in ismt_access()
526 desc->rd_len = dma_size; in ismt_access()
537 dma_size = I2C_SMBUS_BLOCK_MAX; in ismt_access()
540 desc->rd_len = dma_size; in ismt_access()
558 dma_size = data->block[0] + 1; in ismt_access()
560 desc->wr_len_cmd = dma_size; in ismt_access()
563 memcpy(&dma_buffer[1], &data->block[1], dma_size - 1); in ismt_access()
567 dma_size = data->block[0]; in ismt_access()
569 desc->rd_len = dma_size; in ismt_access()
589 if (dma_size != 0) { in ismt_access()
593 dev_dbg(dev, " dma_size=%d\n", dma_size); in ismt_access()
598 dma_size, in ismt_access()
622 if (dma_size != 0) in ismt_access()
623 dma_unmap_single(dev, dma_addr, dma_size, dma_direction); in ismt_access()