Home
last modified time | relevance | path

Searched refs:ext_ctrl (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c326 struct epn_ext_ctrl_regs *ext_ctrl = in it82xx2_get_ext_ctrl() local
331 return &ext_ctrl[idx].epn_ext_ctrl1; in it82xx2_get_ext_ctrl()
342 struct epn_ext_ctrl_regs *ext_ctrl = in it82xx2_usb_extend_ep_ctrl() local
438 (enable) ? (ext_ctrl[idx].epn_ext_ctrl2 |= BIT((ep_idx - 4) / 3)) in it82xx2_usb_extend_ep_ctrl()
439 : (ext_ctrl[idx].epn_ext_ctrl2 &= ~BIT((ep_idx - 4) / 3)); in it82xx2_usb_extend_ep_ctrl()
758 struct epn_ext_ctrl_regs *ext_ctrl = in get_extend_ready_bit() local
762 return ((ext_ctrl[idx].epn_ext_ctrl2 & BIT((ep_idx - 4) / 3)) != 0); in get_extend_ready_bit()
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c171 struct epn_ext_ctrl_regs *ext_ctrl = in it82xx2_get_ext_ctrl() local
176 return &ext_ctrl[idx].epn_ext_ctrl1; in it82xx2_get_ext_ctrl()
189 struct epn_ext_ctrl_regs *ext_ctrl = in it82xx2_usb_extend_ep_ctrl() local
273 (enable) ? (ext_ctrl[idx].epn_ext_ctrl2 |= BIT((ep_idx - 4) / 3)) in it82xx2_usb_extend_ep_ctrl()
274 : (ext_ctrl[idx].epn_ext_ctrl2 &= ~BIT((ep_idx - 4) / 3)); in it82xx2_usb_extend_ep_ctrl()
918 struct epn_ext_ctrl_regs *ext_ctrl = in get_extend_ready_bit() local
922 return ((ext_ctrl[idx].epn_ext_ctrl2 & BIT((ep_idx - 4) / 3)) != 0); in get_extend_ready_bit()