mvchip 102 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip; mvchip 137 drivers/gpio/gpio-mvebu.c static void mvebu_gpioreg_edge_cause(struct mvebu_gpio_chip *mvchip, mvchip 142 drivers/gpio/gpio-mvebu.c switch (mvchip->soc_variant) { mvchip 146 drivers/gpio/gpio-mvebu.c *map = mvchip->regs; mvchip 147 drivers/gpio/gpio-mvebu.c *offset = GPIO_EDGE_CAUSE_OFF + mvchip->offset; mvchip 151 drivers/gpio/gpio-mvebu.c *map = mvchip->percpu_regs; mvchip 160 drivers/gpio/gpio-mvebu.c mvebu_gpio_read_edge_cause(struct mvebu_gpio_chip *mvchip) mvchip 166 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_edge_cause(mvchip, &map, &offset); mvchip 173 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_edge_cause(struct mvebu_gpio_chip *mvchip, u32 val) mvchip 178 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_edge_cause(mvchip, &map, &offset); mvchip 183 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_edge_mask(struct mvebu_gpio_chip *mvchip, mvchip 188 drivers/gpio/gpio-mvebu.c switch (mvchip->soc_variant) { mvchip 191 drivers/gpio/gpio-mvebu.c *map = mvchip->regs; mvchip 192 drivers/gpio/gpio-mvebu.c *offset = GPIO_EDGE_MASK_OFF + mvchip->offset; mvchip 196 drivers/gpio/gpio-mvebu.c *map = mvchip->regs; mvchip 201 drivers/gpio/gpio-mvebu.c *map = mvchip->percpu_regs; mvchip 210 drivers/gpio/gpio-mvebu.c mvebu_gpio_read_edge_mask(struct mvebu_gpio_chip *mvchip) mvchip 216 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_edge_mask(mvchip, &map, &offset); mvchip 223 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_edge_mask(struct mvebu_gpio_chip *mvchip, u32 val) mvchip 228 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_edge_mask(mvchip, &map, &offset); mvchip 233 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_level_mask(struct mvebu_gpio_chip *mvchip, mvchip 238 drivers/gpio/gpio-mvebu.c switch (mvchip->soc_variant) { mvchip 241 drivers/gpio/gpio-mvebu.c *map = mvchip->regs; mvchip 242 drivers/gpio/gpio-mvebu.c *offset = GPIO_LEVEL_MASK_OFF + mvchip->offset; mvchip 246 drivers/gpio/gpio-mvebu.c *map = mvchip->regs; mvchip 251 drivers/gpio/gpio-mvebu.c *map = mvchip->percpu_regs; mvchip 260 drivers/gpio/gpio-mvebu.c mvebu_gpio_read_level_mask(struct mvebu_gpio_chip *mvchip) mvchip 266 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_level_mask(mvchip, &map, &offset); mvchip 273 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_level_mask(struct mvebu_gpio_chip *mvchip, u32 val) mvchip 278 drivers/gpio/gpio-mvebu.c mvebu_gpioreg_level_mask(mvchip, &map, &offset); mvchip 301 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 303 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, mvchip 309 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 312 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); mvchip 317 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, mvchip 319 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, mvchip 323 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, &u); mvchip 332 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 334 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, mvchip 340 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 351 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, mvchip 360 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 374 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, mvchip 382 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 385 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); mvchip 392 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 394 drivers/gpio/gpio-mvebu.c return irq_create_mapping(mvchip->domain, pin); mvchip 403 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 407 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_edge_cause(mvchip, ~mask); mvchip 414 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 420 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_edge_mask(mvchip, ct->mask_cache_priv); mvchip 427 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 433 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_edge_mask(mvchip, ct->mask_cache_priv); mvchip 440 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 446 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_level_mask(mvchip, ct->mask_cache_priv); mvchip 453 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 459 drivers/gpio/gpio-mvebu.c mvebu_gpio_write_level_mask(mvchip, ct->mask_cache_priv); mvchip 493 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gc->private; mvchip 499 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &u); mvchip 518 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, mvchip 519 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, mvchip 524 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, mvchip 525 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, mvchip 531 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 532 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, &in_pol); mvchip 533 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 534 drivers/gpio/gpio-mvebu.c GPIO_DATA_IN_OFF + mvchip->offset, &data_in); mvchip 544 drivers/gpio/gpio-mvebu.c regmap_update_bits(mvchip->regs, mvchip 545 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, mvchip 555 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = irq_desc_get_handler_data(desc); mvchip 560 drivers/gpio/gpio-mvebu.c if (mvchip == NULL) mvchip 565 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); mvchip 566 drivers/gpio/gpio-mvebu.c level_mask = mvebu_gpio_read_level_mask(mvchip); mvchip 567 drivers/gpio/gpio-mvebu.c edge_cause = mvebu_gpio_read_edge_cause(mvchip); mvchip 568 drivers/gpio/gpio-mvebu.c edge_mask = mvebu_gpio_read_edge_mask(mvchip); mvchip 572 drivers/gpio/gpio-mvebu.c for (i = 0; i < mvchip->chip.ngpio; i++) { mvchip 575 drivers/gpio/gpio-mvebu.c irq = irq_find_mapping(mvchip->domain, i); mvchip 585 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 586 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, mvchip 589 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 590 drivers/gpio/gpio-mvebu.c GPIO_IN_POL_OFF + mvchip->offset, mvchip 611 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; mvchip 621 drivers/gpio/gpio-mvebu.c desc = gpiochip_request_own_desc(&mvchip->chip, mvchip 653 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; mvchip 687 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &u); mvchip 700 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; mvchip 729 drivers/gpio/gpio-mvebu.c mvebu_gpio_blink(&mvchip->chip, pwm->hwpwm, 1); mvchip 731 drivers/gpio/gpio-mvebu.c mvebu_gpio_blink(&mvchip->chip, pwm->hwpwm, 0); mvchip 746 drivers/gpio/gpio-mvebu.c static void __maybe_unused mvebu_pwm_suspend(struct mvebu_gpio_chip *mvchip) mvchip 748 drivers/gpio/gpio-mvebu.c struct mvebu_pwm *mvpwm = mvchip->mvpwm; mvchip 750 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset, mvchip 758 drivers/gpio/gpio-mvebu.c static void __maybe_unused mvebu_pwm_resume(struct mvebu_gpio_chip *mvchip) mvchip 760 drivers/gpio/gpio-mvebu.c struct mvebu_pwm *mvpwm = mvchip->mvpwm; mvchip 762 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset, mvchip 771 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip, mvchip 779 drivers/gpio/gpio-mvebu.c if (!of_device_is_compatible(mvchip->chip.of_node, mvchip 793 drivers/gpio/gpio-mvebu.c if (IS_ERR(mvchip->clk)) mvchip 794 drivers/gpio/gpio-mvebu.c return PTR_ERR(mvchip->clk); mvchip 806 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 807 drivers/gpio/gpio-mvebu.c GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset, set); mvchip 812 drivers/gpio/gpio-mvebu.c mvchip->mvpwm = mvpwm; mvchip 813 drivers/gpio/gpio-mvebu.c mvpwm->mvchip = mvchip; mvchip 819 drivers/gpio/gpio-mvebu.c mvpwm->clk_rate = clk_get_rate(mvchip->clk); mvchip 827 drivers/gpio/gpio-mvebu.c mvpwm->chip.npwm = mvchip->chip.ngpio; mvchip 846 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = gpiochip_get_data(chip); mvchip 850 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, &out); mvchip 851 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, &io_conf); mvchip 852 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, &blink); mvchip 853 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, &in_pol); mvchip 854 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_DATA_IN_OFF + mvchip->offset, &data_in); mvchip 855 drivers/gpio/gpio-mvebu.c cause = mvebu_gpio_read_edge_cause(mvchip); mvchip 856 drivers/gpio/gpio-mvebu.c edg_msk = mvebu_gpio_read_edge_mask(mvchip); mvchip 857 drivers/gpio/gpio-mvebu.c lvl_msk = mvebu_gpio_read_level_mask(mvchip); mvchip 926 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = platform_get_drvdata(pdev); mvchip 929 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, mvchip 930 drivers/gpio/gpio-mvebu.c &mvchip->out_reg); mvchip 931 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, mvchip 932 drivers/gpio/gpio-mvebu.c &mvchip->io_conf_reg); mvchip 933 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, mvchip 934 drivers/gpio/gpio-mvebu.c &mvchip->blink_en_reg); mvchip 935 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, mvchip 936 drivers/gpio/gpio-mvebu.c &mvchip->in_pol_reg); mvchip 938 drivers/gpio/gpio-mvebu.c switch (mvchip->soc_variant) { mvchip 941 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_EDGE_MASK_OFF + mvchip->offset, mvchip 942 drivers/gpio/gpio-mvebu.c &mvchip->edge_mask_regs[0]); mvchip 943 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, GPIO_LEVEL_MASK_OFF + mvchip->offset, mvchip 944 drivers/gpio/gpio-mvebu.c &mvchip->level_mask_regs[0]); mvchip 948 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 950 drivers/gpio/gpio-mvebu.c &mvchip->edge_mask_regs[i]); mvchip 951 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 953 drivers/gpio/gpio-mvebu.c &mvchip->level_mask_regs[i]); mvchip 958 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 960 drivers/gpio/gpio-mvebu.c &mvchip->edge_mask_regs[i]); mvchip 961 drivers/gpio/gpio-mvebu.c regmap_read(mvchip->regs, mvchip 963 drivers/gpio/gpio-mvebu.c &mvchip->level_mask_regs[i]); mvchip 971 drivers/gpio/gpio-mvebu.c mvebu_pwm_suspend(mvchip); mvchip 978 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip = platform_get_drvdata(pdev); mvchip 981 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, mvchip 982 drivers/gpio/gpio-mvebu.c mvchip->out_reg); mvchip 983 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, mvchip 984 drivers/gpio/gpio-mvebu.c mvchip->io_conf_reg); mvchip 985 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, mvchip 986 drivers/gpio/gpio-mvebu.c mvchip->blink_en_reg); mvchip 987 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, mvchip 988 drivers/gpio/gpio-mvebu.c mvchip->in_pol_reg); mvchip 990 drivers/gpio/gpio-mvebu.c switch (mvchip->soc_variant) { mvchip 993 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_EDGE_MASK_OFF + mvchip->offset, mvchip 994 drivers/gpio/gpio-mvebu.c mvchip->edge_mask_regs[0]); mvchip 995 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_LEVEL_MASK_OFF + mvchip->offset, mvchip 996 drivers/gpio/gpio-mvebu.c mvchip->level_mask_regs[0]); mvchip 1000 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1002 drivers/gpio/gpio-mvebu.c mvchip->edge_mask_regs[i]); mvchip 1003 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1005 drivers/gpio/gpio-mvebu.c mvchip->level_mask_regs[i]); mvchip 1010 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1012 drivers/gpio/gpio-mvebu.c mvchip->edge_mask_regs[i]); mvchip 1013 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1015 drivers/gpio/gpio-mvebu.c mvchip->level_mask_regs[i]); mvchip 1023 drivers/gpio/gpio-mvebu.c mvebu_pwm_resume(mvchip); mvchip 1036 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip) mvchip 1044 drivers/gpio/gpio-mvebu.c mvchip->regs = devm_regmap_init_mmio(&pdev->dev, base, mvchip 1046 drivers/gpio/gpio-mvebu.c if (IS_ERR(mvchip->regs)) mvchip 1047 drivers/gpio/gpio-mvebu.c return PTR_ERR(mvchip->regs); mvchip 1053 drivers/gpio/gpio-mvebu.c mvchip->offset = 0; mvchip 1059 drivers/gpio/gpio-mvebu.c if (mvchip->soc_variant == MVEBU_GPIO_SOC_VARIANT_ARMADAXP) { mvchip 1064 drivers/gpio/gpio-mvebu.c mvchip->percpu_regs = mvchip 1067 drivers/gpio/gpio-mvebu.c if (IS_ERR(mvchip->percpu_regs)) mvchip 1068 drivers/gpio/gpio-mvebu.c return PTR_ERR(mvchip->percpu_regs); mvchip 1075 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip) mvchip 1077 drivers/gpio/gpio-mvebu.c mvchip->regs = syscon_node_to_regmap(pdev->dev.parent->of_node); mvchip 1078 drivers/gpio/gpio-mvebu.c if (IS_ERR(mvchip->regs)) mvchip 1079 drivers/gpio/gpio-mvebu.c return PTR_ERR(mvchip->regs); mvchip 1081 drivers/gpio/gpio-mvebu.c if (of_property_read_u32(pdev->dev.of_node, "offset", &mvchip->offset)) mvchip 1089 drivers/gpio/gpio-mvebu.c struct mvebu_gpio_chip *mvchip; mvchip 1109 drivers/gpio/gpio-mvebu.c mvchip = devm_kzalloc(&pdev->dev, sizeof(struct mvebu_gpio_chip), mvchip 1111 drivers/gpio/gpio-mvebu.c if (!mvchip) mvchip 1114 drivers/gpio/gpio-mvebu.c platform_set_drvdata(pdev, mvchip); mvchip 1127 drivers/gpio/gpio-mvebu.c mvchip->clk = devm_clk_get(&pdev->dev, NULL); mvchip 1129 drivers/gpio/gpio-mvebu.c if (!IS_ERR(mvchip->clk)) mvchip 1130 drivers/gpio/gpio-mvebu.c clk_prepare_enable(mvchip->clk); mvchip 1132 drivers/gpio/gpio-mvebu.c mvchip->soc_variant = soc_variant; mvchip 1133 drivers/gpio/gpio-mvebu.c mvchip->chip.label = dev_name(&pdev->dev); mvchip 1134 drivers/gpio/gpio-mvebu.c mvchip->chip.parent = &pdev->dev; mvchip 1135 drivers/gpio/gpio-mvebu.c mvchip->chip.request = gpiochip_generic_request; mvchip 1136 drivers/gpio/gpio-mvebu.c mvchip->chip.free = gpiochip_generic_free; mvchip 1137 drivers/gpio/gpio-mvebu.c mvchip->chip.get_direction = mvebu_gpio_get_direction; mvchip 1138 drivers/gpio/gpio-mvebu.c mvchip->chip.direction_input = mvebu_gpio_direction_input; mvchip 1139 drivers/gpio/gpio-mvebu.c mvchip->chip.get = mvebu_gpio_get; mvchip 1140 drivers/gpio/gpio-mvebu.c mvchip->chip.direction_output = mvebu_gpio_direction_output; mvchip 1141 drivers/gpio/gpio-mvebu.c mvchip->chip.set = mvebu_gpio_set; mvchip 1143 drivers/gpio/gpio-mvebu.c mvchip->chip.to_irq = mvebu_gpio_to_irq; mvchip 1144 drivers/gpio/gpio-mvebu.c mvchip->chip.base = id * MVEBU_MAX_GPIO_PER_BANK; mvchip 1145 drivers/gpio/gpio-mvebu.c mvchip->chip.ngpio = ngpios; mvchip 1146 drivers/gpio/gpio-mvebu.c mvchip->chip.can_sleep = false; mvchip 1147 drivers/gpio/gpio-mvebu.c mvchip->chip.of_node = np; mvchip 1148 drivers/gpio/gpio-mvebu.c mvchip->chip.dbg_show = mvebu_gpio_dbg_show; mvchip 1151 drivers/gpio/gpio-mvebu.c err = mvebu_gpio_probe_syscon(pdev, mvchip); mvchip 1153 drivers/gpio/gpio-mvebu.c err = mvebu_gpio_probe_raw(pdev, mvchip); mvchip 1164 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1165 drivers/gpio/gpio-mvebu.c GPIO_EDGE_CAUSE_OFF + mvchip->offset, 0); mvchip 1166 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1167 drivers/gpio/gpio-mvebu.c GPIO_EDGE_MASK_OFF + mvchip->offset, 0); mvchip 1168 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1169 drivers/gpio/gpio-mvebu.c GPIO_LEVEL_MASK_OFF + mvchip->offset, 0); mvchip 1172 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_EDGE_CAUSE_OFF, 0); mvchip 1174 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1176 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, mvchip 1181 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_EDGE_CAUSE_OFF, 0); mvchip 1182 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_EDGE_MASK_OFF, 0); mvchip 1183 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->regs, GPIO_LEVEL_MASK_OFF, 0); mvchip 1185 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->percpu_regs, mvchip 1187 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->percpu_regs, mvchip 1189 drivers/gpio/gpio-mvebu.c regmap_write(mvchip->percpu_regs, mvchip 1197 drivers/gpio/gpio-mvebu.c devm_gpiochip_add_data(&pdev->dev, &mvchip->chip, mvchip); mvchip 1203 drivers/gpio/gpio-mvebu.c mvchip->domain = mvchip 1205 drivers/gpio/gpio-mvebu.c if (!mvchip->domain) { mvchip 1207 drivers/gpio/gpio-mvebu.c mvchip->chip.label); mvchip 1212 drivers/gpio/gpio-mvebu.c mvchip->domain, ngpios, 2, np->name, handle_level_irq, mvchip 1216 drivers/gpio/gpio-mvebu.c mvchip->chip.label); mvchip 1224 drivers/gpio/gpio-mvebu.c gc = irq_get_domain_generic_chip(mvchip->domain, 0); mvchip 1225 drivers/gpio/gpio-mvebu.c gc->private = mvchip; mvchip 1231 drivers/gpio/gpio-mvebu.c ct->chip.name = mvchip->chip.label; mvchip 1240 drivers/gpio/gpio-mvebu.c ct->chip.name = mvchip->chip.label; mvchip 1253 drivers/gpio/gpio-mvebu.c mvchip); mvchip 1258 drivers/gpio/gpio-mvebu.c return mvebu_pwm_probe(pdev, mvchip, id); mvchip 1263 drivers/gpio/gpio-mvebu.c irq_domain_remove(mvchip->domain);