Changeset 8565a42 in mainline for uspace/lib/drv/include


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

Location:
uspace/lib/drv/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/driver.h

    r3061bc1 r8565a42  
    5757         */
    5858        errno_t (*open)(ddf_fun_t *);
    59        
     59
    6060        /**
    6161         * Optional callback function called when a client is disconnecting from
     
    6363         */
    6464        void (*close)(ddf_fun_t *);
    65        
     65
    6666        /** The table of standard interfaces implemented by the device. */
    6767        void *interfaces[DEV_IFACE_COUNT];
    68        
     68
    6969        /**
    7070         * The default handler of remote client requests. If the client's remote
     
    8989        /** Callback method for passing a new device to the device driver */
    9090        errno_t (*dev_add)(ddf_dev_t *);
    91        
     91
    9292        /** Ask driver to remove a device */
    9393        errno_t (*dev_remove)(ddf_dev_t *);
    94        
     94
    9595        /** Inform driver a device disappeared */
    9696        errno_t (*dev_gone)(ddf_dev_t *);
    97        
     97
    9898        /** Ask driver to online a specific function */
    9999        errno_t (*fun_online)(ddf_fun_t *);
    100        
     100
    101101        /** Ask driver to offline a specific function */
    102102        errno_t (*fun_offline)(ddf_fun_t *);
  • uspace/lib/drv/include/ops/ieee80211.h

    r3061bc1 r8565a42  
    5252         */
    5353        errno_t (*get_scan_results)(ddf_fun_t *, ieee80211_scan_results_t *, bool);
    54        
     54
    5555        /** Connect IEEE 802.11 device to specified network.
    5656         *
     
    6363         */
    6464        errno_t (*connect)(ddf_fun_t *, char *, char *);
    65        
     65
    6666        /** Disconnect IEEE 802.11 device from network.
    6767         *
  • uspace/lib/drv/include/ops/nic.h

    r3061bc1 r8565a42  
    4949        errno_t (*set_state)(ddf_fun_t *, nic_device_state_t);
    5050        errno_t (*get_address)(ddf_fun_t *, nic_address_t *);
    51        
     51
    5252        /** Optional methods */
    5353        errno_t (*set_address)(ddf_fun_t *, const nic_address_t *);
     
    5555        errno_t (*get_device_info)(ddf_fun_t *, nic_device_info_t *);
    5656        errno_t (*get_cable_state)(ddf_fun_t *, nic_cable_state_t *);
    57        
     57
    5858        errno_t (*get_operation_mode)(ddf_fun_t *, int *, nic_channel_mode_t *,
    5959            nic_role_t *);
     
    6868            uint16_t *);
    6969        errno_t (*set_pause)(ddf_fun_t *, int, int, uint16_t);
    70        
     70
    7171        errno_t (*unicast_get_mode)(ddf_fun_t *, nic_unicast_mode_t *, size_t,
    7272            nic_address_t *, size_t *);
     
    8484            size_t *);
    8585        errno_t (*blocked_sources_set)(ddf_fun_t *, const nic_address_t *, size_t);
    86        
     86
    8787        errno_t (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *);
    8888        errno_t (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *);
    8989        errno_t (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool);
    90        
     90
    9191        errno_t (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *,
    9292            size_t, nic_wv_id_t *);
     
    9999        errno_t (*wol_load_info)(ddf_fun_t *, nic_wv_type_t *, size_t,
    100100            uint8_t *, size_t *);
    101        
     101
    102102        errno_t (*offload_probe)(ddf_fun_t *, uint32_t *, uint32_t *);
    103103        errno_t (*offload_set)(ddf_fun_t *, uint32_t, uint32_t);
    104        
     104
    105105        errno_t (*poll_get_mode)(ddf_fun_t *, nic_poll_mode_t *,
    106106            struct timeval *);
  • uspace/lib/drv/include/usbhid_iface.h

    r3061bc1 r8565a42  
    6565        errno_t (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size,
    6666            size_t *act_size, int *event_nr, unsigned int flags);
    67        
     67
    6868        /** Get size of the report descriptor in bytes.
    6969         *
     
    7272         */
    7373        size_t (*get_report_descriptor_length)(ddf_fun_t *fun);
    74        
     74
    7575        /** Get the report descriptor from the HID device.
    7676         *
Note: See TracChangeset for help on using the changeset viewer.