Home
last modified time | relevance | path

Searched defs:gpio (Results 101 – 125 of 506) sorted by relevance

12345678910>>...21

/linux-6.3-rc2/drivers/pinctrl/
A Dcore.c274 unsigned int gpio) in gpio_to_pin()
292 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) in pinctrl_match_gpio_range()
324 static bool pinctrl_ready_for_gpio_range(unsigned gpio) in pinctrl_ready_for_gpio_range()
375 static int pinctrl_get_device_gpio_range(unsigned gpio, in pinctrl_get_device_gpio_range()
747 bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line()
783 int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request()
818 void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free()
840 static int pinctrl_gpio_direction(unsigned gpio, bool input) in pinctrl_gpio_direction()
871 int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input()
885 int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output()
[all …]
A Dpinctrl-microchip-sgpio.c112 struct gpio_chip gpio; member
527 static int microchip_sgpio_direction_input(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_direction_input()
536 unsigned int gpio, int value) in microchip_sgpio_direction_output()
551 static int microchip_sgpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_direction()
559 unsigned int gpio, int value) in microchip_sgpio_set_value()
564 static int microchip_sgpio_get_value(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_value()
646 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_settype() local
681 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_setreg() local
712 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_ack() local
768 int bit, port, gpio; in sgpio_irq_handler() local
A Dpinctrl-digicolor.c168 static int dc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in dc_gpio_direction_input()
187 static int dc_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in dc_gpio_direction_output()
207 static int dc_gpio_get(struct gpio_chip *chip, unsigned gpio) in dc_gpio_get()
219 static void dc_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in dc_gpio_set()
/linux-6.3-rc2/drivers/gpio/
A Dgpio-tb10x.c48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read()
53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_reg_write()
59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_set_bits()
A Dgpiolib-devres.c27 struct gpio_desc **this = res, **gpio = data; in devm_gpiod_match() local
325 unsigned *gpio = res; in devm_gpio_release() local
341 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) in devm_gpio_request()
370 int devm_gpio_request_one(struct device *dev, unsigned gpio, in devm_gpio_request_one()
A Dgpio-mpc8xxx.c65 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get()
79 unsigned int gpio, int val) in mpc5121_gpio_dir_out()
90 unsigned int gpio, int val) in mpc5125_gpio_dir_out()
199 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type() local
A Dgpio-74xx-mmio.c88 static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio) in mmio_74xx_dir_in()
98 static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mmio_74xx_dir_out()
A Dgpio-xgene.c133 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_suspend() local
146 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_resume() local
161 struct xgene_gpio *gpio; in xgene_gpio_probe() local
A Dgpio-msc313.c491 struct msc313_gpio *gpio = gpiochip_get_data(chip); in msc313_gpio_set() local
504 struct msc313_gpio *gpio = gpiochip_get_data(chip); in msc313_gpio_get() local
511 struct msc313_gpio *gpio = gpiochip_get_data(chip); in msc313_gpio_direction_input() local
522 struct msc313_gpio *gpio = gpiochip_get_data(chip); in msc313_gpio_direction_output() local
595 struct msc313_gpio *gpio; in msc313_gpio_probe() local
679 struct msc313_gpio *gpio = dev_get_drvdata(dev); in msc313_gpio_suspend() local
690 struct msc313_gpio *gpio = dev_get_drvdata(dev); in msc313_gpio_resume() local
A Dgpio-ich.c153 static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_check_available()
158 static int ichx_gpio_get_direction(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_get_direction()
166 static int ichx_gpio_direction_input(struct gpio_chip *gpio, unsigned int nr) in ichx_gpio_direction_input()
175 static int ichx_gpio_direction_output(struct gpio_chip *gpio, unsigned int nr, in ichx_gpio_direction_output()
A Dgpio-sch.c50 static unsigned int sch_gpio_offset(struct sch_gpio *sch, unsigned int gpio, in sch_gpio_offset()
63 static unsigned int sch_gpio_bit(struct sch_gpio *sch, unsigned int gpio) in sch_gpio_bit()
70 static int sch_gpio_reg_get(struct sch_gpio *sch, unsigned int gpio, unsigned int reg) in sch_gpio_reg_get()
83 static void sch_gpio_reg_set(struct sch_gpio *sch, unsigned int gpio, unsigned int reg, in sch_gpio_reg_set()
A Dgpio-twl4030.c137 static int twl4030_set_gpio_direction(int gpio, int is_input) in twl4030_set_gpio_direction()
157 static int twl4030_get_gpio_direction(int gpio) in twl4030_get_gpio_direction()
174 static int twl4030_set_gpio_dataout(int gpio, int enable) in twl4030_set_gpio_dataout()
188 static int twl4030_get_gpio_datain(int gpio) in twl4030_get_gpio_datain()
A Dgpio-menz127.c24 #define GPIO_TO_DBCNT_REG(gpio) ((gpio * 4) + 0x80) argument
38 static int men_z127_debounce(struct gpio_chip *gc, unsigned gpio, in men_z127_debounce()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
A Dnv31.c36 u32 gpio = nvkm_rd32(device, 0x001104) & nvkm_rd32(device, 0x001144); in nv31_bus_intr() local
39 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr() local
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/
A Dmxl111sf-gpio.c166 int gpio, int direction, int val) in mxl111sf_hw_do_set_gpio()
548 static int mxl111sf_hw_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_hw_set_gpio()
570 static int pca9534_set_gpio(struct mxl111sf_state *state, int gpio, int val) in pca9534_set_gpio()
627 int mxl111sf_set_gpio(struct mxl111sf_state *state, int gpio, int val) in mxl111sf_set_gpio()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
A Dg94.c27 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in g94_gpio_intr_stat()
41 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in g94_gpio_intr_mask()
A Dgk104.c27 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in gk104_gpio_intr_stat()
41 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in gk104_gpio_intr_mask()
/linux-6.3-rc2/drivers/pinctrl/nuvoton/
A Dpinctrl-npcm7xx.c245 unsigned int gpio = BIT(d->hwirq); in npcmgpio_set_irq_type() local
293 unsigned int gpio = d->hwirq; in npcmgpio_irq_ack() local
304 unsigned int gpio = d->hwirq; in npcmgpio_irq_mask() local
316 unsigned int gpio = d->hwirq; in npcmgpio_irq_unmask() local
326 unsigned int gpio = d->hwirq; in npcmgpio_irq_startup() local
1448 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_slew_rate() local
1468 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_slew_rate() local
1510 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_drive_strength() local
1536 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_drive_strength() local
1725 int gpio = (pin % bank->gc.ngpio); in npcm7xx_config_get() local
[all …]
/linux-6.3-rc2/drivers/pinctrl/mediatek/
A Dpinctrl-moore.c479 static int mtk_gpio_get(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_get()
496 static void mtk_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in mtk_gpio_set()
510 static int mtk_gpio_direction_input(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_direction_input()
515 static int mtk_gpio_direction_output(struct gpio_chip *chip, unsigned int gpio, in mtk_gpio_direction_output()
/linux-6.3-rc2/sound/aoa/core/
A Dgpio-feature.c59 struct device_node *np, *gpio; in get_gpio() local
221 static void gpio_enable_dual_edge(int gpio) in gpio_enable_dual_edge()
380 int gpio, ret, active; in ftr_get_detect() local
/linux-6.3-rc2/arch/mips/alchemy/common/
A Dirq.c512 static inline void au1300_gpic_chgcfg(unsigned int gpio, in au1300_gpic_chgcfg()
536 void au1300_pinfunc_to_gpio(enum au1300_multifunc_pins gpio) in au1300_pinfunc_to_gpio()
549 void au1300_pinfunc_to_dev(enum au1300_multifunc_pins gpio) in au1300_pinfunc_to_dev()
581 void au1300_set_dbdma_gpio(int dchan, unsigned int gpio) in au1300_set_dbdma_gpio()
594 static inline void gpic_pin_set_idlewake(unsigned int gpio, int allow) in gpic_pin_set_idlewake()
/linux-6.3-rc2/drivers/pinctrl/renesas/
A Dpinctrl-rza1.c751 static int rza1_gpio_request(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_request()
770 static void rza1_gpio_free(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_free()
777 static int rza1_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_get_direction()
788 unsigned int gpio) in rza1_gpio_direction_input()
798 unsigned int gpio, in rza1_gpio_direction_output()
820 static int rza1_gpio_get(struct gpio_chip *chip, unsigned int gpio) in rza1_gpio_get()
827 static void rza1_gpio_set(struct gpio_chip *chip, unsigned int gpio, in rza1_gpio_set()
/linux-6.3-rc2/drivers/pinctrl/meson/
A Dpinctrl-meson.c559 static int meson_gpio_get_direction(struct gpio_chip *chip, unsigned gpio) in meson_gpio_get_direction()
571 static int meson_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in meson_gpio_direction_input()
576 static int meson_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in meson_gpio_direction_output()
583 static void meson_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in meson_gpio_set()
588 static int meson_gpio_get(struct gpio_chip *chip, unsigned gpio) in meson_gpio_get()
/linux-6.3-rc2/include/uapi/linux/
A Dvirtio_gpio.h45 __le16 gpio; member
61 __le16 gpio; member
/linux-6.3-rc2/arch/powerpc/platforms/83xx/
A Dmcu_mpc8349emitx.c95 static void mcu_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mcu_gpio_set()
110 static int mcu_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mcu_gpio_dir_out()

Completed in 70 milliseconds

12345678910>>...21