Lines Matching refs:uint8_t
103 #define LOBYTE(x) ((uint8_t)((x) & 0x00FF))
104 #define HIBYTE(x) ((uint8_t)(((x) & 0xFF00) >> 8))
107 uint8_t bm_request;
108 uint8_t b_request;
117 uint8_t (*init)(struct usb_handle *pdev, uint8_t cfgidx);
118 uint8_t (*de_init)(struct usb_handle *pdev, uint8_t cfgidx);
120 uint8_t (*setup)(struct usb_handle *pdev, struct usb_setup_req *req);
121 uint8_t (*ep0_tx_sent)(struct usb_handle *pdev);
122 uint8_t (*ep0_rx_ready)(struct usb_handle *pdev);
124 uint8_t (*data_in)(struct usb_handle *pdev, uint8_t epnum);
125 uint8_t (*data_out)(struct usb_handle *pdev, uint8_t epnum);
126 uint8_t (*sof)(struct usb_handle *pdev);
127 uint8_t (*iso_in_incomplete)(struct usb_handle *pdev, uint8_t epnum);
128 uint8_t (*iso_out_incomplete)(struct usb_handle *pdev, uint8_t epnum);
159 uint8_t *(*get_device_desc)(uint16_t *length);
160 uint8_t *(*get_lang_id_desc)(uint16_t *length);
161 uint8_t *(*get_manufacturer_desc)(uint16_t *length);
162 uint8_t *(*get_product_desc)(uint16_t *length);
163 uint8_t *(*get_serial_desc)(uint16_t *length);
164 uint8_t *(*get_configuration_desc)(uint16_t *length);
165 uint8_t *(*get_interface_desc)(uint16_t *length);
166 uint8_t *(*get_usr_desc)(uint8_t index, uint16_t *length);
167 uint8_t *(*get_config_desc)(uint16_t *length);
168 uint8_t *(*get_device_qualifier_desc)(uint16_t *length);
170 uint8_t *(*get_other_speed_config_desc)(uint16_t *length);
192 uint8_t num;
194 uint8_t type;
196 uint8_t *xfer_buff;
213 enum usb_status (*write_packet)(void *handle, uint8_t *src,
214 uint8_t ch_ep_num, uint16_t len);
215 void *(*read_packet)(void *handle, uint8_t *dest, uint16_t len);
219 enum usb_status (*set_address)(void *handle, uint8_t address);
224 uint8_t **xfer_buff);
239 uint8_t id;
246 uint8_t dev_state;
247 uint8_t dev_old_state;
248 uint8_t dev_address;
260 enum usb_status usb_core_receive(struct usb_handle *pdev, uint8_t ep_addr,
261 uint8_t *p_buf, uint32_t len);
262 enum usb_status usb_core_transmit(struct usb_handle *pdev, uint8_t ep_addr,
263 uint8_t *p_buf, uint32_t len);
264 enum usb_status usb_core_receive_ep0(struct usb_handle *pdev, uint8_t *p_buf,
266 enum usb_status usb_core_transmit_ep0(struct usb_handle *pdev, uint8_t *p_buf,