Changeset 7dfc06fa in mainline for uspace/drv/ehci-hcd/hc_iface.c
- Timestamp:
- 2011-04-08T18:08:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- c6cb76d
- Parents:
- c1b1944
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/hc_iface.c
rc1b1944 r7dfc06fa 165 165 * @param[in] fun Device function the action was invoked on. 166 166 * @param[in] target Target pipe (address and endpoint number) specification. 167 * @param[in] max_packet_size Max packet size for the transfer.168 167 * @param[in] data Data to be sent (in USB endianess, allocated and deallocated 169 168 * by the caller). … … 174 173 */ 175 174 static int interrupt_out(ddf_fun_t *fun, usb_target_t target, 176 size_t max_packet_size,void *data, size_t size,175 void *data, size_t size, 177 176 usbhc_iface_transfer_out_callback_t callback, void *arg) 178 177 { … … 191 190 * @param[in] fun Device function the action was invoked on. 192 191 * @param[in] target Target pipe (address and endpoint number) specification. 193 * @param[in] max_packet_size Max packet size for the transfer.194 192 * @param[in] data Buffer where to store the data (in USB endianess, 195 193 * allocated and deallocated by the caller). … … 200 198 */ 201 199 static int interrupt_in(ddf_fun_t *fun, usb_target_t target, 202 size_t max_packet_size,void *data, size_t size,200 void *data, size_t size, 203 201 usbhc_iface_transfer_in_callback_t callback, void *arg) 204 202 { … … 217 215 * @param[in] fun Device function the action was invoked on. 218 216 * @param[in] target Target pipe (address and endpoint number) specification. 219 * @param[in] max_packet_size Max packet size for the transfer.220 217 * @param[in] data Data to be sent (in USB endianess, allocated and deallocated 221 218 * by the caller). … … 226 223 */ 227 224 static int bulk_out(ddf_fun_t *fun, usb_target_t target, 228 size_t max_packet_size,void *data, size_t size,225 void *data, size_t size, 229 226 usbhc_iface_transfer_out_callback_t callback, void *arg) 230 227 { … … 243 240 * @param[in] fun Device function the action was invoked on. 244 241 * @param[in] target Target pipe (address and endpoint number) specification. 245 * @param[in] max_packet_size Max packet size for the transfer.246 242 * @param[in] data Buffer where to store the data (in USB endianess, 247 243 * allocated and deallocated by the caller). … … 252 248 */ 253 249 static int bulk_in(ddf_fun_t *fun, usb_target_t target, 254 size_t max_packet_size,void *data, size_t size,250 void *data, size_t size, 255 251 usbhc_iface_transfer_in_callback_t callback, void *arg) 256 252 { … … 269 265 * @param[in] fun Device function the action was invoked on. 270 266 * @param[in] target Target pipe (address and endpoint number) specification. 271 * @param[in] max_packet_size Max packet size for the transfer.272 267 * @param[in] setup_packet Setup packet buffer (in USB endianess, allocated 273 268 * and deallocated by the caller). … … 281 276 */ 282 277 static int control_write(ddf_fun_t *fun, usb_target_t target, 283 size_t max_packet_size,284 278 void *setup_packet, size_t setup_packet_size, 285 279 void *data_buffer, size_t data_buffer_size, … … 300 294 * @param[in] fun Device function the action was invoked on. 301 295 * @param[in] target Target pipe (address and endpoint number) specification. 302 * @param[in] max_packet_size Max packet size for the transfer.303 296 * @param[in] setup_packet Setup packet buffer (in USB endianess, allocated 304 297 * and deallocated by the caller). … … 312 305 */ 313 306 static int control_read(ddf_fun_t *fun, usb_target_t target, 314 size_t max_packet_size,315 307 void *setup_packet, size_t setup_packet_size, 316 308 void *data_buffer, size_t data_buffer_size,
Note:
See TracChangeset
for help on using the changeset viewer.