Changeset ae3a941 in mainline for uspace/lib/usbhost/include


Ignore:
Timestamp:
2018-02-26T16:51:40Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e773f58
Parents:
3692678
Message:

usb: cstyle

Location:
uspace/lib/usbhost/include/usb/host
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/bus.h

    r3692678 rae3a941  
    111111        int (*device_online)(device_t *);                       /**< Optional */
    112112        void (*device_offline)(device_t *);                     /**< Optional */
    113         endpoint_t *(*endpoint_create)(device_t *, const usb_endpoint_descriptors_t *);
     113        endpoint_t *(*endpoint_create)(device_t *,
     114            const usb_endpoint_descriptors_t *);
    114115
    115116        /* Operations on endpoint */
  • uspace/lib/usbhost/include/usb/host/endpoint.h

    r3692678 rae3a941  
    102102
    103103        /* Policies for transfer buffers */
    104         dma_policy_t transfer_buffer_policy;            /**< A hint for optimal performance. */
    105         dma_policy_t required_transfer_buffer_policy;   /**< Enforced by the library. */
     104        /** A hint for optimal performance. */
     105        dma_policy_t transfer_buffer_policy;
     106        /** Enforced by the library. */
     107        dma_policy_t required_transfer_buffer_policy;
    106108
    107109        /**
     
    114116} endpoint_t;
    115117
    116 extern void endpoint_init(endpoint_t *, device_t *, const usb_endpoint_descriptors_t *);
     118extern void endpoint_init(endpoint_t *, device_t *,
     119    const usb_endpoint_descriptors_t *);
    117120
    118121extern void endpoint_add_ref(endpoint_t *);
  • uspace/lib/usbhost/include/usb/host/hcd.h

    r3692678 rae3a941  
    7878
    7979        /** Generate IRQ code to handle interrupts. */
    80         int (*irq_code_gen)(irq_code_t *, hc_device_t *, const hw_res_list_parsed_t *, int *);
     80        int (*irq_code_gen)(irq_code_t *, hc_device_t *,
     81            const hw_res_list_parsed_t *, int *);
    8182
    8283        /** Claim device from BIOS. */
     
    100101
    101102/* Drivers should call this before leaving hc_add */
    102 static inline void hc_device_setup(hc_device_t *hcd, bus_t *bus) {
     103static inline void hc_device_setup(hc_device_t *hcd, bus_t *bus)
     104{
    103105        hcd->bus = bus;
    104106}
  • uspace/lib/usbhost/include/usb/host/usb2_bus.h

    r3692678 rae3a941  
    6161} usb2_bus_helper_t;
    6262
    63 extern void usb2_bus_helper_init(usb2_bus_helper_t *, const bandwidth_accounting_t *);
     63extern void usb2_bus_helper_init(usb2_bus_helper_t *,
     64    const bandwidth_accounting_t *);
    6465
    6566extern int usb2_bus_device_enumerate(usb2_bus_helper_t *, device_t *);
Note: See TracChangeset for help on using the changeset viewer.