Home
last modified time | relevance | path

Searched defs:gpio_num (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/gpio/
Dgpio-sch.c79 static int sch_gpio_direction_in(struct gpio_chip *gc, unsigned gpio_num) in sch_gpio_direction_in()
89 static int sch_gpio_get(struct gpio_chip *gc, unsigned gpio_num) in sch_gpio_get()
95 static void sch_gpio_set(struct gpio_chip *gc, unsigned gpio_num, int val) in sch_gpio_set()
104 static int sch_gpio_direction_out(struct gpio_chip *gc, unsigned gpio_num, in sch_gpio_direction_out()
126 static int sch_gpio_get_direction(struct gpio_chip *gc, unsigned gpio_num) in sch_gpio_get_direction()
Dgpio-it87.c154 static int it87_gpio_request(struct gpio_chip *chip, unsigned gpio_num) in it87_gpio_request()
187 static int it87_gpio_get(struct gpio_chip *chip, unsigned gpio_num) in it87_gpio_get()
199 static int it87_gpio_direction_in(struct gpio_chip *chip, unsigned gpio_num) in it87_gpio_direction_in()
225 unsigned gpio_num, int val) in it87_gpio_set()
242 unsigned gpio_num, int val) in it87_gpio_direction_out()
Dgpio-winbond.c351 static bool winbond_gpio_get_info(unsigned int *gpio_num, in winbond_gpio_get_info()
/Linux-v5.4/drivers/spi/
Dspi-tle62x0.c137 int gpio_num = to_gpio_num(attr); in tle62x0_gpio_show() local
152 int gpio_num = to_gpio_num(attr); in tle62x0_gpio_store() local
/Linux-v5.4/include/linux/platform_data/gpio/
Dgpio-amd-fch.h41 int gpio_num; member
/Linux-v5.4/arch/arm/mach-davinci/include/mach/
Dcommon.h64 unsigned gpio_num; member
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c2078 int rtw_get_gpio(struct net_device *netdev, int gpio_num) in rtw_get_gpio()
2106 int rtw_set_gpio_output_value(struct net_device *netdev, int gpio_num, bool isHigh) in rtw_set_gpio_output_value()
2144 int rtw_config_gpio(struct net_device *netdev, int gpio_num, bool isOutput) in rtw_config_gpio()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c417 u8 gpio_num = (pin_cfg - PIN_CFG_GPIO0_P0) & 0x3; in bnx2x_set_cfg_pin() local
430 u8 gpio_num = (pin_cfg - PIN_CFG_GPIO0_P0) & 0x3; in bnx2x_get_cfg_pin() local
4327 u8 *gpio_num, u8 *gpio_port) in bnx2x_get_mod_abs_int_cfg()
4367 u8 gpio_num, gpio_port; in bnx2x_is_sfp_module_plugged() local
8738 u8 gpio_num, gpio_port; in bnx2x_handle_module_detect_int() local
14010 u8 gpio_num = 0xff, gpio_port = 0xff, phy_index; in bnx2x_init_mod_abs_int() local
Dbnx2x_main.c2059 int bnx2x_get_gpio(struct bnx2x *bp, int gpio_num, u8 port) in bnx2x_get_gpio()
2087 int bnx2x_set_gpio(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) in bnx2x_set_gpio()
2190 int bnx2x_set_gpio_int(struct bnx2x *bp, int gpio_num, u32 mode, u8 port) in bnx2x_set_gpio_int()
/Linux-v5.4/drivers/net/phy/
Ddp83640.c468 u16 evnt, event_num, gpio_num; in ptp_dp83640_enable() local