Searched refs:gpio_shift (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-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-11.0-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 227 gpio_shift = 2 * gpio; 231 (AR_GPIO_OE_OUT_DRV_ALL << gpio_shift), 232 (AR_GPIO_OE_OUT_DRV << gpio_shift)); 247 u_int32_t gpio_shift; local 329 gpio_shift 346 u_int32_t gpio_shift; local [all...] |
/freebsd-11.0-release/sys/dev/bxe/ |
H A D | bxe.c | 1876 int gpio_shift = (gpio_num + local 1878 uint32_t gpio_mask = (1 << gpio_shift); 1882 BLOGE(sc, "Invalid GPIO %d port 0x%x gpio_port %d gpio_shift %d" 1883 " gpio_mask 0x%x\n", gpio_num, port, gpio_port, gpio_shift, 1904 int gpio_shift = (gpio_num + local 1906 uint32_t gpio_mask = (1 << gpio_shift); 1911 " gpio_shift %d gpio_mask 0x%x\n", 1912 gpio_num, mode, port, gpio_port, gpio_shift, gpio_mask); 1925 gpio_num, gpio_shift); 1934 gpio_num, gpio_shift); 2016 int gpio_shift = (gpio_num + local [all...] |
Completed in 115 milliseconds