Searched refs:offset (Results 1 – 2 of 2) sorted by relevance
/hal_intel-3.5.0/bsp_sedi/drivers/gpio/ |
D | sedi_gpio.c | 115 uint8_t offset_unit, offset; in gpio_write_pin_port() local 128 offset = (group & (uint32_t)((1U << access_type) - 1U)) * offset_unit; in gpio_write_pin_port() 129 pin_bit = (gpio_port_access_mask[access_type] << offset); in gpio_write_pin_port() 144 uint8_t offset_unit, offset; in gpio_read_pin_port() local 159 offset = (group & (uint32_t)((1U << access_type) - 1U)) * offset_unit; in gpio_read_pin_port() 160 pin_bit = (gpio_port_access_mask[access_type] << offset); in gpio_read_pin_port() 162 return (((reg->gplr[port] & pin_bit) >> offset) & cap.support_pins_map); in gpio_read_pin_port() 265 uint8_t offset = pin & GPIO_PORT_MASK; in sedi_gpio_config_pin() local 268 GPIO_SET_BIT(base, gpdr, port, offset); in sedi_gpio_config_pin() 270 GPIO_CLEAR_BIT(base, gpdr, port, offset); in sedi_gpio_config_pin() [all …]
|
/hal_intel-3.5.0/bsp_sedi/soc/intel_ish/pm/ |
D | ia_structs.h | 135 #define GEN_IDT_DESC_LO(offset, selector, flags) \ argument 136 (((uint32_t)(offset) & 0xFFFF) | (((selector) & 0xFFFF) << 16)) 138 #define GEN_IDT_DESC_UP(offset, selector, flags) \ argument 139 (((uint32_t)(offset) & 0xFFFF0000) | (((flags) & 0xFF) << 8))
|