Codebase list colord / b87cd43
fix more annotation for data arrays Elmar Hoffmann authored 3 years ago Richard Hughes committed 3 years ago
6 changed file(s) with 47 addition(s) and 47 deletion(s). Raw diff Collapse all Expand all
166166 /**
167167 * cd_buffer_debug:
168168 * @buffer_kind: the debug mode, e.g %CD_BUFFER_KIND_REQUEST
169 * @data: the data of size @length
169 * @data: (array length=length): the data of size @length
170170 * @length: the size of data
171171 *
172172 * Prints some debugging of the request to the console.
198198 /**
199199 * cd_dom_parse_xml_data:
200200 * @dom: a #CdDom instance.
201 * @data: XML data
201 * @data: (array length=data_len): XML data
202202 * @data_len: Length of @data, or -1 if NULL terminated
203203 * @error: A #GError or %NULL
204204 *
827827 /**
828828 * cd_it8_load_from_data:
829829 * @it8: a #CdIt8 instance.
830 * @data: text data
830 * @data: (array length=size): text data
831831 * @size: the size of text data
832832 * @error: a #GError, or %NULL
833833 *
13461346 /**
13471347 * cd_it8_save_to_data:
13481348 * @it8: a #CdIt8 instance.
1349 * @data: a pointer to returned data
1349 * @data: (array length=size): a pointer to returned data
13501350 * @size: size of @data
13511351 * @error: a #GError, or %NULL
13521352 *
447447
448448 /**
449449 * ch_device_mode_from_firmware:
450 * @data: firmware binary data
450 * @data: (array length=data_len): firmware binary data
451451 * @data_len: size of @data
452452 *
453453 * Gets the device mode from the unique code stored in the firmware data.
11491149
11501150 /**
11511151 * ch_device_queue_write_firmware:
1152 * @device_queue: A #ChDeviceQueue
1153 * @device: A #GUsbDevice
1154 * @data: Firmware binary data
1155 * @len: Size of @data
1152 * @device_queue: A #ChDeviceQueue
1153 * @device: A #GUsbDevice
1154 * @data: (array length=len): Firmware binary data
1155 * @len: Size of @data
11561156 *
11571157 * Writes new firmware to the device.
11581158 *
12051205
12061206 /**
12071207 * ch_device_queue_verify_firmware:
1208 * @device_queue: A #ChDeviceQueue
1209 * @device: A #GUsbDevice
1210 * @data: Firmware binary data
1211 * @len: Size of @data
1208 * @device_queue: A #ChDeviceQueue
1209 * @device: A #GUsbDevice
1210 * @data: (array length=len): Firmware binary data
1211 * @len: Size of @data
12121212 *
12131213 * Verifies firmware on the device.
12141214 *
12511251
12521252 /**
12531253 * ch_device_queue_read_firmware:
1254 * @device_queue: A #ChDeviceQueue
1255 * @device: A #GUsbDevice
1256 * @data: Firmware binary data
1257 * @len: Size of @data
1254 * @device_queue: A #ChDeviceQueue
1255 * @device: A #GUsbDevice
1256 * @data: (array length=len): Firmware binary data
1257 * @len: Size of @data
12581258 *
12591259 * Reads firmware on the device.
12601260 *
23872387
23882388 /**
23892389 * ch_device_queue_write_flash:
2390 * @device_queue: A #ChDeviceQueue
2391 * @device: A #GUsbDevice
2392 * @address: The device EEPROM address
2393 * @data: Binary data
2394 * @len: The length of @data
2390 * @device_queue: A #ChDeviceQueue
2391 * @device: A #GUsbDevice
2392 * @address: The device EEPROM address
2393 * @data: (array length=len): Binary data
2394 * @len: The length of @data
23952395 *
23962396 * Write flash code to the device.
23972397 *
24662466
24672467 /**
24682468 * ch_device_queue_read_flash:
2469 * @device_queue: A #ChDeviceQueue
2470 * @device: A #GUsbDevice
2471 * @address: The device EEPROM address
2472 * @data: Binary data
2473 * @len: The length of @data
2469 * @device_queue: A #ChDeviceQueue
2470 * @device: A #GUsbDevice
2471 * @address: The device EEPROM address
2472 * @data: (array length=len): Binary data
2473 * @len: The length of @data
24742474 *
24752475 * Read flash code from the device.
24762476 *
25682568
25692569 /**
25702570 * ch_device_queue_verify_flash:
2571 * @device_queue: A #ChDeviceQueue
2572 * @device: A #GUsbDevice
2573 * @address: The device EEPROM address
2574 * @data: Binary data
2575 * @len: The length of @data
2571 * @device_queue: A #ChDeviceQueue
2572 * @device: A #GUsbDevice
2573 * @address: The device EEPROM address
2574 * @data: (array length=len): Binary data
2575 * @len: The length of @data
25762576 *
25772577 * Verify flash code from the device.
25782578 *
26202620
26212621 /**
26222622 * ch_device_queue_erase_flash:
2623 * @device_queue: A #ChDeviceQueue
2624 * @device: A #GUsbDevice
2625 * @address: The device EEPROM address
2626 * @len: The length of @data
2623 * @device_queue: A #ChDeviceQueue
2624 * @device: A #GUsbDevice
2625 * @address: (array length=len): The device EEPROM address
2626 * @len: The length of @data
26272627 *
26282628 * Erase program code on the device.
26292629 *
30183018
30193019 /**
30203020 * ch_device_queue_write_sram:
3021 * @device_queue: A #ChDeviceQueue
3022 * @device: A #GUsbDevice
3023 * @address: The device memory address
3024 * @data: The binary data
3025 * @len: Size of @data
3021 * @device_queue: A #ChDeviceQueue
3022 * @device: A #GUsbDevice
3023 * @address: The device memory address
3024 * @data: (array length=len): The binary data
3025 * @len: Size of @data
30263026 *
30273027 * Writes binary data to the SRAM.
30283028 *
30863086
30873087 /**
30883088 * ch_device_queue_read_sram:
3089 * @device_queue: A #ChDeviceQueue
3090 * @device: A #GUsbDevice
3091 * @address: The device memory address
3092 * @data: The binary data
3093 * @len: Size of @data
3089 * @device_queue: A #ChDeviceQueue
3090 * @device: A #GUsbDevice
3091 * @address: The device memory address
3092 * @data: (array length=len): The binary data
3093 * @len: Size of @data
30943094 *
30953095 * Reads binary data from the SRAM.
30963096 *
763763
764764 /**
765765 * ch_device_check_firmware:
766 * @data: firmware binary data
766 * @data: (array length=data_len): firmware binary data
767767 * @data_len: size of @data
768768 *
769769 * Checks the firmware is suitable for the ColorHug device that is attached.