Changeset 2b3dd78 in mainline for uspace/lib/drv
- Timestamp:
- 2018-01-31T12:02:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5595841
- Parents:
- a0a9cc2 (diff), 14d789c (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. - Location:
- uspace/lib/drv
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/logbuf.c
ra0a9cc2 r2b3dd78 35 35 #include <ddf/log.h> 36 36 #include <assert.h> 37 #include <str.h> 37 38 38 39 /** Formatting string for printing number of not-printed items. */ -
uspace/lib/drv/generic/private/driver.h
ra0a9cc2 r2b3dd78 57 57 58 58 /** Device name */ 59 c onst char *name;59 char *name; 60 60 61 61 /** Driver-specific data associated with this device */ … … 84 84 85 85 /** Function name */ 86 c onst char *name;86 char *name; 87 87 88 88 /** List of device ids for driver matching */ -
uspace/lib/drv/generic/remote_ahci.c
ra0a9cc2 r2b3dd78 39 39 #include <stdio.h> 40 40 #include <macros.h> 41 #include <str.h> 41 42 #include "ahci_iface.h" 42 43 #include "ddf/driver.h" -
uspace/lib/drv/generic/remote_audio_mixer.c
ra0a9cc2 r2b3dd78 94 94 * @return Error code. 95 95 */ 96 errno_t audio_mixer_get_info(async_exch_t *exch, c onst char **name, unsigned *items)96 errno_t audio_mixer_get_info(async_exch_t *exch, char **name, unsigned *items) 97 97 { 98 98 if (!exch) … … 131 131 */ 132 132 errno_t audio_mixer_get_item_info(async_exch_t *exch, unsigned item, 133 c onst char **name, unsigned *levels)133 char **name, unsigned *levels) 134 134 { 135 135 if (!exch) -
uspace/lib/drv/generic/remote_audio_pcm.c
ra0a9cc2 r2b3dd78 184 184 * @note Caller is responsible for freeing newly allocated memory. 185 185 */ 186 errno_t audio_pcm_get_info_str(audio_pcm_sess_t *sess, c onst char **name)186 errno_t audio_pcm_get_info_str(audio_pcm_sess_t *sess, char **name) 187 187 { 188 188 if (!name) -
uspace/lib/drv/include/ahci_iface.h
ra0a9cc2 r2b3dd78 41 41 #include <async.h> 42 42 43 extern async_sess_t *ahci_get_sess(devman_handle_t, char **);43 extern async_sess_t *ahci_get_sess(devman_handle_t, char **); 44 44 45 45 extern errno_t ahci_get_sata_device_name(async_sess_t *, size_t, char *); -
uspace/lib/drv/include/audio_mixer_iface.h
ra0a9cc2 r2b3dd78 43 43 #include "ddf/driver.h" 44 44 45 errno_t audio_mixer_get_info(async_exch_t *, c onst char **, unsigned *);45 errno_t audio_mixer_get_info(async_exch_t *, char **, unsigned *); 46 46 errno_t audio_mixer_get_item_info(async_exch_t *, unsigned, 47 c onst char **, unsigned *);47 char **, unsigned *); 48 48 errno_t audio_mixer_get_item_level(async_exch_t *, unsigned, unsigned *); 49 49 errno_t audio_mixer_set_item_level(async_exch_t *, unsigned, unsigned); -
uspace/lib/drv/include/audio_pcm_iface.h
ra0a9cc2 r2b3dd78 80 80 void audio_pcm_close(audio_pcm_sess_t *); 81 81 82 errno_t audio_pcm_get_info_str(audio_pcm_sess_t *, c onst char **);82 errno_t audio_pcm_get_info_str(audio_pcm_sess_t *, char **); 83 83 errno_t audio_pcm_test_format(audio_pcm_sess_t *, unsigned *, unsigned *, 84 84 pcm_sample_format_t *); … … 120 120 errno_t (*release_buffer)(ddf_fun_t *); 121 121 errno_t (*set_event_session)(ddf_fun_t *, async_sess_t *); 122 async_sess_t * 122 async_sess_t *(*get_event_session)(ddf_fun_t *); 123 123 errno_t (*start_playback)(ddf_fun_t *, unsigned, 124 124 unsigned, unsigned, pcm_sample_format_t); -
uspace/lib/drv/include/ddf/log.h
ra0a9cc2 r2b3dd78 39 39 extern errno_t ddf_log_init(const char *); 40 40 extern void ddf_msg(log_level_t, const char *, ...) 41 PRINTF_ATTRIBUTE(2, 3);41 _HELENOS_PRINTF_ATTRIBUTE(2, 3); 42 42 43 43 extern void ddf_dump_buffer(char *, size_t, const void *, size_t, size_t, -
uspace/lib/drv/include/ops/nic.h
ra0a9cc2 r2b3dd78 66 66 errno_t (*autoneg_restart)(ddf_fun_t *); 67 67 errno_t (*get_pause)(ddf_fun_t *, nic_result_t *, nic_result_t *, 68 68 uint16_t *); 69 69 errno_t (*set_pause)(ddf_fun_t *, int, int, uint16_t); 70 70 -
uspace/lib/drv/include/ops/pio_window.h
ra0a9cc2 r2b3dd78 40 40 41 41 typedef struct { 42 pio_window_t *(* 42 pio_window_t *(*get_pio_window)(ddf_fun_t *); 43 43 } pio_window_ops_t; 44 44 -
uspace/lib/drv/include/usbhid_iface.h
ra0a9cc2 r2b3dd78 81 81 * @return Error code. 82 82 */ 83 errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 83 errno_t (*get_report_descriptor)(ddf_fun_t *fun, uint8_t *desc, 84 84 size_t size, size_t *act_size); 85 85 } usbhid_iface_t;
Note:
See TracChangeset
for help on using the changeset viewer.