Lines Matching refs:dmacs
173 static SANE_Int RTS_DMA_Enable_Read (struct st_device *dev, SANE_Int dmacs,
175 static SANE_Int RTS_DMA_Enable_Write (struct st_device *dev, SANE_Int dmacs,
177 static SANE_Int RTS_DMA_Read (struct st_device *dev, SANE_Int dmacs,
184 static SANE_Int RTS_DMA_Write (struct st_device *dev, SANE_Int dmacs,
4234 RTS_DMA_Read (struct st_device *dev, SANE_Int dmacs, SANE_Int options,
4240 "+ RTS_DMA_Read(dmacs=%04x, options=%04x, size=%i., *buffer):\n",
4241 dmacs, options, size);
4250 if (RTS_DMA_Enable_Read (dev, dmacs, size, options) == OK)
4266 RTS_DMA_Write (struct st_device *dev, SANE_Int dmacs, SANE_Int options,
4272 "+ RTS_DMA_Write(dmacs=%04x, options=%04x, size=%i., *buffer):\n",
4273 dmacs, options, size);
4282 if (RTS_DMA_Enable_Write (dev, dmacs, size, options) == OK)
4299 if (RTS_DMA_Enable_Read (dev, dmacs, size, options) ==
4325 (dev, dmacs, size, options) != OK)
14230 RTS_DMA_Enable_Read (struct st_device *dev, SANE_Int dmacs, SANE_Int size,
14237 "+ RTS_DMA_Enable_Read(dmacs=0x%04x, size=%i, options=0x%06x)\n",
14238 dmacs, size, options);
14245 rst = IWrite_Buffer (dev->usb_handle, dmacs, buffer, 6, 0x0400);
14253 RTS_DMA_Enable_Write (struct st_device *dev, SANE_Int dmacs, SANE_Int size,
14260 "+ RTS_DMA_Enable_Write(dmacs=0x%04x, size=%i, options=0x%06x)\n",
14261 dmacs, size, options);
14268 rst = IWrite_Buffer (dev->usb_handle, dmacs, buffer, 6, 0x0401);