Searched refs:REG_OFFSET (Results 1 – 3 of 3) sorted by relevance
17 #define REG_OFFSET(x) ((x) * 0x100) macro57 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_direction()117 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_function()139 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_value()153 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_value()
12 #define REG_OFFSET (24) macro13 #define REG_GENERAL(x) (8*(x)+REG_OFFSET)
22 ; CHECK-T2BASE: lsls [[REG_OFFSET:r[0-9]+]], {{r[0-9]+}}, #224 ; CHECK-T2BASE: adds [[REG_ENTRY:r[0-9]+]], [[REG_JT]], [[REG_OFFSET]]