Searched refs:gpio_shift (Results 1 – 2 of 2) sorted by relevance
3560 u32 gpio_shift, tmp; in ath9k_hw_gpio_cfg_output_mux() local3569 gpio_shift = (gpio % 6) * 5; in ath9k_hw_gpio_cfg_output_mux()3573 REG_RMW(ah, addr, (type << gpio_shift), in ath9k_hw_gpio_cfg_output_mux()3574 (0x1f << gpio_shift)); in ath9k_hw_gpio_cfg_output_mux()3578 tmp &= ~(0x1f << gpio_shift); in ath9k_hw_gpio_cfg_output_mux()3579 tmp |= (type << gpio_shift); in ath9k_hw_gpio_cfg_output_mux()3586 u32 gpio_shift; in ath9k_hw_cfg_gpio_input() local3590 gpio_shift = gpio << 1; in ath9k_hw_cfg_gpio_input()3594 (AR_GPIO_OE_OUT_DRV_NO << gpio_shift), in ath9k_hw_cfg_gpio_input()3595 (AR_GPIO_OE_OUT_DRV << gpio_shift)); in ath9k_hw_cfg_gpio_input()[all …]
1834 int gpio_shift = gpio_num + in bnx2x_set_gpio() local1836 u32 gpio_mask = (1 << gpio_shift); in bnx2x_set_gpio()1851 gpio_num, gpio_shift); in bnx2x_set_gpio()1859 gpio_num, gpio_shift); in bnx2x_set_gpio()1867 gpio_num, gpio_shift); in bnx2x_set_gpio()