Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c279 uint8_t fifon_ctrl = (ep_fifo_res[ep_idx % FIFO_NUM] - 1) * 2; in it82xx2_usb_fifo_ctrl() local
290 ep_fifo_ctrl[fifon_ctrl] = 0x0; in it82xx2_usb_fifo_ctrl()
291 ep_fifo_ctrl[fifon_ctrl + 1] = 0x0; in it82xx2_usb_fifo_ctrl()
297 ep_fifo_ctrl[fifon_ctrl] = BIT(ep_idx); in it82xx2_usb_fifo_ctrl()
298 ep_fifo_ctrl[fifon_ctrl + 1] = 0x0; in it82xx2_usb_fifo_ctrl()
300 ep_fifo_ctrl[fifon_ctrl] = 0x0; in it82xx2_usb_fifo_ctrl()
301 ep_fifo_ctrl[fifon_ctrl + 1] = BIT(ep_idx - 8); in it82xx2_usb_fifo_ctrl()
306 ep_fifo_ctrl[fifon_ctrl] |= BIT(ep_idx); in it82xx2_usb_fifo_ctrl()
308 ep_fifo_ctrl[fifon_ctrl + 1] |= BIT(ep_idx - 8); in it82xx2_usb_fifo_ctrl()
769 uint8_t fifon_ctrl = (fifo_idx - 1) * 2; in get_fifo_ctrl() local
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c430 uint8_t fifon_ctrl = (ep_fifo_res[ep_idx % SHARED_FIFO_NUM] - 1) * 2; in it82xx2_usb_fifo_ctrl() local
441 ep_fifo_ctrl[fifon_ctrl] = 0x0; in it82xx2_usb_fifo_ctrl()
442 ep_fifo_ctrl[fifon_ctrl + 1] = 0x0; in it82xx2_usb_fifo_ctrl()
449 ep_fifo_ctrl[fifon_ctrl] = BIT(ep_idx); in it82xx2_usb_fifo_ctrl()
450 ep_fifo_ctrl[fifon_ctrl + 1] = 0x0; in it82xx2_usb_fifo_ctrl()
452 ep_fifo_ctrl[fifon_ctrl] = 0x0; in it82xx2_usb_fifo_ctrl()
453 ep_fifo_ctrl[fifon_ctrl + 1] = BIT(ep_idx - 8); in it82xx2_usb_fifo_ctrl()
457 ep_fifo_ctrl[fifon_ctrl] |= BIT(ep_idx); in it82xx2_usb_fifo_ctrl()
459 ep_fifo_ctrl[fifon_ctrl + 1] |= BIT(ep_idx - 8); in it82xx2_usb_fifo_ctrl()
825 uint8_t fifon_ctrl; in get_fifo_ctrl() local
[all …]