Changes in uspace/drv/ehci-hcd/hc_iface.c [1998bcd:a763eb4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/hc_iface.c
r1998bcd ra763eb4 123 123 * @param[in] fun Device function the action was invoked on. 124 124 * @param[in] address USB address of the device. 125 * @param[in] speed Endpoint speed (invalid means to use device one).126 125 * @param[in] endpoint Endpoint number. 127 126 * @param[in] transfer_type USB transfer type. … … 132 131 */ 133 132 static int register_endpoint(ddf_fun_t *fun, 134 usb_address_t address, usb_ speed_t speed, usb_endpoint_t endpoint,133 usb_address_t address, usb_endpoint_t endpoint, 135 134 usb_transfer_type_t transfer_type, usb_direction_t direction, 136 135 size_t max_packet_size, unsigned int interval) … … 166 165 * @param[in] fun Device function the action was invoked on. 167 166 * @param[in] target Target pipe (address and endpoint number) specification. 167 * @param[in] max_packet_size Max packet size for the transfer. 168 168 * @param[in] data Data to be sent (in USB endianess, allocated and deallocated 169 169 * by the caller). … … 174 174 */ 175 175 static int interrupt_out(ddf_fun_t *fun, usb_target_t target, 176 void *data, size_t size,176 size_t max_packet_size, void *data, size_t size, 177 177 usbhc_iface_transfer_out_callback_t callback, void *arg) 178 178 { … … 191 191 * @param[in] fun Device function the action was invoked on. 192 192 * @param[in] target Target pipe (address and endpoint number) specification. 193 * @param[in] max_packet_size Max packet size for the transfer. 193 194 * @param[in] data Buffer where to store the data (in USB endianess, 194 195 * allocated and deallocated by the caller). … … 199 200 */ 200 201 static int interrupt_in(ddf_fun_t *fun, usb_target_t target, 201 void *data, size_t size,202 size_t max_packet_size, void *data, size_t size, 202 203 usbhc_iface_transfer_in_callback_t callback, void *arg) 203 204 { … … 216 217 * @param[in] fun Device function the action was invoked on. 217 218 * @param[in] target Target pipe (address and endpoint number) specification. 219 * @param[in] max_packet_size Max packet size for the transfer. 218 220 * @param[in] data Data to be sent (in USB endianess, allocated and deallocated 219 221 * by the caller). … … 224 226 */ 225 227 static int bulk_out(ddf_fun_t *fun, usb_target_t target, 226 void *data, size_t size,228 size_t max_packet_size, void *data, size_t size, 227 229 usbhc_iface_transfer_out_callback_t callback, void *arg) 228 230 { … … 241 243 * @param[in] fun Device function the action was invoked on. 242 244 * @param[in] target Target pipe (address and endpoint number) specification. 245 * @param[in] max_packet_size Max packet size for the transfer. 243 246 * @param[in] data Buffer where to store the data (in USB endianess, 244 247 * allocated and deallocated by the caller). … … 249 252 */ 250 253 static int bulk_in(ddf_fun_t *fun, usb_target_t target, 251 void *data, size_t size,254 size_t max_packet_size, void *data, size_t size, 252 255 usbhc_iface_transfer_in_callback_t callback, void *arg) 253 256 { … … 266 269 * @param[in] fun Device function the action was invoked on. 267 270 * @param[in] target Target pipe (address and endpoint number) specification. 271 * @param[in] max_packet_size Max packet size for the transfer. 268 272 * @param[in] setup_packet Setup packet buffer (in USB endianess, allocated 269 273 * and deallocated by the caller). … … 277 281 */ 278 282 static int control_write(ddf_fun_t *fun, usb_target_t target, 283 size_t max_packet_size, 279 284 void *setup_packet, size_t setup_packet_size, 280 285 void *data_buffer, size_t data_buffer_size, … … 295 300 * @param[in] fun Device function the action was invoked on. 296 301 * @param[in] target Target pipe (address and endpoint number) specification. 302 * @param[in] max_packet_size Max packet size for the transfer. 297 303 * @param[in] setup_packet Setup packet buffer (in USB endianess, allocated 298 304 * and deallocated by the caller). … … 306 312 */ 307 313 static int control_read(ddf_fun_t *fun, usb_target_t target, 314 size_t max_packet_size, 308 315 void *setup_packet, size_t setup_packet_size, 309 316 void *data_buffer, size_t data_buffer_size,
Note:
See TracChangeset
for help on using the changeset viewer.