Lines Matching defs:address

49  purpose. So they have no meaning name in form v+address. I
133 static SANE_Byte data_bitget (SANE_Byte * address, SANE_Int mask);
134 static void data_bitset (SANE_Byte * address, SANE_Int mask, SANE_Byte data);
135 static SANE_Int data_lsb_get (SANE_Byte * address, SANE_Int size);
136 static void data_lsb_set (SANE_Byte * address, SANE_Int data, SANE_Int size);
137 static void data_msb_set (SANE_Byte * address, SANE_Int data, SANE_Int size);
138 static void data_wide_bitset (SANE_Byte * address, SANE_Int mask,
140 static SANE_Int data_swap_endianess (SANE_Int address, SANE_Int size);
189 static SANE_Int RTS_EEPROM_ReadByte (USB_Handle usb_handle, SANE_Int address,
192 SANE_Int address, SANE_Int * data);
193 static SANE_Int RTS_EEPROM_ReadWord (USB_Handle usb_handle, SANE_Int address,
196 SANE_Int address, SANE_Byte * data,
198 static SANE_Int RTS_EEPROM_WriteByte (USB_Handle usb_handle, SANE_Int address,
201 SANE_Int address, SANE_Int data);
202 static SANE_Int RTS_EEPROM_WriteWord (USB_Handle usb_handle, SANE_Int address,
5255 data_lsb_get (SANE_Byte * address, SANE_Int size)
5258 if ((address != NULL) && (size > 0) && (size < 5))
5265 b = address[a];
5273 data_bitget (SANE_Byte * address, SANE_Int mask)
5293 return (*address & mask) >> desp;
5297 data_bitset (SANE_Byte * address, SANE_Int mask, SANE_Byte data)
5316 *address = (*address & (0xff - mask)) | (data & mask);
5320 data_wide_bitset (SANE_Byte * address, SANE_Int mask, SANE_Int data)
5331 if ((address != NULL) && (mask != 0))
5349 data_bitset (address, mymask, myvalue);
5356 data_bitset (address, mymask, _B0 (data));
5360 address++;
5368 data_lsb_set (SANE_Byte * address, SANE_Int data, SANE_Int size)
5370 if ((address != NULL) && (size > 0) && (size < 5))
5375 address[a] = _B0 (data);
5382 data_msb_set (SANE_Byte * address, SANE_Int data, SANE_Int size)
5384 if ((address != NULL) && (size > 0) && (size < 5))
5390 address[a] = _B0 (data);
5397 data_swap_endianess (SANE_Int address, SANE_Int size)
5407 rst = (rst << 8) | _B0 (address);
5408 address >>= 8;
6454 /* value is 4 bytes size starting from address 0x21 in msb format */
6463 /* value is 4 bytes size starting from address 0x21 in lsb format */
6500 /* value is 4 bytes size starting from address 0x21 in msb format */
6504 /* value is 4 bytes size starting from address 0x21 in lsb format */
14304 RTS_EEPROM_WriteByte (USB_Handle usb_handle, SANE_Int address, SANE_Byte data)
14308 DBG (DBG_FNC, "+ RTS_EEPROM_WriteByte(address=%04x, data=%i):\n", address,
14311 rst = IWrite_Byte (usb_handle, address, data, 0x200, 0x200);
14319 RTS_EEPROM_ReadWord (USB_Handle usb_handle, SANE_Int address, SANE_Int * data)
14323 DBG (DBG_FNC, "+ RTS_EEPROM_ReadWord(address=%04x, data):\n", address);
14325 rst = IRead_Word (usb_handle, address, data, 0x200);
14333 RTS_EEPROM_ReadByte (USB_Handle usb_handle, SANE_Int address,
14338 DBG (DBG_FNC, "+ RTS_EEPROM_ReadByte(address=%04x, data):\n", address);
14340 rst = IRead_Byte (usb_handle, address, data, 0x200);
14348 RTS_EEPROM_WriteWord (USB_Handle usb_handle, SANE_Int address, SANE_Int data)
14352 DBG (DBG_FNC, "+ RTS_EEPROM_WriteWord(address=%04x, data=%i):\n", address,
14355 rst = IWrite_Word (usb_handle, address, data, 0x0200);
14363 RTS_EEPROM_ReadInteger (USB_Handle usb_handle, SANE_Int address,
14368 DBG (DBG_FNC, "+ RTS_EEPROM_ReadInteger(address=%04x, data):\n", address);
14370 rst = IRead_Integer (usb_handle, address, data, 0x200);
14378 RTS_EEPROM_WriteInteger (USB_Handle usb_handle, SANE_Int address,
14383 DBG (DBG_FNC, "+ RTS_EEPROM_WriteInteger(address=%04x, data):\n", address);
14385 rst = IWrite_Integer (usb_handle, address, data, 0x200);
14393 RTS_EEPROM_WriteBuffer (USB_Handle usb_handle, SANE_Int address,
14398 DBG (DBG_FNC, "+ RTS_EEPROM_WriteBuffer(address=%04x, data, size=%i):\n",
14399 address, size);
14401 rst = IWrite_Buffer (usb_handle, address, data, size, 0x200);