Searched refs:idxh (Results 1 – 1 of 1) sorted by relevance
3848 unsigned int idxh = (pin % half) * 2; in ingenic_pinconf_get() local3857 bias = (bias >> idxh) & (GPIO_PULL_UP | GPIO_PULL_DOWN); in ingenic_pinconf_get()3947 unsigned int idxh = (pin % half) * 2; in ingenic_set_bias() local3952 REG_CLEAR(X1830_GPIO_PEL), 3 << idxh); in ingenic_set_bias()3954 REG_SET(X1830_GPIO_PEL), bias << idxh); in ingenic_set_bias()3957 REG_CLEAR(X1830_GPIO_PEH), 3 << idxh); in ingenic_set_bias()3959 REG_SET(X1830_GPIO_PEH), bias << idxh); in ingenic_set_bias()