Searched refs:rdc321x_gpio_dev (Results 1 – 1 of 1) sorted by relevance
121 struct rdc321x_gpio *rdc321x_gpio_dev; in rdc321x_gpio_probe() local130 rdc321x_gpio_dev = devm_kzalloc(&pdev->dev, sizeof(struct rdc321x_gpio), in rdc321x_gpio_probe()132 if (!rdc321x_gpio_dev) in rdc321x_gpio_probe()141 spin_lock_init(&rdc321x_gpio_dev->lock); in rdc321x_gpio_probe()142 rdc321x_gpio_dev->sb_pdev = pdata->sb_pdev; in rdc321x_gpio_probe()143 rdc321x_gpio_dev->reg1_ctrl_base = r->start; in rdc321x_gpio_probe()144 rdc321x_gpio_dev->reg1_data_base = r->start + 0x4; in rdc321x_gpio_probe()152 rdc321x_gpio_dev->reg2_ctrl_base = r->start; in rdc321x_gpio_probe()153 rdc321x_gpio_dev->reg2_data_base = r->start + 0x4; in rdc321x_gpio_probe()155 rdc321x_gpio_dev->chip.label = "rdc321x-gpio"; in rdc321x_gpio_probe()[all …]