Home
last modified time | relevance | path

Searched refs:chan_idx (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.4.0/components/hal/
Dusbh_hal.c196 int chan_idx = -1; in usbh_hal_chan_alloc() local
200 chan_idx = i; in usbh_hal_chan_alloc()
205 HAL_ASSERT(chan_idx != -1); in usbh_hal_chan_alloc()
208 chan_obj->flags.chan_idx = chan_idx; in usbh_hal_chan_alloc()
209 chan_obj->regs = usbh_ll_get_chan_regs(hal->dev, chan_idx); in usbh_hal_chan_alloc()
214 usbh_ll_haintmsk_en_chan_intr(hal->dev, 1 << chan_obj->flags.chan_idx); in usbh_hal_chan_alloc()
226 hal->periodic_frame_list[i] &= ~(1 << chan_obj->flags.chan_idx); in usbh_hal_chan_free()
232 usbh_ll_haintmsk_dis_chan_intr(hal->dev, 1 << chan_obj->flags.chan_idx); in usbh_hal_chan_free()
234 hal->channels.hdls[chan_obj->flags.chan_idx] = NULL; in usbh_hal_chan_free()
262 hal->periodic_frame_list[i] |= 1 << chan_obj->flags.chan_idx; in usbh_hal_chan_set_ep_char()
/hal_espressif-3.4.0/components/hal/include/hal/
Dusbh_ll.h831 static inline usb_host_chan_regs_t *usbh_ll_get_chan_regs(usbh_dev_t *dev, int chan_idx) in usbh_ll_get_chan_regs() argument
833 return &dev->host_chans[chan_idx]; in usbh_ll_get_chan_regs()
Dusbh_hal.h137 uint32_t chan_idx: 4; /**< The index number of the channel */ member