Ignore:
Timestamp:
2012-02-24T19:11:23Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a2bd8822
Parents:
76fbd9a
Message:

libus*: remove optical separators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhc.c

    r76fbd9a ra76b01b4  
    173173        return ret;
    174174}
    175 /*----------------------------------------------------------------------------*/
     175
    176176int usbhc_bind_address(async_exch_t *exch, usb_address_t address,
    177177    devman_handle_t handle)
     
    182182            IPC_M_USBHC_BIND_ADDRESS, address, handle);
    183183}
    184 /*----------------------------------------------------------------------------*/
     184
    185185int usbhc_get_handle(async_exch_t *exch, usb_address_t address,
    186186    devman_handle_t *handle)
     
    195195        return ret;
    196196}
    197 /*----------------------------------------------------------------------------*/
     197
    198198int usbhc_release_address(async_exch_t *exch, usb_address_t address)
    199199{
     
    203203            IPC_M_USBHC_RELEASE_ADDRESS, address);
    204204}
    205 /*----------------------------------------------------------------------------*/
     205
    206206int usbhc_register_endpoint(async_exch_t *exch, usb_address_t address,
    207207    usb_endpoint_t endpoint, usb_transfer_type_t type,
     
    220220#undef _PACK2
    221221}
    222 /*----------------------------------------------------------------------------*/
     222
    223223int usbhc_unregister_endpoint(async_exch_t *exch, usb_address_t address,
    224224    usb_endpoint_t endpoint, usb_direction_t direction)
     
    229229            IPC_M_USBHC_UNREGISTER_ENDPOINT, address, endpoint, direction);
    230230}
    231 /*----------------------------------------------------------------------------*/
     231
    232232int usbhc_read(async_exch_t *exch, usb_address_t address,
    233233    usb_endpoint_t endpoint, uint64_t setup, void *data, size_t size,
     
    285285        return EOK;
    286286}
    287 /*----------------------------------------------------------------------------*/
     287
    288288int usbhc_write(async_exch_t *exch, usb_address_t address,
    289289    usb_endpoint_t endpoint, uint64_t setup, const void *data, size_t size)
     
    321321        return (int) opening_request_rc;
    322322}
    323 /*----------------------------------------------------------------------------*/
     323
    324324
    325325static void remote_usbhc_request_address(ddf_fun_t *, void *, ipc_callid_t, ipc_call_t *);
     
    386386        return trans;
    387387}
    388 /*----------------------------------------------------------------------------*/
     388
    389389void remote_usbhc_request_address(ddf_fun_t *fun, void *iface,
    390390    ipc_callid_t callid, ipc_call_t *call)
     
    408408        }
    409409}
    410 /*----------------------------------------------------------------------------*/
     410
    411411void remote_usbhc_bind_address(ddf_fun_t *fun, void *iface,
    412412    ipc_callid_t callid, ipc_call_t *call)
     
    425425        async_answer_0(callid, ret);
    426426}
    427 /*----------------------------------------------------------------------------*/
     427
    428428void remote_usbhc_get_handle(ddf_fun_t *fun, void *iface,
    429429    ipc_callid_t callid, ipc_call_t *call)
     
    446446        }
    447447}
    448 /*----------------------------------------------------------------------------*/
     448
    449449void remote_usbhc_release_address(ddf_fun_t *fun, void *iface,
    450450    ipc_callid_t callid, ipc_call_t *call)
     
    462462        async_answer_0(callid, ret);
    463463}
    464 /*----------------------------------------------------------------------------*/
     464
    465465static void callback_out(ddf_fun_t *fun,
    466466    int outcome, void *arg)
     
    472472        async_transaction_destroy(trans);
    473473}
    474 /*----------------------------------------------------------------------------*/
     474
    475475static void callback_in(ddf_fun_t *fun,
    476476    int outcome, size_t actual_size, void *arg)
     
    496496        async_transaction_destroy(trans);
    497497}
    498 /*----------------------------------------------------------------------------*/
     498
    499499void remote_usbhc_register_endpoint(ddf_fun_t *fun, void *iface,
    500500    ipc_callid_t callid, ipc_call_t *call)
     
    596596        }
    597597}
    598 /*----------------------------------------------------------------------------*/
     598
    599599void remote_usbhc_write(
    600600    ddf_fun_t *fun, void *iface, ipc_callid_t callid, ipc_call_t *call)
Note: See TracChangeset for help on using the changeset viewer.