| /Linux-v5.4/drivers/media/pci/saa7134/ |
| D | saa7134-input.c | 48 u32 gpio, data; in build_key() local 108 int gpio, rc; in get_key_flydvb_trio() local 165 int gpio, rc; in get_key_msi_tvanywhere_plus() local 216 unsigned int gpio; in get_key_kworld_pc150u() local 297 u32 gpio; in get_key_beholdm6xx() local
|
| /Linux-v5.4/drivers/soc/fsl/qe/ |
| D | gpio.c | 53 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.4/drivers/gpio/ |
| D | gpio-tb10x.c | 48 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()
|
| D | gpio-74xx-mmio.c | 83 static int mmio_74xx_dir_in(struct gpio_chip *gc, unsigned int gpio) in mmio_74xx_dir_in() 90 static int mmio_74xx_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mmio_74xx_dir_out()
|
| D | gpio-mpc8xxx.c | 85 static int mpc8572_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc8572_gpio_get() 99 unsigned int gpio, int val) in mpc5121_gpio_dir_out() 110 unsigned int gpio, int val) in mpc5125_gpio_dir_out() 219 unsigned long gpio = irqd_to_hwirq(d); in mpc512x_irq_set_type() local
|
| D | gpio-merrifield.c | 204 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_ack() local 218 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_unmask_mask() local 248 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_set_type() local 301 u32 gpio = irqd_to_hwirq(d); in mrfld_irq_set_wake() local 338 unsigned long base, gpio; in mrfld_irq_handler() local
|
| D | gpio-xgene.c | 130 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_suspend() local 143 struct xgene_gpio *gpio = dev_get_drvdata(dev); in xgene_gpio_resume() local 159 struct xgene_gpio *gpio; in xgene_gpio_probe() local
|
| D | gpio-ich.c | 155 static bool ichx_gpio_check_available(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_check_available() 160 static int ichx_gpio_get_direction(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_get_direction() 165 static int ichx_gpio_direction_input(struct gpio_chip *gpio, unsigned nr) in ichx_gpio_direction_input() 174 static int ichx_gpio_direction_output(struct gpio_chip *gpio, unsigned nr, in ichx_gpio_direction_output()
|
| D | gpio-twl4030.c | 137 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.4/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
| D | g94.c | 27 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()
|
| D | gk104.c | 27 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-v5.4/drivers/pinctrl/ |
| D | core.c | 271 unsigned int gpio) in gpio_to_pin() 289 pinctrl_match_gpio_range(struct pinctrl_dev *pctldev, unsigned gpio) in pinctrl_match_gpio_range() 321 static bool pinctrl_ready_for_gpio_range(unsigned gpio) in pinctrl_ready_for_gpio_range() 353 static bool pinctrl_ready_for_gpio_range(unsigned gpio) { return true; } in pinctrl_ready_for_gpio_range() 367 static int pinctrl_get_device_gpio_range(unsigned gpio, in pinctrl_get_device_gpio_range() 739 bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line() 775 int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request() 810 void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free() 832 static int pinctrl_gpio_direction(unsigned gpio, bool input) in pinctrl_gpio_direction() 863 int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input() [all …]
|
| D | pinctrl-digicolor.c | 167 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.4/drivers/media/usb/dvb-usb-v2/ |
| D | mxl111sf-gpio.c | 166 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.4/include/linux/ |
| D | ucb1400.h | 122 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.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| D | conn.c | 37 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.4/sound/soc/samsung/ |
| D | smartq_wm8987.c | 106 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.4/drivers/usb/phy/ |
| D | phy-gpio-vbus-usb.c | 102 int gpio, status, vbus; in gpio_vbus_work() local 180 int gpio; in gpio_vbus_set_peripheral() local 248 int err, gpio, irq; in gpio_vbus_probe() local
|
| /Linux-v5.4/arch/arm/mach-davinci/ |
| D | board-da850-evm.c | 441 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.4/drivers/pinctrl/nuvoton/ |
| D | pinctrl-npcm7xx.c | 242 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.4/sound/aoa/core/ |
| D | gpio-feature.c | 59 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.4/drivers/pinctrl/mediatek/ |
| D | pinctrl-moore.c | 431 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.4/arch/mips/alchemy/common/ |
| D | irq.c | 512 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-v5.4/Documentation/admin-guide/gpio/ |
| D | index.rst | 4 gpio chapter
|
| /Linux-v5.4/drivers/platform/x86/ |
| D | surface3_button.c | 74 int gpio; in surface3_button_lookup_gpio() local 97 int gpio; in surface3_button_device_create() local
|