/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | gpio_base.c | 53 struct gpio *gpio, in dal_gpio_open() 60 struct gpio *gpio, in dal_gpio_open_ex() 79 const struct gpio *gpio, in dal_gpio_get_value() 91 const struct gpio *gpio, in dal_gpio_set_value() 103 const struct gpio *gpio) in dal_gpio_get_mode() 109 struct gpio *gpio) in dal_gpio_lock_pin() 115 struct gpio *gpio) in dal_gpio_unlock_pin() 121 struct gpio *gpio, in dal_gpio_change_mode() 133 const struct gpio *gpio) in dal_gpio_get_id() 139 const struct gpio *gpio) in dal_gpio_get_enum() [all …]
|
/linux/arch/mips/include/asm/mach-au1x00/ |
H A D | gpio-au1000.h | 45 static inline int au1000_gpio1_to_irq(int gpio) in au1000_gpio1_to_irq() 50 static inline int au1000_gpio2_to_irq(int gpio) in au1000_gpio2_to_irq() 63 static inline int au1500_gpio1_to_irq(int gpio) in au1500_gpio1_to_irq() 76 static inline int au1500_gpio2_to_irq(int gpio) in au1500_gpio2_to_irq() 109 static inline int au1100_gpio1_to_irq(int gpio) in au1100_gpio1_to_irq() 114 static inline int au1100_gpio2_to_irq(int gpio) in au1100_gpio2_to_irq() 136 static inline int au1550_gpio1_to_irq(int gpio) in au1550_gpio1_to_irq() 149 static inline int au1550_gpio2_to_irq(int gpio) in au1550_gpio2_to_irq() 180 static inline int au1200_gpio1_to_irq(int gpio) in au1200_gpio1_to_irq() 185 static inline int au1200_gpio2_to_irq(int gpio) in au1200_gpio2_to_irq() [all …]
|
H A D | gpio-au1300.h | 29 static inline int au1300_gpio_get_value(unsigned int gpio) in au1300_gpio_get_value() 40 static inline int au1300_gpio_direction_input(unsigned int gpio) in au1300_gpio_direction_input() 55 static inline int au1300_gpio_set_value(unsigned int gpio, int v) in au1300_gpio_set_value() 71 static inline int au1300_gpio_direction_output(unsigned int gpio, int v) in au1300_gpio_direction_output() 77 static inline int au1300_gpio_to_irq(unsigned int gpio) in au1300_gpio_to_irq() 87 static inline int au1300_gpio_is_valid(unsigned int gpio) in au1300_gpio_is_valid() 102 static inline int au1300_gpio_getinitlvl(unsigned int gpio) in au1300_gpio_getinitlvl()
|
/linux/include/linux/ |
H A D | gpio.h | 56 static inline int gpio_direction_input(unsigned gpio) in gpio_direction_input() 60 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 65 static inline int gpio_get_value_cansleep(unsigned gpio) in gpio_get_value_cansleep() 69 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() 74 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() 78 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() 83 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq() 105 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request() 110 static inline int gpio_request_one(unsigned gpio, in gpio_request_one() 116 static inline void gpio_free(unsigned gpio) in gpio_free() [all …]
|
/linux/drivers/ssb/ |
H A D | driver_gpio.c | 26 static int ssb_gpio_to_irq(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_to_irq() 41 static int ssb_gpio_chipco_get_value(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_get_value() 48 static int ssb_gpio_chipco_set_value(struct gpio_chip *chip, unsigned int gpio, in ssb_gpio_chipco_set_value() 59 unsigned int gpio) in ssb_gpio_chipco_direction_input() 68 unsigned int gpio, int value) in ssb_gpio_chipco_direction_output() 77 static int ssb_gpio_chipco_request(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_request() 90 static void ssb_gpio_chipco_free(struct gpio_chip *chip, unsigned int gpio) in ssb_gpio_chipco_free() 102 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_chipco_mask() local 110 int gpio = irqd_to_hwirq(d); in ssb_gpio_irq_chipco_unmask() local 131 int gpio; in ssb_gpio_irq_chipco_handler() local [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | gpio.h | 38 struct gpio { struct 39 struct gpio_service *service; argument 40 struct hw_gpio_pin *pin; argument 41 enum gpio_id id; argument 44 union gpio_hw_container hw_container; argument 45 enum gpio_mode mode; argument 48 enum gpio_pin_output_state output_state; argument
|
/linux/drivers/gpio/ |
H A D | gpio-aspeed.c | 256 static void __iomem *aspeed_gpio_g4_bank_reg(struct aspeed_gpio *gpio, in aspeed_gpio_g4_bank_reg() 342 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props() 355 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio() 365 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input() 375 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output() 382 static void aspeed_gpio_change_cmd_source(struct aspeed_gpio *gpio, unsigned int offset, int cmdsrc) in aspeed_gpio_change_cmd_source() 388 static bool aspeed_gpio_copro_request(struct aspeed_gpio *gpio, in aspeed_gpio_copro_request() 397 static void aspeed_gpio_copro_release(struct aspeed_gpio *gpio, in aspeed_gpio_copro_release() 404 static bool aspeed_gpio_support_copro(struct aspeed_gpio *gpio) in aspeed_gpio_support_copro() 412 struct aspeed_gpio *gpio = gpiochip_get_data(gc); in aspeed_gpio_get() local [all …]
|
H A D | gpio-pcf857x.c | 122 struct pcf857x *gpio = gpiochip_get_data(chip); in pcf857x_input() local 135 struct pcf857x *gpio = gpiochip_get_data(chip); in pcf857x_get() local 145 struct pcf857x *gpio = gpiochip_get_data(chip); in pcf857x_get_multiple() local 159 struct pcf857x *gpio = gpiochip_get_data(chip); in pcf857x_output() local 182 struct pcf857x *gpio = gpiochip_get_data(chip); in pcf857x_set_multiple() local 198 struct pcf857x *gpio = data; in pcf857x_irq() local 225 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_set_wake() local 232 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_enable() local 241 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_disable() local 250 struct pcf857x *gpio = irq_data_get_irq_chip_data(data); in pcf857x_irq_bus_lock() local [all …]
|
H A D | gpio-bcm-kona.c | 25 #define GPIO_BANK(gpio) ((gpio) >> 5) argument 26 #define GPIO_BIT(gpio) ((gpio) & (GPIO_PER_BANK - 1)) argument 29 #define GPIO_CONTROL(gpio) (0x00000100 + ((gpio) << 2)) argument 101 unsigned gpio) in bcm_kona_gpio_lock_gpio() 124 unsigned gpio) in bcm_kona_gpio_unlock_gpio() 142 static int bcm_kona_gpio_get_dir(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_get_dir() 152 static int bcm_kona_gpio_set(struct gpio_chip *chip, unsigned int gpio, in bcm_kona_gpio_set() 179 static int bcm_kona_gpio_get(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_get() 204 static int bcm_kona_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_request() 212 static void bcm_kona_gpio_free(struct gpio_chip *chip, unsigned gpio) in bcm_kona_gpio_free() [all …]
|
H A D | gpio-wcove.c | 103 static inline int to_reg(int gpio, enum ctrl_register type) in to_reg() 113 static inline int to_ireg(int gpio, enum ctrl_register type, unsigned int *mask) in to_ireg() 128 static void wcove_update_irq_mask(struct wcove_gpio *wg, irq_hw_number_t gpio) in wcove_update_irq_mask() 138 static void wcove_update_irq_ctrl(struct wcove_gpio *wg, irq_hw_number_t gpio) in wcove_update_irq_ctrl() 145 static int wcove_gpio_dir_in(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_dir_in() 156 static int wcove_gpio_dir_out(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_dir_out() 168 static int wcove_gpio_get_direction(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get_direction() 187 static int wcove_gpio_get(struct gpio_chip *chip, unsigned int gpio) in wcove_gpio_get() 203 static int wcove_gpio_set(struct gpio_chip *chip, unsigned int gpio, int value) in wcove_gpio_set() 214 static int wcove_gpio_set_config(struct gpio_chip *chip, unsigned int gpio, in wcove_gpio_set_config() [all …]
|
H A D | gpio-tqmx86.c | 69 static void tqmx86_gpio_clrsetbits(struct tqmx86_gpio_data *gpio, in tqmx86_gpio_clrsetbits() 83 struct tqmx86_gpio_data *gpio = gpiochip_get_data(chip); in tqmx86_gpio_get() local 88 static void _tqmx86_gpio_set(struct tqmx86_gpio_data *gpio, unsigned int offset, in _tqmx86_gpio_set() 99 struct tqmx86_gpio_data *gpio = gpiochip_get_data(chip); in tqmx86_gpio_set() local 111 struct tqmx86_gpio_data *gpio = gpiochip_get_data(chip); in tqmx86_gpio_direction_input() local 124 struct tqmx86_gpio_data *gpio = gpiochip_get_data(chip); in tqmx86_gpio_direction_output() local 137 struct tqmx86_gpio_data *gpio = gpiochip_get_data(chip); in tqmx86_gpio_get_direction() local 148 static void tqmx86_gpio_irq_config(struct tqmx86_gpio_data *gpio, int hwirq) in tqmx86_gpio_irq_config() 171 struct tqmx86_gpio_data *gpio = gpiochip_get_data( in tqmx86_gpio_irq_mask() local 184 struct tqmx86_gpio_data *gpio = gpiochip_get_data( in tqmx86_gpio_irq_unmask() local [all …]
|
H A D | gpio-lp87565.c | 23 struct lp87565_gpio *gpio = gpiochip_get_data(chip); in lp87565_gpio_get() local 36 struct lp87565_gpio *gpio = gpiochip_get_data(chip); in lp87565_gpio_set() local 45 struct lp87565_gpio *gpio = gpiochip_get_data(chip); in lp87565_gpio_get_direction() local 61 struct lp87565_gpio *gpio = gpiochip_get_data(chip); in lp87565_gpio_direction_input() local 71 struct lp87565_gpio *gpio = gpiochip_get_data(chip); in lp87565_gpio_direction_output() local 85 struct lp87565_gpio *gpio = gpiochip_get_data(gc); in lp87565_gpio_request() local 114 struct lp87565_gpio *gpio = gpiochip_get_data(gc); in lp87565_gpio_set_config() local 151 struct lp87565_gpio *gpio; in lp87565_gpio_probe() local
|
H A D | gpio-tps65219.c | 39 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65214_gpio_get_direction() local 54 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_get_direction() local 69 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_get() local 98 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_set() local 113 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_change_direction() local 145 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65214_gpio_change_direction() local 171 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_direction_input() local 187 struct tps65219_gpio *gpio = gpiochip_get_data(gc); in tps65219_gpio_direction_output() local 229 struct tps65219_gpio *gpio; in tps65219_gpio_probe() local
|
H A D | gpio-zynq.c | 163 static int zynq_gpio_is_zynq(struct zynq_gpio *gpio) in zynq_gpio_is_zynq() 174 static int gpio_data_ro_bug(struct zynq_gpio *gpio) in gpio_data_ro_bug() 194 struct zynq_gpio *gpio) in zynq_gpio_get_bank_pin() 229 struct zynq_gpio *gpio = gpiochip_get_data(chip); in zynq_gpio_get_value() local 272 struct zynq_gpio *gpio = gpiochip_get_data(chip); in zynq_gpio_set_value() local 312 struct zynq_gpio *gpio = gpiochip_get_data(chip); in zynq_gpio_dir_in() local 352 struct zynq_gpio *gpio = gpiochip_get_data(chip); in zynq_gpio_dir_out() local 386 struct zynq_gpio *gpio = gpiochip_get_data(chip); in zynq_gpio_get_direction() local 411 struct zynq_gpio *gpio = in zynq_gpio_irq_mask() local 435 struct zynq_gpio *gpio = in zynq_gpio_irq_unmask() local [all …]
|
H A D | gpio-tegra186.c | 99 struct gpio_chip gpio; member 112 tegra186_gpio_get_port(struct tegra_gpio *gpio, unsigned int *pin) in tegra186_gpio_get_port() 130 static void __iomem *tegra186_gpio_get_base(struct tegra_gpio *gpio, in tegra186_gpio_get_base() 145 static void __iomem *tegra186_gpio_get_secure_base(struct tegra_gpio *gpio, in tegra186_gpio_get_secure_base() 160 static inline bool tegra186_gpio_is_accessible(struct tegra_gpio *gpio, unsigned int pin) in tegra186_gpio_is_accessible() 195 struct tegra_gpio *gpio = gpiochip_get_data(chip); in tegra186_init_valid_mask() local 208 struct tegra_gpio *gpio = gpiochip_get_data(chip); in tegra186_gpio_set() local 230 struct tegra_gpio *gpio = gpiochip_get_data(chip); in tegra186_gpio_get_direction() local 248 struct tegra_gpio *gpio = gpiochip_get_data(chip); in tegra186_gpio_direction_input() local 271 struct tegra_gpio *gpio = gpiochip_get_data(chip); in tegra186_gpio_direction_output() local [all …]
|
H A D | gpio-npcm-sgpio.c | 137 static void __iomem *bank_reg(struct npcm_sgpio *gpio, in bank_reg() 165 struct npcm_sgpio **gpio, in npcm_sgpio_irqd_to_data() 180 static int npcm_sgpio_init_port(struct npcm_sgpio *gpio) in npcm_sgpio_init_port() 206 struct npcm_sgpio *gpio = gpiochip_get_data(gc); in npcm_sgpio_dir_in() local 219 struct npcm_sgpio *gpio = gpiochip_get_data(gc); in npcm_sgpio_get_direction() local 229 struct npcm_sgpio *gpio = gpiochip_get_data(gc); in npcm_sgpio_set() local 249 struct npcm_sgpio *gpio = gpiochip_get_data(gc); in npcm_sgpio_get() local 268 static void npcm_sgpio_setup_enable(struct npcm_sgpio *gpio, bool enable) in npcm_sgpio_setup_enable() 283 static int npcm_sgpio_setup_clk(struct npcm_sgpio *gpio, in npcm_sgpio_setup_clk() 310 struct npcm_sgpio *gpio = gpiochip_get_data(gc); in npcm_sgpio_irq_init_valid_mask() local [all …]
|
H A D | gpio-mmio.c | 132 static int bgpio_get_set(struct gpio_chip *gc, unsigned int gpio) in bgpio_get_set() 167 static int bgpio_get(struct gpio_chip *gc, unsigned int gpio) in bgpio_get() 214 static int bgpio_set_none(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_none() 219 static int bgpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set() 238 static int bgpio_set_with_clear(struct gpio_chip *gc, unsigned int gpio, in bgpio_set_with_clear() 251 static int bgpio_set_set(struct gpio_chip *gc, unsigned int gpio, int val) in bgpio_set_set() 340 static int bgpio_dir_return(struct gpio_chip *gc, unsigned int gpio, bool dir_out) in bgpio_dir_return() 351 static int bgpio_dir_in_err(struct gpio_chip *gc, unsigned int gpio) in bgpio_dir_in_err() 356 static int bgpio_simple_dir_in(struct gpio_chip *gc, unsigned int gpio) in bgpio_simple_dir_in() 361 static int bgpio_dir_out_err(struct gpio_chip *gc, unsigned int gpio, in bgpio_dir_out_err() [all …]
|
H A D | gpio-mpc5200.c | 44 static int mpc52xx_wkup_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_get() 58 __mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_wkup_gpio_set() 73 mpc52xx_wkup_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_set() 88 static int mpc52xx_wkup_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_wkup_gpio_dir_in() 111 mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_wkup_gpio_dir_out() 208 static int mpc52xx_simple_gpio_get(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_get() 220 __mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in __mpc52xx_simple_gpio_set() 234 mpc52xx_simple_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_simple_gpio_set() 249 static int mpc52xx_simple_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) in mpc52xx_simple_gpio_dir_in() 272 mpc52xx_simple_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) in mpc52xx_simple_gpio_dir_out()
|
H A D | gpio-raspberrypi-exp.c | 33 u32 gpio; member 42 u32 gpio; member 50 u32 gpio; member 56 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_get_polarity() local 76 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_dir_in() local 105 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_dir_out() local 134 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_get_direction() local 158 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_get() local 180 struct rpi_exp_gpio *gpio; in rpi_exp_gpio_set() local
|
H A D | gpio-bd9571mwv.c | 27 struct bd9571mwv_gpio *gpio = gpiochip_get_data(chip); in bd9571mwv_gpio_get_direction() local 42 struct bd9571mwv_gpio *gpio = gpiochip_get_data(chip); in bd9571mwv_gpio_direction_input() local 52 struct bd9571mwv_gpio *gpio = gpiochip_get_data(chip); in bd9571mwv_gpio_direction_output() local 65 struct bd9571mwv_gpio *gpio = gpiochip_get_data(chip); in bd9571mwv_gpio_get() local 78 struct bd9571mwv_gpio *gpio = gpiochip_get_data(chip); in bd9571mwv_gpio_set() local 99 struct bd9571mwv_gpio *gpio; in bd9571mwv_gpio_probe() local
|
H A D | gpio-regmap.c | 50 static int gpio_regmap_simple_xlate(struct gpio_regmap *gpio, in gpio_regmap_simple_xlate() 65 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get() local 89 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set() local 109 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_with_clear() local 128 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_get_direction() local 164 struct gpio_regmap *gpio = gpiochip_get_data(chip); in gpio_regmap_set_direction() local 204 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio) in gpio_regmap_get_drvdata() 218 struct gpio_regmap *gpio; in gpio_regmap_register() local 318 void gpio_regmap_unregister(struct gpio_regmap *gpio) in gpio_regmap_unregister() 344 struct gpio_regmap *gpio; in devm_gpio_regmap_register() local
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | base.c | 29 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) in nvkm_gpio_drive() 35 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) in nvkm_gpio_sense() 41 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) in nvkm_gpio_reset() 48 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find() 80 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() 96 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get() 114 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_fini() local 121 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_init() local 134 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_intr() local 149 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_fini() local [all …]
|
/linux/drivers/mfd/ |
H A D | wm8350-gpio.c | 18 static int gpio_set_dir(struct wm8350 *wm8350, int gpio, int dir) in gpio_set_dir() 35 static int wm8350_gpio_set_debounce(struct wm8350 *wm8350, int gpio, int db) in wm8350_gpio_set_debounce() 45 static int gpio_set_func(struct wm8350 *wm8350, int gpio, int func) in gpio_set_func() 138 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) in gpio_set_pull_up() 150 static int gpio_set_pull_down(struct wm8350 *wm8350, int gpio, int down) in gpio_set_pull_down() 162 static int gpio_set_polarity(struct wm8350 *wm8350, int gpio, int pol) in gpio_set_polarity() 174 static int gpio_set_invert(struct wm8350 *wm8350, int gpio, int invert) in gpio_set_invert() 183 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func, in wm8350_gpio_config()
|
/linux/drivers/bcma/ |
H A D | driver_gpio.c | 22 static int bcma_gpio_get_value(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_get_value() 29 static int bcma_gpio_set_value(struct gpio_chip *chip, unsigned int gpio, in bcma_gpio_set_value() 39 static int bcma_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_direction_input() 47 static int bcma_gpio_direction_output(struct gpio_chip *chip, unsigned gpio, in bcma_gpio_direction_output() 57 static int bcma_gpio_request(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_request() 70 static void bcma_gpio_free(struct gpio_chip *chip, unsigned gpio) in bcma_gpio_free() 84 int gpio = irqd_to_hwirq(d); in bcma_gpio_irq_unmask() local 96 int gpio = irqd_to_hwirq(d); in bcma_gpio_irq_mask() local 118 int gpio; in bcma_gpio_irq_handler() local
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 93 unsigned int reg, unsigned gpio, bool set) in nsp_set_bit() 117 unsigned int reg, unsigned gpio) in nsp_get_bit() 157 unsigned gpio = d->hwirq; in nsp_gpio_irq_ack() local 176 unsigned gpio = d->hwirq; in nsp_gpio_irq_set_mask() local 214 unsigned gpio = d->hwirq; in nsp_gpio_irq_set_type() local 272 static int nsp_gpio_direction_input(struct gpio_chip *gc, unsigned gpio) in nsp_gpio_direction_input() 285 static int nsp_gpio_direction_output(struct gpio_chip *gc, unsigned gpio, in nsp_gpio_direction_output() 300 static int nsp_gpio_get_direction(struct gpio_chip *gc, unsigned gpio) in nsp_gpio_get_direction() 313 static int nsp_gpio_set(struct gpio_chip *gc, unsigned int gpio, int val) in nsp_gpio_set() 327 static int nsp_gpio_get(struct gpio_chip *gc, unsigned gpio) in nsp_gpio_get() [all …]
|