Searched refs:gpio_shift (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.2-release/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_gpio.c | 38 uint32_t gpio_shift, tmp; local 55 gpio_shift = (gpio % 6) * 5; 69 OS_REG_RMW(ah, addr, (type << gpio_shift), 70 (0x1f << gpio_shift)); 74 tmp &= ~(0x1f << gpio_shift); 75 tmp |= type << gpio_shift; 86 uint32_t gpio_shift, reg; local 121 gpio_shift = gpio << 1; 125 reg &= ~(AR_GPIO_OE_OUT_DRV << gpio_shift); 126 reg |= AR_GPIO_OE_OUT_DRV_ALL << gpio_shift; 139 uint32_t gpio_shift, reg; local [all...] |
/freebsd-10.2-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_gpio.c | 85 u_int32_t gpio_shift; local 101 gpio_shift = (gpio % 6) * 5; 103 OS_REG_RMW(ah, addr, (type << gpio_shift), (0x1f << gpio_shift)); 116 u_int32_t gpio_shift; local 228 gpio_shift = 2 * gpio; 232 (AR_GPIO_OE_OUT_DRV_ALL << gpio_shift), 233 (AR_GPIO_OE_OUT_DRV << gpio_shift)); 248 u_int32_t gpio_shift; local 330 gpio_shift 347 u_int32_t gpio_shift; local [all...] |
/freebsd-10.2-release/sys/dev/bxe/ |
H A D | bxe.c | 2010 int gpio_shift = (gpio_num + local 2012 uint32_t gpio_mask = (1 << gpio_shift); 2036 int gpio_shift = (gpio_num + local 2038 uint32_t gpio_mask = (1 << gpio_shift); 2055 gpio_num, gpio_shift); 2064 gpio_num, gpio_shift); 2073 gpio_num, gpio_shift); 2145 int gpio_shift = (gpio_num + local 2147 uint32_t gpio_mask = (1 << gpio_shift); 2164 gpio_num, gpio_shift); [all...] |
Completed in 125 milliseconds