Searched refs:reg_name_and_field (Results 1 – 1 of 1) sorted by relevance
125 #define USB_DWC2_GET_FIELD_DEFINE(name, reg_name_and_field) \ argument128 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) \ argument135 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) \ argument143 return (value & USB_DWC2_##reg_name_and_field##_MASK(idx)) >> \144 USB_DWC2_##reg_name_and_field##_POS(idx); \