Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/common/
Dusb_dwc2_hw.h125 #define USB_DWC2_GET_FIELD_DEFINE(name, reg_name_and_field) \ argument
128 return (value & USB_DWC2_##reg_name_and_field##_MASK) >> \
129 USB_DWC2_##reg_name_and_field##_POS; \
132 #define USB_DWC2_SET_FIELD_DEFINE(name, reg_name_and_field) \ argument
135 return (value << USB_DWC2_##reg_name_and_field##_POS) & \
136 USB_DWC2_##reg_name_and_field##_MASK; \
139 #define USB_DWC2_GET_FIELD_AND_IDX_DEFINE(name, reg_name_and_field) \ argument
143 return (value & USB_DWC2_##reg_name_and_field##_MASK(idx)) >> \
144 USB_DWC2_##reg_name_and_field##_POS(idx); \