Changeset 01784d2 in mainline for uspace/drv/bus/usb/ar9271/wmi.h
- Timestamp:
- 2015-01-28T18:19:30Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 462054a
- Parents:
- ef521d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ar9271/wmi.h
ref521d4 r01784d2 106 106 } wmi_command_t; 107 107 108 /** 109 * Structure used when sending registry buffer 110 */ 108 111 typedef struct { 109 112 uint32_t offset; /**< Big Endian value! */ 110 113 uint32_t value; /**< Big Endian value! */ 111 } reg_buffer_t;114 } wmi_reg_t; 112 115 113 116 extern int wmi_reg_read(htc_device_t *htc_device, uint32_t reg_offset, … … 115 118 extern int wmi_reg_write(htc_device_t *htc_device, uint32_t reg_offset, 116 119 uint32_t val); 120 extern int wmi_reg_rmw(htc_device_t *htc_device, uint32_t reg_offset, 121 uint32_t set_bit, uint32_t clear_bit); 122 extern int wmi_reg_set_bit(htc_device_t *htc_device, uint32_t reg_offset, 123 uint32_t set_bit); 124 extern int wmi_reg_clear_bit(htc_device_t *htc_device, uint32_t reg_offset, 125 uint32_t clear_bit); 117 126 extern int wmi_reg_buffer_write(htc_device_t *htc_device, 118 reg_buffer_t *reg_buffer, size_t elements);127 wmi_reg_t *reg_buffer, size_t elements); 119 128 extern int wmi_send_command(htc_device_t *htc_device, 120 129 wmi_command_t command_id, 121 130 uint8_t *command_buffer, uint32_t command_length, 122 uint8_t *response_buffer, uint32_t response_length);131 void *response_buffer); 123 132 124 133 #endif /* ATHEROS_WMI_H */
Note:
See TracChangeset
for help on using the changeset viewer.