Searched defs:gpio (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath5k/
H A Dath5k_gpio.c34 int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) argument
36 if (gpio >= AR5K_NUM_GPIO)
40 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio))
41 | AR5K_GPIOCR_IN(gpio), AR5K_GPIOCR);
49 int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) argument
51 if (gpio >= AR5K_NUM_GPIO)
55 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio))
56 | AR5K_GPIOCR_OUT(gpio), AR5K_GPIOCR);
64 u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) argument
66 if (gpio >
77 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) argument
98 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, u32 interrupt_level) argument
[all...]
H A Dbase.h107 #define ATH_STAT_LEDSOFT 0x08 /* enable LED gpio status */
127 u16 gpio; member in struct:ath5k_softc::__anon15139
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/infiniband/
H A Darbel.h159 pseudo_bit_t gpio[0x00001]; member in struct:arbelprm_event_mask_st
H A Dhermon.h203 pseudo_bit_t gpio[0x00001]; member in struct:hermonprm_event_mask_st
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/
H A Dath9k_hw.c1756 u32 gpio, u32 type)
1761 if (gpio > 11)
1763 else if (gpio > 5)
1768 gpio_shift = (gpio % 6) * 5;
1783 void ath9k_hw_cfg_gpio_input(struct ath_hw *ah, u32 gpio) argument
1788 gpio_shift = gpio;
1795 gpio_shift = gpio << 1;
1802 u32 ath9k_hw_gpio_get(struct ath_hw *ah, u32 gpio) argument
1807 if (gpio >= ah->caps.num_gpio_pins)
1813 return (MS(val, AR7010_GPIO_IN_VAL) & AR_GPIO_BIT(gpio))
1755 ath9k_hw_gpio_cfg_output_mux(struct ath_hw *ah, u32 gpio, u32 type) argument
1829 ath9k_hw_cfg_output(struct ath_hw *ah, u32 gpio, u32 ah_signal_type) argument
1850 ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val) argument
[all...]

Completed in 1371 milliseconds