Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
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-v5.15/drivers/soc/fsl/qe/
Dgpio.c53 static int qe_gpio_get(struct gpio_chip *gc, unsigned int gpio) in qe_gpio_get()
62 static void qe_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in qe_gpio_set()
109 static int qe_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in qe_gpio_dir_in()
124 static int qe_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in qe_gpio_dir_out()
/Linux-v5.15/drivers/gpio/
Dgpio-stp-xway.c100 static int xway_stp_get(struct gpio_chip *gc, unsigned int gpio) in xway_stp_get()
115 static void xway_stp_set(struct gpio_chip *gc, unsigned gpio, int val) in xway_stp_set()
136 static int xway_stp_dir_out(struct gpio_chip *gc, unsigned gpio, int val) in xway_stp_dir_out()
150 static int xway_stp_request(struct gpio_chip *gc, unsigned gpio) in xway_stp_request()
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()
Dgpio-74xx-mmio.c86 static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio) in mmio_74xx_dir_in()
93 static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mmio_74xx_dir_out()
Dgpio-merrifield.c212 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_ack() local
226 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_unmask_mask() local
256 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_set_type() local
309 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_set_wake() local
346 unsigned long base, gpio; in mrfld_irq_handler() local
Dgpio-mpc8xxx.c68 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get()
82 unsigned int gpio, int val) in mpc5121_gpio_dir_out()
93 unsigned int gpio, int val) in mpc5125_gpio_dir_out()
201 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type() local
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
Dgpio-sch.c51 static unsigned int sch_gpio_offset(struct sch_gpio *sch, unsigned int gpio, in sch_gpio_offset()
64 static unsigned int sch_gpio_bit(struct sch_gpio *sch, unsigned int gpio) in sch_gpio_bit()
71 static int sch_gpio_reg_get(struct sch_gpio *sch, unsigned int gpio, unsigned int reg) in sch_gpio_reg_get()
84 static void sch_gpio_reg_set(struct sch_gpio *sch, unsigned int gpio, unsigned int reg, in sch_gpio_reg_set()
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()
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()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
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()
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()
/Linux-v5.15/drivers/media/usb/dvb-usb-v2/
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-v5.15/drivers/pinctrl/
Dpinctrl-microchip-sgpio.c104 struct gpio_chip gpio; member
441 static int microchip_sgpio_direction_input(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_direction_input()
450 unsigned int gpio, int value) in microchip_sgpio_direction_output()
467 static int microchip_sgpio_get_direction(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_direction()
475 unsigned int gpio, int value) in microchip_sgpio_set_value()
480 static int microchip_sgpio_get_value(struct gpio_chip *gc, unsigned int gpio) in microchip_sgpio_get_value()
562 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_settype() local
592 unsigned int gpio = irqd_to_hwirq(data); in microchip_sgpio_irq_setreg() local
664 int bit, port, gpio; in sgpio_irq_handler() local
Dcore.c273 unsigned int gpio) in gpio_to_pin()
291 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) in pinctrl_match_gpio_range()
323 static bool pinctrl_ready_for_gpio_range(unsigned gpio) in pinctrl_ready_for_gpio_range()
355 static bool pinctrl_ready_for_gpio_range(unsigned gpio) { return true; } in pinctrl_ready_for_gpio_range()
369 static int pinctrl_get_device_gpio_range(unsigned gpio, in pinctrl_get_device_gpio_range()
741 bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line()
777 int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request()
812 void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free()
834 static int pinctrl_gpio_direction(unsigned gpio, bool input) in pinctrl_gpio_direction()
865 int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input()
[all …]
Dpinctrl-digicolor.c167 static int dc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in dc_gpio_direction_input()
186 static int dc_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in dc_gpio_direction_output()
206 static int dc_gpio_get(struct gpio_chip *chip, unsigned gpio) in dc_gpio_get()
218 static void dc_gpio_set(struct gpio_chip *chip, unsigned gpio, int value) in dc_gpio_set()
/Linux-v5.15/include/linux/
Ducb1400.h122 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value()
127 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value()
135 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction()
140 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.c37 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_hpd() local
82 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor() local
/Linux-v5.15/sound/soc/samsung/
Dsmartq_wm8987.c106 struct gpio_desc *gpio = snd_soc_card_get_drvdata(&snd_soc_smartq); in smartq_speaker_event() local
189 struct gpio_desc *gpio; in smartq_probe() local
/Linux-v5.15/arch/arm/mach-davinci/
Dboard-da850-evm.c441 static void da850_evm_ui_keys_init(unsigned gpio) in da850_evm_ui_keys_init()
463 static int da850_evm_ui_expander_setup(struct i2c_client *client, unsigned gpio, in da850_evm_ui_expander_setup()
523 unsigned gpio, unsigned ngpio, void *c) in da850_evm_ui_expander_teardown()
618 static void da850_evm_bb_keys_init(unsigned gpio) in da850_evm_bb_keys_init()
672 unsigned gpio, unsigned ngpio, in da850_evm_bb_expander_setup()
704 unsigned gpio, unsigned ngpio, void *c) in da850_evm_bb_expander_teardown()
/Linux-v5.15/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c242 unsigned int gpio = BIT(d->hwirq); in npcmgpio_set_irq_type() local
290 unsigned int gpio = d->hwirq; in npcmgpio_irq_ack() local
301 unsigned int gpio = d->hwirq; in npcmgpio_irq_mask() local
313 unsigned int gpio = d->hwirq; in npcmgpio_irq_unmask() local
323 unsigned int gpio = d->hwirq; in npcmgpio_irq_startup() local
1445 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_slew_rate() local
1465 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_slew_rate() local
1507 int gpio = (pin % bank->gc.ngpio); in npcm7xx_get_drive_strength() local
1533 int gpio = BIT(pin % bank->gc.ngpio); in npcm7xx_set_drive_strength() local
1692 int gpio = BIT(offset % bank->gc.ngpio); in npcm_gpio_set_direction() local
[all …]
/Linux-v5.15/drivers/pinctrl/mediatek/
Dpinctrl-moore.c431 static int mtk_gpio_get(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_get()
446 static void mtk_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in mtk_gpio_set()
456 static int mtk_gpio_direction_input(struct gpio_chip *chip, unsigned int gpio) in mtk_gpio_direction_input()
461 static int mtk_gpio_direction_output(struct gpio_chip *chip, unsigned int gpio, in mtk_gpio_direction_output()
/Linux-v5.15/sound/aoa/core/
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-v5.15/arch/mips/alchemy/common/
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()

12345678910>>...22